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

[BUGFIX] add try except to redshift regexp resolver #8707

Merged
merged 4 commits into from Sep 13, 2023

Conversation

itaise
Copy link
Contributor

@itaise itaise commented Sep 12, 2023

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!

@netlify
Copy link

netlify bot commented Sep 12, 2023

Deploy Preview for niobium-lead-7998 canceled.

Name Link
🔨 Latest commit d28aa6c
🔍 Latest deploy log https://app.netlify.com/sites/niobium-lead-7998/deploys/6502141adc08b600086df9aa

Copy link
Member

@anthonyburdi anthonyburdi left a 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!

@anthonyburdi anthonyburdi enabled auto-merge (squash) September 13, 2023 19:57
@anthonyburdi anthonyburdi merged commit 4366d8e into great-expectations:develop Sep 13, 2023
56 checks passed
Comment on lines +99 to +101
)
else:
return sqlalchemy.BinaryExpression(
column, sqlalchemy.literal(regex), sqlalchemy.custom_op("!~")
)
else:
pass
Copy link
Member

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:
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants