Commit 365c90f
committed
fix: support COMMENT before AS SELECT in CREATE MATERIALIZED VIEW
ClickHouse's SHOW CREATE TABLE outputs COMMENT between the column list
and AS SELECT, but the parser only tried COMMENT after AS SELECT.
Now tries COMMENT in both positions:
- Before AS SELECT (SHOW CREATE TABLE format)
- After AS SELECT (documented syntax)
Fixes #2611 parent f8c2a1f commit 365c90f
1 file changed
Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
144 | 153 | | |
145 | 154 | | |
146 | 155 | | |
| |||
150 | 159 | | |
151 | 160 | | |
152 | 161 | | |
153 | | - | |
154 | | - | |
155 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
156 | 169 | | |
157 | | - | |
158 | 170 | | |
159 | 171 | | |
160 | 172 | | |
| |||
0 commit comments