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

Clickhouse COLUMNS APPLY parsing error #4139

Open
elchyn-cheliabiyeu opened this issue Sep 20, 2024 · 0 comments · May be fixed by #4141
Open

Clickhouse COLUMNS APPLY parsing error #4139

elchyn-cheliabiyeu opened this issue Sep 20, 2024 · 0 comments · May be fixed by #4141
Assignees

Comments

@elchyn-cheliabiyeu
Copy link

I was trying to use dynamic columns selection with APPLY, but sqlglot fails to parse it

Fully reproducible code snippet

select COLUMNS('.*field') APPLY(toUInt64) FROM ABC;

Leads to sqlglot.errors.ParseError: Invalid expression / Unexpected token.

Official Documentation
https://clickhouse.com/docs/en/sql-reference/statements/select#apply

@VaggelisD VaggelisD self-assigned this Sep 20, 2024
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 a pull request may close this issue.

2 participants