Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing scalar functions #463

Open
69 of 78 tasks
mesejo opened this issue Aug 25, 2023 · 7 comments · Fixed by #495 or #605
Open
69 of 78 tasks

Add missing scalar functions #463

mesejo opened this issue Aug 25, 2023 · 7 comments · Fixed by #495 or #605
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@mesejo
Copy link
Contributor

mesejo commented Aug 25, 2023

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I would like access to the full set of scalar functions defined in the Rust library.

Describe the solution you'd like
I would like to have Python bindings for the following functions:

Math Functions

Binary String Functions

Array Functions

  • array_append
  • array_cat
  • array_concat
  • array_dims
  • array_element
  • array_empty
  • array_extract
    - [ ] array_fill removed Implement array_repeat, remove array_fill datafusion#7199
  • array_has
  • array_has_all
  • array_has_any
  • array_indexof
  • array_join
  • array_length
  • array_ndims
  • array_pop_back
  • array_position
  • array_positions
  • array_prepend
  • array_push_back
  • array_push_front
  • array_remove
  • array_remove_all
  • array_remove_n
  • array_repeat
  • array_replace
  • array_replace_all
  • array_replace_n
  • array_slice
  • array_to_string
  • cardinality
  • empty
  • flatten
  • list_append
  • list_cat
  • list_concat
  • list_dims
  • list_element
  • list_extract
  • list_indexof
  • list_join
  • list_length
  • list_ndims
  • list_position
  • list_positions
  • list_prepend
  • list_push_back
  • list_push_front
  • list_remove
  • list_remove_all
  • list_remove_n
  • list_repeat
  • list_replace
  • list_replace_all
  • list_replace_n
  • list_slice
  • list_to_string
  • make_list
  • trim_array

Time and Date Functions

  • extract

Other Functions

  • arrow_cast

Describe alternatives you've considered
None

@mesejo mesejo added the enhancement New feature or request label Aug 25, 2023
@alamb alamb added the good first issue Good for newcomers label Sep 7, 2023
@jiangzhx
Copy link
Contributor

jiangzhx commented Sep 11, 2023

Some scalar functions are available in Datafusion version 30.0.0. Maybe we should first update our datafusion version.
block by #464

  • isnan
  • iszero

@viirya
Copy link
Member

viirya commented Sep 11, 2023

Please add your PR on the particular functions it works on, in order to avoid conflict.

@mobley-trent
Copy link
Contributor

Hello @ongchi I'd like to contribute on some of the functions on the list

@ongchi
Copy link
Contributor

ongchi commented Jan 15, 2024

Hello @ongchi I'd like to contribute on some of the functions on the list

@mobley-trent

Great! Most of the array functions have been done but not completely. I'm not going to add more functions to my PR, so feel free to contribute to any functions that are not implemented.

@judahrand
Copy link
Contributor

I think most of the remaining ones are covered in #605

@kosiew
Copy link
Contributor

kosiew commented Oct 29, 2024

datafusion has removed array_fill - apache/datafusion#7199

@kosiew
Copy link
Contributor

kosiew commented Nov 14, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
8 participants