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

Sql parse bug #2347

Open
Haroldli1020 opened this issue Sep 30, 2024 · 0 comments
Open

Sql parse bug #2347

Haroldli1020 opened this issue Sep 30, 2024 · 0 comments

Comments

@Haroldli1020
Copy link

version: 1.0.0-rc.3
SQL:SELECT * FROM ( SELECT mr.* FROM monitor.rasp_install mr ANY inner join ( select asm.account as account, asm.company_name as company_name, asm.center_name as center_name, asm.ownership_name as ownership_name, asm.office_name as office_name from bugs.account_staffnum_map asm where account=SUBSTRING_INDEX ($DATART_USER_EMAIL$, '@', 1) ) as tmp on mr.dep = tmp.ownership_name ) AS DATART_VTABLE LIMIT 0, 1000
DB: CLICKHOUSE
EXCEPTION:org.apache.calcite.sql.parser.SqlParseException: Encountered "ANY" at line 1, column 65.
Was expecting one of:
"EXCEPT" ...
"FETCH" ...
"GROUP" ...
"HAVING" ...
"INTERSECT" ...
"LIMIT" ...
"OFFSET" ...
"ORDER" ...
"MINUS" ...
"TABLESAMPLE" ...
"UNION" ...
"WHERE" ...
"WINDOW" ...
"(" ...
")" ...
"NATURAL" ...
"JOIN" ...
"INNER" ...
"LEFT" ...
"RIGHT" ...
"FULL" ...
"CROSS" ...
"," ...
"OUTER" ...

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

No branches or pull requests

1 participant