Describe the bug
I discovered this bug using Comet Fuzz.
SELECT Signum(c6) FROM test1
[ERROR] Spark and Comet produced different results.
Spark Plan
*(1) Project [SIGNUM(cast(c6#26 as double)) AS SIGNUM(c6)#18070]
+- *(1) ColumnarToRow
+- FileScan parquet [c6#26] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/Users/andy/git/apple/comet-fuzz/test1.parquet], PartitionFilters: [], PushedFilters: [], ReadSchema: struct<c6:tinyint>
Comet Plan
*(1) ColumnarToRow
+- CometProject [SIGNUM(c6)#18074], [SIGNUM(cast(c6#26 as double)) AS SIGNUM(c6)#18074]
+- CometScan parquet [c6#26] Batched: true, DataFilters: [], Format: CometParquet, Location: InMemoryFileIndex(1 paths)[file:/Users/andy/git/apple/comet-fuzz/test1.parquet], PartitionFilters: [], PushedFilters: [], ReadSchema: struct<c6:tinyint>
Results
Spark produced 200 rows and Comet produced 200 rows.
First difference at row 87:
Spark: [0.0]
Comet: [1.0]
Steps to reproduce
No response
Expected behavior
No response
Additional context
No response
Describe the bug
I discovered this bug using Comet Fuzz.
[ERROR] Spark and Comet produced different results.
Spark Plan
Comet Plan
Results
Spark produced 200 rows and Comet produced 200 rows.
First difference at row 87:
Spark:
[0.0]Comet:
[1.0]Steps to reproduce
No response
Expected behavior
No response
Additional context
No response