Commit graph

1680 commits

Author SHA1 Message Date
Hans Ott
0cd49fb699
Start new line if \r in Postgres dialect (#1647) 2025-01-07 18:35:03 +01:00
Yoav Cohen
8cfc46277f
Add support for MySQL's INSERT INTO ... SET syntax (#1641) 2025-01-06 20:13:38 +01:00
Yoav Cohen
4c6af0ae4f
Add support for Snowflake LIST and REMOVE (#1639) 2025-01-06 16:41:09 +01:00
Yoav Cohen
17e22f0a60
Add support for the SQL OVERLAPS predicate (#1638) 2025-01-06 16:35:24 +01:00
Yoav Cohen
e23877cb2d
Add support for various Snowflake grantees (#1640) 2025-01-05 13:31:51 -05:00
Yoav Cohen
02d60cc0fc
Add support for USE SECONDARY ROLE (vs. ROLES) (#1637) 2025-01-05 13:30:06 -05:00
Hans Ott
8bc63f0e4a
Correctly tokenize nested comments (#1629) 2025-01-05 15:37:34 +01:00
wugeer
94ea20628f
Add support for MYSQL's RENAME TABLE (#1616)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2025-01-01 21:54:58 +01:00
Andrew Lamb
3bad04e9e8
Test benchmarks and Improve benchmark README.md (#1627) 2025-01-01 21:47:59 +01:00
Andrew Lamb
fe36020890
Simplify parse_keyword_apis more (#1626) 2024-12-29 14:20:17 +01:00
Andrew Lamb
3db1b4430f
Improve parsing speed by avoiding some clones in parse_identifier (#1624) 2024-12-29 14:17:52 +01:00
Andrew Lamb
539db9fb1a
Fix sqlparser_bench benchmark compilation (#1625) 2024-12-29 14:14:06 +01:00
Ramnivas Laddad
77b5bd6fa8
Improve error for an unexpected token after DROP (#1623) 2024-12-28 14:29:28 +01:00
Hans Ott
48f025f658
SQLite: Allow dollar signs in placeholder names (#1620) 2024-12-28 14:20:48 +01:00
Jax Liu
d0d4153137
Fix the parsing result for the special double number (#1621) 2024-12-28 14:16:30 +01:00
Andrew Lamb
6daa4b059c
Refactor advancing token to avoid duplication, avoid borrow checker issues (#1618)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2024-12-27 15:17:52 +01:00
Ramnivas Laddad
7dbf31b587
Add support for DROP EXTENSION (#1610) 2024-12-27 13:19:42 +01:00
Andrew Lamb
d89cf801dd
Improve Parser documentation (#1617) 2024-12-27 12:24:58 +01:00
Paul J. Davis
df3c5652b1
Improve parsing performance by reducing token cloning (#1587)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-12-24 17:19:35 -05:00
Yuval Shkolar
024a878ee7
Support Snowflake Update-From-Select (#1604)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2024-12-24 10:00:59 -05:00
Ifeanyi Ubah
14cefc47ed
Merge composite and compound expr test cases (#1615) 2024-12-22 16:40:08 -05:00
Toby Hede
27822e254b
Handle empty projection in Postgres SELECT statements (#1613) 2024-12-22 11:19:43 -05:00
Jax Liu
0647a4aa82
Consolidate MapAccess, and Subscript into CompoundExpr to handle the complex field access chain (#1551) 2024-12-22 15:28:44 +01:00
Ayman Elkfrawy
cd898cb6a4
Support arbitrary composite access expressions (#1600) 2024-12-22 15:22:16 +01:00
Dmitrii Blaginin
84e82e6e2e
Add #[recursive] (#1522)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2024-12-19 14:17:20 -05:00
artorias1024
c973df35d6
Support DOUBLE data types with precision for Mysql (#1611) 2024-12-19 18:11:39 +01:00
yuyang
eae5629fb8
Support optional table for ANALYZE statement (#1599) 2024-12-19 10:18:45 +01:00
Ramnivas Laddad
6523dabcf8
Allow foreign table constraint without columns (#1608) 2024-12-19 10:10:53 +01:00
Ifeanyi Ubah
fac84d81ee
Fix test compilation issue (#1609) 2024-12-18 18:04:25 -05:00
Ayman Elkfrawy
e9ab4d6b94
Fix BigQuery hyphenated ObjectName with numbers (#1598) 2024-12-18 21:12:09 +01:00
cjw
8fcdf48e5c
Support parsing EXPLAIN ESTIMATE of Clickhouse (#1605)
Co-authored-by: Kermit <chenjiawei1@xiaohongshu.com>
2024-12-17 10:03:12 -05:00
Yoav Cohen
c69839102a
Add the alter table ON COMMIT option to Snowflake (#1606) 2024-12-17 08:39:59 +01:00
Aleksei Piianin
7867ba3cf0
Redshift: Fix parsing for quoted numbered columns (#1576) 2024-12-15 10:56:11 +01:00
Yoav Cohen
316bb14135
Add support for TABLESAMPLE (#1580) 2024-12-15 10:40:25 +01:00
Martin Abelson Sahlen
7bc6ddb8fb
Add support for BigQuery ANY TYPE data type (#1602)
Co-authored-by: Martin Abelson Sahlen <sahlen@Martins-MacBook-Air.local>
Co-authored-by: Martin Abelson Sahlen <sahlen@Mac.lan>
2024-12-15 10:39:42 +01:00
Andrew Lamb
885aa93465
Add Apache license header to spans.rs (#1594) 2024-12-13 13:01:56 -05:00
Andrew Lamb
3108828621
Run cargo fmt on derive crate (#1595) 2024-12-13 07:22:30 -05:00
Andrew Lamb
5de5312406
Update version to 0.53.0 and add release notes (#1592) 2024-12-12 09:17:13 -05:00
Ifeanyi Ubah
a13f8c6b93
Add support for ODBC functions (#1585) 2024-12-11 17:31:55 -05:00
Ifeanyi Ubah
04271b0e4e
Parse INSERT with subquery when lacking column names (#1586) 2024-12-11 17:31:24 -05:00
Yuval Shkolar
00abaf2187
Support INSERT OVERWRITE INTO syntax (#1584) 2024-12-09 15:25:10 -05:00
Yoav Cohen
d0fcc06652
Snowflake ALTER TABLE clustering options (#1579) 2024-12-06 10:41:01 +01:00
Yoav Cohen
7b50ac31c3
Parse Snowflake USE ROLE and USE SECONDARY ROLES (#1578) 2024-12-05 19:17:52 +01:00
hulk
dd7ba72a0b
Add support of the ENUM8|ENUM16 for ClickHouse dialect (#1574) 2024-12-05 15:59:07 +01:00
Michael Victor Zink
c761f0babb
Fix displaying WORK or TRANSACTION after BEGIN (#1565) 2024-12-03 20:10:28 -05:00
Michael Victor Zink
6517da6b7d
Support parsing optional nulls handling for unique constraint (#1567) 2024-12-03 20:09:00 -05:00
Michael Victor Zink
6d4188de53
Support BIT column types (#1577) 2024-12-03 19:47:12 -05:00
Philip Cristiano
e16b24679a
Encapsulate CreateFunction (#1573) 2024-12-02 12:45:14 -05:00
Ayman Elkfrawy
bd750dfada
Support Databricks struct literal (#1542) 2024-12-02 10:23:48 -05:00
Andrew Lamb
4ab3ab9147
Update comments / docs for Spanned (#1549)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2024-11-30 08:08:55 -05:00