Skip to content

fix: do not panic on invalid multiple subqueries (#26143) (#26162)#26411

Merged
devanbenz merged 1 commit into2.7from
db/cherrypick_subqueries
May 13, 2025
Merged

fix: do not panic on invalid multiple subqueries (#26143) (#26162)#26411
devanbenz merged 1 commit into2.7from
db/cherrypick_subqueries

Conversation

@devanbenz
Copy link
Copy Markdown

Multiple subqueries in a FROM clause caused a
panic, insead of returning an error because
they are syntactically invalid. This corrects
that problem

closes #26139

(cherry picked from commit 9e00f0d)

(cherry picked from commit e862501)

Multiple subqueries in a FROM clause caused a
panic, insead of returning an error because
they are syntactically invalid. This corrects
that problem

closes #26139

(cherry picked from commit 9e00f0d)

Co-authored-by: davidby-influx <72418212+davidby-influx@users.noreply.github.com>
(cherry picked from commit e862501)
@devanbenz devanbenz added area/queries area/influxql Issues related to InfluxQL query language kind/bug area/2.x OSS 2.0 related issues and PRs team/edge labels May 12, 2025
@devanbenz devanbenz requested a review from davidby-influx May 12, 2025 21:22
@devanbenz devanbenz linked an issue May 12, 2025 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

@davidby-influx davidby-influx left a comment

Choose a reason for hiding this comment

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

LGTM

@devanbenz devanbenz merged commit a2f1b41 into 2.7 May 13, 2025
24 of 25 checks passed
@davidby-influx davidby-influx deleted the db/cherrypick_subqueries branch May 13, 2025 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/influxql Issues related to InfluxQL query language area/queries area/2.x OSS 2.0 related issues and PRs kind/bug team/edge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiple SELECT clauses in FROM cause panic [port to 2.7]

2 participants