Zdenko Nevrala
83cb734b3c
Support Snowflake/BigQuery TRIM. ( #975 )
2023-10-06 14:48:18 -04:00
Gabriel Villalonga Simon
5263da68cd
Handle CREATE [TEMPORARY|TEMP] VIEW [IF NOT EXISTS] ( #993 )
2023-10-05 15:32:43 -04:00
Lukasz Stefaniak
c811e22605
redshift: add support for CREATE VIEW … WITH NO SCHEMA BINDING ( #979 )
2023-10-02 13:42:01 -04:00
Joey Hain
40e2ecbdf3
snowflake: support for UNPIVOT and a fix for chained PIVOTs ( #983 )
2023-10-02 13:28:13 -04:00
Lukasz Stefaniak
2786c7eaf1
clickhouse: add support for LIMIT BY ( #977 )
2023-10-02 11:53:32 -04:00
Ifeanyi Ubah
993769ec02
Add support for mixed BigQuery table name quoting ( #971 )
...
Co-authored-by: ifeanyi <ifeanyi@validio.io>
2023-10-02 08:48:51 -04:00
Ulrich Schmidt-Goertz
6ffc3b3a52
Support DELETE with ORDER BY and LIMIT (MySQL) ( #992 )
2023-10-02 08:42:58 -04:00
Lukasz Stefaniak
4903bd4b8b
Add test for clickhouse: tokenize ==
as Token::DoubleEq ( #981 )
2023-10-02 07:39:44 -04:00
Lukasz Stefaniak
e718ce6c42
bigquery: EXTRACT support For DAYOFWEEK, DAYOFYEAR, ISOWEEK, TIME ( #980 )
2023-10-02 07:23:25 -04:00
Ophir LOJKINE
495d0a02d5
Add support for ATTACH DATABASE ( #989 )
2023-10-02 07:10:56 -04:00
Ilya
71c35d4dfd
Add support for == operator for Sqlite ( #970 )
2023-09-19 21:31:11 -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
artorias1024
0480ee9886
feat: Add support for parsing the syntax of MySQL UNIQUE KEY. ( #962 )
...
Co-authored-by: yukunpeng <yukunpeng@zhoupudata.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-09-08 06:58:31 -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
SeanTroyUWO
e0afd4b179
ANY
and ALL
contains their operators (#963 )
2023-09-07 16:32:50 -04:00
dawg
b02c3f87ec
feat: show location info in parse errors ( #958 )
2023-09-07 16:23:09 -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
ehoeve
9500649c35
Add support for MySQL auto_increment offset ( #950 )
2023-08-21 16:25:32 -04:00
Ophir LOJKINE
41e47cc013
add a test for mssql table name in square brackets ( #952 )
2023-08-21 13:21:45 -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
ehoeve
83e30677b0
Add support for table-level comments ( #946 )
...
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-08-17 06:44:55 -04:00
Jeremy Maness
8bbb85356c
Fix SUBSTRING from/to argument construction for mssql ( #947 )
2023-08-17 06:17:57 -04:00
Kikkon
173a6db818
Fix: use Rust idiomatic capitalization for newly added DataType
enums ( #939 )
2023-08-07 10:55:42 -04:00
liadgiladi
eb4be98980
Support DROP TEMPORARY TABLE
, MySQL syntax ( #916 )
2023-08-07 10:54:24 -04:00
Ophir LOJKINE
10a6ec5637
Fix "BEGIN TRANSACTION" being serialized as "START TRANSACTION" ( #935 )
2023-07-27 07:32:55 -04:00
Kikkon
0ddb853410
feat: support pg type alias ( #933 )
2023-07-27 06:20:24 -04:00
Ophir LOJKINE
53593f1982
Fix parsing of datetime functions without parenthesis ( #930 )
2023-07-26 15:47:02 -04:00
Andrew Lamb
3a412152b9
fix parsing of identifiers after %
symbol ( #927 )
2023-07-21 05:55:41 -04:00
canalun
f98a2f9dca
feat: mysql no-escape mode ( #870 )
...
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-07-19 16:36:52 -04:00
parkma99
eb288487a6
Support UNION (ALL) BY NAME syntax ( #915 )
2023-07-18 17:15:05 -04:00
Igor Izvekov
df45db1375
fix: parsing JsonOperator
( #913 )
2023-07-17 15:03:48 -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
liadgiladi
f05f71e20d
Support ALTER VIEW
, MySQL syntax ( #907 )
...
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-06-29 13:33:51 -04:00
parkma99
04c9fbaead
update parse STRICT tables ( #903 )
...
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-06-23 10:48:04 -04:00
Igor Izvekov
8877cbafa6
fix: unary negation operator with operators: Mul
, Div
and Mod
( #902 )
2023-06-22 11:15:31 -04:00
delsehi
f72b5a5d9b
Support basic CREATE PROCEDURE of MSSQL ( #900 )
...
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-06-22 11:09:14 -04:00
dawg
75f18ecfda
Add support for DuckDB's CREATE MACRO statements ( #897 )
2023-06-21 15:12:58 -04:00
Sam Rijs
2b37e4ae6e
Add support for CREATE TYPE (AS) statements ( #888 )
...
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-06-08 06:56:39 -04:00
Andrew Lamb
f740d528da
Fix merge conflict ( #885 )
2023-05-18 15:28:11 -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
eitsupi
33b12acce7
feat: add DuckDB dialect ( #878 )
...
* feat: add DuckDB dialect
* formatting
* fix conflict
* support // in GenericDialect
* add DucDbDialect to all_dialects
* add comment from suggestion
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
* fix: support // in GenericDialect
---------
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-05-18 14:57:29 -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
eitsupi
097e7ad56e
feat: Support MySQL's DIV
operator ( #876 )
...
* feat: MySQL's DIV operator
* fix: do not use `_` prefix for used variable
---------
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-05-17 13:26:14 -04:00