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

11-similarity-search-for-motif-mining.ipynb does not work on Colab #1275

Closed
1 of 2 tasks
xzdandy opened this issue Oct 11, 2023 · 1 comment
Closed
1 of 2 tasks

11-similarity-search-for-motif-mining.ipynb does not work on Colab #1275

xzdandy opened this issue Oct 11, 2023 · 1 comment
Labels
Bug 🐞 EVA is not working as expected

Comments

@xzdandy
Copy link
Collaborator

xzdandy commented Oct 11, 2023

Search before asking

  • I have searched the EvaDB issues and found no similar bug report.

Bug

The function is not available on Colab.

cursor.query("""
    CREATE FUNCTION SiftFeatureExtractor
    IMPL '../evadb/functions/sift_feature_extractor.py'
""").df()

Environment

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@xzdandy xzdandy added the Bug 🐞 EVA is not working as expected label Oct 11, 2023
@xzdandy
Copy link
Collaborator Author

xzdandy commented Oct 11, 2023

As a workaournd we can do the following:

from evadb.configuration.constants import EvaDB_INSTALLATION_DIR
cursor.query("DROP FUNCTION IF EXISTS SiftFeatureExtractor;").df()
cursor.query(f"""
    CREATE FUNCTION SiftFeatureExtractor
    IMPL '{EvaDB_INSTALLATION_DIR}/functions/sift_feature_extractor.py'
""").df()

We shall include EvaDB_INSTALLATION_DIR as searching path for functions in #1105

@xzdandy xzdandy closed this as completed Oct 11, 2023
xzdandy added a commit that referenced this issue Oct 11, 2023
Fix #1271, Fix #1265, Fix #1266

~~Not able to fix 11-similarity-search-for-motif-mining.ipynb due to
#1275~~
RichardZhangRZ pushed a commit to RichardZhangRZ/evadb that referenced this issue Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐞 EVA is not working as expected
Projects
None yet
Development

No branches or pull requests

1 participant