-
Notifications
You must be signed in to change notification settings - Fork 262
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
Making Ludwig
and HuggingFace
case insensitive
#1090
Making Ludwig
and HuggingFace
case insensitive
#1090
Conversation
…make it case insensitive modified: evadb/binder/statement_binder.py modified: evadb/executor/create_function_executor.py
Fix the linter, and we should be good to go! |
Just some thoughts: maybe a generic until function that does case insensitive string equality check in https://github.com/georgia-tech-db/evadb/blob/staging/evadb/utils/generic_utils.py can improve clarity and simplify the code base. |
Makes sense @xzdandy |
modified: evadb/binder/statement_binder.py modified: evadb/executor/create_function_executor.py modified: evadb/utils/generic_utils.py
Facing a couple of weird issues here Unit tests failing where I see all test cases as passed. I do see some skipped however
Lint tests also failed, I don't know how, I ran I'll try syncing to staging and try again |
modified: evadb/executor/create_function_executor.py
Thanks for introducing I have seen similar failures recently. And it seems that the unit tests are flaky now. Created issue #1098. I rerun the test, and now they are all good. |
Lowercasing function_type and target string before matching so as to make it case insensitive
@xzdandy @gaurav274 do we want a test for checking lowercase as well? If so exactly what should it check?
Although #1071 discusses only
Ludwig
, I saw the same behaviour in the case ofHuggingFace
as well and made that case insensitive as well