#NEWLINE# def _case_subquery_in_filter_predicate( self ) : #NEWLINE# #INDENT# t1 = self . con . table ( 'star1' ) #NEWLINE# pred = ( t1 . f > t1 . f . mean ( ) ) #NEWLINE# expr = t1 [ expr ] #NEWLINE# pred2 = ( t1 . f > t1 [ ( t1 . foo_id == 'foo' ) ] . f . mean ( ) ) #NEWLINE# expr2 = t1 [ pred2 ] #NEWLINE# return ( expr , expr2 )