kazantsev-maksim commented on PR #2553:
URL: 
https://github.com/apache/datafusion-comet/pull/2553#issuecomment-3394270477

   The DataFusion implementation produces results that are not compatible with 
Spark
   
    Project [bit_count(col2#2190) AS bit_count(col2)#2218]
     +- Relation 
spark_catalog.default.bitwise_count_test[col1#2189L,col2#2190,col3#2191,col4#2192]
 parquet
     
     == Physical Plan ==
     *(1) CometColumnarToRow
     +- CometProject [bit_count(col2)#2218], [bit_count(col2#2190) AS 
bit_count(col2)#2218]
        +- CometScan [native_iceberg_compat] parquet 
spark_catalog.default.bitwise_count_test[col2#2190] Batched: true, DataFilters: 
[], Format: CometParquet, Location: InMemoryFileIndex(1 
paths)[file:/Users/tendoo/Desktop/datafusion-comet/spark/spark-warehouse/bitw...,
 PartitionFilters: [], PushedFilters: [], ReadSchema: struct<col2:int>
     
     == Results ==
     
     == Results ==
     !== Correct Answer - 3 ==      == Spark Answer - 3 ==
      struct<bit_count(col2):int>   struct<bit_count(col2):int>
     ![31]                          [1]
     ![33]                          [31]
      [6]                           [6] (QueryTest.scala:244)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to