METHOD_0 ( ) { IDENT_0 = new org . apache . IDENT_1 . catalog . Schema ( ) ; IDENT_0 . METHOD_1 ( org . apache . IDENT_1 . catalog . IDENT_2 . IDENT_3 , Type . IDENT_4 ) ; IDENT_0 . METHOD_1 ( org . apache . IDENT_1 . catalog . IDENT_2 . IDENT_5 , Type . IDENT_6 ) ; IDENT_0 . METHOD_1 ( org . apache . IDENT_1 . catalog . IDENT_2 . IDENT_7 , Type . IDENT_8 ) ; org . apache . IDENT_1 . catalog . IDENT_9 info = org . apache . IDENT_1 . catalog . IDENT_10 . METHOD_2 ( IDENT_11 . IDENT_12 ) ; org . apache . IDENT_1 . catalog . IDENT_13 IDENT_14 = new org . apache . IDENT_1 . catalog . METHOD_3 ( ) ; IDENT_14 . METHOD_4 ( info ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( org . apache . IDENT_1 . catalog . IDENT_15 . IDENT_16 ) { java . lang . String IDENT_17 = null ; java . lang . String tableName = null ; org . apache . IDENT_18 . data . IDENT_19 < java . lang . String , java . lang . String > IDENT_20 = null ; org . apache . IDENT_1 . catalog . store . IDENT_21 . IDENT_22 client = null ; org . apache . IDENT_1 . catalog . store . METHOD_3 IDENT_23 = new org . apache . IDENT_1 . catalog . store . METHOD_3 ( IDENT_24 ) ; try { IDENT_20 = org . apache . IDENT_18 . common . IDENT_25 . METHOD_6 ( IDENT_23 . getName ( ) ) ; IDENT_17 = IDENT_20 . first ; tableName = IDENT_20 . IDENT_26 ; } catch ( java . lang . Exception IDENT_27 ) { throw new org . apache . IDENT_1 . catalog . exception . METHOD_7 ( STRING_0 , IDENT_27 ) ; } try { client = IDENT_28 . METHOD_8 ( ) ; org . apache . hadoop . hive . IDENT_29 . api . IDENT_30 table = new org . apache . hadoop . hive . IDENT_29 . api . METHOD_9 ( ) ; table . METHOD_10 ( IDENT_17 ) ; table . METHOD_11 ( tableName ) ; org . apache . IDENT_1 . catalog . store . IDENT_31 IDENT_32 = new org . apache . IDENT_1 . catalog . store . METHOD_12 ( ) ; IDENT_32 . METHOD_13 ( new java . util . HashMap < java . lang . String , java . lang . String > ( ) ) ; IDENT_32 . METHOD_14 ( new org . apache . IDENT_1 . catalog . store . METHOD_15 ( ) ) ; IDENT_32 . METHOD_16 ( ) . METHOD_13 ( new java . util . HashMap < java . lang . String , java . lang . String > ( ) ) ; IDENT_32 . METHOD_16 ( ) . setName ( table . METHOD_17 ( ) ) ; java . util . List < org . apache . IDENT_1 . catalog . store . IDENT_33 > IDENT_34 = IDENT_23 . METHOD_18 ( ) . METHOD_19 ( ) ; java . util . ArrayList < org . apache . IDENT_1 . catalog . store . IDENT_35 > IDENT_36 = new java . util . ArrayList < org . apache . IDENT_1 . catalog . store . IDENT_35 > ( IDENT_34 . size ( ) ) ; for ( org . apache . IDENT_1 . catalog . store . IDENT_33 IDENT_37 : IDENT_34 ) { IDENT_36 . add ( new org . apache . IDENT_1 . catalog . store . METHOD_20 ( IDENT_37 . METHOD_21 ( ) , org . apache . IDENT_1 . catalog . store . IDENT_38 . METHOD_22 ( IDENT_37 . METHOD_23 ( ) . getType ( ) . name ( ) ) , "" ) ) ; } IDENT_32 . METHOD_24 ( IDENT_36 ) ; if ( ( IDENT_23 . METHOD_25 ( ) ) && ( IDENT_23 . METHOD_26 ( ) . METHOD_27 ( ) . equals ( IDENT_39 . IDENT_40 ) ) ) { java . util . List < org . apache . IDENT_1 . catalog . store . METHOD_20 > IDENT_41 = new java . util . ArrayList < org . apache . IDENT_1 . catalog . store . METHOD_20 > ( ) ; for ( org . apache . IDENT_1 . catalog . store . IDENT_33 IDENT_42 : IDENT_23 . METHOD_26 ( ) . METHOD_28 ( ) . METHOD_19 ( ) ) { IDENT_41 . add ( new org . apache . IDENT_1 . catalog . store . METHOD_20 ( IDENT_42 . METHOD_21 ( ) , org . apache . IDENT_1 . catalog . store . IDENT_38 . METHOD_22 ( IDENT_42 . METHOD_23 ( ) . getType ( ) . name ( ) ) , "" ) ) ; } table . METHOD_29 ( IDENT_41 ) ; } if ( IDENT_23 . METHOD_30 ( ) . METHOD_31 ( ) . equals ( IDENT_43 . IDENT_11 . IDENT_44 ) ) { java . lang . String IDENT_45 = IDENT_23 . METHOD_30 ( ) . METHOD_32 ( org . apache . IDENT_1 . catalog . store . IDENT_46 ) ; IDENT_32 . METHOD_33 ( org . apache . hadoop . hive . IDENT_47 . io . IDENT_48 . class . getName ( ) ) ; IDENT_32 . METHOD_34 ( org . apache . hadoop . hive . IDENT_47 . io . IDENT_49 . class . getName ( ) ) ; if ( org . apache . IDENT_1 . catalog . store . IDENT_50 . equals ( IDENT_45 ) ) { IDENT_32 . METHOD_16 ( ) . METHOD_35 ( org . apache . hadoop . hive . IDENT_51 . IDENT_52 . IDENT_53 . class . getName ( ) ) ; } else { IDENT_32 . METHOD_16 ( ) . METHOD_35 ( org . apache . hadoop . hive . IDENT_51 . IDENT_52 . IDENT_54 . class . getName ( ) ) ; } if ( ( IDENT_23 . METHOD_30 ( ) . METHOD_32 ( org . apache . IDENT_1 . catalog . store . IDENT_55 ) ) != null ) { IDENT_32 . METHOD_16 ( ) . METHOD_36 ( ) . put ( IDENT_56 . IDENT_57 , org . apache . commons . lang . IDENT_58 . METHOD_37 ( IDENT_23 . METHOD_30 ( ) . METHOD_32 ( org . apache . IDENT_1 . catalog . store . IDENT_55 ) ) ) ; } } else if ( IDENT_23 . METHOD_30 ( ) . METHOD_31 ( ) . equals ( IDENT_43 . IDENT_11 . IDENT_12 ) ) { IDENT_32 . METHOD_16 ( ) . METHOD_35 ( org . apache . hadoop . hive . IDENT_51 . IDENT_59 . IDENT_60 . class . getName ( ) ) ; IDENT_32 . METHOD_33 ( org . apache . hadoop . IDENT_61 . IDENT_62 . class . getName ( ) ) ; IDENT_32 . METHOD_34 ( org . apache . hadoop . hive . IDENT_47 . io . IDENT_63 . class . getName ( ) ) ; java . lang . String IDENT_64 = IDENT_23 . METHOD_30 ( ) . METHOD_32 ( org . apache . IDENT_1 . catalog . store . IDENT_65 , org . apache . IDENT_1 . catalog . store . IDENT_66 ) ; IDENT_32 . METHOD_16 ( ) . METHOD_36 ( ) . put ( IDENT_56 . IDENT_67 , org . apache . commons . lang . IDENT_58 . METHOD_37 ( IDENT_64 ) ) ; IDENT_32 . METHOD_16 ( ) . METHOD_36 ( ) . put ( IDENT_56 . IDENT_68 , org . apache . commons . lang . IDENT_58 . METHOD_37 ( IDENT_64 ) ) ; if ( ( IDENT_23 . METHOD_30 ( ) . METHOD_32 ( org . apache . IDENT_1 . catalog . store . IDENT_69 ) ) != null ) { IDENT_32 . METHOD_16 ( ) . METHOD_36 ( ) . put ( IDENT_56 . IDENT_57 , org . apache . commons . lang . IDENT_58 . METHOD_37 ( IDENT_23 . METHOD_30 ( ) . METHOD_32 ( org . apache . IDENT_1 . catalog . store . IDENT_69 ) ) ) ; } } else { throw new org . apache . IDENT_1 . catalog . exception . METHOD_7 ( new org . apache . IDENT_1 . common . exception . METHOD_38 ( IDENT_23 . METHOD_30 ( ) . METHOD_31 ( ) . name ( ) ) ) ; } IDENT_32 . METHOD_39 ( new java . util . ArrayList < org . apache . IDENT_1 . catalog . store . IDENT_70 > ( ) ) ; table . METHOD_40 ( IDENT_32 ) ; client . METHOD_41 ( ) . METHOD_42 ( table ) ; } catch ( java . lang . RuntimeException e ) { throw e ; } catch ( java . lang . Exception e ) { throw new org . apache . IDENT_1 . catalog . exception . METHOD_7 ( e ) ; } finally { client . METHOD_43 ( ) ; } }
org . junit . Assert . assertFalse ( org . apache . IDENT_1 . catalog . IDENT_2 . catalog . METHOD_5 ( IDENT_14 ) )