comphead commented on issue #2174:
URL: 
https://github.com/apache/datafusion-comet/issues/2174#issuecomment-3225710788

   the issue is likely connected to parquet file reader, I can reproduce with 
specific parquet created by `makeParquetFileAllPrimitiveTypes`. The same data 
and data types written by `spark.parquet.write` works fine.
   
   
   The localized test is 
   
   ```
     test("array_intersect1") {
       // TODO test fails if scan is auto
       // https://github.com/apache/datafusion-comet/issues/2174
       withSQLConf(
         CometConf.COMET_NATIVE_SCAN_IMPL.key -> 
CometConf.SCAN_NATIVE_ICEBERG_COMPAT,
         CometConf.COMET_EXPR_ALLOW_INCOMPATIBLE.key -> "true") {
   
         spark.read.parquet("/tmp/test.parquet").createOrReplaceTempView("t1")
         sql("select _2, _9, _10 from t1").show(false)
         checkSparkAnswerAndOperator(sql("select array(_2), array(_9, _10) from 
(select _2, _9, _10 from t1)"))
       }
     }
   ```
   The parquet file attached


-- 
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

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