Ophir LOJKINE
6b03a259aa
Parse SUBSTRING
FROM
syntax in all dialects, reflect change in the AST ( #1173 )
2024-03-13 11:08:27 -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
Andrew Lamb
10cc54e10e
Clean up nightly clippy lints ( #1158 )
2024-02-29 14:56:36 -05:00
Lukasz Stefaniak
1cf6585649
SupportSELECT AS VALUE
and SELECT AS STRUCT
for BigQuery ( #1135 )
2024-02-29 07:14:00 -05:00
Andrew Lamb
6245231479
Fix clippy warning from rust 1.76 ( #1130 )
2024-02-08 20:18:35 -05:00
Michael Ionov
61089f977c
feat: add mysql show status statement ( #1119 )
...
Co-authored-by: Michael Ionov <michael@appdome.com>
2024-02-04 08:52:46 -05:00
Daniel Imfeld
c86508bae5
Add support for constraint characteristics clause ( #1099 )
2024-01-24 14:26:19 -05:00
Mehmet Emin KARAKAŞ
593c090b21
Support MySQL FLUSH
statement ( #1076 )
2023-12-31 09:12:03 -05:00
Mehmet Emin KARAKAŞ
c62ecb1100
Support Mysql REPLACE
statement and PRIORITY
clause of INSERT
( #1072 )
2023-12-24 07:24:53 -05:00
Thomas Kluyver
da2296e6d6
Add support for generated columns skipping 'GENERATED ALWAYS' keywords ( #1058 )
2023-12-19 15:42:25 -05:00
zzzdong
d0fce121ef
feat(mysql): Increased compatibility for MySQL ( #1059 )
...
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-12-19 15:38:52 -05:00
Ophir LOJKINE
f46f147ffa
add support for JSON_TABLE ( #1062 )
2023-12-19 15:04:09 -05:00
Thomas Kluyver
640b9394cd
Add support for generated virtual columns with expression ( #1051 )
2023-11-22 13:16:15 -05:00
Drew Thomas
3d2773a794
Support INSERT INTO ... DEFAULT VALUES ...
( #1036 )
2023-11-21 15:21:26 -05:00
Ophir LOJKINE
c905ee0cb8
Support CONVERT
expressions ( #1048 )
2023-11-20 14:55:18 -05:00
Mehmet Emin KARAKAŞ
c0c2d58910
Support global and session parts in show variables for mysql and generic dialects ( #1032 )
2023-11-20 14:47:55 -05:00
Ophir LOJKINE
953c833a4a
Support mssql json and xml extensions ( #1043 )
2023-11-18 07:03:12 -05: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
Mehmet Emin KARAKAŞ
86aa1b96be
Support INSERT IGNORE
in MySql
and GenericDialect
( #1004 )
...
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-10-24 05:45:25 -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
Ophir LOJKINE
c03586b727
Support mysql RLIKE
and REGEXP
binary operators ( #1017 )
2023-10-20 16:13:22 -04:00
Lukasz Stefaniak
2786c7eaf1
clickhouse: add support for LIMIT BY ( #977 )
2023-10-02 11:53:32 -04:00
Ulrich Schmidt-Goertz
6ffc3b3a52
Support DELETE with ORDER BY and LIMIT (MySQL) ( #992 )
2023-10-02 08:42:58 -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
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
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
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
liadgiladi
eb4be98980
Support DROP TEMPORARY TABLE
, MySQL syntax ( #916 )
2023-08-07 10:54:24 -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
Andrew Lamb
4efe55dd8a
Remove most instances of #[cfg(feature(bigdecimal))]
in tests ( #910 )
2023-07-17 14:19:51 -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
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
Aljaž Mur Eržen
0113bbd924
Test trailing commas ( #859 )
...
* test: add tests for trailing commas
* tweaks
2023-05-01 08:31:17 -04:00
Aljaž Mur Eržen
3b1076c194
Support DISTINCT ON (...)
( #852 )
...
* Support "DISTINCT ON (...)"
* a test
* fix the merge
2023-04-27 15:34:54 -04:00
AviRaboah
3e92ad349f
Support identifiers beginning with digits in MySQL ( #856 )
2023-04-26 09:27:04 -04:00
Coby Geralnik
04d9f3af2e
Added support for Mysql Backslash escapes (enabled by default) ( #844 )
2023-04-10 09:56:01 -04:00
Andrew Lamb
00d071286b
Move tests from parser.rs to appropriate parse_XX tests ( #845 )
...
* Move tests from parser.rs to appropriate parse_XX tests
* move to postgres tests
* move more tests
2023-04-10 09:48:23 -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
Maciej Skrzypkowski
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
Maciej Skrzypkowski
488e8a8156
Support MySQL Character Set Introducers ( #788 )
...
* MySQL Character Set Introducers
* Documentation fix
* Parsing string introducer from Token::word
* Fixed lint
* fix clippy
---------
Co-authored-by: Maciej Skrzypkowski <maciej.skrzypkowski@satoricyber.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-02-17 13:38:43 -05:00
Y Togami
b31ede7733
chore: fix clippy error in ci ( #803 )
...
* chore: fix clippy error in ci
* chore: fix fmt
2023-02-17 13:24:50 -05:00
Jeffrey
98403c07b1
Allow parsing of mysql empty row inserts ( #783 )
2023-01-02 06:51:13 -05:00
김진성 Kim Jinsung
3e990466f8
Support CREATE TABLE ON UPDATE <expr>
Function ( #685 )
...
* feat : OnUpdate Function Implement
* feat : add GenericDialect Options
2022-12-28 08:59:09 -05:00
Audun Skaugen
fb02344131
Generalize locking clause ( #759 )
...
Postgres supports more generalized locking clauses, for example:
FOR UPDATE OF <table_name> SKIP LOCKED
also, multiple locking clauses. Generalize the parser to support these.
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2022-12-13 17:19:07 -05:00