Skip to content

fix: Consider column names' case when aliasing tables#22917

Open
nuno-faria wants to merge 2 commits into
apache:mainfrom
nuno-faria:fix_alias_case_sensitive
Open

fix: Consider column names' case when aliasing tables#22917
nuno-faria wants to merge 2 commits into
apache:mainfrom
nuno-faria:fix_alias_case_sensitive

Conversation

@nuno-faria

@nuno-faria nuno-faria commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

Avoid errors when aliasing tables/subqueries with case sensitive column names.

What changes are included in this PR?

  • Update apply_expr_alias so it calls from_qualified_name_ignore_case instead of the default From implementation, which uses from_qualified_name.

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

@github-actions github-actions Bot added sqllogictest SQL Logic Tests (.slt) common Related to common crate labels Jun 11, 2026
@github-actions github-actions Bot added sql SQL Planner and removed common Related to common crate labels Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sql SQL Planner sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Table alias fails with case sensitive column names

1 participant