Simon Binder
b83eea46fe
Merge branch 'latest-release' into develop
2024-04-24 19:04:16 +02:00
Simon Binder
d025568f1a
Don't allow aliases for sources in `IN` expression
2024-04-24 19:02:11 +02:00
Simon Binder
2777ca47e1
Don't allow aliases for sources in `IN` expression
2024-04-24 18:59:10 +02:00
Simon Binder
24af4873e7
Bump version numbers
2024-04-23 15:31:49 +02:00
Simon Binder
fefae6dd44
Merge remote-tracking branch 'origin/develop' into geopoly
2024-04-22 22:56:37 +02:00
Simon Binder
9bcaeddb3b
Upgrade dev dependencies in drift
2024-04-20 15:35:57 +02:00
Simon Binder
11e31cc653
Prepare 2.17 release
2024-04-20 15:32:17 +02:00
Simon Binder
ac4947f266
Support `INT64` type for bigints in drift files
...
https://github.com/simolus3/drift/issues/2955
2024-04-15 21:18:10 +02:00
Simon Binder
c6f0fa27aa
sqlparser: Extend support for `IN` expressions
...
This adds support for table names and table-valued function
invocations as right-hand targets in `IN` expressions.
The lint for row values around `IN` expressions is updated to
only report warnings if there's an actual mismatch in the amount
of columns.
Closes https://github.com/simolus3/drift/issues/2948
2024-04-12 17:36:31 +02:00
Nikita Dauhashei
78387a3610
Merge branch 'simolus3:develop' into develop
2024-04-10 18:33:06 +02:00
Nikita Dauhashei
15001364c2
add geopoly support
2024-04-10 18:31:44 +02:00
Simon Binder
43b7f72bad
sqlparser: Fix parsing binary literals
2024-04-06 14:48:55 +02:00
Simon Binder
29303100b8
Support custom names for drift views
2024-03-08 18:14:48 +01:00
Simon Binder
417c2c1207
Prepare release
2024-02-24 23:17:54 +01:00
Simon Binder
4fa75cb30b
Fix new analysis warnings from Dart 3.3
2024-02-19 21:46:55 +01:00
Simon Binder
2bc01adeaa
Support table function syntax for virtual tables
...
Closes #2877
2024-02-03 18:28:23 +01:00
Simon Binder
38d603c1c6
Prepare release
2024-01-17 23:02:49 +01:00
Simon Binder
b6fbfdbab9
sqlparser support for jsonb
2024-01-17 22:39:55 +01:00
Simon Binder
f9fa123e4a
Forbid unqualified access to aliases in triggers
2024-01-01 19:18:04 +01:00
Simon Binder
08ceb939bc
Include `NULL` constraints in node->sql
2023-12-12 21:46:58 +01:00
Simon Binder
1563b99b58
Fix potential crash whne resolving columns
2023-12-07 00:10:49 +01:00
Simon Binder
633cc52129
Prepare 2.14 release
2023-12-04 11:07:21 +01:00
Simon Binder
72476628ad
Add changelog entry for column list update syntax
2023-11-18 00:34:55 +01:00
Simon Binder
fcce984af4
Merge branch 'add-update-column-name-list' into develop
2023-11-18 00:32:33 +01:00
tibotix
6810cfc52d
Refactor `TypeResolver.visitMultiColumnSetComponent`
2023-11-17 18:15:23 +01:00
tibotix
ff11a2a757
Add trailing commas for readability
2023-11-17 18:04:21 +01:00
tibotix
26fd4bf11e
Add node_to_text tests for MultiColumnSetComponent
2023-11-17 18:00:58 +01:00
tibotix
e08bb30585
Use `_consumeIdentifier` instead of `_consume`
2023-11-17 17:55:18 +01:00
tibotix
5e26cae5e9
Rename `useAsRowValue` -> `usedAsRowValue` to be consistent
2023-11-17 02:10:23 +01:00
tibotix
deaf58c5fb
Add/Update TestCases for all introduced changes
2023-11-17 01:49:37 +01:00
tibotix
f282ead955
Allow RowValue to be used in SetComponent expressions
2023-11-17 01:48:27 +01:00
tibotix
f128f05e1e
Add MultiColumnSetComponent to support column-name-list update syntax
...
This commit refactors the SetComponent into an abstract interface and introduces
two separate classes `SingleColumnSetComponent` and `MultiColumnSetComponent`, as
well as related methods such as `visitSingleColumnSetComponent` / `visitMultiColumnSetComponent`.
All Visitors were updated accordingly, and logic for parsing / type-resolving / linting were added
too. The only thing missing is type-resolving for the case where rowValue is of type SubQuery,
i.e.
`UPDATE demo SET (a,b)=(SELECT 2,3)`.
2023-11-17 01:42:39 +01:00
Simon Binder
220c7125a3
Update to lints 3.0.0
2023-11-16 21:25:21 +01:00
Simon Friis Vindum
0b0a721164
Fix grammar mistakes in documentation
2023-11-01 17:46:55 +01:00
Simon Binder
ddc864a7c2
Prepare drift_dev and sqlparser release
2023-10-29 19:32:23 +01:00
Simon Binder
222dc3063e
sqlparser: Support new SQL functions
2023-10-24 22:56:12 +02:00
Simon Binder
559cf986a1
sqlparser: Support `ORDER BY` in functions
2023-10-24 22:32:39 +02:00
Simon Binder
ca84c194bd
Add shared analyzer option ( closes #2688 )
2023-10-23 18:35:29 +02:00
Simon Binder
bf8dff0887
Add changelog entry for sum change
2023-10-22 12:38:31 +02:00
Simon Binder
d70de95382
Make `sum()` nullable
2023-10-22 12:33:03 +02:00
Simon Binder
e72ef05d53
Prepare 2.13 release
2023-10-20 11:05:09 +02:00
Simon Binder
cfa33f9a02
Fix typo in error message of insert col list
2023-10-10 21:59:03 +02:00
Simon Binder
7f0488056c
Add more tests for custom types
2023-10-07 21:52:48 +02:00
Simon Binder
eb03ac5ff0
Fix converters on `int64` breaking inference
2023-10-03 20:54:28 +02:00
Simon Binder
b5bc646187
Prepare patch release
2023-09-27 14:48:03 +02:00
Simon Binder
d0a3feee12
Fix star columns resolving to too many columns
2023-09-26 23:15:29 +02:00
Simon Binder
9f05897944
Prepare release
2023-09-24 16:17:07 +02:00
Simon Binder
93b9cc512d
Analyze index annotations for tables
2023-09-14 15:37:21 +02:00
Simon Binder
303d738749
Prepare 2.11.1 release
2023-08-27 17:11:04 +02:00
Simon Binder
fe242e5a17
Support `timediff` and `octet_length`
2023-08-17 17:30:45 +02:00