clickhouse-sql-parser icon indicating copy to clipboard operation
clickhouse-sql-parser copied to clipboard

ClickHouse SQL Parser writing in Go

Results 6 clickhouse-sql-parser issues
Sort by recently updated
recently updated
newest added

https://clickhouse.com/docs/en/sql-reference/statements/create/user

- [ ] Tables: `CREATE TABLE [OR REPLACE ]my_table` [doc](https://clickhouse.com/docs/en/sql-reference/statements/create/table#replace-table); - [ ] Views / Materialized Views: `CREATE [OR REPLACE] VIEW my_view AS SELECT..` [doc](https://clickhouse.com/docs/en/sql-reference/statements/create/view#normal-view); - [ ] Functions `CREATE...

For the syntax, please refer: https://github.com/ClickHouse/ClickHouse/blob/262373c9ef519f892023930745fd9651cfc4e0f9/utils/antlr/ClickHouseParser.g4#L108

good first issue
help wanted

Adding Table/View Comment Support as per document https://clickhouse.com/docs/en/sql-reference/statements/create/table https://github.com/AfterShip/clickhouse-sql-parser/issues/105 Example: ``` CREATE TABLE IF NOT EXISTS test.events_local ( f0 String, f1 String CODEC(ZSTD(1)), f2 VARCHAR(255), f3 Datetime, f4 Datetime, f5...

The current parser supports comments at the column level, and ClickHouse also enables users to specify comments at the table level, as detailed in the documentation provided at https://clickhouse.com/docs/en/sql-reference/statements/create/table, https://clickhouse.com/docs/en/sql-reference/statements/create/view...

Hello, I'm implementing custom QueryVisitor struct by embedding DefaultASTVisitor and overridde enter and leave functions to create stack that contains query element as they are visited. Idea is when query...