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
[BUGFIX] add try except to redshift regexp resolver #8707
Conversation
✅ Deploy Preview for niobium-lead-7998 canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this change!
) | ||
else: | ||
return sqlalchemy.BinaryExpression( | ||
column, sqlalchemy.literal(regex), sqlalchemy.custom_op("!~") | ||
) | ||
else: | ||
pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This else should just be removed.
) | ||
else: | ||
pass | ||
except AttributeError: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@itaise do you have a stracktrace of this exact AttributeError
?
Hi,
I added try/except to the part which resolves redshift regexp function.
This is to fix (this issue)[https://github.com//issues/8701]
Can you please check?
thanks a lot!