Commit graph

191 commits

Author SHA1 Message Date
Joey Hain
d1f67bdc47
Preserve double colon casts (and simplify cast representations) (#1221) 2024-04-21 08:21:58 -04:00
xring
20c5754784
Support [FIRST | AFTER column_name] support in ALTER TABLE for MySQL (#1180) 2024-04-07 08:43:23 -04:00
Andrew Lamb
05af4e049c
Cleanup CREATE FUNCTION tests (#1203) 2024-04-07 07:08:55 -04:00
Daniel Imfeld
2bf93a470c
Support PARALLEL ... and for ..ON NULL INPUT ... to CREATE FUNCTION` (#1202) 2024-04-06 13:03:00 -04:00
Marko Milenković
4472789171
Add support for $$ in generic dialect ... (#1185) 2024-03-24 14:20:15 -04:00
Mehmet Emin KARAKAŞ
11899fd0cb
Support row_alias and col_aliases in INSERT statement for mysql and generic dialects (#1136) 2024-03-08 15:03:49 -05:00
Jonathan Lehto
991dbab755
Support ALTER TABLE ... SET LOCATION (#1154)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-03-01 14:05:05 -05:00
Jonathan Lehto
68b52a4ad6
Support EXECUTE ... USING for Postgres (#1153) 2024-03-01 13:49:29 -05:00
Andrew Lamb
9db9d22480
Support postgres style CREATE FUNCTION in GenericDialect (#1159) 2024-03-01 13:43:29 -05:00
JasonLi
4d1eecd0fc
Handle escape, unicode, and hex in tokenize_escaped_single_quoted_string (#1146)
Co-authored-by: jasonnnli <jasonnnli@tencent.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-02-29 14:33:22 -05:00
Andrew Repp
0c5f6fbf81
ISSUE-1147: Add support for MATERIALIZED CTEs (#1148)
Co-authored-by: Andrew Repp <arepp@cloudflare.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-02-29 07:54:36 -05:00
Lukasz Stefaniak
1cf6585649
SupportSELECT AS VALUE and SELECT AS STRUCT for BigQuery (#1135) 2024-02-29 07:14:00 -05:00
Ophir LOJKINE
1a07c5d67c
accept JSON_TABLE both as an unquoted table name and a table-valued function (#1134) 2024-02-15 06:34:38 -05:00
Andrew Repp
70764a17e9
ISSUE-1088: Fix array_agg wildcard behavior (#1093)
Co-authored-by: Andrew Repp <arepp@cloudflare.com>
2024-01-24 07:42:39 -05:00
Quinn Sinclair
498708c463
Error on dangling NO in CREATE SEQUENCE options (#1104) 2024-01-23 19:59:52 -05:00
Ifeanyi Ubah
3a6d3ecba2
Add support for BigQuery table and view options (#1061) 2024-01-23 17:21:53 -05:00
Marko Grujic
c7d2903c6d
Add Postgres operators for the LIKE expression variants (#1096) 2024-01-22 14:50:29 -05:00
Alexander Beedie
7cb1654d81
Add support for PostgreSQL ^@ starts-with operator (#1091) 2024-01-15 05:42:03 -05:00
Boyd Johnson
a71b3f5e82
Add support for PostgreSQL Insert table aliases (#1069) (#1084) 2024-01-14 13:52:31 -05:00
Toby Hede
0be42eed58
Adds support for pg CREATE EXTENSION (#1078) 2024-01-02 12:44:59 -05:00
Toby Hede
1d63466ef8
Support for pg ADD GENERATED in ALTER COLUMN statements (#1079)
Signed-off-by: Toby Hede <toby@cipherstash.com>
2024-01-02 10:22:25 -05:00
Toby Hede
a75778c8c7
Add support for ENABLE and DISABLE on ALTER TABLE for pg (#1077)
Signed-off-by: Toby Hede <toby@cipherstash.com>
2023-12-31 09:14:52 -05:00
Drew Thomas
3d2773a794
Support INSERT INTO ... DEFAULT VALUES ... (#1036) 2023-11-21 15:21:26 -05:00
Drew Thomas
5bdf2e6608
Add support for release and rollback to savepoint syntax (#1045) 2023-11-20 19:51:48 -05:00
Drew Thomas
5a3f19310e
Fix extra whitespace printed before ON CONFLICT (#1037) 2023-11-20 09:23:09 -05:00
Ophir LOJKINE
953c833a4a
Support mssql json and xml extensions (#1043) 2023-11-18 07:03:12 -05:00
Ophir LOJKINE
ff8312bfd8
add support for MAX as a character length (#1038) 2023-11-10 15:57:56 -05:00
Ifeanyi Ubah
2f437db2a6
Support for BigQuery struct, array and bytes , int64, float64 datatypes (#1003) 2023-10-25 12:57:33 -04:00
yuval-illumex
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 LOJKINE
57090537f0
Test that regexp can be used as an identifier in postgres (#1018) 2023-10-24 06:30:05 -04:00
Ophir LOJKINE
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
c68e9775a2
Support bigquery CAST AS x [STRING|DATE] FORMAT syntax (#978) 2023-10-20 14:33:12 -04:00
Lukasz Stefaniak
2786c7eaf1
clickhouse: add support for LIMIT BY (#977) 2023-10-02 11:53:32 -04:00
chunshao.rcs
f6e4be4c15
Support mysql partition to table selection (#959)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-09-14 14:21:47 -04:00
William
a16791d019
Support UNNEST as a table factor for PostgreSQL (#968) 2023-09-14 13:56:49 -04:00
Berkay Şahin
bb7b05e106
feat: Group By All (#964)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-09-08 06:47:56 -04:00
Forbes Lindesay
25e037c50f
feat: allow multiple actions in one ALTER TABLE statement (#960) 2023-09-07 16:39:47 -04:00
Andrew Lamb
14da37d182
Fix Rust 1.72 clippy lints (#957) 2023-08-25 12:21:31 -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
Forbes Lindesay
9a39afbe07
feat: support more Postgres index syntax (#943) 2023-08-17 11:47:11 -04:00
r.4ntix
a49ea1908d
feat: add ALTER ROLE syntax of PostgreSQL and MS SQL Server (#942) 2023-08-17 08:05:54 -04:00
Kikkon
173a6db818
Fix: use Rust idiomatic capitalization for newly added DataType enums (#939) 2023-08-07 10:55:42 -04:00
Kikkon
0ddb853410
feat: support pg type alias (#933) 2023-07-27 06:20:24 -04:00
Andrew Lamb
4efe55dd8a
Remove most instances of #[cfg(feature(bigdecimal))] in tests (#910) 2023-07-17 14:19:51 -04:00
Igor Izvekov
a50671d95d
feat: support PGOverlap operator (#912) 2023-07-06 09:27:18 -04:00
Jay Zhan
20ac38b4da
Support multi args for unnest (#909)
Signed-off-by: jayzhan211 <jayzhan211@gmail.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-06-30 16:50:46 -04:00
Berkay Şahin
ef46cd3752
Named window frames (#881)
* after over clause, named window can be parsed with window ... as after having clause

* Lint errors are fixed

* Support for multiple windows

* fix lint errors

* simplifications

* rename function

* Rewrite named window search in functional style

* Test added and some minor changes

* Minor changes on tests and namings, and semantic check is removed

---------

Co-authored-by: Mustafa Akur <mustafa.akur@synnada.ai>
Co-authored-by: Mehmet Ozan Kabak <ozankabak@gmail.com>
2023-05-18 15:00:24 -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
Maciej Obuchowski
3be19c7666
truncate: table as optional keyword (#883)
Signed-off-by: Maciej Obuchowski <obuchowski.maciej@gmail.com>
2023-05-18 14:55:02 -04:00
Andrew Lamb
be85f54ca3
Fix logical merge conflict (#865) 2023-05-02 07:07:56 -04:00