kazantsev-maksim opened a new pull request, #2039: URL: https://github.com/apache/datafusion-comet/pull/2039
## Which issue does this PR close? Related to Epic: https://github.com/apache/datafusion-comet/issues/1042 array_except: flatten(array(array(1, 2), array(3, 4))) => [1,2,3,4] DataFusion' s flatten has same behavior with Spark 's flatten function Spark: https://docs.databricks.com/aws/en/sql/language-manual/functions/flatten DataFusion: https://datafusion.apache.org/user-guide/sql/scalar_functions.html#flatten ## Rationale for this change Defined under Epic: https://github.com/apache/datafusion-comet/issues/1042 ## What changes are included in this PR? 1. QueryPlanSerde.scala: flatten has been added in exprSerdeMap. 2. CometExpressionSuite.scala: A new UT has been added for flatten function. 3. arrays.scala: added CometFlatten impl ## How are these changes tested? A new UT has been added. -- 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