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