clickhouse-java icon indicating copy to clipboard operation
clickhouse-java copied to clipboard

Parse error at line 1, column 19. Encountered: FUNCTION

Open ethlo opened this issue 3 years ago • 1 comments

. If you believe the SQL is valid, please feel free to open an issue on Github with this warning and the following SQL attached. CREATE OR REPLACE FUNCTION direction AS (uri) -> if (uri IN ('urn:foo','urn:bar','baz'), 'OUT', 'IN');

I use the parser for splitting statements in DDL, and the FUNCTION keyword is currently tripping the parser.

ethlo avatar Oct 19 '22 09:10 ethlo

Any updates about this bug?

amirhalatzi avatar Aug 28 '24 08:08 amirhalatzi