Skip to content

Commit 50a9cf2

Browse files
committed
update sql parser
1 parent 5e4c48d commit 50a9cf2

File tree

3 files changed

+32
-24
lines changed

3 files changed

+32
-24
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CHANGELOG.md
22

3-
## unreleased
3+
## 0.31.0 (unreleased)
44
- [update apexcharts.js to v4.0.0](https://github.com/apexcharts/apexcharts.js/releases)
55
- Fixed a bug where the chart library would be loaded multiple times when the page contained multiple charts. This made the page load slower and could cause issues with the chart library.
66
- Fixed a bug where [timeline chart tooltips displayed the wrong labels](https://github.com/sqlpage/SQLPage/issues/659).
@@ -21,6 +21,14 @@
2121
- Fixed a bug in the table component where searching for "xy" would match a row with a cell that contains "x" followed by a cell that contains "y". This should match "x y" but not "xy".
2222
- Fixed a bug where embedded card contents would be initialized multiple times, potentially causing issues with some components (such as the chart component) when embedded in a card.
2323
- Fixed misaligned loading spinner in the card component when the card is loading embedded content.
24+
- Updated the SQL parser to [v0.52.0](https://github.com/apache/datafusion-sqlparser-rs/blob/main/changelog/0.52.0.md).
25+
- This fixes a bug where the parser would fail parse a `SET` clause for a variable named `role`.
26+
- Better support for the `JSON_TABLE` function, for manipulating json arrays in MySQL.
27+
- Adds support for `EXECUTE` statements with parameters in mssql, to run stored procedures.
28+
- Adds support for `TRY_CONVERT` in mssql, to convert data types.
29+
- Adds support for setting column names with an `=` sign, like `SELECT some_property = (a*b) FROM some_table` in mssql
30+
- Adds support for the `LIMIT max_rows, offset` syntax in SQLite. https://www.sqlite.org/lang_select.html#limitoffset
31+
- Adds support for `ANY`, `ALL`, and `SOME` subqueries, like `SELECT * FROM t WHERE a = ANY (SELECT b FROM t2)`
2432

2533
## 0.30.1 (2024-10-31)
2634
- fix a bug where table sorting would break if table search was not also enabled.

Cargo.lock

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ anyhow = "1"
4242
serde = "1"
4343
serde_json = { version = "1.0.82", features = ["preserve_order", "raw_value"] }
4444
lambda-web = { version = "0.2.1", features = ["actix4"], optional = true }
45-
sqlparser = { version = "0.51.0", features = ["visitor"] }
45+
sqlparser = { version = "0.52.0", features = ["visitor"] }
4646
async-stream = "0.3"
4747
async-trait = "0.1.61"
4848
async-recursion = "1.0.0"

0 commit comments

Comments
 (0)