Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cli,rust,python): add sql compound identifiers #8934

Merged
merged 2 commits into from
May 19, 2023

Conversation

universalmind303
Copy link
Collaborator

closes #8921

@github-actions github-actions bot added enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars labels May 19, 2023
@@ -99,15 +101,31 @@ impl SqlExprVisitor<'_> {
idents.len() == 2,
ComputeError: "compound identifier {:?} is not yet supported", idents,
Copy link
Member

@ritchie46 ritchie46 May 19, 2023

Choose a reason for hiding this comment

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

I think we should change this error message. As we do support "compound identifiers".

It is not clear to me what it means to have idents > 2, but I think the message should reflect what we don't support in that case.

Copy link
Member

@ritchie46 ritchie46 left a comment

Choose a reason for hiding this comment

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

Thanks! Feel free to merge. :)

@universalmind303 universalmind303 merged commit 93b98d9 into pola-rs:main May 19, 2023
10 checks passed
alexander-beedie pushed a commit to alexander-beedie/polars that referenced this pull request May 20, 2023
c-peters pushed a commit to c-peters/polars that referenced this pull request Jul 14, 2023
@alexander-beedie alexander-beedie added the A-sql Area: Polars SQL functionality label Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sql Area: Polars SQL functionality enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SQL: error when column names are qualified
3 participants