METHOD_0 ( ) { org . apache . spark . api . java . IDENT_0 < org . apache . spark . sql . IDENT_1 > IDENT_2 = IDENT_3 . METHOD_1 ( java . util . Arrays . asList ( org . apache . spark . sql . IDENT_4 . create ( 0.0 , 1.0 , new org . apache . spark . IDENT_5 . linalg . METHOD_2 ( new double [ ] { 2.0 , FLOAT_0 } ) ) , org . apache . spark . sql . IDENT_4 . create ( 1.0 , 2.0 , new org . apache . spark . IDENT_5 . linalg . METHOD_2 ( new double [ ] { FLOAT_0 , FLOAT_1 } ) ) , org . apache . spark . sql . IDENT_4 . create ( 2.0 , FLOAT_0 , new org . apache . spark . IDENT_5 . linalg . METHOD_2 ( new double [ ] { FLOAT_1 , FLOAT_2 } ) ) , org . apache . spark . sql . IDENT_4 . create ( FLOAT_0 , FLOAT_1 , new org . apache . spark . IDENT_5 . linalg . METHOD_2 ( new double [ ] { FLOAT_2 , FLOAT_3 } ) ) , org . apache . spark . sql . IDENT_4 . create ( FLOAT_1 , FLOAT_2 , new org . apache . spark . IDENT_5 . linalg . METHOD_2 ( new double [ ] { FLOAT_3 , FLOAT_4 } ) ) ) ) ; org . apache . spark . sql . types . IDENT_6 schema = new org . apache . spark . sql . types . METHOD_3 ( new org . apache . spark . sql . types . IDENT_7 [ ] { new org . apache . spark . sql . types . METHOD_4 ( STRING_0 , org . apache . spark . sql . types . IDENT_8 . IDENT_9 , false , org . apache . spark . sql . types . IDENT_10 . empty ( ) ) , new org . apache . spark . sql . types . METHOD_4 ( STRING_1 , org . apache . spark . sql . types . IDENT_8 . IDENT_9 , false , org . apache . spark . sql . types . IDENT_10 . empty ( ) ) , new org . apache . spark . sql . types . METHOD_4 ( STRING_2 , new org . apache . spark . IDENT_5 . linalg . METHOD_5 ( ) , false , org . apache . spark . sql . types . IDENT_10 . empty ( ) ) } ) ; org . apache . spark . sql . IDENT_11 IDENT_12 = IDENT_13 . METHOD_6 ( IDENT_2 , schema ) ; org . apache . spark . IDENT_14 . feature . IDENT_15 IDENT_16 = new org . apache . spark . IDENT_14 . feature . METHOD_7 ( ) . METHOD_8 ( new java . lang . String [ ] { STRING_1 , STRING_2 } ) . METHOD_9 ( STRING_3 ) ; byte [ ] IDENT_17 = com . IDENT_18 . IDENT_19 . IDENT_14 . IDENT_20 . IDENT_21 . METHOD_10 ( IDENT_16 , null ) ; java . lang . String IDENT_22 = new java . lang . String ( IDENT_17 ) ; com . IDENT_18 . IDENT_19 . IDENT_14 . IDENT_23 . IDENT_24 IDENT_23 = com . IDENT_18 . IDENT_19 . IDENT_14 . IDENT_25 . IDENT_26 . METHOD_11 ( IDENT_17 ) ; org . apache . spark . sql . IDENT_1 [ ] IDENT_27 = IDENT_16 . transform ( IDENT_12 ) . METHOD_12 ( STRING_0 ) . select ( STRING_0 , STRING_1 , STRING_2 , STRING_3 ) . collect ( ) ; for ( org . apache . spark . sql . IDENT_1 row : IDENT_27 ) { java . util . Map < java . lang . String , java . lang . Object > data = new java . util . HashMap ( ) ; data . put ( IDENT_16 . METHOD_13 ( ) [ 0 ] , row . get ( 1 ) ) ; data . put ( IDENT_16 . METHOD_13 ( ) [ 1 ] , ( ( org . apache . spark . IDENT_5 . linalg . METHOD_2 ) ( row . get ( 2 ) ) ) . toArray ( ) ) ; IDENT_23 . transform ( data ) ; double [ ] output = ( ( double [ ] ) ( data . get ( IDENT_16 . METHOD_14 ( ) ) ) ) ; "<AssertPlaceHolder>" ; } } transform ( com . IDENT_18 . IDENT_19 . IDENT_14 . IDENT_23 . Map ) { java . lang . String IDENT_28 = ( ( java . lang . String ) ( input . get ( IDENT_29 . METHOD_15 ( ) . iterator ( ) . next ( ) ) ) ) ; input . put ( IDENT_29 . METHOD_16 ( ) . iterator ( ) . next ( ) , METHOD_17 ( IDENT_28 ) ) ; }
org . junit . Assert . assertArrayEquals ( output , ( ( org . apache . spark . IDENT_5 . linalg . METHOD_2 ) ( row . get ( 3 ) ) ) . toArray ( ) , 0.0 )