andygrove opened a new issue, #3339: URL: https://github.com/apache/datafusion-comet/issues/3339
## Description When Spark's `ConstantFolding` optimizer rule is disabled, `concat_ws` with a literal NULL separator reaches the native engine, which crashes with: ``` Expected string literal, got None. ``` ## How to Reproduce ```sql SET spark.sql.optimizer.excludedRules=org.apache.spark.sql.catalyst.optimizer.ConstantFolding; SELECT concat_ws(NULL, 'a', 'b'); ``` ## Expected Behavior The native engine should handle a NULL separator gracefully — either returning NULL (matching Spark behavior) or falling back to Spark. -- 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]
