Commit Graph
43 Commits
Author SHA1 Message Date
Luca Cappelletti 23e9e886fd Tests: Share quoted-identifier assertions (#2722) 2026-10-26 21:09:13 +00:00
Luca Cappelletti f1854e47e4 Assert exact errors in negative tests (3/4): dialect tests (#2630) 2026-10-15 19:35:56 +00:00
Ben Herzberg 25565b207a Redshift: Support APPROXIMATE PERCENTILE_DISC (#2480) 2026-09-10 11:41:30 +00:00
Ben Herzberg 75a1040597 Redshift: allow INTERVAL as a column name (#2456) 2026-08-25 12:20:37 +00:00
kfirSatori 30d0836b67 Added support for unpivot in Redshift with expression and bracketsless (#2375) 2026-08-04 15:28:29 +00:00
Yoav Cohen 63e9a339d5 Redshift: PartiQL AT <index> (#2303) 2026-04-20 13:48:36 +00:00
Roman BorschelandRoman Borschel 3a28ffa4bf Enable Redshift support for specifying null treatment inside window function (#2293)
Co-authored-by: Roman Borschel <roman@cluvio.com>
2026-04-09 09:03:39 +00:00
xitep 6f8e7b85c2 Expose values through ValueWithSpan (#2281) 2026-03-27 09:37:44 +00:00
Andriy Romanov 1097a0d5a6 Fixed BACKUP parsing for redshift (#2270) 2026-03-20 10:03:55 +00:00
Andriy Romanov 64f4b1fa2b Added SORTKEY keyword parsing for redshift queries (#2261) 2026-03-05 13:45:41 +00:00
Andriy Romanov 6691f31b75 Fix credentials parsing for redshift (#2262) 2026-03-04 13:48:33 +00:00
Andriy Romanov 1da2ff779c Redshift: Added DISTSTYLE and DISTKEY keywords parsing (#2222) 2026-03-03 12:13:17 +00:00
Yoav Cohen e9eee00ed9 Add support for VACUUM in Redshift (#2005) 2025-08-21 15:29:01 +02:00
Yoav Cohen f32a41a004 Redshift utf8 idents (#1915) 2025-07-01 13:52:29 +02:00
Roman BorschelandRoman Borschel cfd8951452 Allow literal backslash escapes for string literals in Redshift dialect. (#1801)
Co-authored-by: Roman Borschel <roman@cluvio.com>
2025-04-10 06:59:44 +02:00
DilovanCelik 610096cad8 MSSQL: Add support for functionality MERGE output clause (#1790) 2025-04-05 20:37:28 +02:00
Roman BorschelandRoman Borschel 3ed4ad9c66 Allow single quotes in EXTRACT() for Redshift. (#1795)
Co-authored-by: Roman Borschel <roman@cluvio.com>
2025-04-04 22:18:31 +02:00
Ophir LOJKINE c335c8883b Store spans for Value expressions (#1738) 2025-02-25 07:33:57 +01:00
Ayman Elkfrawy 211b15e790 Enhance object name path segments (#1539) 2025-01-26 15:13:51 +01:00
Aleksei Piianin 7867ba3cf0 Redshift: Fix parsing for quoted numbered columns (#1576) 2024-12-15 10:56:11 +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
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
Yoav Cohen 62fa8604af PartiQL queries in Redshift (#1534) 2024-11-23 07:14:38 -05:00
tomershaniii 8e0d26abb3 fix for maybe_parse preventing parser from erroring on recursion limit (#1464) 2024-10-21 15:41:34 -04:00
Andrew Lamb 9934f3d931 Update to ASF header / add when missing (#1437) 2024-09-21 06:23:28 -04:00
hulk 9108bffc9a Add support of table function WITH ORDINALITY modifier for Postgre Parser (#1337) 2024-07-09 17:43:22 -04:00
hulkandAndrew Lamb a685e11993 Support parametric arguments to FUNCTION for ClickHouse dialect (#1315)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-06-23 07:36:05 -04:00
Joey HainandAndrew Lamb a14faa36bb Consolidate representation of function calls, remove AggregateExpressionWithFilter, ArraySubquery, ListAgg and ArrayAgg (#1247)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-05-03 14:46:03 -04:00
Ifeanyi Ubah d2c2b15f9e Add support for quoted string backslash escaping (#1177) 2024-04-21 09:07:56 -04:00
yuval-illumexandAndrew Lamb b89edaa98b Support IGNORE|RESPECT NULLs clause in window functions (#998)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-10-24 09:45:59 -04:00
Ophir LOJKINEandAndrew Lamb ce62fe6d27 Support FILTER in over clause (#1007)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-10-23 18:06:39 -04:00
Lukasz Stefaniak c811e22605 redshift: add support for CREATE VIEW … WITH NO SCHEMA BINDING (#979) 2023-10-02 13:42:01 -04:00
chunshao.rcsandAndrew Lamb f6e4be4c15 Support mysql partition to table selection (#959)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-09-14 14:21:47 -04:00
Marko Grujic 1ea8858575 Table time travel clause support, add visit_table_factor to Visitor (#951) 2023-08-22 06:06:32 -04:00
Mustafa Akur 1b86abebe2 Add support for first, last aggregate function parsing (#882)
* Add order by parsing to functions

* Fix doc error

* minor changes
2023-05-18 14:59:14 -04:00
Aljaž Mur Eržen 0113bbd924 Test trailing commas (#859)
* test: add tests for trailing commas

* tweaks
2023-05-01 08:31:17 -04:00
Andrew Lamb 7f4c9132d7 Fix table alias parsing regression in 0.31.0 by backing out redshift column definition list (#827)
* Fix table alias parsing regression

* Revert "Support redshift's columns definition list for system information functions (#769)"

This reverts commit c35dcc93a7.
2023-03-06 11:43:22 -05:00
c35dcc93a7 Support redshift's columns definition list for system information functions (#769)
* parsing of redshift's column definition list for
pg_get_late_binding_view_cols
pg_get_cols
pg_get_grantee_by_iam_role
pg_get_iam_role_by_user

* Renamed ColsDefinition to TableAliasDefinition

added generic dialect

* Tests fixed

* Visitor for IdentPair

* Parsing redshift table alias based on indentifier and
parentheses instead of function name

* fix clippy

---------

Co-authored-by: Maciej Skrzypkowski <maciej.skrzypkowski@satoricyber.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-02-17 14:04:59 -05:00
omer-shtivi 0428ac742b Add MySql, BigQuery to all dialects (#697)
* Add MySql, BigQuery to all dialects

* move unsupported on mysql from common
2022-11-07 15:32:47 -05:00
Riccardo Azzolini 901f5b974f Distinguish between tables and nullary functions in FROM (#506) 2022-05-25 16:01:13 -04:00
yuval-illumex 35f5f0be4d Redshift - Add support in sharp as start of the field name (#485)
* Add support in sharp

* CR Review
2022-05-10 06:34:01 -04:00
7fc6361fe8 Add Redshift dialect, handle square brackets properly (#471)
* Redshift square bracket handling

We need to detect `[` or `"` for Redshift quotes around indentifier and at the same time exclude
treating JSON paths as indentifer

* RedshiftSqlDialect documentation update

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>

* Renamed _chars to chars

* Fixed warnings

* Missing license

Co-authored-by: Maciej Skrzypkowski <maciej.skrzypkowski@satoricyber.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2022-05-04 11:11:00 -04:00