Eyal Leshem
650b1ca18f
refactor: Make Parser methods immutable using interior mutability
...
Changed all parsing methods to take '&self' instead of '\&mut self'.
Mutable parser state (token index and parser state) now uses
for interior mutability.
This refactoring is preparation for the borrowed tokenizer work. When
holding borrowed tokens from the parser (with lifetime tied to '\&self'),
we cannot call methods requiring '\&mut self' due to Rust's borrowing
rules. Using interior mutability resolves this conflict by allowing
state mutations through shared references.
2025-12-07 21:19:40 +02:00
xitep
4f79997c8e
Include DML keyword in statement span ( #2090 )
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-11-13 09:27:58 +00:00
Luca Cappelletti
78be8b178b
Complete PostgreSQL CREATE TYPE Support ( #2094 )
...
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2025-11-13 09:25:27 +00:00
Christopher Watford
a00d5cd967
feat: Add support for SET SESSION AUTHORIZATION #2086 ( #2087 )
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-11-12 09:52:15 +00:00
etgarperets
f69407b344
Add support for INSERT INTO VALUE ( #2085 )
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-11-11 08:10:42 +00:00
Christopher Watford
eabde4b41e
feat: Add RESET to the base dialect #2078 ( #2079 )
2025-11-11 08:10:32 +00:00
Alexander Beedie
308a7231bc
Make BitwiseNot ("~") available for all dialects, not just PostgreSQL ( #2081 )
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-30 11:57:25 +00:00
Yoav Cohen
6b352eaffd
Redshift: more copy options ( #2072 )
2025-10-22 09:11:19 +00:00
Luca Cappelletti
9cc9f9ab38
Refactored ColumnOption::Unique to reuse UniqueConstraint and PrimaryKeyConstraint ( #2064 )
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-21 08:05:02 +00:00
Luca Cappelletti
f861566c8d
Reused CheckConstraint in ColumnOption ( #2063 )
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-16 08:38:50 +00:00
Luca Cappelletti
c8531d41a1
Added support for MATCH syntax and unified column option ForeignKey ( #2062 )
...
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
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2025-10-15 11:15:55 +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
8c82fc0a19
Moved constraint variant outside of TableConstraint enum ( #2054 )
...
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2025-10-08 11:03:26 +00:00
Mohamed Abdeen
7461d8bd02
MySQL: CREATE INDEX: allow USING clause before ON ( #2029 )
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-09-26 10:46:18 +00:00
Yoav Cohen
a430838974
Snowflake: ALTER USER and KeyValueOptions Refactoring ( #2035 )
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-09-25 19:59:11 +00:00
Marcelo Altmann
a15c70dff9
Add support for INVISIBLE columns in MySQL ( #2033 )
2025-09-23 11:07:50 +00:00
Sidney Cammeresi
e3fbfd91b2
MySQL: Support CROSS JOIN constraint ( #2025 )
Rust / test (beta) (push) Has been cancelled
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 (nightly) (push) Has been cancelled
Rust / test (stable) (push) Has been cancelled
2025-09-15 07:33:17 +00:00
etgarperets
cff28334be
Add support for string literal concatenation ( #2003 )
...
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-09-02 13:20:34 +02:00
Yoav Cohen
eca65742ba
Redshift: Add support for UNLOAD statement ( #2013 )
2025-09-02 12:21:04 +02:00
Simon Sawert
9b6f6de056
Allow wilrdacrd for all SEMANTIC_VIEW types ( #2017 )
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-08-29 09:28:51 +02:00
Simon Sawert
ee707c72a7
Support wildcard metrics for SEMANTIC_VIEW ( #2016 )
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-28 12:18:03 +02:00
Denys Tsomenko
cffff30961
Add SECURE keyword for views in Snowflake ( #2004 )
2025-08-26 21:20:13 +02:00
Ophir LOJKINE
376f47e3d1
feat: MERGE statements: add RETURNING and OUTPUT without INTO ( #2011 )
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-22 12:32:09 +02:00
Yoav Cohen
5d5c90c77f
Redshift: Add more copy options ( #2008 )
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 (stable) (push) Waiting to run
Rust / test (nightly) (push) Waiting to run
2025-08-21 18:45:32 +02:00
Simon Sawert
6e80e5c237
Add support for SEMANTIC_VIEW table factor ( #2009 )
2025-08-21 17:05:25 +02:00
Chen Chongchen
56848b03dd
feat: support multiple value for pivot ( #1970 )
2025-08-20 13:09:37 +02:00
Yoav Cohen
3b5242821e
Redshift: Add support for IAM_ROLE and IGNOREHEADER COPY options ( #1968 )
2025-08-20 10:57:36 +02:00
Yoav Cohen
b660a3b1ea
Redshift: CREATE TABLE ... (LIKE ..) ( #1967 )
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-08-16 08:34:23 +02:00
Michael Victor Zink
60a5c8d42a
Fix column definition COLLATE parsing ( #1986 )
Rust / lint (push) Has been cancelled
license / Release Audit Tool (RAT) (push) Has been cancelled
Rust / codestyle (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
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
2025-08-13 11:05:15 +02:00
Sven Sauleau
27544f9343
Add support for UPDATE ... LIMIT ... ( #1991 )
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 12:19:35 +02:00
Michael Victor Zink
67fca82495
Improve MySQL option parsing in index definitions ( #1997 )
2025-08-08 11:32:20 +02:00
Marcelo Altmann
698154d0e0
MySQL: Support ALTER TABLE RENAME AS ( #1965 )
Rust / test (stable) (push) Has been cancelled
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
2025-08-06 13:18:58 +02:00
Michael Victor Zink
c1648e79fe
Postgres: Support INTERVAL data type options ( #1984 )
Rust / compile (push) Has been cancelled
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 / 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-08-02 08:05:13 +02:00
Chen Chongchen
dd650b88f3
feat: support multi value columns and aliases in unpivot ( #1969 )
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-01 16:52:41 +02:00
Artem Osipov
ec0026d136
Snowflake create database ( #1939 )
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-01 13:56:21 +02:00
etgarperets
91273703d4
Snowflake: Support CREATE VIEW myview IF NOT EXISTS ( #1961 )
Rust / test (beta) (push) Waiting to run
Rust / test (nightly) (push) Waiting to run
Rust / test (stable) (push) Waiting to run
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
2025-07-30 12:24:16 +02:00
etgarperets
bde269b56f
Add ODBC escape syntax support for time expressions ( #1953 )
2025-07-29 12:37:04 +02:00
Yoav Cohen
145922affe
Snowflake: DROP STREAM ( #1973 )
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-07-24 20:45:51 +02:00
Yoav Cohen
6a5ef48921
Snowflake: Support GRANT CREATE SCHEMA GRANT .. ON ALL FUNCTIONS IN SCHEMA ( #1964 )
2025-07-24 19:54:17 +02:00
Yoav Cohen
7558d35c84
Snowflake: Support IDENTIFIER for GRANT ROLE ( #1957 )
license / Release Audit Tool (RAT) (push) Waiting to run
Rust / test (stable) (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
2025-07-23 17:59:20 +02:00
carl
f49c30feb6
Postgres: Support parenthesized SET options for ALTER TABLE ( #1947 )
...
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2025-07-23 17:53:17 +02:00
Yoav Cohen
2ed2cbe291
Snowflake: Add support for CREATE USER ( #1950 )
2025-07-23 17:52:08 +02:00
Yoav Cohen
492184643a
Add support for GRANT DROP statement ( #1959 )
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-21 13:43:29 +02:00
Yoav Cohen
799c1f748d
Snowflake: Support CLONE option in CREATE DATABASE/SCHEMA statements ( #1958 )
2025-07-21 13:41:20 +02:00
Ryan Schneider
a73577c29f
Add support for NOT NULL and NOTNULL expressions ( #1927 )
...
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
2025-07-21 12:58:20 +02:00
Yoav Cohen
23f40cdc40
MySQL: Support EXPLAIN ANALYZE format variants ( #1945 )
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-18 15:41:50 +02:00
Yoav Cohen
5f69df2693
Add support for DROP USER statement ( #1951 )
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-07-17 10:24:14 +02:00
etgarperets
ecd5d88638
Add identifier start unicode support for Postegres, MySql and Redshift ( #1944 )
2025-07-15 09:26:11 +02:00
etgarperets
c5e6ba5e7d
Add identifier unicode support in Mysql, Postgres and Redshift ( #1933 )
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-07-14 10:24:13 +02:00