Skip to content

fix(http): fix exception thrown when using escaped column names#5927

Merged
bluestreak01 merged 8 commits intomasterfrom
raph_fix_cols_escaped
Jul 10, 2025
Merged

fix(http): fix exception thrown when using escaped column names#5927
bluestreak01 merged 8 commits intomasterfrom
raph_fix_cols_escaped

Conversation

@RaphDal
Copy link
Copy Markdown
Contributor

@RaphDal RaphDal commented Jul 9, 2025

This PR (with ui#452) fixes a bug that occurs when users have commas in their column names and uses the cols query parameter in the HTTP processor.

In order to fix the bug, ui#452 stringifies column names before sending them through the wire and this PR handles double quotes and escape character.

@bluestreak01
Copy link
Copy Markdown
Member

PR is solid, just needs cleanup for legibility

@glasstiger
Copy link
Copy Markdown
Contributor

[PR Coverage check]

😍 pass : 70 / 70 (100.00%)

file detail

path covered line new line coverage
🔵 io/questdb/cutlass/http/processors/JsonQueryProcessorState.java 70 70 100.00%

@bluestreak01 bluestreak01 merged commit 4da8ceb into master Jul 10, 2025
34 checks passed
@bluestreak01 bluestreak01 deleted the raph_fix_cols_escaped branch July 10, 2025 09:50
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.

3 participants