Commit graph

168 commits

Author SHA1 Message Date
tomershaniii
2b5bdcef0b
Snowflake: Add support for CONNECT_BY_ROOT (#1780) 2025-04-29 08:44:19 +02:00
Bruno Clemente
81d8909e00
Fix STRAIGHT_JOIN constraint when table alias is absent (#1812)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2025-04-15 19:05:20 +02:00
Roman Borschel
bbc80d7537
Fix tokenization of qualified identifiers with numeric prefix. (#1803)
Co-authored-by: Roman Borschel <roman@cluvio.com>
2025-04-11 20:58:43 +02:00
Roman Borschel
67c3be075e
Add support for MySQL's STRAIGHT_JOIN join operator. (#1802)
Co-authored-by: Roman Borschel <roman@cluvio.com>
2025-04-10 12:26:13 +02:00
bar sela
62495f2f0d
Mysql: Add support for := operator (#1779) 2025-03-27 22:48:57 +01:00
tomershaniii
53aba68e2d
Support qualified column names in MATCH AGAINST clause (#1774) 2025-03-25 10:13:11 +01:00
Mohamed Abdeen
3a8a3bb7a5
SET statements: scope modifier for multiple assignments (#1772) 2025-03-22 06:38:00 +01:00
Michael Victor Zink
939fbdd4f6
Parse SUBSTR as alias for SUBSTRING (#1769) 2025-03-22 06:34:43 +01:00
Mohamed Abdeen
f487cbe004
Add GLOBAL context/modifier to SET statements (#1767) 2025-03-20 06:52:56 +01:00
Mohamed Abdeen
da5892802f
Add LOCK operation for ALTER TABLE (#1768) 2025-03-18 07:22:37 +01:00
Michael Victor Zink
fb578bb419
Preserve MySQL-style LIMIT <offset>, <limit> syntax (#1765) 2025-03-12 21:24:06 +01:00
Mohamed Abdeen
85f855150f
SET with a list of comma separated assignments (#1757) 2025-03-12 21:02:39 +01:00
Michael Victor Zink
1e54a34acd
Parse MySQL ALTER TABLE DROP FOREIGN KEY syntax (#1762) 2025-03-12 07:34:18 +01:00
Michael Victor Zink
9e09b617e8
Parse SET NAMES syntax in Postgres (#1752) 2025-03-01 07:12:25 +01:00
Michael Victor Zink
a629ddf89b
Ignore escaped LIKE wildcards in MySQL (#1735) 2025-03-01 07:07:39 +01:00
Michael Victor Zink
c2914f82e1
Parse ALTER TABLE AUTO_INCREMENT operation for MySQL (#1748) 2025-02-27 06:40:30 +01:00
Michael Victor Zink
3adc746b11
Parse MySQL ALTER TABLE ALGORITHM option (#1745) 2025-02-26 07:03:38 +01:00
Michael Victor Zink
de4dbc5b1d
Parse SIGNED INTEGER type in MySQL CAST (#1739) 2025-02-26 07:00:08 +01:00
Michael
648efd7057
feat: adjust create and drop trigger for mysql dialect (#1734) 2025-02-25 07:50:29 +01:00
Ophir LOJKINE
c335c8883b
Store spans for Value expressions (#1738) 2025-02-25 07:33:57 +01:00
SiLe Zhou
1f1c0693da
Add support for ORDER BY ALL (#1724) 2025-02-22 06:52:07 +01:00
Michael Victor Zink
97f0be6991
Treat COLLATE like any other column option (#1731) 2025-02-20 06:26:20 +01:00
Armin Ronacher
46cfcfe8f7
Implement FROM-first selects (#1713) 2025-02-09 06:10:58 +01:00
Hans Ott
443f492b4b
Require space after -- to start single line comment in MySQL (#1705) 2025-02-05 20:47:17 +01:00
Yoav Cohen
ec948eaf6e
Add parsing for GRANT ROLE and GRANT DATABASE ROLE in Snowflake dialect (#1689) 2025-02-03 20:17:47 +01:00
Michael Victor Zink
252fdbab82
Allow plain JOIN without turning it into INNER (#1692) 2025-01-30 07:15:57 +01:00
AvivDavid-Satori
f7b0812b01
Add support for mysql table hints (#1675) 2025-01-28 09:41:03 +01:00
Ayman Elkfrawy
211b15e790
Enhance object name path segments (#1539) 2025-01-26 15:13:51 +01:00
Alexander Beedie
e9498d538a
Add support for IS [NOT] [form] NORMALIZED (#1655)
Co-authored-by: Alexander Beedie <alexander.beedie@adia.ae>
2025-01-17 10:59:47 +01:00
cjw
b09514e492
feat: support INSERT INTO [TABLE] FUNCTION of Clickhouse (#1633)
Co-authored-by: Kermit <chenjiawei1@xiaohongshu.com>
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2025-01-10 15:23:56 +01:00
Michael Victor Zink
4fdf5e1b30
Fix MySQL parsing of GRANT, REVOKE, and CREATE VIEW (#1538) 2025-01-10 00:31:06 +01:00
artorias1024
c973df35d6
Support DOUBLE data types with precision for Mysql (#1611) 2024-12-19 18:11:39 +01:00
Yoav Cohen
316bb14135
Add support for TABLESAMPLE (#1580) 2024-12-15 10:40:25 +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
48b0e4db4e
Support MySQL size variants for BLOB and TEXT columns (#1564) 2024-11-30 07:55:54 -05:00
Mark-Oliver Junge
3c8fd74804
Implement Spanned to retrieve source locations on AST nodes (#1435)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-11-26 11:22:30 -05:00
Yoav Cohen
62fa8604af
PartiQL queries in Redshift (#1534) 2024-11-23 07:14:38 -05:00
Michael Victor Zink
fad2ddd641
Parse byte/bit string literals in MySQL and Postgres (#1532) 2024-11-20 06:55:38 +01:00
Ophir LOJKINE
4c629e8520
support sqlite's OR clauses in update statements (#1530) 2024-11-18 07:30:53 -05:00
Yoav Cohen
76322baf2f
Add support for Snowflake SHOW DATABASES/SCHEMAS/TABLES/VIEWS/COLUMNS statements (#1501) 2024-11-13 06:55:26 -05:00
Ophir LOJKINE
3a8369aaf5
Parse true and false as identifiers in mssql (#1510) 2024-11-13 05:25:26 -05:00
Ophir LOJKINE
fc0e13b80e
add support for FOR ORDINALITY and NESTED in JSON_TABLE (#1493) 2024-11-06 16:04:13 -05:00
Yoav Cohen
a5b0092506
Add support for TOP before ALL/DISTINCT (#1495) 2024-11-06 12:09:55 -05:00
Yoav Cohen
e2197eeca9
Add support for SHOW DATABASES/SCHEMAS/TABLES/VIEWS in Hive (#1487) 2024-11-03 08:07:06 -05:00
tomershaniii
8e0d26abb3
fix for maybe_parse preventing parser from erroring on recursion limit (#1464) 2024-10-21 15:41:34 -04:00
hulk
32a126b27c
Fix always uses CommentDef::WithoutEq while parsing the inline comment (#1453) 2024-10-04 16:03:02 -04:00
Andrew Lamb
9934f3d931
Update to ASF header / add when missing (#1437) 2024-09-21 06:23:28 -04:00
Kacper Muda
7282ce22f9
feat: support different USE statement syntaxes (#1387) 2024-08-23 11:42:51 -04:00