Skip to content

fix: parse-safe D/C match in pivoted_invasive_lines - #2139

Open
Chessing234 wants to merge 1 commit into
MIT-LCP:mainfrom
Chessing234:fix/invasive-lines-dc-escape
Open

fix: parse-safe D/C match in pivoted_invasive_lines#2139
Chessing234 wants to merge 1 commit into
MIT-LCP:mainfrom
Chessing234:fix/invasive-lines-dc-escape

Conversation

@Chessing234

Copy link
Copy Markdown
Contributor

Summary

  • BigQuery pivoted_invasive_lines used 'D/C\'d', which sqlglot cannot parse (same class of failure as neuroblock).
  • Switch to stopped LIKE 'D/C%' and regenerate postgres/duckdb copies.

Test plan

  • pytest tests/test_transpile.py -k invasive (4 passed)
  • Confirm transpile of this concept succeeds in CI

Made with Cursor

Replace backslash-escaped D/C'd with LIKE so sqlglot can transpile
the BigQuery concept to postgres/duckdb.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant