Skip to content

fix(sql): Fix database not preserving column alias casing in SQL#5948

Merged
bluestreak01 merged 3 commits intomasterfrom
raph_fix_lowercase
Jul 15, 2025
Merged

fix(sql): Fix database not preserving column alias casing in SQL#5948
bluestreak01 merged 3 commits intomasterfrom
raph_fix_lowercase

Conversation

@RaphDal
Copy link
Copy Markdown
Contributor

@RaphDal RaphDal commented Jul 15, 2025

This PR fixes #5947.
Users can now change the casing of their column names as aliases (for example, with a table trades that had a column symbol, using the alias Symbol would give back symbol in the result).

-- previously
select symbol as SYMBOL from trades;
----------
| symbol |
----------

-- pr
select symbol as SYMBOL from trades;
----------
| SYMBOL |
----------

@RaphDal RaphDal changed the title fix(sql): Fix column name casing that couldn't be changed fix(sql): Fix database not preserving column alias casing in SQL Jul 15, 2025
@glasstiger
Copy link
Copy Markdown
Contributor

[PR Coverage check]

😍 pass : 2 / 2 (100.00%)

file detail

path covered line new line coverage
🔵 io/questdb/griffin/SqlCodeGenerator.java 2 2 100.00%

@bluestreak01 bluestreak01 merged commit 2b00422 into master Jul 15, 2025
35 checks passed
@bluestreak01 bluestreak01 deleted the raph_fix_lowercase branch July 15, 2025 19:33
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.

SQL: cannot change column name casing in the query result

3 participants