Skip to content

Conversation

crepererum
Copy link
Contributor

Which issue does this PR close?

It doesn't close it, but it at least partly addresses #14141.

Rationale for this change

SELECT t.user cannot be a function, that makes no sense.

What changes are included in this PR?

Workaround for apache/datafusion-sqlparser-rs#1909 . We could fix it upstream too, it depends what people prefer.

Are these changes tested?

SELECT t.user FROM t now works, see test.

Are there any user-facing changes?

More queries work.

@github-actions github-actions bot added sql SQL Planner sqllogictest SQL Logic Tests (.slt) labels Jun 27, 2025
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.

Makes sense to me -- thanks @crepererum

@crepererum crepererum merged commit e75eb7f into apache:main Jul 1, 2025
27 checks passed
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.

2 participants