Commit graph

1431 commits

Author SHA1 Message Date
Joey Hain
2490034948
Initial Databricks SQL dialect (#1220) 2024-04-26 14:01:09 -04:00
Ifeanyi Ubah
0adf4c675c
Support BigQuery MERGE syntax (#1217) 2024-04-26 14:00:54 -04:00
Simon Sawert
b51f2a0c25
fix: Add support for MAX for NVARCHAR (#1232) 2024-04-26 13:56:37 -04:00
Yuval Shkolar
547c5cde14
fix redundant brackets in Hive/Snowflake/Redshift (#1229) 2024-04-24 07:56:09 -04:00
universalmind303
ce85084deb
feat: add fixed size list support (#1231) 2024-04-23 17:53:03 -04:00
Joey Hain
39980e8976
Support Snowflake MATCH_RECOGNIZE syntax (#1222) 2024-04-22 16:17:50 -04:00
tison
bf89b7d808
Encapsulate Insert and Delete into specific structs (#1224)
Signed-off-by: tison <wander4096@gmail.com>
2024-04-21 09:13:18 -04:00
Ifeanyi Ubah
d2c2b15f9e
Add support for quoted string backslash escaping (#1177) 2024-04-21 09:07:56 -04:00
Kould
7b49c69b3a
Support Modify Column for MySQL dialect (#1216) 2024-04-21 08:32:53 -04:00
Hiranmaya Gundu
4604628c43
feat: implement select * ilike for snowflake (#1228) 2024-04-21 08:22:08 -04:00
Joey Hain
d1f67bdc47
Preserve double colon casts (and simplify cast representations) (#1221) 2024-04-21 08:21:58 -04:00
Hiranmaya Gundu
9db20e293f
fix: have wildcard replace work in duckdb and snowflake syntax (#1226) 2024-04-21 08:20:41 -04:00
Andrew Lamb
2f03fad339 chore: Release sqlparser version 0.45.0 2024-04-12 06:54:36 -04:00
Andrew Lamb
acc5dd9376
CHANGELOG for 0.45.0 (#1213) 2024-04-12 06:52:11 -04:00
ZacJW
e5c860213b
Fix dollar quoted string tokenizer (#1193) 2024-04-12 06:38:04 -04:00
Andrew Lamb
a0ed14ce02
Do not allocate in impl Display for DateTimeField (#1209) 2024-04-09 17:23:22 -04:00
Ifeanyi Ubah
eda86d8ed7
Add support for arbitrary map access expr (#1179) 2024-04-09 17:21:22 -04:00
Ifeanyi Ubah
127be97369
Support more DateTimeField variants (#1191) 2024-04-09 17:16:03 -04:00
Ifeanyi Ubah
8dd213cff2
BigQuery: support unquoted hyphen in table/view declaration (#1178) 2024-04-09 17:05:31 -04:00
Andrew Lamb
241da85d67
Support CREATE/DROP SECRET for duckdb dialect (#1208)
Co-authored-by: Jichao Sun <4977515+JichaoS@users.noreply.github.com>
2024-04-09 16:21:08 -04:00
Nikita-str
8f67d1a713
Support MySQL UNIQUE table constraint (#1164)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-04-09 16:20:24 -04:00
yassun7010
6da8828c1b
feat: support tailing commas on snowflake dialect. (#1205) 2024-04-09 16:19:27 -04:00
Maciej Obuchowski
17ef71e42b
Fix parse COPY INTO stage names without parens for SnowFlake (#1187)
Signed-off-by: Maciej Obuchowski <obuchowski.maciej@gmail.com>
2024-04-07 08:45:59 -04:00
xring
20c5754784
Support [FIRST | AFTER column_name] support in ALTER TABLE for MySQL (#1180) 2024-04-07 08:43:23 -04:00
Ifeanyi Ubah
732e1ec1fc
BigQuery support inline comment with hash syntax (#1192) 2024-04-07 08:31:04 -04:00
Nikita-str
23103302e6
Support named windows in OVER (window_definition) clause (#1166)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-04-07 08:20:21 -04:00
Nikita-str
83c5d8191b
solve stack overflow on RecursionLimitExceeded during debug building (#1171)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-04-07 08:12:48 -04:00
Andrew Lamb
05af4e049c
Cleanup CREATE FUNCTION tests (#1203) 2024-04-07 07:08:55 -04:00
Joey Hain
3bf40485c5
Fix parsing of equality binop in function argument (#1182) 2024-04-06 13:08:40 -04:00
sunxunle
e976a2ee43
chore: fix some comments (#1184)
Signed-off-by: sunxunle <sunxunle@gmail.com>
2024-04-06 13:06:53 -04:00
Daniel Imfeld
2bf93a470c
Support PARALLEL ... and for ..ON NULL INPUT ... to CREATE FUNCTION` (#1202) 2024-04-06 13:03:00 -04:00
gstvg
14b33ac493
Add support for DuckDB functions named arguments with assignment operator (#1195)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-04-06 12:46:36 -04:00
gstvg
e747c9c2af
Add support for DuckDB struct literal syntax (#1194)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-03-29 09:39:52 -04:00
Marko Milenković
4472789171
Add support for $$ in generic dialect ... (#1185) 2024-03-24 14:20:15 -04:00
Ophir LOJKINE
6b03a259aa
Parse SUBSTRING FROM syntax in all dialects, reflect change in the AST (#1173) 2024-03-13 11:08:27 -04:00
Michiel De Backker
929c646bba
Add identifier quote style to Dialect trait (#1170) 2024-03-11 16:27:25 -04:00
Mehmet Emin KARAKAŞ
11899fd0cb
Support row_alias and col_aliases in INSERT statement for mysql and generic dialects (#1136) 2024-03-08 15:03:49 -05:00
Andrew Lamb
5da66adda9 chore: Release sqlparser version 0.44.0 2024-03-03 02:30:34 -05:00
Andrew Lamb
1af1a6e87a
Version 0.44.0 CHANGELOG (#1161) 2024-03-03 02:29:21 -05:00
Jonathan Lehto
ef4668075b
Support EXPLAIN / DESCR / DESCRIBE [FORMATTED | EXTENDED] (#1156)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-03-01 14:07:04 -05:00
Jonathan Lehto
991dbab755
Support ALTER TABLE ... SET LOCATION (#1154)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-03-01 14:05:05 -05:00
Jonathan Lehto
6f090e5547
adding delimited (#1155) 2024-03-01 13:55:50 -05:00
Jonathan Lehto
fb7d4d40cc
Support serdeproperties for CREATE TABLE with HIVE (#1152)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-03-01 13:49:41 -05:00
Jonathan Lehto
68b52a4ad6
Support EXECUTE ... USING for Postgres (#1153) 2024-03-01 13:49:29 -05:00
Andrew Lamb
9db9d22480
Support postgres style CREATE FUNCTION in GenericDialect (#1159) 2024-03-01 13:43:29 -05:00
Jonathan Lehto
a511c47bd0
set_tblproperties (#1151) 2024-03-01 13:42:21 -05:00
Andrew Lamb
10cc54e10e
Clean up nightly clippy lints (#1158) 2024-02-29 14:56:36 -05:00
Jonathan Lehto
e2ce324722
Support Unload statement (#1150)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-02-29 14:55:46 -05:00
JasonLi
4d1eecd0fc
Handle escape, unicode, and hex in tokenize_escaped_single_quoted_string (#1146)
Co-authored-by: jasonnnli <jasonnnli@tencent.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-02-29 14:33:22 -05:00
Andrew Repp
0c5f6fbf81
ISSUE-1147: Add support for MATERIALIZED CTEs (#1148)
Co-authored-by: Andrew Repp <arepp@cloudflare.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-02-29 07:54:36 -05:00