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

feat: UDF migrates to Function #1034

Merged
merged 13 commits into from
Sep 5, 2023

Conversation

jiashenC
Copy link
Member

@jiashenC jiashenC commented Sep 2, 2023

No description provided.

@jiashenC jiashenC linked an issue Sep 2, 2023 that may be closed by this pull request
2 tasks
@jiashenC
Copy link
Member Author

jiashenC commented Sep 2, 2023

Cover migration in the code base, but also need some help to double-check migration on the documentation.

@xzdandy
Copy link
Collaborator

xzdandy commented Sep 2, 2023

This may also break the link in documentations and tutorials (example: https://github.com/georgia-tech-db/evadb/blob/staging/tutorials/03-emotion-analysis.ipynb). We need to double check.

docs/source/reference/udfs/custom.rst Outdated Show resolved Hide resolved
docs/source/reference/udfs/custom.rst Outdated Show resolved Hide resolved
docs/source/reference/udfs/custom.rst Outdated Show resolved Hide resolved
docs/source/reference/udfs/custom.rst Outdated Show resolved Hide resolved
docs/source/reference/udfs/custom.rst Outdated Show resolved Hide resolved
docs/source/reference/udfs/custom.rst Outdated Show resolved Hide resolved
docs/source/reference/udfs/custom.rst Outdated Show resolved Hide resolved
docs/source/reference/udfs/custom.rst Outdated Show resolved Hide resolved
docs/source/reference/udfs/custom.rst Outdated Show resolved Hide resolved
evadb/README.md Outdated Show resolved Hide resolved
@jiashenC jiashenC force-pushed the 1009-migrate-from-create-udf-to-create-function branch from f9b01fb to d83398e Compare September 4, 2023 20:38
Copy link
Collaborator

@xzdandy xzdandy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the efforts! Doc failures on current staging are fixed in #1035.

Verified on python3.10

  • Notebook: 11-similarity-search-for-motif-mining.ipynb. The path needs to be fixed.
FAILED tutorials/11-similarity-search-for-motif-mining.ipynb:: - ExecutorError: Error creating UDF: Couldn't load UDF from /home/zxu330/eva/tutorials/../evadb/udfs/sift_feature_extractor.py : [Errno 2] No such file or directory: '/home/zxu330/eva/evadb/udfs/sift_feature_extractor.py'. This might be due to a missing Python package, or because the UDF implementation file does not exist, or it is not a valid Python file.
  • Long integration tests
FAILED test/integration_tests/long/test_model_train.py::ModelTrainTests::test_ludwig_automl - evadb.executor.executor_utils.ExecutorError: No best trial found. Please check if you specified the correct default metric (metric_...
FAILED test/integration_tests/long/test_pytorch.py::PytorchTest::test_should_run_pytorch_and_asl - evadb.executor.executor_utils.ExecutorError: [Errno 2] No such file or directory: '/home/zxu330/eva/evadb/functions/asl_20_actions_...

#1036 created for test/integration_tests/long/test_model_train.py, and the failure is probably not relevant to this pr.

@jiashenC jiashenC force-pushed the 1009-migrate-from-create-udf-to-create-function branch from fb49182 to c49193e Compare September 5, 2023 14:45
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@jiashenC jiashenC merged commit bcbf6eb into staging Sep 5, 2023
@jiashenC jiashenC deleted the 1009-migrate-from-create-udf-to-create-function branch September 5, 2023 15:37
jiashenC added a commit that referenced this pull request Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate from CREATE UDF to CREATE FUNCTION
3 participants