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

error - [where variable is not null], [where variable != ''] #41

Closed
wingsuiting opened this issue Nov 29, 2020 · 4 comments · Fixed by zbrookle/sql_to_ibis#48
Closed
Labels
bug Something isn't working

Comments

@wingsuiting
Copy link

Hi, thank you for the great package!
Could I ask if there is any way to achieve checks for empty/null fields?

Example:
"""SELECT variable FROM table WHERE variable != '' LIMIT 100"""

Returns:

Invalid query!
Expected one of the following input(s): {'__ANON_5'}
Unexpected input at line 3, column 56
lding_building_name_building_number != ''
@zbrookle
Copy link
Owner

@wingsuiting Thanks! I appreciate you using my package! That's actually a good catch, I didn't have a test for that, but it should work. I'll let you know when that's patched

@wingsuiting
Copy link
Author

wingsuiting commented Nov 30, 2020 via email

@zbrookle
Copy link
Owner

@wingsuiting Awesome! If you could actually make a separate issue for that, it would be really helpful

@wingsuiting
Copy link
Author

Of course, that's done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants