Test Result : SelectedFieldSuite

0 failures (±0)
31 tests (±0)
Took 0.12 sec.

All Tests

Test nameDurationStatus
SelectedField should not match an attribute reference21 msPassed
field1 as foo" should select the schema root |-- col2: map (nullable = true) | |-- key: array | | |-- element: struct (containsNull = false) | | | |-- field1: string (nullable = true) | |-- value: array (valueContainsNull = true) | | |-- element: struct (containsNull = false) | | | |-- field3: struct (nullable = true) | | | | |-- subfield3: integer (nullable = true) | | | | |-- subfield4: integer (nullable = true)3 msPassed
field1 as foo" should select the schema root |-- col2: map (nullable = true) | |-- key: struct | | |-- field1: string (nullable = true) | |-- value: array (valueContainsNull = true) | | |-- element: struct (containsNull = false) | | | |-- field3: struct (nullable = true) | | | | |-- subfield1: integer (nullable = true) | | | | |-- subfield2: integer (nullable = true)3 msPassed
field1" should select the schema root |-- col2: struct (nullable = true) | |-- field1: integer (nullable = true)2 msPassed
field1[0] as foo" should select the schema root |-- col7: array (nullable = true) | |-- element: struct (containsNull = true) | | |-- field1: integer (nullable = false)6 msPassed
field1[0] as foo" should select the schema root |-- col8: array (nullable = true) | |-- element: struct (containsNull = true) | | |-- field1: array (nullable = false) | | | |-- element: integer (containsNull = false)8 msPassed
field2 as foo" should select the schema root |-- col2: map (nullable = true) | |-- key: struct | | |-- field2: integer (nullable = true) | |-- value: array (valueContainsNull = true) | | |-- element: struct (containsNull = false) | | | |-- field3: struct (nullable = true) | | | | |-- subfield1: integer (nullable = true) | | | | |-- subfield2: integer (nullable = true)3 msPassed
field2['bar'] as foo" should select the schema root |-- col4: map (nullable = false) | |-- key: string | |-- value: struct (valueContainsNull = false) | | |-- field2: map (nullable = true) | | | |-- key: string | | | |-- value: integer (valueContainsNull = false)3 msPassed
field2['foo'] as foo" should select the schema root |-- col3: array (nullable = false) | |-- element: struct (containsNull = false) | | |-- field2: map (nullable = true) | | | |-- key: string | | | |-- value: integer (valueContainsNull = false)3 msPassed
field2[0] as foo" should select the schema root |-- col2: struct (nullable = true) | |-- field2: array (nullable = true) | | |-- element: integer (containsNull = false)6 msPassed
field6" should select the schema root |-- col2: struct (nullable = true) | |-- field6: struct (nullable = true) | | |-- subfield1: string (nullable = false) | | |-- subfield2: string (nullable = true)1 msPassed
field9['foo'] as foo" should select the schema root |-- col2: struct (nullable = true) | |-- field9: map (nullable = true) | | |-- key: string | | |-- value: integer (valueContainsNull = false)4 msPassed
subfield1 as foo" should select the schema root |-- col2: map (nullable = true) | |-- key: array | | |-- element: struct (containsNull = false) | | | |-- field2: struct (nullable = true) | | | | |-- subfield1: integer (nullable = true) | |-- value: array (valueContainsNull = true) | | |-- element: struct (containsNull = false) | | | |-- field3: struct (nullable = true) | | | | |-- subfield3: integer (nullable = true) | | | | |-- subfield4: integer (nullable = true)3 msPassed
subfield1 as foo" should select the schema root |-- col2: struct (nullable = true) | |-- field4: map (nullable = true) | | |-- key: string | | |-- value: struct (valueContainsNull = false) | | | |-- subfield1: integer (nullable = true)3 msPassed
subfield1 as foo" should select the schema root |-- col2: struct (nullable = true) | |-- field8: map (nullable = true) | | |-- key: string | | |-- value: array (valueContainsNull = false) | | | |-- element: struct (containsNull = true) | | | | |-- subfield1: integer (nullable = true)4 msPassed
subfield1 as foo" should select the schema root |-- col4: map (nullable = false) | |-- key: string | |-- value: struct (valueContainsNull = false) | | |-- field1: struct (nullable = true) | | | |-- subfield1: integer (nullable = false)3 msPassed
subfield1 as foo" should select the schema root |-- col5: array (nullable = true) | |-- element: map (containsNull = true) | | |-- key: string | | |-- value: struct (valueContainsNull = false) | | | |-- field1: struct (nullable = true) | | | | |-- subfield1: integer (nullable = true)5 msPassed
subfield1 as foo" should select the schema root |-- col5: array (nullable = true) | |-- element: map (containsNull = true) | | |-- key: string | | |-- value: struct (valueContainsNull = false) | | | |-- field1: struct (nullable = true) | | | | |-- subfield1: integer (nullable = true)5 msPassed
subfield1 as foo" should select the schema root |-- col6: map (nullable = true) | |-- key: string | |-- value: array (valueContainsNull = true) | | |-- element: struct (containsNull = false) | | | |-- field1: struct (nullable = true) | | | | |-- subfield1: integer (nullable = true)4 msPassed
subfield1" should select the schema root |-- col2: struct (nullable = true) | |-- field3: array (nullable = false) | | |-- element: struct (containsNull = true) | | | |-- subfield1: integer (nullable = true)2 msPassed
subfield1" should select the schema root |-- col2: struct (nullable = true) | |-- field5: array (nullable = false) | | |-- element: struct (containsNull = true) | | | |-- subfield1: struct (nullable = false) | | | | |-- subsubfield1: integer (nullable = true) | | | | |-- subsubfield2: integer (nullable = true)1 msPassed
subfield1" should select the schema root |-- col2: struct (nullable = true) | |-- field6: struct (nullable = true) | | |-- subfield1: string (nullable = false)2 msPassed
subfield1" should select the schema root |-- col2: struct (nullable = true) | |-- field7: struct (nullable = true) | | |-- subfield1: struct (nullable = true) | | | |-- subsubfield1: integer (nullable = true) | | | |-- subsubfield2: integer (nullable = true)2 msPassed
subfield1" should select the schema root |-- col3: array (nullable = false) | |-- element: struct (containsNull = false) | | |-- field1: struct (nullable = true) | | | |-- subfield1: integer (nullable = false)1 msPassed
subfield1" should select the schema root |-- col7: array (nullable = true) | |-- element: struct (containsNull = true) | | |-- field2: struct (nullable = true) | | | |-- subfield1: integer (nullable = false)1 msPassed
subfield1" should select the schema root |-- col7: array (nullable = true) | |-- element: struct (containsNull = true) | | |-- field3: array (nullable = true) | | | |-- element: struct (containsNull = true) | | | | |-- subfield1: integer (nullable = false)2 msPassed
subfield2 as foo" should select the schema root |-- col5: array (nullable = true) | |-- element: map (containsNull = true) | | |-- key: string | | |-- value: struct (valueContainsNull = false) | | | |-- field1: struct (nullable = true) | | | | |-- subfield2: integer (nullable = true)4 msPassed
subfield2[0] as foo" should select the schema root |-- col2: struct (nullable = true) | |-- field4: map (nullable = true) | | |-- key: string | | |-- value: struct (valueContainsNull = false) | | | |-- subfield2: array (nullable = true) | | | | |-- element: integer (containsNull = false)6 msPassed
subfield3[0] as foo" should select the schema root |-- col2: struct (nullable = true) | |-- field3: array (nullable = false) | | |-- element: struct (containsNull = true) | | | |-- subfield3: array (nullable = true) | | | | |-- element: integer (containsNull = true)11 msPassed
subsubfield1" should select the schema root |-- col2: struct (nullable = true) | |-- field5: array (nullable = false) | | |-- element: struct (containsNull = true) | | | |-- subfield1: struct (nullable = false) | | | | |-- subsubfield1: integer (nullable = true)1 msPassed
subsubsubfield1" should select the schema root |-- col2: struct (nullable = true) | |-- field5: array (nullable = false) | | |-- element: struct (containsNull = true) | | | |-- subfield2: struct (nullable = true) | | | | |-- subsubfield1: struct (nullable = true) | | | | | |-- subsubsubfield1: string (nullable = true)2 msPassed