METHOD_0 ( ) { org . apache . IDENT_0 . storage . IDENT_1 . IDENT_2 [ ] IDENT_3 = org . apache . IDENT_0 . engine . IDENT_4 . IDENT_5 . IDENT_6 . METHOD_1 ( org . apache . IDENT_0 . engine . IDENT_4 . IDENT_5 . IDENT_7 . conf , STRING_0 , org . apache . IDENT_0 . engine . IDENT_4 . IDENT_5 . IDENT_7 . IDENT_8 . METHOD_2 ( ) , new org . apache . hadoop . fs . Path ( org . apache . IDENT_0 . engine . IDENT_4 . IDENT_5 . IDENT_7 . IDENT_8 . METHOD_3 ( ) ) , Integer . MAX_VALUE ) ; org . apache . hadoop . fs . Path IDENT_9 = org . apache . IDENT_0 . util . IDENT_10 . METHOD_4 ( ( ( IDENT_11 . IDENT_12 ) + STRING_1 ) ) ; org . apache . IDENT_0 . IDENT_13 . IDENT_14 ctx = new org . apache . IDENT_0 . IDENT_13 . METHOD_5 ( new org . apache . IDENT_0 . engine . query . METHOD_6 ( org . apache . IDENT_0 . engine . IDENT_4 . IDENT_5 . IDENT_7 . conf ) , org . apache . IDENT_0 . engine . IDENT_4 . IDENT_5 . IDENT_15 . METHOD_7 ( org . apache . IDENT_0 . engine . IDENT_4 . IDENT_5 . IDENT_7 . IDENT_16 ) , new org . apache . IDENT_0 . storage . IDENT_1 . IDENT_2 [ ] { IDENT_3 [ 0 ] } , IDENT_9 ) ; ctx . METHOD_8 ( new org . apache . IDENT_0 . engine . IDENT_4 . IDENT_17 . METHOD_9 ( ) ) ; org . apache . IDENT_0 . IDENT_18 . IDENT_19 context = org . apache . IDENT_0 . engine . IDENT_4 . IDENT_5 . IDENT_7 . IDENT_20 . parse ( IDENT_21 [ INT_0 ] ) ; org . apache . IDENT_0 . plan . IDENT_22 plan = org . apache . IDENT_0 . engine . IDENT_4 . IDENT_5 . IDENT_7 . IDENT_4 . METHOD_10 ( org . apache . IDENT_0 . engine . IDENT_4 . IDENT_5 . IDENT_7 . IDENT_23 , context ) ; org . apache . IDENT_0 . engine . IDENT_4 . IDENT_5 . IDENT_24 IDENT_25 = org . apache . IDENT_0 . engine . IDENT_4 . IDENT_5 . IDENT_7 . IDENT_26 . METHOD_11 ( plan ) ; org . apache . IDENT_0 . engine . IDENT_4 . IDENT_27 IDENT_28 = new org . apache . IDENT_0 . engine . IDENT_4 . METHOD_12 ( org . apache . IDENT_0 . engine . IDENT_4 . IDENT_5 . IDENT_7 . conf ) ; org . apache . IDENT_0 . engine . IDENT_4 . IDENT_5 . IDENT_29 exec = IDENT_28 . METHOD_10 ( ctx , IDENT_25 ) ; int count = 0 ; exec . init ( ) ; while ( ( exec . next ( ) ) != null ) { count ++ ; } exec . close ( ) ; "<AssertPlaceHolder>" ; } close ( ) { if ( IDENT_30 ) { return ; } IDENT_30 = true ; if ( ( IDENT_31 ) != null ) { IDENT_31 . close ( ) ; IDENT_31 = null ; } if ( ( IDENT_32 ) != null ) { IDENT_32 . METHOD_13 ( ) ; IDENT_32 = null ; } if ( ( IDENT_33 ) != null ) { org . apache . IDENT_0 . IDENT_34 . exec . IDENT_35 . METHOD_14 ( IDENT_33 . METHOD_15 ( ) ) ; } if ( ! ( IDENT_36 . METHOD_16 ( IDENT_37 . IDENT_38 . . IDENT_39 ) ) ) { org . apache . hadoop . fs . Path IDENT_40 = org . apache . IDENT_0 . conf . IDENT_37 . METHOD_17 ( IDENT_36 , IDENT_41 ) ; if ( IDENT_42 . METHOD_3 ( ) . equals ( IDENT_40 . METHOD_18 ( ) ) ) { IDENT_43 . run ( ( ) -> { try { IDENT_40 . METHOD_19 ( IDENT_36 ) . delete ( IDENT_40 . METHOD_20 ( ) , true ) ; } catch ( e ) { org . apache . IDENT_0 . IDENT_34 . exec . IDENT_44 . LOG . error ( org . apache . IDENT_0 . IDENT_34 . exec . e ) ; } } ) ; } } org . apache . IDENT_0 . IDENT_34 . exec . IDENT_44 . LOG . info ( java . lang . String . format ( STRING_2 , IDENT_45 , IDENT_41 , ( ( IDENT_46 ) != null ? STRING_3 + ( IDENT_46 ) : "" ) , IDENT_47 ) ) ; }
org . junit . Assert . assertEquals ( 10 , count )