Commit graph

1297 commits

Author SHA1 Message Date
Chris A
004a8dc5dd
Support multiple PARTITION statements in ALTER TABLE ADD statement (#1011)
Co-authored-by: Chris A <chrisa@indeed.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-10-24 07:19:01 -04:00
Chris A
9832adb376
Support "with" identifiers surrounded by backticks in GenericDialect (#1010) 2023-10-24 06:33:51 -04:00
Ophir LOJKINE
57090537f0
Test that regexp can be used as an identifier in postgres (#1018) 2023-10-24 06:30:05 -04:00
Mehmet Emin KARAKAŞ
86aa1b96be
Support INSERT IGNORE in MySql and GenericDialect (#1004)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-10-24 05:45:25 -04:00
Andrew Lamb
6739d377bd
Add docstrings for Dialects, update README (#1016) 2023-10-23 18:09:02 -04:00
Ilya
8b2a248d7b
parse SQLite pragma statement (#969)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-10-23 18:07:39 -04:00
Andrew Lamb
2798b65b42
snowflake/generic: position can be the name of a column (#1022)
Co-authored-by: Lukasz Stefaniak <lustefaniak@gmail.com>
2023-10-23 18:07:00 -04:00
Ophir LOJKINE
ce62fe6d27
Support FILTER in over clause (#1007)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-10-23 18:06:39 -04:00
Lukasz Stefaniak
e857a45201
Support SELECT * EXCEPT/REPLACE syntax from ClickHouse (#1013) 2023-10-23 17:55:11 -04:00
Joey Hain
56f24ce236
Support subquery as function arg w/o parens in Snowflake dialect (#996) 2023-10-23 17:50:45 -04:00
Alexander Beedie
5c10668dbb
Add support for UNION DISTINCT BY NAME syntax (#997)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-10-23 17:37:31 -04:00
Ophir LOJKINE
c03586b727
Support mysql RLIKE and REGEXP binary operators (#1017) 2023-10-20 16:13:22 -04:00
Lukasz Stefaniak
88510f6625
fix column COLLATE not displayed (#1012) 2023-10-20 15:49:18 -04:00
Lukasz Stefaniak
c68e9775a2
Support bigquery CAST AS x [STRING|DATE] FORMAT syntax (#978) 2023-10-20 14:33:12 -04:00
Zdenko Nevrala
83cb734b3c
Support Snowflake/BigQuery TRIM. (#975) 2023-10-06 14:48:18 -04:00
Gabriel Villalonga Simon
5263da68cd
Handle CREATE [TEMPORARY|TEMP] VIEW [IF NOT EXISTS] (#993) 2023-10-05 15:32:43 -04:00
Andrew Lamb
02f3d78a92
Fix for clippy 1.73 (#995) 2023-10-05 15:25:03 -04:00
Lukasz Stefaniak
c811e22605
redshift: add support for CREATE VIEW … WITH NO SCHEMA BINDING (#979) 2023-10-02 13:42:01 -04:00
Joey Hain
40e2ecbdf3
snowflake: support for UNPIVOT and a fix for chained PIVOTs (#983) 2023-10-02 13:28:13 -04:00
Lukasz Stefaniak
2786c7eaf1
clickhouse: add support for LIMIT BY (#977) 2023-10-02 11:53:32 -04:00
Ifeanyi Ubah
993769ec02
Add support for mixed BigQuery table name quoting (#971)
Co-authored-by: ifeanyi <ifeanyi@validio.io>
2023-10-02 08:48:51 -04:00
Ulrich Schmidt-Goertz
6ffc3b3a52
Support DELETE with ORDER BY and LIMIT (MySQL) (#992) 2023-10-02 08:42:58 -04:00
William
ed39329060
Add JumpWire to users in README (#990) 2023-10-02 08:36:17 -04:00
Lukasz Stefaniak
4903bd4b8b
Add test for clickhouse: tokenize == as Token::DoubleEq (#981) 2023-10-02 07:39:44 -04:00
Lukasz Stefaniak
e718ce6c42
bigquery: EXTRACT support For DAYOFWEEK, DAYOFYEAR, ISOWEEK, TIME (#980) 2023-10-02 07:23:25 -04:00
Ophir LOJKINE
495d0a02d5
Add support for ATTACH DATABASE (#989) 2023-10-02 07:10:56 -04:00
Andrew Lamb
7723ea56c5 chore: Release sqlparser version 0.38.0 2023-09-21 13:47:15 -04:00
Andrew Lamb
521ffa945c
Changelog for 0.38.0 release (#973) 2023-09-21 13:45:19 -04:00
Ilya
71c35d4dfd
Add support for == operator for Sqlite (#970) 2023-09-19 21:31:11 -04:00
chunshao.rcs
f6e4be4c15
Support mysql partition to table selection (#959)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-09-14 14:21:47 -04:00
William
a16791d019
Support UNNEST as a table factor for PostgreSQL (#968) 2023-09-14 13:56:49 -04:00
artorias1024
0480ee9886
feat: Add support for parsing the syntax of MySQL UNIQUE KEY. (#962)
Co-authored-by: yukunpeng <yukunpeng@zhoupudata.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-09-08 06:58:31 -04:00
Berkay Şahin
bb7b05e106
feat: Group By All (#964)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-09-08 06:47:56 -04:00
ding-young
2593dcfb79
Add missing token loc in parse err msg (#965) 2023-09-08 06:12:44 -04:00
Forbes Lindesay
25e037c50f
feat: allow multiple actions in one ALTER TABLE statement (#960) 2023-09-07 16:39:47 -04:00
SeanTroyUWO
e0afd4b179
ANY and ALL contains their operators (#963) 2023-09-07 16:32:50 -04:00
dawg
b02c3f87ec
feat: show location info in parse errors (#958) 2023-09-07 16:23:09 -04:00
Andrew Lamb
4c3a4ad5a8
Update release documentation (#954) 2023-08-25 12:21:40 -04:00
Andrew Lamb
14da37d182
Fix Rust 1.72 clippy lints (#957) 2023-08-25 12:21:31 -04:00
David Dolphin
4a2fa66b55
[cli] add --sqlite param (#956) 2023-08-25 12:06:25 -04:00
Andrew Lamb
9c2e8bcdbc
Break test and coverage test into separate jobs (#949) 2023-08-22 08:32:14 -04:00
Andrew Lamb
b8a58bbc11 chore: Release sqlparser version 0.37.0 2023-08-22 08:28:03 -04:00
Andrew Lamb
a2533c20fe
Changelog for version 0.37.0 (#953) 2023-08-22 08:23:43 -04:00
Marko Grujic
1ea8858575
Table time travel clause support, add visit_table_factor to Visitor (#951) 2023-08-22 06:06:32 -04:00
ehoeve
9500649c35
Add support for MySQL auto_increment offset (#950) 2023-08-21 16:25:32 -04:00
Ophir LOJKINE
41e47cc013
add a test for mssql table name in square brackets (#952) 2023-08-21 13:21:45 -04:00
Forbes Lindesay
9a39afbe07
feat: support more Postgres index syntax (#943) 2023-08-17 11:47:11 -04:00
r.4ntix
a49ea1908d
feat: add ALTER ROLE syntax of PostgreSQL and MS SQL Server (#942) 2023-08-17 08:05:54 -04:00
Andrew Lamb
a7d28582e5
Minor: clarify the value of the special flag (#948) 2023-08-17 06:45:18 -04:00
ehoeve
83e30677b0
Add support for table-level comments (#946)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-08-17 06:44:55 -04:00