Closed
Labels
Description
Describe the bug
Regarding #537, there are 103 Spark 4.0 sql tests failing.
- sql1 91 tests failing
- sql2 12 tests failing
Fix comet shims for the Spark 4.0 profile and remove IgnoreComet for those tests. Some of the tests may share same root causes
sql-1
| WIP | PR posted | Done | Failing test |
|---|---|---|---|
| SPARK-43402: FileSourceScanExec supports push down data filter with scalar subquery | |||
| [SPARK-43226] extra constant metadata fields with extractors | |||
| parquet widening conversion ShortType -> IntegerType | |||
| parquet widening conversion IntegerType -> ShortType | |||
| parquet widening conversion IntegerType -> LongType | |||
| parquet widening conversion ShortType -> DoubleType | |||
| parquet widening conversion IntegerType -> DoubleType | |||
| parquet widening conversion DateType -> TimestampNTZType | |||
| parquet widening conversion ByteType -> DecimalType(10,0) | |||
| parquet widening conversion ByteType -> DecimalType(20,0) | |||
| parquet widening conversion ShortType -> DecimalType(10,0) | |||
| parquet widening conversion ShortType -> DecimalType(20,0) | |||
| parquet widening conversion ShortType -> DecimalType(38,0) | |||
| parquet widening conversion IntegerType -> DecimalType(10,0) | |||
| parquet widening conversion IntegerType -> DecimalType(20,0) | |||
| parquet widening conversion IntegerType -> DecimalType(38,0) | |||
| parquet widening conversion LongType -> DecimalType(20,0) | |||
| parquet widening conversion LongType -> DecimalType(38,0) | |||
| parquet widening conversion ByteType -> DecimalType(11,1) | |||
| parquet widening conversion ShortType -> DecimalType(11,1) | |||
| parquet widening conversion IntegerType -> DecimalType(11,1) | |||
| parquet widening conversion LongType -> DecimalType(21,1) | |||
| unsupported parquet conversion ByteType -> DecimalType(1,0) | |||
| unsupported parquet conversion ByteType -> DecimalType(3,0) | |||
| unsupported parquet conversion ShortType -> DecimalType(3,0) | |||
| unsupported parquet conversion ShortType -> DecimalType(5,0) | |||
| unsupported parquet conversion IntegerType -> DecimalType(5,0) | |||
| unsupported parquet conversion ByteType -> DecimalType(4,1) | |||
| unsupported parquet conversion ShortType -> DecimalType(6,1) | |||
| unsupported parquet conversion LongType -> DecimalType(10,0) | |||
| unsupported parquet conversion ByteType -> DecimalType(2,0) | |||
| unsupported parquet conversion ShortType -> DecimalType(4,0) | |||
| unsupported parquet conversion IntegerType -> DecimalType(9,0) | |||
| unsupported parquet conversion LongType -> DecimalType(19,0) | |||
| unsupported parquet conversion ByteType -> DecimalType(3,1) | |||
| unsupported parquet conversion ShortType -> DecimalType(5,1) | |||
| unsupported parquet conversion IntegerType -> DecimalType(10,1) | |||
| unsupported parquet conversion LongType -> DecimalType(20,1) | |||
| unsupported parquet timestamp conversion TimestampType (TIMESTAMP_MICROS) -> DateType | |||
| unsupported parquet timestamp conversion TimestampType (TIMESTAMP_MILLIS) -> DateType | |||
| unsupported parquet timestamp conversion TimestampNTZType (INT96) -> DateType | |||
| unsupported parquet timestamp conversion TimestampNTZType (TIMESTAMP_MICROS) -> DateType | |||
| unsupported parquet timestamp conversion TimestampNTZType (TIMESTAMP_MILLIS) -> DateType | |||
| parquet decimal precision change Decimal(5, 2) -> Decimal(7, 2) | |||
| parquet decimal precision change Decimal(5, 2) -> Decimal(10, 2) | |||
| parquet decimal precision change Decimal(5, 2) -> Decimal(20, 2) | |||
| parquet decimal precision change Decimal(10, 2) -> Decimal(12, 2) | |||
| parquet decimal precision change Decimal(10, 2) -> Decimal(20, 2) | |||
| parquet decimal precision change Decimal(20, 2) -> Decimal(22, 2) | |||
| parquet decimal precision change Decimal(7, 2) -> Decimal(5, 2) | |||
| parquet decimal precision change Decimal(10, 2) -> Decimal(5, 2) | |||
| parquet decimal precision change Decimal(20, 2) -> Decimal(5, 2) | |||
| parquet decimal precision change Decimal(12, 2) -> Decimal(10, 2) | |||
| parquet decimal precision change Decimal(20, 2) -> Decimal(10, 2) | |||
| parquet decimal precision change Decimal(22, 2) -> Decimal(20, 2) | |||
| parquet decimal precision and scale change Decimal(5, 2) -> Decimal(7, 4) | |||
| parquet decimal precision and scale change Decimal(5, 2) -> Decimal(10, 7) | |||
| parquet decimal precision and scale change Decimal(5, 2) -> Decimal(20, 17) | |||
| parquet decimal precision and scale change Decimal(10, 2) -> Decimal(12, 4) | |||
| parquet decimal precision and scale change Decimal(10, 2) -> Decimal(20, 12) | |||
| parquet decimal precision and scale change Decimal(20, 2) -> Decimal(22, 4) | |||
| parquet decimal precision and scale change Decimal(7, 4) -> Decimal(5, 2) | |||
| parquet decimal precision and scale change Decimal(10, 7) -> Decimal(5, 2) | |||
| parquet decimal precision and scale change Decimal(20, 17) -> Decimal(5, 2) | |||
| parquet decimal precision and scale change Decimal(12, 4) -> Decimal(10, 2) | |||
| parquet decimal precision and scale change Decimal(20, 17) -> Decimal(10, 2) | |||
| parquet decimal precision and scale change Decimal(22, 4) -> Decimal(20, 2) | |||
| parquet decimal precision and scale change Decimal(10, 6) -> Decimal(12, 4) | |||
| parquet decimal precision and scale change Decimal(20, 7) -> Decimal(22, 5) | |||
| parquet decimal precision and scale change Decimal(12, 4) -> Decimal(10, 6) | |||
| parquet decimal precision and scale change Decimal(22, 5) -> Decimal(20, 7) | |||
| parquet decimal precision and scale change Decimal(5, 2) -> Decimal(6, 4) | |||
| parquet decimal precision and scale change Decimal(10, 4) -> Decimal(12, 7) | |||
| parquet decimal precision and scale change Decimal(20, 5) -> Decimal(22, 8) | |||
| parquet decimal type change Decimal(5, 2) -> Decimal(3, 2) overflows with parquet-mr | |||
| partition pruning in broadcast hash joins with aliases | |||
| partition pruning in broadcast hash joins | |||
| SPARK-32817: DPP throws error when the broadcast side is empty | |||
| SPARK-36444: Remove OptimizeSubqueries from batch of PartitionPruning | |||
| SPARK-38674: Remove useless deduplicate in SubqueryBroadcastExec | |||
| SPARK-39338: Remove dynamic pruning subquery if pruningKey's references is empty | |||
| SPARK-39217: Makes DPP support the pruning side has Union | |||
| partition pruning in broadcast hash joins with aliases | |||
| partition pruning in broadcast hash joins | |||
| different broadcast subqueries with identical children | |||
| SPARK-32817: DPP throws error when the broadcast side is empty | |||
| SPARK-36444: Remove OptimizeSubqueries from batch of PartitionPruning | |||
| SPARK-38674: Remove useless deduplicate in SubqueryBroadcastExec | |||
| SPARK-39338: Remove dynamic pruning subquery if pruningKey's references is empty | |||
| SPARK-39217: Makes DPP support the pruning side has Union | |||
| join with ordering requirement |
sql-2
| WIP | PR posted | Done | Failing test |
|---|---|---|---|
| collations.sql | |||
| SPARK-39166: Query context of binary arithmetic should be serialized to executors when WSCG is off (Requires ANSI overflow check for ints) | |||
| SPARK-39175: Query context of Cast should be serialized to executors when WSCG is off | |||
| SPARK-39190,SPARK-39208,SPARK-39210: Query context of decimal overflow error should be serialized to executors when WSCG is off | |||
| SPARK-40389: Don't eliminate a cast which can cause overflow | |||
| postgreSQL/float8.sql | |||
| postgreSQL/groupingsets.sql | |||
| postgreSQL/int4.sql | |||
| SPARK-47120: subquery literal filter pushdown | |||
| SPARK-47120: subquery literal filter pushdown | |||
| view-schema-binding-config.sql | |||
| view-schema-compensation.sql | |||
| postgreSQL/int8.sql | |||
| postgreSQL/select_having.sql |
Steps to reproduce
No response
Expected behavior
No response
Additional context
No response
Activity
kazuyukitanimura commentedon Jun 11, 2024
Search
https://github.com/apache/datafusion-comet/issues/551indev/diffs/4.0.0-preview1.diffto find ignored testsviirya commentedon Jun 11, 2024
Hmm, this failed tests are additional to Spark 3.4? I.e., they are passed in Spark 3.4 + Comet but fail in Spark 4.0?
kazuyukitanimura commentedon Jun 11, 2024
Could be both additional and regression. Could be due to ANSI. This ticket is for getting help from the community after #537 is merged
test: Enable Spark 4.0 tests (#537)
kazuyukitanimura commentedon Jul 9, 2024
@parthchandra is looking into
feat: add scalar subquery pushdown to scan (#678)
fix: Spark 4.0 SparkArithmeticException test (#688)
test: Enable Spark 4.0 tests (apache#537)
feat: add scalar subquery pushdown to scan (apache#678)
fix: Spark 4.0 SparkArithmeticException test (apache#688)
test: enable more Spark 4.0 tests (#1145)
fix: Spark 4.0-preview1 SPARK-47120 (#1156)
[comet-parquet-exec] Merge upstream/main and resolve conflicts (#1183)
fix: Spark 4.0-preview1 SPARK-47120 (apache#1156)
feat: add support for array_contains expression (#1163)
chore: Comet parquet exec merge from main(20250114) (#1293)
chore: [comet-parquet-exec] merge from main 20240116 (#1299)
chore: Merge remote-tracking branch 'apache/main' into comet-parquet-…
test: enable more Spark 4.0 tests (apache#1145)
fix: Spark 4.0-preview1 SPARK-47120 (apache#1156)
feat: add support for array_contains expression (apache#1163)
parthchandra commentedon Mar 19, 2026
Fixed in #3454