Test Result : ColumnExpressionSuite

0 failures (±0)
144 tests (±0)
Took 53 sec.

All Tests

Test nameDurationStatus
%0.14 secPassed
&&0.14 secPassed
*0.14 secPassed
+0.17 secPassed
-0.14 secPassed
/0.16 secPassed
<0.12 secPassed
<=0.1 secPassed
<=>0.22 secPassed
=!=0.11 secPassed
===0.1 secPassed
>0.16 secPassed
>=0.16 secPassed
IN/INSET with bytes, shorts, ints, dates1.1 secPassed
SPARK-31553: isInCollection - collection element types5.4 secPassed
SPARK-31563: sql of InSet for UTF8String collection2 msPassed
SPARK-32641: extracting field from non-null struct column after withField should return field value0.21 secPassed
SPARK-32641: extracting field from null struct column after withField should return null if the original struct was null0.23 secPassed
SPARK-32641: extracting field from nullable struct column which contains both null and non-null values after withField should return null if the original struct was null0.21 secPassed
SPARK-34199: star can be qualified by table name inside a non-count function80 msPassed
SPARK-34199: star cannot be qualified by table name inside a count function2 msPassed
SPARK-34199: table star can be qualified inside a count function with multiple arguments0.17 secPassed
SPARK-34677: negate/add/subtract year-month and day-time intervals0.17 secPassed
SPARK-34721: add a year-month interval to a date2.7 secPassed
SPARK-34721: subtract a year-month interval from a date2.6 secPassed
SPARK-34739: add a year-month interval to a timestamp2.7 secPassed
SPARK-34739: subtract a year-month interval from a timestamp2.7 secPassed
SPARK-34761, SPARK-34903: add/subtract a day-time interval to/from a timestamp3 secPassed
SPARK-34824: multiply year-month interval by numeric0.68 secPassed
SPARK-34850: multiply day-time interval by numeric0.57 secPassed
SPARK-34868: divide year-month interval by numeric0.43 secPassed
SPARK-34875: divide day-time interval by numeric0.45 secPassed
SPARK-34896: return day-time interval from dates subtraction2.1 secPassed
SPARK-34903: Return day-time interval from timestamps subtraction1.5 secPassed
SPARK-35051: add/subtract a day-time interval to/from a date3.6 secPassed
SPARK-35213: chained withField operations should have correct schema for new columns0.11 secPassed
SPARK-35213: optimized withField operations should maintain correct nested struct ordering0.12 secPassed
SPARK-35852: add/subtract a interval day to/from a date0.38 secPassed
SPARK-7321 when conditional statements94 msPassed
alias and name30 msPassed
alias with metadata3 msPassed
as propagates metadata0 msPassed
assert_true0.29 secPassed
between72 msPassed
bitwiseAND0.14 secPassed
bitwiseOR0.14 secPassed
bitwiseXOR0.14 secPassed
collect on column produced by a binary operator0.18 secPassed
column names with dot0.47 secPassed
column names with space0.19 secPassed
columns can be compared1 msPassed
dropFields should drop all fields with given name in struct46 msPassed
dropFields should drop field in deeply nested struct86 msPassed
dropFields should drop field in nested nullable struct58 msPassed
dropFields should drop field in nested struct74 msPassed
dropFields should drop field in nullable struct57 msPassed
dropFields should drop field in struct50 msPassed
dropFields should drop field in struct even if casing is different0.11 secPassed
dropFields should drop field with no name in struct48 msPassed
dropFields should drop multiple fields at arbitrary levels of nesting in a single call62 msPassed
dropFields should drop multiple fields in nested nullable struct72 msPassed
dropFields should drop multiple fields in nested struct64 msPassed
dropFields should drop multiple fields in struct0.19 secPassed
dropFields should drop nested field in struct even if casing is different0.15 secPassed
dropFields should drop only fields that exist0.13 secPassed
dropFields should not drop field in struct because casing is different0.11 secPassed
dropFields should throw an exception because casing is different2 msPassed
dropFields should throw an exception if any intermediate structs don't exist2 msPassed
dropFields should throw an exception if called on a non-StructType column5 msPassed
dropFields should throw an exception if fieldName argument is null1 msPassed
dropFields should throw an exception if intermediate field is not a struct2 msPassed
dropFields should throw an exception if intermediate field reference is ambiguous3 msPassed
dropFields should throw an exception if no fields will be left in struct3 msPassed
dropFields user-facing examples0.3 secPassed
in0.45 secPassed
input_file_name, input_file_block_start, input_file_block_length - FileScanRDD0.36 secPassed
input_file_name, input_file_block_start, input_file_block_length - HadoopRDD0.33 secPassed
input_file_name, input_file_block_start, input_file_block_length - NewHadoopRDD0.32 secPassed
input_file_name, input_file_block_start, input_file_block_length - more than one source0.72 secPassed
isInCollection: Scala Collection2.2 secPassed
isNaN0.15 secPassed
isNotNull0.13 secPassed
isNull0.16 secPassed
lower0.2 secPassed
monotonically_increasing_id75 msPassed
nanvl0.13 secPassed
nestedDf should generate nested DataFrames0.11 secPassed
raise_error69 msPassed
rand99 msPassed
randn25 msPassed
should add and drop 1 column at each depth of nesting using non-performant method, nullable = false52 msPassed
should add and drop 1 column at each depth of nesting using non-performant method, nullable = true0.23 secPassed
should add and drop 1 column at each depth of nesting using performant method, nullable = false50 msPassed
should add and drop 1 column at each depth of nesting using performant method, nullable = true54 msPassed
should be able to drop newly added nested column0.11 secPassed
should be able to refer to newly added nested column77 msPassed
should correctly handle different dropField + withField + getField combinations4.9 secPassed
should move field up one level of nesting0.12 secPassed
should still be able to refer to dropped column within the same select statement63 msPassed
spark_partition_id54 msPassed
sqrt0.34 secPassed
star81 msPassed
star qualified by data frame object94 msPassed
star qualified by table name61 msPassed
typedLit0.22 secPassed
unary !0.14 secPassed
unary -74 msPassed
upper0.25 secPassed
withField should add field and then replace same field in struct63 msPassed
withField should add field to deeply nested struct0.11 secPassed
withField should add field to nested nullable struct96 msPassed
withField should add field to nested struct0.15 secPassed
withField should add field to nullable struct84 msPassed
withField should add field to struct53 msPassed
withField should add field to struct because casing is different0.1 secPassed
withField should add field with no name85 msPassed
withField should add multiple fields to nested nullable struct0.18 secPassed
withField should add multiple fields to nested struct0.16 secPassed
withField should add multiple fields to nullable struct72 msPassed
withField should add multiple fields to struct81 msPassed
withField should add null field to struct79 msPassed
withField should handle fields with dots in their name if correctly quoted66 msPassed
withField should replace all fields with given name in struct70 msPassed
withField should replace field in deeply nested struct94 msPassed
withField should replace field in nested nullable struct79 msPassed
withField should replace field in nested struct0.14 secPassed
withField should replace field in nullable struct67 msPassed
withField should replace field in struct64 msPassed
withField should replace field in struct even if casing is different0.13 secPassed
withField should replace field with null value in struct85 msPassed
withField should replace fields in struct in given order58 msPassed
withField should replace multiple fields in nested nullable struct0.16 secPassed
withField should replace multiple fields in nested struct0.14 secPassed
withField should replace multiple fields in nullable struct78 msPassed
withField should replace multiple fields in struct58 msPassed
withField should replace nested field in struct even if casing is different0.15 secPassed
withField should throw an exception because casing is different4 msPassed
withField should throw an exception if any intermediate structs don't exist4 msPassed
withField should throw an exception if called on a non-StructType column11 msPassed
withField should throw an exception if either fieldName or col argument are null3 msPassed
withField should throw an exception if intermediate field is not a struct2 msPassed
withField should throw an exception if intermediate field reference is ambiguous3 msPassed
withField user-facing examples0.4 secPassed
||0.14 secPassed