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
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
Yoav Cohen
015caca611
Redshift alter column type no set ( #1912 )
2025-07-03 18:16:21 +02:00
Ifeanyi Ubah
5f2b5fe7be
Fix clippy lints on 1.88.0 ( #1910 )
2025-06-27 14:21:17 -04:00
Michael Victor Zink
9e09b617e8
Parse SET NAMES syntax in Postgres ( #1752 )
2025-03-01 07:12:25 +01:00
Yoav Cohen
7fc37a76e5
Parse casting to array using double colon operator in Redshift ( #1737 )
2025-02-22 07:21:45 +01:00
benrsatori
339239d0c5
Add support for PostgreSQL/Redshift geometric operators ( #1723 )
2025-02-20 19:50:32 +01:00
Ifeanyi Ubah
3e90a18f6d
Replace Method
and CompositeAccess
with CompoundFieldAccess
( #1716 )
2025-02-19 18:49:42 +01:00
Jesse Stuart
c75a992621
Add support for Postgres ALTER TYPE
( #1727 )
2025-02-17 20:12:59 +01:00
Yoav Cohen
86abbd6028
Fix incorrect parsing of JsonAccess bracket notation after cast in Snowflake ( #1708 )
2025-02-06 18:14:03 +01:00
Paul Grau
269967a6ac
Support underscore separators in numbers for Clickhouse. Fixes #1659 ( #1677 )
2025-01-28 14:26:08 +01:00
Hans Ott
ef072be9e1
Only support escape literals for Postgres, Redshift and generic dialect ( #1674 )
2025-01-24 09:02:53 +01:00
Hans Ott
8bc63f0e4a
Correctly tokenize nested comments ( #1629 )
2025-01-05 15:37:34 +01:00
Jax Liu
d0d4153137
Fix the parsing result for the special double number ( #1621 )
2024-12-28 14:16:30 +01:00
Paul J. Davis
df3c5652b1
Improve parsing performance by reducing token cloning ( #1587 )
...
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-12-24 17:19:35 -05:00
Toby Hede
27822e254b
Handle empty projection in Postgres SELECT statements ( #1613 )
2024-12-22 11:19:43 -05:00
Ophir LOJKINE
525d1780e8
support json_object('k':'v')
in postgres ( #1546 )
2024-11-25 16:01:23 -05: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
hulk
6d907d3adc
Add support of COMMENT ON syntax for Snowflake ( #1516 )
2024-11-13 08:23:33 -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
wugeer
05821cc7db
Add support for PostgreSQL LISTEN/NOTIFY
syntax ( #1485 )
2024-11-06 16:51:08 +01: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
David Caldwell
a8432b57db
Add PostgreSQL specfic "CREATE TYPE t AS ENUM (...)" support. ( #1460 )
2024-10-21 14:44:38 -04:00
Maxwell Knight
8ccb87a835
added ability to parse extension to parse_comment inside postgres dialect ( #1451 )
2024-10-04 16:07:26 -04:00
Andrew Lamb
9934f3d931
Update to ASF header / add when missing ( #1437 )
2024-09-21 06:23:28 -04:00
Siyuan Huang
04a53e5753
feat: support explain options ( #1426 )
2024-09-19 11:28:02 -04:00
张林伟
4d52ee7280
Support create index with clause ( #1389 )
...
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-09-01 07:38:20 -04:00
Samuel Colvin
222b7d127a
allow DateTimeField::Custom
with EXTRACT
in Postgres ( #1394 )
2024-08-26 15:56:57 -04:00
Samuel Colvin
f2235305f4
Simple custom lexical precedence in PostgreSQL dialect ( #1379 )
2024-08-14 11:42:40 -04:00
Samuel Colvin
a5480ae498
Support Dialect
level precedence, update Postgres Dialect
to match Postgres ( #1360 )
2024-08-06 07:49:37 -04:00
Ophir LOJKINE
bc15f7b4ce
Support for postgres String Constants with Unicode Escapes ( #1355 )
2024-07-29 17:18:16 -04:00
Ophir LOJKINE
4b60866bc7
add support for custom operators in postgres ( #1302 )
...
Co-authored-by: Joey Hain <joey@sigmacomputing.com>
2024-06-07 07:12:18 -04:00
Michiel De Backker
929c646bba
Add identifier quote style to Dialect
trait ( #1170 )
2024-03-11 16:27:25 -04:00
Joey Hain
398a81029e
Support for unquoted hyphenated identifiers on bigquery ( #1109 )
2024-01-23 20:04:22 -05:00
Andrew Lamb
6739d377bd
Add docstrings for Dialect
s, update README ( #1016 )
2023-10-23 18:09:02 -04:00
Jeremy Dyer
2296de2bc4
Add fn support_group_by_expr to Dialect trait ( #896 )
2023-06-15 09:10:56 -04:00
Maciej Skrzypkowski
a1b7341b87
Non-Latin characters support ( #840 )
...
* Non latin characters
---------
Co-authored-by: Maciej Skrzypkowski <maciej.skrzypkowski@satoricyber.com>
* Test for mysql
---------
Co-authored-by: Maciej Skrzypkowski <maciej.skrzypkowski@satoricyber.com>
2023-03-23 07:07:17 -04:00
sam
a8a8e65b7c
PostgreSQL: GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY and GENERATED ALWAYS AS ( generation_expr ) support ( #832 )
...
* GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY [ ( sequence_options ) basic impl - test are failing.
* PostgreSQL GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY [ ( sequence_options ) and GENERATED ALWAYS AS ( generation_expr ) STORED implementation.
2023-03-16 05:54:00 -04:00
pawel.leszczynski
4ff3aeb040
support IF EXISTS in COMMENT statements ( #831 )
...
* support IF EXISTS in COMMENT statements
Signed-off-by: Pawel Leszczynski <leszczynski.pawel@gmail.com>
* Update src/ast/mod.rs
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
---------
Signed-off-by: Pawel Leszczynski <leszczynski.pawel@gmail.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-03-09 08:06:39 -05:00
Ankur Goyal
813f4a2eff
Introduce location tracking in the tokenizer and parser ( #710 )
...
* Add locations
* Add PartialEq
* Add PartialEq
* Add some tests
* Fix rebase conflicts
* Fix clippy
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2022-12-05 14:47:42 -05:00
Andy Grove
303f80f168
Add support for aggregate expressions with filters ( #585 )
2022-09-08 13:08:45 -06:00
Andy Grove
72559e9b62
Add ability for dialects to override prefix, infix, and statement parsing ( #581 )
2022-08-19 05:44:14 -06:00
joshwd36
17f8eb9c5a
Fix clippy lints ( #287 )
2021-01-07 18:30:12 +01:00
Nikhil Benesch
e78cf0483e
Standardize license headers
...
Standardize the license header, removing the Grove Enterprise copyright
notice where it exists per #58 . Also add a CI check to ensure that files
without license headers don't get merged.
Fix #58 .
2019-06-04 10:54:12 -04:00
Nickolay Ponomarev
304710d59a
Add MSSQL dialect and fix up the postgres' identifier rules
...
The `@@version` test is MS' dialect of SQL, it seems, so test it with
its own dialect.
Update the rules for identifiers in Postresql dialect per documentation,
while we're at it. The current identifier rules in Postgresql dialect
were introduced in this commit - as a copy of generic rules, it seems:
810cd8e6cf (diff-2808df0fba0aed85f9d35c167bd6a5f1L138)
2019-05-04 01:00:13 +03:00
Nickolay Ponomarev
478dbe940d
Factor test helpers into a common module
...
Also run "generic" tests with all dialects (`parse_select_version`
doesn't work with ANSI dialect, so I moved it to the postgres file
temporarily)
2019-05-04 01:00:13 +03:00
Nickolay Ponomarev
b12a19e197
Switch to the Rust 2018 edition
...
This requires Rust 1.31 (from last year) to build, but is otherwise
compatible with the 2015-edition code.
2019-04-21 04:41:11 +03:00
Nickolay Ponomarev
f87230553e
Remove dialect-specific keyword lists (2/8)
...
Now populating SQLWord.keyword based on the list of globally supported
keywords.
2019-01-31 03:57:16 +03:00