Commit graph

1431 commits

Author SHA1 Message Date
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
Ayman Elkfrawy
f4f112d7d6
Support snowflake double dot notation for object name (#1540) 2024-11-30 08:02:08 -05:00
Ophir LOJKINE
96f7c0277a
json_object('k' VALUE 'v') in postgres (#1547)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2024-11-30 08:01:13 -05:00
Andrew Lamb
b0007389dc
Increase version of sqlparser_derive from 0.2.2 to 0.3.0 (#1571) 2024-11-30 08:00:34 -05:00
Michael Victor Zink
48b0e4db4e
Support MySQL size variants for BLOB and TEXT columns (#1564) 2024-11-30 07:55:54 -05:00
Andrew Lamb
a134910a36
Rename TokenWithLocation to TokenWithSpan, in backwards compatible way (#1562) 2024-11-30 07:55:21 -05:00
Jax Liu
92c6e7f79b
Support relation visitor to visit the Option field (#1556) 2024-11-29 07:08:52 -05:00
Ifeanyi Ubah
6291afb2c7
Fix clippy warnings on rust 1.83 (#1570) 2024-11-29 06:37:06 -05:00
Andrew Lamb
5a510ac4d9
Fix error in benchmark queries (#1560) 2024-11-27 11:33:31 -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
Andrew Lamb
0adec33b94
Document micro benchmarks (#1555) 2024-11-26 11:11:56 -05:00
Ophir LOJKINE
525d1780e8
support json_object('k':'v') in postgres (#1546) 2024-11-25 16:01:23 -05:00
Yoav Cohen
fd21fae297
Fallback to identifier parsing if expression parsing fails (#1513) 2024-11-25 16:01:02 -05:00
Andrew Kane
0fb2ef331e
Include license file in sqlparser_derive crate (#1543) 2024-11-24 07:06:31 -05:00
Yoav Cohen
62fa8604af
PartiQL queries in Redshift (#1534) 2024-11-23 07:14:38 -05:00
tomershaniii
10519003ed
recursive select calls are parsed with bad trailing_commas parameter (#1521) 2024-11-23 06:33:14 -05:00
Michael Victor Zink
a1150223af
Allow example CLI to read from stdin (#1536) 2024-11-22 14:06:42 -05:00
Michael Victor Zink
fad2ddd641
Parse byte/bit string literals in MySQL and Postgres (#1532) 2024-11-20 06:55:38 +01:00
wugeer
73947a5f02
Add support for PostgreSQL UNLISTEN syntax and Add support for Postgres LOAD extension expr (#1531)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2024-11-19 16:14:28 -05:00
gaoqiangz
92be237cfc
Add support for MSSQL's JSON_ARRAY/JSON_OBJECT expr (#1507)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2024-11-18 09:22:18 -05:00
Ophir LOJKINE
f961efc0c9
support column type definitions in table aliases (#1526) 2024-11-18 09:02:22 -05:00
Ophir LOJKINE
4c629e8520
support sqlite's OR clauses in update statements (#1530) 2024-11-18 07:30:53 -05:00
delamarch3
a67a4f3cbe
Support ANTI and SEMI joins without LEFT/RIGHT (#1528) 2024-11-18 07:30:20 -05:00
hulk
4a5f20e911
Fix ClickHouse document link from Russian to English (#1527) 2024-11-18 07:29:28 -05:00
wugeer
724a1d1aba
Add support for Hive's LOAD DATA expr (#1520)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2024-11-15 09:53:31 -05:00
gaoqiangz
62eaee62dc
Add support for MSSQL's XQuery methods (#1500)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2024-11-14 15:32:57 -05:00
wugeer
2bb81444bd
Add support for MYSQL's CREATE TABLE SELECT expr (#1515) 2024-11-13 12:36:13 -05:00
hulk
6d907d3adc
Add support of COMMENT ON syntax for Snowflake (#1516) 2024-11-13 08:23:33 -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
wugeer
632ba4cf8e
Fix the parsing error in MSSQL for multiple statements that include DECLARE statements (#1497) 2024-11-13 06:54:57 -05:00
Ophir LOJKINE
3a8369aaf5
Parse true and false as identifiers in mssql (#1510) 2024-11-13 05:25:26 -05:00
gaoqiangz
90824486df
Add support for MSSQL's OPENJSON WITH clause (#1498) 2024-11-13 01:41:13 -05:00
wugeer
e857787309
hive: support for special not expression !a and raise error for a! factorial operator (#1472)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2024-11-13 01:36:33 -05:00
Andrew Lamb
334a5bf354
Update CHANGELOG.md for 0.52.0 release, add scripts/ instructions for ASF releases (#1479) 2024-11-07 11:26:57 -05:00
Ophir LOJKINE
d853c35391
improve support for T-SQL EXECUTE statements (#1490) 2024-11-07 10:59:14 -05:00
Andrew Lamb
543ec6c584
Move CHANGELOG content (#1503) 2024-11-06 16:50:27 -05:00
Andrew Lamb
9394ad4c0c
Add Apache License to additional files (#1502) 2024-11-06 16:48:49 -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
wugeer
05821cc7db
Add support for PostgreSQL LISTEN/NOTIFY syntax (#1485) 2024-11-06 16:51:08 +01:00
Andrew Lamb
a9a9d58c38
Fix typo in Dialect::supports_eq_alias_assigment (#1478) 2024-11-06 16:47:01 +01:00
Yoav Cohen
e2197eeca9
Add support for SHOW DATABASES/SCHEMAS/TABLES/VIEWS in Hive (#1487) 2024-11-03 08:07:06 -05:00
hulk
8de3cb0074
Fix complex blocks warning when running clippy (#1488) 2024-11-01 11:20:19 -04:00
Yoav Cohen
ee90373d35
Fix build (#1483) 2024-10-29 14:36:47 -04:00
tomershaniii
8e0d26abb3
fix for maybe_parse preventing parser from erroring on recursion limit (#1464) 2024-10-21 15:41:34 -04:00
Seve Martinez
38f1e573fe
feat: adding Display implementation to DELETE and INSERT (#1427)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-10-21 14:52:17 -04:00
David Caldwell
a8432b57db
Add PostgreSQL specfic "CREATE TYPE t AS ENUM (...)" support. (#1460) 2024-10-21 14:44:38 -04:00
Yoav Cohen
45c5d69b22
MsSQL TRY_CONVERT (#1477) 2024-10-20 16:29:55 -04:00
Aleksei Piianin
3421e1e4d4
Snowflake: support for extended column options in CREATE TABLE (#1454) 2024-10-20 14:13:25 -04:00
Yoav Cohen
1dd7d26fbb
Add support for parsing MsSql alias with equals (#1467) 2024-10-20 14:12:39 -04:00