erenavsarogullari opened a new pull request, #1290:
URL: https://github.com/apache/datafusion-comet/pull/1290

   ## Which issue does this PR close?
   Related to Epic: https://github.com/apache/datafusion-comet/issues/1042
   `array_join`: `select array_join(array('hello', '-', 'world'), ' ')` => 
`hello - world`
   DataFusion' s `array_join` function is alias of array_to_string function:
   https://datafusion.apache.org/user-guide/sql/scalar_functions.html#array-join
   
   ## Rationale for this change
   Defined under Epic: https://github.com/apache/datafusion-comet/issues/1042
   
   ## What changes are included in this PR?
   `planner.rs:` Created DataFusion `array_join` physical expression from Spark 
physical expression with return type: `DataType::Utf8`,
   `expr.proto:` `array_join` message has been added (array_intersect is 62),
   `QueryPlanSerde.scala:` `array_join` pattern matching case has been added,
   `CometExpressionSuite.scala:` A new UT has been added for `array_join` 
function.
   
   ## How are these changes tested?
   A new UT has been added and first query result is as follows:
   <img width="766" alt="Query Result II" 
src="https://github.com/user-attachments/assets/fcbcd42a-a657-4249-bf64-6fc5db931e26";
 />


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