apache / datafusion-python

Apache DataFusion Python Bindings
https://datafusion.apache.org/python
Apache License 2.0
380 stars 79 forks source link

Add list_cat, list_concat, list_repeat #942

Closed kosiew closed 2 weeks ago

kosiew commented 3 weeks ago

Which issue does this PR close?

Completes 3 tasks in #463

Rationale for this change

This PR adds new functions list_cat, list_concat, list_repeat.

What changes are included in this PR?

Added the list_cat, list_concat, list_repeat functions. Updated the Python bindings in functions.py and provided unit tests in test_functions.py. Updated the documentation (expressions.rst) to include examples on how to use the new functions.

Are there any user-facing changes?

The list_cat, list_concat, list_repeat functions are now available for users working with arrays allowing users to concatenate and repeat arrays within their DataFusion queries.

There are no breaking changes to public APIs.