Skip to content

fix: group by tag columns with escape quotes#26326

Merged
hiltontj merged 2 commits intomainfrom
hiltontj/fix-group-by-quoted-tags
Apr 25, 2025
Merged

fix: group by tag columns with escape quotes#26326
hiltontj merged 2 commits intomainfrom
hiltontj/fix-group-by-quoted-tags

Conversation

@hiltontj
Copy link
Copy Markdown
Contributor

Closes #26216
Closes #26218

GROUP BY identifiers that were escape quoted, e.g., \"name\", were not having the quotes removed when compared to columns in the Schema during GROUP BY evaluation. This uses the Identifier::as_str method to exclude the quotes.

The reproducer from #26128 is included in this PR.

@hiltontj hiltontj added the v3 label Apr 25, 2025
@hiltontj hiltontj self-assigned this Apr 25, 2025
@hiltontj hiltontj merged commit 0f52ebb into main Apr 25, 2025
12 checks passed
@hiltontj hiltontj deleted the hiltontj/fix-group-by-quoted-tags branch April 25, 2025 00:31
hiltontj added a commit that referenced this pull request May 2, 2025
* test: reproducer for #26216
* fix: group by tag columns with escape quotes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

InfluxQL parsing error when grouping by tag named name

2 participants