Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] Update latest commit from upstream #30

Merged
merged 81 commits into from
Dec 3, 2024
Merged
Changes from 1 commit
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
246838a
Fix parsing of negative values (#1419)
agscpp Sep 16, 2024
1c505ce
Allow to use ON CLUSTER cluster_name in TRUNCATE syntax (#1428)
git-hulk Sep 19, 2024
04a53e5
feat: support explain options (#1426)
kysshsy Sep 19, 2024
71318df
chore: remove redundant punctuation (#1434)
Fischer0522 Sep 20, 2024
fb42425
MS SQL Server: add support for IDENTITY column option (#1432)
7phs Sep 20, 2024
9934f3d
Update to ASF header / add when missing (#1437)
alamb Sep 21, 2024
2403f79
Some small optimizations (#1424)
exrok Sep 21, 2024
affe8b5
Fix `codestyle` CI check (#1438)
alamb Sep 22, 2024
8a534c0
Implements CREATE POLICY syntax for PostgreSQL (#1440)
git-hulk Sep 25, 2024
08fc6d3
make `parse_expr_with_alias` public (#1444)
Eason0729 Sep 29, 2024
2af981e
Implements DROP POLICY syntax for PostgreSQL (#1445)
git-hulk Sep 29, 2024
73dc8a3
Support `DROP DATABASE` (#1443)
linhr Sep 29, 2024
51cbd5a
Implements ALTER POLICY syntax for PostgreSQL (#1446)
git-hulk Sep 29, 2024
ce2686a
Add a note discouraging new use of `dialect_of` macro (#1448)
alamb Sep 30, 2024
1e0460a
Expand handling of `LIMIT 1, 2` handling to include sqlite (#1447)
joshuawarner32 Sep 30, 2024
32a126b
Fix always uses CommentDef::WithoutEq while parsing the inline commen…
git-hulk Oct 4, 2024
e849f7f
Add support for the LIKE ANY and ILIKE ANY pattern-matching condition…
yoavcloud Oct 4, 2024
8ccb87a
added ability to parse extension to parse_comment inside postgres dia…
MaxwellKnight Oct 4, 2024
84348d4
Snowflake: support of views column comment (#1441)
7phs Oct 7, 2024
8badcdc
Add SQLite "ON CONFLICT" column option in CREATE TABLE statements (#1…
nucccc Oct 7, 2024
ac956dc
Add support for ASC and DESC in CREATE TABLE column constraints for S…
caldwell Oct 8, 2024
7905fb4
Add support of `EXPLAIN QUERY PLAN` syntax for SQLite dialect (#1458)
git-hulk Oct 8, 2024
c01e054
Add "DROP TYPE" support. (#1461)
caldwell Oct 9, 2024
0a941b8
chore: Add asf.yaml (#1463)
Xuanwo Oct 9, 2024
a4fa9e0
Add support for quantified comparison predicates (ALL/ANY/SOME) (#1459)
yoavcloud Oct 9, 2024
749b061
MySQL dialect: Add support for hash comments (#1466)
hansott Oct 11, 2024
7c20d4a
Fix #1469 (SET ROLE regression) (#1474)
lovasoa Oct 14, 2024
1dd7d26
Add support for parsing MsSql alias with equals (#1467)
yoavcloud Oct 20, 2024
3421e1e
Snowflake: support for extended column options in `CREATE TABLE` (#1454)
7phs Oct 20, 2024
45c5d69
MsSQL TRY_CONVERT (#1477)
yoavcloud Oct 20, 2024
a8432b5
Add PostgreSQL specfic "CREATE TYPE t AS ENUM (...)" support. (#1460)
caldwell Oct 21, 2024
38f1e57
feat: adding Display implementation to DELETE and INSERT (#1427)
seve-martinez Oct 21, 2024
8e0d26a
fix for maybe_parse preventing parser from erroring on recursion limi…
tomershaniii Oct 21, 2024
ee90373
Fix build (#1483)
yoavcloud Oct 29, 2024
8de3cb0
Fix complex blocks warning when running clippy (#1488)
git-hulk Nov 1, 2024
e2197ee
Add support for SHOW DATABASES/SCHEMAS/TABLES/VIEWS in Hive (#1487)
yoavcloud Nov 3, 2024
a9a9d58
Fix typo in `Dialect::supports_eq_alias_assigment` (#1478)
alamb Nov 6, 2024
05821cc
Add support for PostgreSQL `LISTEN/NOTIFY` syntax (#1485)
wugeer Nov 6, 2024
a5b0092
Add support for TOP before ALL/DISTINCT (#1495)
yoavcloud Nov 6, 2024
fc0e13b
add support for `FOR ORDINALITY` and `NESTED` in JSON_TABLE (#1493)
lovasoa Nov 6, 2024
9394ad4
Add Apache License to additional files (#1502)
alamb Nov 6, 2024
543ec6c
Move CHANGELOG content (#1503)
alamb Nov 6, 2024
d853c35
improve support for T-SQL EXECUTE statements (#1490)
lovasoa Nov 7, 2024
334a5bf
Update CHANGELOG.md for `0.52.0` release, add scripts/ instructions f…
alamb Nov 7, 2024
e857787
hive: support for special not expression `!a` and raise error for `a!…
wugeer Nov 13, 2024
9082448
Add support for MSSQL's `OPENJSON WITH` clause (#1498)
gaoqiangz Nov 13, 2024
3a8369a
Parse true and false as identifiers in mssql (#1510)
lovasoa Nov 13, 2024
632ba4c
Fix the parsing error in MSSQL for multiple statements that include `…
wugeer Nov 13, 2024
76322ba
Add support for Snowflake SHOW DATABASES/SCHEMAS/TABLES/VIEWS/COLUMNS…
yoavcloud Nov 13, 2024
6d907d3
Add support of COMMENT ON syntax for Snowflake (#1516)
git-hulk Nov 13, 2024
2bb8144
Add support for MYSQL's `CREATE TABLE SELECT` expr (#1515)
wugeer Nov 13, 2024
62eaee6
Add support for MSSQL's `XQuery` methods (#1500)
gaoqiangz Nov 14, 2024
724a1d1
Add support for Hive's `LOAD DATA` expr (#1520)
wugeer Nov 15, 2024
4a5f20e
Fix ClickHouse document link from `Russian` to `English` (#1527)
git-hulk Nov 18, 2024
a67a4f3
Support ANTI and SEMI joins without LEFT/RIGHT (#1528)
delamarch3 Nov 18, 2024
4c629e8
support sqlite's OR clauses in update statements (#1530)
lovasoa Nov 18, 2024
f961efc
support column type definitions in table aliases (#1526)
lovasoa Nov 18, 2024
92be237
Add support for MSSQL's `JSON_ARRAY`/`JSON_OBJECT` expr (#1507)
gaoqiangz Nov 18, 2024
73947a5
Add support for PostgreSQL `UNLISTEN` syntax and Add support for Post…
wugeer Nov 19, 2024
fad2ddd
Parse byte/bit string literals in MySQL and Postgres (#1532)
mvzink Nov 20, 2024
a115022
Allow example CLI to read from stdin (#1536)
mvzink Nov 22, 2024
1051900
recursive select calls are parsed with bad trailing_commas parameter …
tomershaniii Nov 23, 2024
62fa860
PartiQL queries in Redshift (#1534)
yoavcloud Nov 23, 2024
0fb2ef3
Include license file in sqlparser_derive crate (#1543)
ankane Nov 24, 2024
fd21fae
Fallback to identifier parsing if expression parsing fails (#1513)
yoavcloud Nov 25, 2024
525d178
support `json_object('k':'v')` in postgres (#1546)
lovasoa Nov 25, 2024
0adec33
Document micro benchmarks (#1555)
alamb Nov 26, 2024
3c8fd74
Implement `Spanned` to retrieve source locations on AST nodes (#1435)
Nyrox Nov 26, 2024
5a510ac
Fix error in benchmark queries (#1560)
alamb Nov 27, 2024
6291afb
Fix clippy warnings on rust 1.83 (#1570)
iffyio Nov 29, 2024
92c6e7f
Support relation visitor to visit the `Option` field (#1556)
goldmedal Nov 29, 2024
a134910
Rename `TokenWithLocation` to `TokenWithSpan`, in backwards compatibl…
alamb Nov 30, 2024
48b0e4d
Support MySQL size variants for BLOB and TEXT columns (#1564)
mvzink Nov 30, 2024
b000738
Increase version of sqlparser_derive from 0.2.2 to 0.3.0 (#1571)
alamb Nov 30, 2024
96f7c02
`json_object('k' VALUE 'v')` in postgres (#1547)
lovasoa Nov 30, 2024
f4f112d
Support snowflake double dot notation for object name (#1540)
ayman-sigma Nov 30, 2024
4ab3ab9
Update comments / docs for `Spanned` (#1549)
alamb Nov 30, 2024
bd750df
Support Databricks struct literal (#1542)
ayman-sigma Dec 2, 2024
e16b246
Encapsulate CreateFunction (#1573)
philipcristiano Dec 2, 2024
f85f242
merge upstream
ayman-sigma Dec 2, 2024
e0b7e7e
add span for InExpr
ayman-sigma Dec 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/ast/spans.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1259,6 +1259,11 @@ impl Spanned for Expr {
array_expr,
negated: _,
} => expr.span().union(&array_expr.span()),
Expr::InExpr {
expr,
in_expr,
negated: _,
} => expr.span().union(&in_expr.span()),
Comment on lines +1262 to +1266
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the only change I made after merging upstream.

Expr::Between {
expr,
negated: _,
Expand Down
Loading