Michael Victor Zink
a2940fd757
Improve MySQL CREATE TRIGGER
parsing
...
MySQL uses a statement body similar to MSSQL (but without the `AS`
keyword) instead of `EXECUTE` body style used in Postgres and standard
SQL. But unlike MSSQL, MySQL puts the trigger period before the target
table. We add some flags to indicate these differences and allow parsing
and round tripping MySQL triggers. The main benefit is that we can now
handle MySQL triggers which include `BEGIN; ... END;` compound
statements.
2025-08-07 09:45:26 -07:00
Yoav Cohen
bc2c4e263d
Support optional semicolon between statements ( #1937 )
license / Release Audit Tool (RAT) (push) Has been cancelled
Rust / codestyle (push) Has been cancelled
Rust / lint (push) Has been cancelled
Rust / benchmark-lint (push) Has been cancelled
Rust / compile (push) Has been cancelled
Rust / docs (push) Has been cancelled
Rust / compile-no-std (push) Has been cancelled
Rust / test (beta) (push) Has been cancelled
Rust / test (nightly) (push) Has been cancelled
Rust / test (stable) (push) Has been cancelled
2025-07-11 14:46:48 +02:00
Yoav Cohen
ee31b64f9e
Add support for Redshift SELECT * EXCLUDE
( #1936 )
license / Release Audit Tool (RAT) (push) Waiting to run
Rust / benchmark-lint (push) Waiting to run
Rust / compile (push) Waiting to run
Rust / docs (push) Waiting to run
Rust / compile-no-std (push) Waiting to run
Rust / test (beta) (push) Waiting to run
Rust / test (nightly) (push) Waiting to run
Rust / test (stable) (push) Waiting to run
Rust / codestyle (push) Waiting to run
Rust / lint (push) Waiting to run
2025-07-11 11:39:29 +02:00
Ifeanyi Ubah
5f2b5fe7be
Fix clippy lints on 1.88.0 ( #1910 )
2025-06-27 14:21:17 -04:00
ZacJW
95d16e3b2d
Add support for LANGUAGE
clause in CREATE PROCEDURE
( #1903 )
2025-06-27 18:22:21 +02:00
ZacJW
b9365b3853
Support procedure argmode ( #1901 )
license / Release Audit Tool (RAT) (push) Waiting to run
Rust / codestyle (push) Waiting to run
Rust / lint (push) Waiting to run
Rust / benchmark-lint (push) Waiting to run
Rust / compile (push) Waiting to run
Rust / docs (push) Waiting to run
Rust / compile-no-std (push) Waiting to run
Rust / test (beta) (push) Waiting to run
Rust / test (nightly) (push) Waiting to run
Rust / test (stable) (push) Waiting to run
2025-06-24 08:39:02 +02:00
Andrew Harper
eacf00d269
Add support for parameter default values in SQL Server ( #1866 )
2025-05-29 11:49:28 +02:00
Andrew Harper
301726541a
Add support for table valued functions for SQL Server ( #1839 )
2025-05-23 07:19:16 +02:00
Andrew Harper
74a95fdbd1
Add support for DENY
statements ( #1836 )
2025-05-14 09:21:23 +02:00
Andrew Harper
6cd237ea43
Allow stored procedures to be defined without BEGIN
/END
( #1834 )
2025-05-09 01:40:03 +02:00
Andrew Harper
a497358c3a
Add CREATE TRIGGER
support for SQL Server ( #1810 )
2025-05-03 16:59:13 +02:00
benrsatori
728645fb31
Add all missing table options to be handled in any order ( #1747 )
...
Co-authored-by: Tomer Shani <tomer.shani@satoricyber.com>
2025-05-02 15:16:59 +02:00
Andrew Harper
a464f8e8d7
Improve support for cursors for SQL Server ( #1831 )
...
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2025-05-02 05:25:30 +02:00
Simon Vandel Sillesen
e5d2215267
Support some of pipe operators ( #1759 )
2025-05-02 05:13:47 +02:00
Andrew Harper
7703fd0d31
Add DECLARE ... CURSOR FOR
support for SQL Server ( #1821 )
2025-04-24 20:16:49 +02:00
Andrew Harper
2eb1e7bdd4
Add CREATE FUNCTION
support for SQL Server ( #1808 )
2025-04-23 18:10:57 +02:00
Andrew Harper
4a487290ce
Add support for PRINT
statement for SQL Server ( #1811 )
2025-04-18 08:59:39 +02:00
Andrew Harper
6566c47593
Add DROP TRIGGER
support for SQL Server ( #1813 )
2025-04-15 07:50:50 +02:00
Luca Cappelletti
896c088153
Add support for INHERITS
option in CREATE TABLE
statement ( #1806 )
2025-04-12 18:03:43 +02:00
Roman Borschel
0d2976d723
Add support for MSSQL IF/ELSE statements. ( #1791 )
...
Co-authored-by: Roman Borschel <roman@cluvio.com>
2025-04-06 07:09:24 +02:00
DilovanCelik
610096cad8
MSSQL: Add support for functionality MERGE
output clause ( #1790 )
2025-04-05 20:37:28 +02:00
Roman Borschel
25bb871175
Enable double-dot-notation for mssql. ( #1787 )
...
Co-authored-by: Roman Borschel <roman@cluvio.com>
2025-03-31 17:53:56 +02: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
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
Ophir LOJKINE
d5dbe86da9
re-add support for nested comments in mssql ( #1754 )
2025-03-01 07:13:33 +01:00
Ophir LOJKINE
c335c8883b
Store spans for Value expressions ( #1738 )
2025-02-25 07:33:57 +01:00
Michael Victor Zink
97f0be6991
Treat COLLATE like any other column option ( #1731 )
2025-02-20 06:26:20 +01:00
Tyler Brinks
a5bbb5e8ac
Add support for MS Varbinary(MAX) ( #1714 ) ( #1715 )
2025-02-13 05:40:35 -05:00
Armin Ronacher
46cfcfe8f7
Implement FROM-first selects ( #1713 )
2025-02-09 06:10:58 +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
Denys Tsomenko
c7c0de6551
Add support for Create Iceberg Table statement for Snowflake parser ( #1664 )
2025-01-20 21:39:44 +01:00
AvivDavid-Satori
474150006f
Add support for parsing RAISERROR ( #1656 )
2025-01-16 10:09:53 +01:00
Yoav Cohen
3b4dc0f227
MsSQL SET for session params ( #1646 )
2025-01-11 10:51:01 +01:00
Yoav Cohen
316bb14135
Add support for TABLESAMPLE ( #1580 )
2024-12-15 10:40:25 +01:00
Ifeanyi Ubah
a13f8c6b93
Add support for ODBC functions ( #1585 )
2024-12-11 17:31:55 -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
Ophir LOJKINE
525d1780e8
support json_object('k':'v')
in postgres ( #1546 )
2024-11-25 16:01:23 -05:00
Yoav Cohen
62fa8604af
PartiQL queries in Redshift ( #1534 )
2024-11-23 07:14:38 -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
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
Yoav Cohen
a5b0092506
Add support for TOP before ALL/DISTINCT ( #1495 )
2024-11-06 12:09:55 -05:00
tomershaniii
8e0d26abb3
fix for maybe_parse preventing parser from erroring on recursion limit ( #1464 )
2024-10-21 15:41:34 -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