andygrove opened a new issue, #483:
URL: https://github.com/apache/datafusion-comet/issues/483

   ### Describe the bug
   
   I discovered this bug using [Comet 
Fuzz](https://github.com/apache/datafusion-comet/pull/472).
   
   ```sql
   SELECT lower(c2) FROM test0
   ```
   
   [ERROR] Spark and Comet produced different results.
   
   ### Spark Plan
   
   ```
   *(1) Project [lower(c2#2) AS lower(c2)#1546]
   +- *(1) ColumnarToRow
      +- FileScan parquet [c2#2] Batched: true, DataFilters: [], Format: 
Parquet, Location: InMemoryFileIndex(1 
paths)[file:/Users/andy/git/apple/comet-fuzz/test0.parquet], PartitionFilters: 
[], PushedFilters: [], ReadSchema: struct<c2:string>
   ```
   
   ### Comet Plan
   
   ```
   *(1) ColumnarToRow
   +- CometProject [lower(c2)#1550], [lower(c2#2) AS lower(c2)#1550]
      +- CometScan parquet [c2#2] Batched: true, DataFilters: [], Format: 
CometParquet, Location: InMemoryFileIndex(1 
paths)[file:/Users/andy/git/apple/comet-fuzz/test0.parquet], PartitionFilters: 
[], PushedFilters: [], ReadSchema: struct<c2:string>
   ```
   
   ### Results 
   
   Spark produced 200 rows and Comet produced 200 rows.
   First difference at row 91:
   Spark: `[ሽ븃靛脉项ໍ绹跅]`
   Comet: `[ძ訆喀ꓚ疟⓰⡃婳]`
   
   ### Steps to reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to