Skip to content

fix: override supports_regex_advanced to False in RedshiftDataSource (#2269)#2674

Open
devimano2011 wants to merge 1 commit into
sodadata:mainfrom
devimano2011:fix/2269-redshift-invalid-count-regex-lookahead
Open

fix: override supports_regex_advanced to False in RedshiftDataSource (#2269)#2674
devimano2011 wants to merge 1 commit into
sodadata:mainfrom
devimano2011:fix/2269-redshift-invalid-count-regex-lookahead

Conversation

@devimano2011
Copy link
Copy Markdown

fix: return False for supports_regex_advanced in RedshiftDataSource (#2269)Redshift POSIX regex (~) doesn't support lookaheads/lookbehinds like (?!...). Added supports_regex_advanced() override returning False so soda-core raises InvalidRegexException instead of generating broken SQL.

Description

Please provide a description of your changes:

  • What problem are you solving?
  • Any expected impact on downstream packages/services?
  • Reference issue # if available.

Checklist

  • I added a test to verify the new functionality.
  • I verified this PR does not break soda-extensions.

fix: return False for supports_regex_advanced in RedshiftDataSource (sodadata#2269)Redshift POSIX regex (~) doesn't support lookaheads/lookbehinds like (?!...). Added supports_regex_advanced() override returning False so soda-core raises InvalidRegexException instead of generating broken SQL.
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@sonarqubecloud
Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants