We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
with arrayJoin .. as ..
Code snippet
from sqlglot import dialects, parse_one sql = """ with arrayJoin([(1, [2, 3])]) as arr select arr """ parse_one(sql=sql, dialect=dialects.ClickHouse)
Python 3.11 sqlglot 26.0.1
Expected: successful parsing Actual:
ParseError: Required keyword: 'this' missing for <class 'sqlglot.expressions.Alias'>. Line 3, Col: 6. with arrayJoin([(1, [2,3])]) as arr select arr
Official Documentation WITH arrayJoin
Check the correctness of the expression Tap
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Code snippet
Python 3.11
sqlglot 26.0.1
Expected: successful parsing
Actual:
Official Documentation
WITH
arrayJoin
Check the correctness of the expression
Tap
The text was updated successfully, but these errors were encountered: