Test Result : ColumnExpressionSuite

0 failures (±0)
145 tests (±0)
Took 56 sec.

All Tests

Test nameDurationStatus
%0.13 secPassed
&&0.15 secPassed
*0.12 secPassed
+0.12 secPassed
-0.12 secPassed
/0.14 secPassed
<0.14 secPassed
<=0.14 secPassed
<=>0.23 secPassed
=!=0.11 secPassed
===0.13 secPassed
>0.17 secPassed
>=0.14 secPassed
IN/INSET with bytes, shorts, ints, dates1.1 secPassed
SPARK-31553: isInCollection - collection element types5.5 secPassed
SPARK-31563: sql of InSet for UTF8String collection1 msPassed
SPARK-32641: extracting field from non-null struct column after withField should return field value0.23 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.23 secPassed
SPARK-34199: star can be qualified by table name inside a non-count function71 msPassed
SPARK-34199: star cannot be qualified by table name inside a count function3 msPassed
SPARK-34199: table star can be qualified inside a count function with multiple arguments0.13 secPassed
SPARK-34677: negate/add/subtract year-month and day-time intervals0.18 secPassed
SPARK-34721: add a year-month interval to a date2.6 secPassed
SPARK-34721: subtract a year-month interval from a date2.8 secPassed
SPARK-34739: add a year-month interval to a timestamp3.3 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.4 secPassed
SPARK-34824: multiply year-month interval by numeric0.76 secPassed
SPARK-34850: multiply day-time interval by numeric0.65 secPassed
SPARK-34868: divide year-month interval by numeric0.61 secPassed
SPARK-34875: divide day-time interval by numeric0.61 secPassed
SPARK-34896: return day-time interval from dates subtraction2.7 secPassed
SPARK-34903: Return day-time interval from timestamps subtraction1.7 secPassed
SPARK-35051: add/subtract a day-time interval to/from a date3.2 secPassed
SPARK-35213: chained withField operations should have correct schema for new columns0.15 secPassed
SPARK-35213: optimized withField operations should maintain correct nested struct ordering98 msPassed
SPARK-35852: add/subtract a interval day to/from a date0.45 secPassed
SPARK-36778: add ilike API for scala0.87 secPassed
SPARK-7321 when conditional statements0.14 secPassed
alias and name22 msPassed
alias with metadata2 msPassed
as propagates metadata0 msPassed
assert_true0.28 secPassed
between86 msPassed
bitwiseAND0.15 secPassed
bitwiseOR0.14 secPassed
bitwiseXOR0.14 secPassed
collect on column produced by a binary operator91 msPassed
column names with dot0.43 secPassed
column names with space0.26 secPassed
columns can be compared1 msPassed
dropFields should drop all fields with given name in struct36 msPassed
dropFields should drop field in deeply nested struct73 msPassed
dropFields should drop field in nested nullable struct57 msPassed
dropFields should drop field in nested struct62 msPassed
dropFields should drop field in nullable struct0.23 secPassed
dropFields should drop field in struct51 msPassed
dropFields should drop field in struct even if casing is different81 msPassed
dropFields should drop field with no name in struct46 msPassed
dropFields should drop multiple fields at arbitrary levels of nesting in a single call65 msPassed
dropFields should drop multiple fields in nested nullable struct77 msPassed
dropFields should drop multiple fields in nested struct59 msPassed
dropFields should drop multiple fields in struct93 msPassed
dropFields should drop nested field in struct even if casing is different0.13 secPassed
dropFields should drop only fields that exist0.13 secPassed
dropFields should not drop field in struct because casing is different79 msPassed
dropFields should throw an exception because casing is different3 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.32 secPassed
in0.54 secPassed
input_file_name, input_file_block_start, input_file_block_length - FileScanRDD0.31 secPassed
input_file_name, input_file_block_start, input_file_block_length - HadoopRDD0.3 secPassed
input_file_name, input_file_block_start, input_file_block_length - NewHadoopRDD0.28 secPassed
input_file_name, input_file_block_start, input_file_block_length - more than one source0.75 secPassed
isInCollection: Scala Collection2.4 secPassed
isNaN0.15 secPassed
isNotNull0.11 secPassed
isNull0.14 secPassed
lower0.2 secPassed
monotonically_increasing_id0.11 secPassed
nanvl0.15 secPassed
nestedDf should generate nested DataFrames0.12 secPassed
raise_error68 msPassed
rand74 msPassed
randn26 msPassed
should add and drop 1 column at each depth of nesting using non-performant method, nullable = false48 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 = false56 msPassed
should add and drop 1 column at each depth of nesting using performant method, nullable = true51 msPassed
should be able to drop newly added nested column81 msPassed
should be able to refer to newly added nested column72 msPassed
should correctly handle different dropField + withField + getField combinations4.7 secPassed
should move field up one level of nesting0.19 secPassed
should still be able to refer to dropped column within the same select statement0.14 secPassed
spark_partition_id49 msPassed
sqrt0.41 secPassed
star77 msPassed
star qualified by data frame object94 msPassed
star qualified by table name54 msPassed
typedLit0.22 secPassed
unary !0.12 secPassed
unary -64 msPassed
upper0.25 secPassed
withField should add field and then replace same field in struct67 msPassed
withField should add field to deeply nested struct0.14 secPassed
withField should add field to nested nullable struct90 msPassed
withField should add field to nested struct0.16 secPassed
withField should add field to nullable struct77 msPassed
withField should add field to struct45 msPassed
withField should add field to struct because casing is different0.12 secPassed
withField should add field with no name76 msPassed
withField should add multiple fields to nested nullable struct0.19 secPassed
withField should add multiple fields to nested struct0.17 secPassed
withField should add multiple fields to nullable struct67 msPassed
withField should add multiple fields to struct75 msPassed
withField should add null field to struct77 msPassed
withField should handle fields with dots in their name if correctly quoted67 msPassed
withField should replace all fields with given name in struct68 msPassed
withField should replace field in deeply nested struct94 msPassed
withField should replace field in nested nullable struct86 msPassed
withField should replace field in nested struct0.12 secPassed
withField should replace field in nullable struct71 msPassed
withField should replace field in struct72 msPassed
withField should replace field in struct even if casing is different0.14 secPassed
withField should replace field with null value in struct80 msPassed
withField should replace fields in struct in given order65 msPassed
withField should replace multiple fields in nested nullable struct0.16 secPassed
withField should replace multiple fields in nested struct90 msPassed
withField should replace multiple fields in nullable struct64 msPassed
withField should replace multiple fields in struct56 msPassed
withField should replace nested field in struct even if casing is different0.18 secPassed
withField should throw an exception because casing is different5 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 column13 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 ambiguous2 msPassed
withField user-facing examples0.42 secPassed
||0.14 secPassed