andygrove commented on issue #1929: URL: https://github.com/apache/datafusion-comet/issues/1929#issuecomment-3006004580
I don't think this is a bug. Spark likely optimizes the array_contains expression during planning time and replaces it with a boolean literal? ``` checkSparkAnswerAndOperator(spark.sql("SELECT array_contains(cast(array() as array<int>), _2) FROM t1")) ``` See comment https://github.com/apache/datafusion-comet/pull/1923#issuecomment-3002328767 for more information -- 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