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

Feature: support python udf #14840

Closed
sundy-li opened this issue Mar 5, 2024 · 3 comments
Closed

Feature: support python udf #14840

sundy-li opened this issue Mar 5, 2024 · 3 comments
Labels
C-feature Category: feature

Comments

@sundy-li
Copy link
Member

sundy-li commented Mar 5, 2024

Summary

Description for this feature.

crate: https://github.com/risingwavelabs/arrow-udf/

Releated code in databend: TransformUDFScript.rs

@sundy-li sundy-li added the C-feature Category: feature label Mar 5, 2024
@sundy-li
Copy link
Member Author

sundy-li commented Mar 5, 2024

cc @hanxuanliang you can try this task.

I used to introduce this python udf but failed to resolve the version conflicts.


Caused by:
  process didn't exit successfully: `/home/sundy/work/databend/target/debug/build/pyo3-ffi-4dfcc80770dedd83/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=PYO3_CROSS
  cargo:rerun-if-env-changed=PYO3_CROSS_LIB_DIR
  cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_VERSION
  cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_IMPLEMENTATION
  cargo:rerun-if-env-changed=PYO3_PRINT_CONFIG

  -- PYO3_PRINT_CONFIG=1 is set, printing configuration and halting compile --
  implementation=CPython
  version=3.7
  shared=true
  abi3=true
  lib_name=python3.12
  lib_dir=/home/sundy/.pyenv/versions/3.12.0/lib
  executable=/home/sundy/.pyenv/versions/3.12.0/bin/python3.12
  pointer_width=64
  build_flags=
  suppress_build_script_link_lines=false

@hanxuanliang
Copy link
Contributor

let me see see 😀

@sundy-li
Copy link
Member Author

sundy-li commented Sep 2, 2024

#15494

@sundy-li sundy-li closed this as completed Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature Category: feature
Projects
None yet
Development

No branches or pull requests

2 participants