Skip to content

fix: URL encoded table name failures#26586

Merged
mgattozzi merged 1 commit intomainfrom
mgattozzi/core/url-encode
Jul 14, 2025
Merged

fix: URL encoded table name failures#26586
mgattozzi merged 1 commit intomainfrom
mgattozzi/core/url-encode

Conversation

@mgattozzi
Copy link
Copy Markdown
Contributor

This commit fixes queries that could come back as failures due to improperly quoted table names in queries. It also fixes issues in Enterprise where compaction would fail due to double escaped names.

The fix is relatively simple:

  • Use the parse not from function for the Path type in the object_store crate
  • Quote escape table names in queries

With these two changes the failing tests that Praveen made to hightlight the issue have been fixed.

This commit fixes queries that could come back as failures due to
improperly quoted table names in queries. It also fixes issues in
Enterprise where compaction would fail due to double escaped names.

The fix is relatively simple:

- Use the parse not from function for the Path type in the object_store
  crate
- Quote escape table names in queries

With these two changes the failing tests that Praveen made to hightlight
the issue have been fixed.

Co-authored-by: praveen-influx <pkumar@influxdata.com>
@mgattozzi mgattozzi requested a review from praveen-influx July 3, 2025 15:42
Copy link
Copy Markdown
Contributor

@hiltontj hiltontj left a comment

Choose a reason for hiding this comment

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

I left https://github.com/influxdata/influxdb_pro/pull/993#pullrequestreview-2984539787 on the enterprise PR with a detailed explanation of my understanding, but more importantly, a case that I think needs to be tested/potentially fixed: the parquet cache. Specifically, parquet files that get cached in the query path.

That might be a tricky test to set up so can be left as follow-on work to this.

@mgattozzi mgattozzi merged commit 015933f into main Jul 14, 2025
12 checks passed
@mgattozzi mgattozzi deleted the mgattozzi/core/url-encode branch July 14, 2025 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants