METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String name = STRING_1 ; org . IDENT_1 . data . IDENT_2 original = new org . IDENT_1 . data . IDENT_2 . Builder ( ) . METHOD_1 ( STRING_2 ) . location ( STRING_3 ) . METHOD_2 ( IDENT_3 . IDENT_4 ) . build ( ) ; boolean IDENT_5 = true ; org . apache . hadoop . hive . IDENT_6 . api . IDENT_7 table = org . IDENT_1 . data . spi . hive . IDENT_8 . METHOD_3 ( IDENT_0 , name , original , IDENT_5 ) ; org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . hive . conf . METHOD_4 ( ) ; org . IDENT_1 . data . IDENT_2 result = org . IDENT_1 . data . spi . hive . IDENT_8 . METHOD_5 ( conf , table ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( org . apache . hadoop . conf . Configuration , org . apache . hadoop . hive . IDENT_6 . api . IDENT_7 ) { final org . IDENT_1 . data . IDENT_2 . Builder builder = new org . IDENT_1 . data . IDENT_2 . Builder ( ) ; org . IDENT_1 . data . IDENT_9 format ; final java . lang . String IDENT_10 = table . METHOD_6 ( ) . METHOD_7 ( ) . METHOD_8 ( ) ; if ( org . IDENT_1 . data . spi . hive . IDENT_8 . IDENT_11 . containsKey ( IDENT_10 ) ) { format = org . IDENT_1 . data . spi . hive . IDENT_8 . IDENT_11 . get ( IDENT_10 ) ; builder . format ( format ) ; } else { throw new org . IDENT_1 . data . METHOD_9 ( ( STRING_4 + IDENT_10 ) ) ; } final org . apache . hadoop . fs . Path IDENT_12 = new org . apache . hadoop . fs . Path ( table . METHOD_6 ( ) . METHOD_10 ( ) ) ; final org . apache . hadoop . fs . IDENT_13 fs = org . IDENT_1 . data . spi . hive . IDENT_8 . METHOD_11 ( conf , IDENT_12 ) ; builder . location ( fs . METHOD_12 ( IDENT_12 ) ) ; java . util . Map < java . lang . String , java . lang . String > properties = table . METHOD_13 ( ) ; java . lang . String IDENT_14 = org . IDENT_1 . data . spi . hive . IDENT_8 . METHOD_14 ( properties . get ( org . IDENT_1 . data . spi . hive . IDENT_8 . IDENT_15 ) , properties . get ( org . IDENT_1 . data . spi . hive . IDENT_8 . IDENT_16 ) ) ; if ( IDENT_14 != null ) { for ( java . lang . String property : org . IDENT_1 . data . spi . hive . IDENT_8 . IDENT_17 . split ( IDENT_14 ) ) { builder . property ( property , properties . get ( property ) ) ; } } org . IDENT_1 . data . IDENT_18 IDENT_19 = null ; if ( org . IDENT_1 . data . spi . hive . IDENT_8 . METHOD_15 ( table ) ) { java . lang . String IDENT_20 = org . IDENT_1 . data . spi . hive . IDENT_8 . METHOD_14 ( properties . get ( org . IDENT_1 . data . spi . hive . IDENT_8 . IDENT_21 ) , properties . get ( org . IDENT_1 . data . spi . hive . IDENT_8 . IDENT_22 ) ) ; if ( IDENT_20 != null ) { IDENT_19 = org . IDENT_1 . data . impl . IDENT_23 . METHOD_16 ( ) . METHOD_17 ( IDENT_20 ) ; } else { IDENT_19 = org . IDENT_1 . data . spi . hive . IDENT_8 . METHOD_18 ( org . IDENT_1 . data . spi . hive . IDENT_8 . METHOD_19 ( table ) ) ; } builder . METHOD_20 ( METHOD_20 ) ; } java . lang . String IDENT_24 = properties . get ( org . IDENT_1 . data . spi . hive . IDENT_8 . IDENT_25 ) ; if ( IDENT_24 != null ) { try { builder . METHOD_1 ( java . net . URI . create ( IDENT_24 ) ) ; } catch ( java . io . IOException e ) { throw new org . IDENT_1 . data . METHOD_21 ( STRING_5 , e ) ; } } else { java . lang . String IDENT_26 = properties . get ( org . IDENT_1 . data . spi . hive . IDENT_8 . IDENT_27 ) ; if ( IDENT_26 != null ) { builder . METHOD_22 ( METHOD_22 ) ; } else { builder . schema ( org . IDENT_1 . data . spi . hive . IDENT_28 . METHOD_23 ( table . METHOD_24 ( ) , table . METHOD_6 ( ) . METHOD_25 ( ) , METHOD_20 ) ) ; } } java . lang . String METHOD_2 = properties . get ( org . IDENT_1 . data . spi . hive . IDENT_8 . IDENT_29 ) ; if ( METHOD_2 != null ) { builder . METHOD_2 ( METHOD_2 ) ; } try { return builder . build ( ) ; } catch ( java . lang . IllegalStateException ex ) { throw new org . IDENT_1 . data . METHOD_26 ( STRING_6 ) ; } }
org . junit . Assert . assertEquals ( original , result )