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
f60a6f758c
chore: Release sqlparser version 0.36.1
2023-07-21 05:16:48 -05:00
Andrew Lamb
91ef061254
Changelog for 0.36.1 ( #928 )
2023-07-21 06:00:48 -04:00
Andrew Lamb
3a412152b9
fix parsing of identifiers after %
symbol ( #927 )
2023-07-21 05:55:41 -04:00
Andrew Lamb
e36b34d8cc
chore: Release sqlparser version 0.36.0
2023-07-19 17:31:43 -04:00
Andrew Lamb
a452054111
CHANGELOG for 0.36.0 ( #924 )
2023-07-19 17:29:21 -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
Andrew Lamb
c45451850c
Clean up JSON operator tokenizing code ( #923 )
2023-07-17 16:09:55 -04:00
Igor Izvekov
df45db1375
fix: parsing JsonOperator
( #913 )
2023-07-17 15:03:48 -04:00
Igor Izvekov
c8b6e7f2c7
feat: comments for all operators ( #917 )
2023-07-17 14:42:28 -04:00
Andrew Lamb
d6ebb58b96
Fix dependabot by removing rust-toolchain toml ( #922 )
2023-07-17 14:34:54 -04:00
JIN-YONG LEE
653346c4d6
Upgrade bigdecimal to 0.4.1 ( #921 )
2023-07-17 14:21:45 -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
Robert Pack
9effeba0d8
feat: add deltalake keywords ( #906 )
2023-06-29 13:30:21 -04:00
Andrew Lamb
efd8cb7fd1
chore: Release sqlparser version 0.35.0
2023-06-23 10:54:52 -04:00
Andrew Lamb
631eddad78
Update CHANGELOG.md for version 0.35.0
( #904 )
2023-06-23 10:53:18 -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
Jeremy Dyer
2296de2bc4
Add fn support_group_by_expr to Dialect trait ( #896 )
2023-06-15 09:10:56 -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
dependabot[bot]
e8cad6ab65
Update criterion requirement from 0.4 to 0.5 in /sqlparser_bench ( #890 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 17:41:59 -04:00
Andrew Lamb
4607addf4d
chore: Release sqlparser version 0.34.0
2023-05-19 09:47:43 -04:00
Andrew Lamb
adfa37d565
Update CHANGELOG for 0.34.0
release ( #884 )
2023-05-19 09:45:23 -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
Maximilian Roos
feaa13c9a9
feat: Add custom operator ( #868 )
...
* feat: Add custom operator
From #863
- It doesn't parse anything — I'm not sure how to parse ` SELECT 'a' REGEXP '^[a-d]';` with `REGEXP` as the operator... (but fine for my narrow purpose)
- If we need tests, where would I add them?
* Update src/ast/operator.rs
---------
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-05-17 13:12:50 -04:00
Jeffrey
4559d87a82
Add parse_multipart_identifier function to parser ( #860 )
...
* Add parse_multipart_identifier function to parser
* Update doc for parse_multipart_identifier
* Fix conflict
2023-05-17 13:04:57 -04:00
Mustafa Akur
482a3ad417
Add support for multiple expressions, order by in aggregations ( #879 )
...
* Add support for multiple expressions, order by in aggregations
* Fix formatting errors
* Resolve linter errors
2023-05-17 13:04:33 -04:00
Andrew Kane
ae3b5844c8
Include license file in published crate ( #871 )
2023-05-09 20:48:57 -04:00
Armin Primadi
f15da8772e
Make Expr::Interval its own struct ( #872 )
...
* Make Expr::Interval its own struct
* Add test interval display
* Fix cargo fmt
2023-05-09 20:42:03 -04:00
Okue
b29b551fa1
Fix tiny typo in custom_sql_parser.md ( #864 )
2023-05-02 07:08:38 -04:00
Andrew Lamb
be85f54ca3
Fix logical merge conflict ( #865 )
2023-05-02 07:07:56 -04:00
Armin Primadi
0ff863b2c7
Add support for query source in COPY .. TO statement ( #858 )
...
* Add support for query source in COPY .. TO statement
* Fix compile error
2023-05-01 15:39:18 -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
f72e2ec382
Support multiple-table DELETE syntax ( #855 )
2023-04-27 11:41:20 -04:00
Andrew Lamb
5ecf633e31
Add dialect_from_str
and improve Dialect
documentation ( #848 )
...
* Add `dialect_from_str` and improve `Dialect` documentation
* cleanup
* fix compilation with nostd
2023-04-27 11:37:11 -04:00