Commit graph

423 commits

Author SHA1 Message Date
Andrew Lamb
9934f3d931
Update to ASF header / add when missing (#1437) 2024-09-21 06:23:28 -04:00
Fischer
71318df8b9
chore: remove redundant punctuation (#1434) 2024-09-20 12:39:17 -04:00
Siyuan Huang
04a53e5753
feat: support explain options (#1426) 2024-09-19 11:28:02 -04:00
hulk
1c505ce736
Allow to use ON CLUSTER cluster_name in TRUNCATE syntax (#1428) 2024-09-19 06:56:00 -04:00
Agaev Guseyn
246838a69f
Fix parsing of negative values (#1419)
Co-authored-by: Agaev Huseyn <h.agaev@vkteam.ru>
2024-09-16 17:04:21 -04:00
Simon Sawert
b9e7754886
feat: Add support for MSSQL table options (#1414) 2024-09-11 13:09:41 -04:00
Andrew Lamb
cb0c511b05
Add a test showing how negative constants are parsed (#1421) 2024-09-10 16:19:13 -04:00
Emil Ejbyfeldt
4875dadbf5
fix: Fix stack overflow in parse_subexpr (#1410) 2024-09-06 10:17:20 -04:00
Samuel Colvin
aa714e3447
Fix INTERVAL parsing to support expressions and units via dialect (#1398) 2024-09-06 10:16:09 -04:00
张林伟
4d52ee7280
Support create index with clause (#1389)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-09-01 07:38:20 -04:00
Samuel Colvin
222b7d127a
allow DateTimeField::Custom with EXTRACT in Postgres (#1394) 2024-08-26 15:56:57 -04:00
Andrew Lamb
dd78084ca0
fix: only require DESCRIBE TABLE for Snowflake and ClickHouse dialect (#1386) 2024-08-16 05:54:58 -04:00
Seve Martinez
c2f46ae07b
adding support for scale in CEIL and FLOOR functions (#1377) 2024-08-14 09:11:40 -04:00
Seve Martinez
f5b818e74b
supporting snowflake extract syntax (#1374)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-08-13 08:56:18 -04:00
Jax Liu
8f8c96f87f
Support parsing empty map literal syntax for DuckDB and Genric (#1361) 2024-08-04 07:47:32 -04:00
hulk
cc13841a37
Add support of parsing ON CLUSTER in ALTER TABLE for ClickHouse (#1342) 2024-07-30 16:31:42 -04:00
hulk
f96658006f
Allow to use the GLOBAL keyword before the join operator (#1353) 2024-07-30 16:30:46 -04:00
Joey Hain
c3ba2f33c6
Snowflake: support position with normal function call syntax (#1341)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2024-07-29 17:17:11 -04:00
hulk
7fdb2ec5d1
Allow to use the TABLE keyword in DESC|DESCRIBE|EXPLAIN TABLE statement (#1351) 2024-07-29 17:16:29 -04:00
hulk
b27abf00e2
Allow to use () as the GROUP BY nothing (#1347) 2024-07-22 15:50:24 -04:00
Jax Liu
48ea5640a2
Support Map literal syntax for DuckDB and Generic (#1344) 2024-07-21 08:18:50 -04:00
Alexander Beedie
71dc966586
Fix quoted identifier regression edge-case with "from" in SELECT (#1346) 2024-07-21 06:02:12 -04:00
Ifeanyi Ubah
028ada8350
Support subquery expression in SET expressions (#1343) 2024-07-20 06:55:24 -04:00
Nick Presta
845a1aaddd
[ClickHouse] Add support for WITH FILL to OrderByExpr (#1330)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-07-20 06:51:12 -04:00
hulk
9108bffc9a
Add support of table function WITH ORDINALITY modifier for Postgre Parser (#1337) 2024-07-09 17:43:22 -04:00
hulk
07278952f9
Add support of FORMAT clause for ClickHouse parser (#1335) 2024-07-09 07:49:04 -04:00
Andrew Lamb
17e5c0c1b6
Fix CI error message in CI (#1333) 2024-07-08 07:37:00 -04:00
Mohamed Abdeen
f77192d4ec
Re-enable trailing commas in DCL (#1318) 2024-07-08 06:31:33 -04:00
hulk
0884dd920d
Support PREWHERE condition for ClickHouse dialect (#1328) 2024-07-07 08:03:23 -04:00
hulk
700bd03d6f
Support SETTINGS pairs for ClickHouse dialect (#1327)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2024-07-07 07:17:43 -04:00
hulk
44d7a20f64
Support GROUP BY WITH MODIFIER for ClickHouse (#1323)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2024-06-30 07:33:43 -04:00
hulk
a685e11993
Support parametric arguments to FUNCTION for ClickHouse dialect (#1315)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-06-23 07:36:05 -04:00
Lorrens Pantelis
7a9793b72e
Allow semi-colon at the end of UNCACHE statement (#1320) 2024-06-23 07:14:57 -04:00
Bidaya0
f3d2f78fb2
Support TO in CREATE VIEW clause for Clickhouse (#1313)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-06-23 07:13:16 -04:00
Lorrens Pantelis
f16c1afed0
Improve error messages with additional colons (#1319) 2024-06-21 18:26:23 -04:00
Emil Ejbyfeldt
79af31b672
Return errors, not panic, when integers fail to parse in AUTO_INCREMENT and TOP (#1305) 2024-06-18 09:30:24 -04:00
Ophir LOJKINE
345e2098fb
add support for update statements that contain tuple assignments (#1317) 2024-06-18 09:28:39 -04:00
Alexander Beedie
0330f9def5
Support use of BY NAME quantifier across all set ops (#1309)
Co-authored-by: Alexander Beedie <alexander.beedie@adia.ae>
Co-authored-by: Joey Hain <joey@sigmacomputing.com>
2024-06-17 14:14:40 -04:00
Ilson Balliego
be77ce50ca
Add support for snowflake exclusive create table options (#1233)
Co-authored-by: Ilson Roberto Balliego Junior <ilson@validio.io>
2024-06-09 17:47:21 -04:00
Mohamed Abdeen
6d4776b482
Enhancing Trailing Comma Option (#1212) 2024-06-07 06:44:04 -04:00
Philip Cristiano
a0f511cb21
Encapsulate CreateTable, CreateIndex into specific structs (#1291) 2024-06-05 05:25:42 -04:00
Aleksei Piianin
375742d1fa
ClickHouse: create view with fields and data types (#1292) 2024-05-30 12:24:12 -04:00
Simon Sawert
029a999645
Add support for view comments for Snowflake (#1287)
Co-authored-by: Joey Hain <joey@sigmacomputing.com>
2024-05-30 12:21:39 -04:00
Joey Hain
c2d84f5683
Support for Snowflake dynamic pivot (#1280) 2024-05-30 12:20:16 -04:00
Joey Hain
d5faf3c54b
Support expression in AT TIME ZONE and fix precedence (#1272) 2024-05-23 13:30:05 -04:00
Joey Hain
5ed13b5af3
Databricks: support SELECT * EXCEPT (#1261) 2024-05-13 05:49:00 -04:00
Dmitry Bugakov
49d178477e
Fix DoubleColon cast skipping AT TIME ZONE #1266 (#1267) 2024-05-11 15:26:57 -04:00
Ifeanyi Ubah
eb36bd7138
Support multiple SET variables (#1252) 2024-05-07 12:51:39 -04:00
Joey Hain
d9d69a2192
Databricks: support for lambda functions (#1257) 2024-05-06 13:37:48 -04:00
Hiranmaya Gundu
2555f713c3
fix: allow snowflake to accept values without parens (#1249) 2024-05-03 16:05:16 -04:00