Bidaya0
f3d2f78fb2
Support TO
in CREATE VIEW
clause for Clickhouse ( #1313 )
...
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-06-23 07:13:16 -04:00
Lorrens Pantelis
f16c1afed0
Improve error messages with additional colons ( #1319 )
2024-06-21 18:26:23 -04:00
Ophir LOJKINE
345e2098fb
add support for update statements that contain tuple assignments ( #1317 )
2024-06-18 09:28:39 -04:00
Ilson Balliego
be77ce50ca
Add support for snowflake exclusive create table options ( #1233 )
...
Co-authored-by: Ilson Roberto Balliego Junior <ilson@validio.io>
2024-06-09 17:47:21 -04:00
Philip Cristiano
a0f511cb21
Encapsulate CreateTable
, CreateIndex
into specific structs ( #1291 )
2024-06-05 05:25:42 -04:00
Aleksei Piianin
375742d1fa
ClickHouse: create view with fields and data types ( #1292 )
2024-05-30 12:24:12 -04:00
Simon Sawert
029a999645
Add support for view comments for Snowflake ( #1287 )
...
Co-authored-by: Joey Hain <joey@sigmacomputing.com>
2024-05-30 12:21:39 -04:00
Ifeanyi Ubah
792e389baa
Support CREATE FUNCTION for BigQuery ( #1253 )
2024-05-30 12:18:41 -04:00
Joey Hain
5ed13b5af3
Databricks: support SELECT * EXCEPT ( #1261 )
2024-05-13 05:49:00 -04:00
Ifeanyi Ubah
036a4120b4
Support triple quoted strings ( #1262 )
2024-05-11 06:41:04 -04:00
Joey Hain
c4f3ef9600
BigQuery: support for ANY_VALUE HAVING clause ( #1258 )
2024-05-06 20:33:37 -04:00
Ifeanyi Ubah
138722a7c9
Allow keyword as field names in BigQuery struct syntax ( #1254 )
2024-05-06 15:34:33 -04:00
Joey Hain
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
Duong Cong Toai
bafaa914b0
Support Struct datatype parsing for GenericDialect ( #1241 )
2024-04-30 17:16:23 -04:00
Ifeanyi Ubah
0adf4c675c
Support BigQuery MERGE
syntax ( #1217 )
2024-04-26 14:00:54 -04:00
tison
bf89b7d808
Encapsulate Insert
and Delete
into specific structs ( #1224 )
...
Signed-off-by: tison <wander4096@gmail.com>
2024-04-21 09:13:18 -04:00
Ifeanyi Ubah
d2c2b15f9e
Add support for quoted string backslash escaping ( #1177 )
2024-04-21 09:07:56 -04:00
Hiranmaya Gundu
9db20e293f
fix: have wildcard replace work in duckdb and snowflake syntax ( #1226 )
2024-04-21 08:20:41 -04:00
Ifeanyi Ubah
eda86d8ed7
Add support for arbitrary map access expr ( #1179 )
2024-04-09 17:21:22 -04:00
Ifeanyi Ubah
127be97369
Support more DateTimeField
variants ( #1191 )
2024-04-09 17:16:03 -04:00
Ifeanyi Ubah
8dd213cff2
BigQuery: support unquoted hyphen in table/view declaration ( #1178 )
2024-04-09 17:05:31 -04:00
Ifeanyi Ubah
57113a9344
Support DECLARE
syntax for snowflake and bigquery ( #1122 )
2024-02-29 07:34:00 -05:00
Lukasz Stefaniak
1cf6585649
SupportSELECT AS VALUE
and SELECT AS STRUCT
for BigQuery ( #1135 )
2024-02-29 07:14:00 -05:00
Aleksei Piianin
60baea4ae7
BigQuery: support of CREATE VIEW IF NOT EXISTS ( #1118 )
2024-02-04 08:59:03 -05:00
Ifeanyi Ubah
df738f9b10
BigQuery: Parse optional DELETE FROM
statement ( #1120 )
2024-02-04 08:57:33 -05:00
Joey Hain
398a81029e
Support for unquoted hyphenated identifiers on bigquery ( #1109 )
2024-01-23 20:04:22 -05:00
Ifeanyi Ubah
3a6d3ecba2
Add support for BigQuery table and view options ( #1061 )
2024-01-23 17:21:53 -05:00
Lukasz Stefaniak
8164b7c316
common: Make sure + - * / % binary operators work the same in all dialects ( #1025 )
2023-10-27 05:45:18 -04: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
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
Zdenko Nevrala
83cb734b3c
Support Snowflake/BigQuery TRIM. ( #975 )
2023-10-06 14:48:18 -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
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
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
Andrew Lamb
4efe55dd8a
Remove most instances of #[cfg(feature(bigdecimal))]
in tests ( #910 )
2023-07-17 14:19:51 -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
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
Ankur Goyal
b45306819c
Add support for trailing commas ( #810 )
...
* Add support for trailing commas
* Support trailing commas for brace/bracket
* Andrew's comments
2023-03-02 10:35:46 -05:00
Y Togami
2285bb44ba
chore: fix typo ( #822 )
2023-03-02 10:32:20 -05:00
Y Togami
58de3c1222
feat: support raw string literal of BigQuery ( #812 )
...
* add tests
* feat: parse raw literal of bq
* merge double quoted & single quoted to raw string literal
* Update src/ast/value.rs
---------
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-03-01 14:11:42 -05:00
Y Togami
70917a59ed
feat: SELECT * REPLACE <Expr> AS <Identifier>
for bigquery ( #798 )
...
* chore: add test for wildcard replace
* feat: define opt_replace for wildcard replace
* fix: modify replace option ast
* fix: add test cases
* chore: fmt
* redefine ast
* feat: parse select replace items
* ci
* Update src/ast/query.rs
---------
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-03-01 13:52:25 -05:00
Y Togami
0c0d088ec2
feat: support byte string literal in bq ( #802 )
...
* rebase
* review
* lint
2023-02-19 10:38:03 -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
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
Ziinc
4955863bdf
fix: handle bigquery offset in map key ( #797 )
...
* fix: handle bigquery offset in map key
* chore: add in more comments and tests
* chore: fix all linting and compilation warnings
2023-01-21 12:05:59 -05:00