Commit graph

1297 commits

Author SHA1 Message Date
Andrew Lamb
91a34c09d7
CHANGELOG for 0.46.0 (#1250) 2024-05-03 16:08:33 -04:00
Hiranmaya Gundu
2555f713c3
fix: allow snowflake to accept values without parens (#1249) 2024-05-03 16:05:16 -04:00
Joey Hain
a14faa36bb
Consolidate representation of function calls, remove AggregateExpressionWithFilter, ArraySubquery, ListAgg and ArrayAgg (#1247)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-05-03 14:46:03 -04:00
groobyming
5ea9c01bb2
Extended dialect triat to support numeric prefixed identifiers (#1188)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-05-03 14:20:12 -04:00
Andrew Lamb
8e64b73e9d
Accept WINDOW clause after QUALIFY when parsing (#1248)
Co-authored-by: ifeanyi <ifeanyi@validio.io>
2024-05-03 14:02:09 -04:00
dependabot[bot]
71a7262e38
Update simple_logger requirement from 4.0 to 5.0 (#1246)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 11:51:42 -04:00
WeblWabl
5b83c73e38
feat: add DECLARE parsing for mssql (#1235) 2024-05-01 06:51:04 -04:00
Andrew Repp
4aa37a46a9
Support ?-based jsonb operators in Postgres (#1242)
Co-authored-by: Andrew Repp <arepp@cloudflare.com>
2024-05-01 06:50:45 -04:00
Duong Cong Toai
bafaa914b0
Support Struct datatype parsing for GenericDialect (#1241) 2024-04-30 17:16:23 -04:00
Ifeanyi Ubah
fb20f8ccbe
Support BigQuery window function null treatment (#1239) 2024-04-30 16:44:13 -04:00
Ifeanyi Ubah
8626051513
Extend pivot operator support (#1238) 2024-04-30 14:13:26 -04:00
Joey Hain
4bfa399919
Improve parsing of JSON accesses on Postgres and Snowflake (#1215)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2024-04-30 10:49:05 -04:00
Ifeanyi Ubah
0606024353
Support for MSSQL CONVERT styles (#1219) 2024-04-30 10:22:13 -04:00
Ifeanyi Ubah
6fcf8c9abe
BigQuery: Support window clause using named window (#1237) 2024-04-30 09:41:24 -04:00
Joey Hain
0b5722afbf
Support for CONNECT BY (#1138) 2024-04-27 06:52:21 -04:00
Joey Hain
deaa6d8151
Snowflake: support for object constants (#1223) 2024-04-26 14:01:33 -04:00
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