Eyal Leshem
5458a2b21d
Implement zero-copy tokenization for Word, SingleQuotedString, and Whitespace
...
Convert token string fields to use Cow<'a, str> to enable zero-copy tokenization
for commonly used tokens:
- Word.value: Regular identifiers and keywords now borrow from source
- SingleQuotedString: String literals borrow when no escape processing needed
- Whitespace: Single-line and multi-line comments borrow from source
Also add benchmark for measuring tokenization performance
2025-12-21 16:39:10 +02:00
eyalleshem
c6933bb8ec
Immutable parser (Tokenize borrow strings cont) ( #2098 )
...
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
Co-authored-by: Eyal Leshem <eyal@satoricyber.com>
2025-12-18 05:27:50 +01:00
Thomas Kluyver
67684c84d4
SQLite: make period optional for CREATE TRIGGER ( #2071 )
...
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
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2025-10-22 09:12:06 +00:00
Luca Cappelletti
4490c8c55c
Added support for SQLite triggers ( #2037 )
...
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
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2025-10-11 11:16:56 +00:00
Luca Cappelletti
cc595cfd84
Moving several struct variants out of Statement enum to allow for trait impls for specific sub-variants ( #2057 )
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-10-10 14:08:20 +00:00
Andrew Harper
0fb3b6b11c
Add support for procedure parameter default values ( #2041 )
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-10-08 11:04:36 +00:00
Luca Cappelletti
280f51889f
Moved CreateTrigger and DropTrigger out of Statement enum ( #2026 )
...
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2025-09-15 07:26:46 +00:00
Yoav Cohen
4b8797e8f3
Snowflake: Add support for CREATE DYNAMIC TABLE ( #1960 )
2025-08-20 11:08:22 +02:00
Michael Victor Zink
183bc7c5ff
Improve MySQL CREATE TRIGGER parsing ( #1998 )
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-08-08 07:02:59 +02: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