Skip to content

Conversation

@JasonLi-cn
Copy link
Contributor

@JasonLi-cn JasonLi-cn commented Sep 11, 2024

Which issue does this PR close?

Closes #12427

Rationale for this change

In order for the following query to work properly:

SELECT PUBLIC.t1.* FROM PUBLIC.t1

What changes are included in this PR?

Modify some SqlToRel functions:

  • sql_select_to_rex
  • sql_expr_to_logical_expr_internal

Using the object_name_to_table_reference function, to be consistent with create_relation.

Are these changes tested?

Yes.

Are there any user-facing changes?

@github-actions github-actions bot added sql SQL Planner sqllogictest SQL Logic Tests (.slt) labels Sep 11, 2024
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Looks great to me -- thank you @JasonLi-cn

cc @jonahgao

Copy link
Member

@jonahgao jonahgao left a comment

Choose a reason for hiding this comment

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

Looks good to me!

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.

upper case qualifier wildcard bug

3 participants