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

validate row: MySQL ibis.expr.operations.IfNull Exception #776

Closed
nj1973 opened this issue Mar 17, 2023 · 1 comment
Closed

validate row: MySQL ibis.expr.operations.IfNull Exception #776

nj1973 opened this issue Mar 17, 2023 · 1 comment
Labels
type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@nj1973
Copy link
Contributor

nj1973 commented Mar 17, 2023

Any validate row command on MySQL (both --hash and --concat) throws an exception:

...
  File "/home/user/professional-services-data-validator/env/lib/python3.10/site-packages/ibis/backends/base_sqlalchemy/compiler.py", line 1362, in get_result
    translated = self.translate(self.expr)
  File "/home/user/professional-services-data-validator/env/lib/python3.10/site-packages/ibis/backends/base_sqlalchemy/compiler.py", line 1403, in translate
    raise com.OperationNotDefinedError(
ibis.common.exceptions.OperationNotDefinedError: No translation rule for <class 'ibis.expr.operations.IfNull'>

When complete we need to enable the integration test for this problem. Search for "issue-776" in tests/system/data_sources/test_mysql.py to action this (there are two disabled tests). Enabling these test is blocked by issue #759.

@nj1973 nj1973 added the type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. label Mar 17, 2023
@nehanene15
Copy link
Collaborator

This has been resolved in #812 and uncommented from MySQL tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants