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

fix(python): Fix a global variable table-discovery edge case for the SQL interface #17400

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

alexander-beedie
Copy link
Collaborator

@alexander-beedie alexander-beedie commented Jul 3, 2024

Closes #17398.

Simple fix, though a better one would be having the underlying parser analyse the statement and extract the tables properly; I'll look into doing that at a later date (am on vacation at the moment ;)

@github-actions github-actions bot added fix Bug fix python Related to Python Polars labels Jul 3, 2024
@alexander-beedie alexander-beedie added the A-sql Area: Polars SQL functionality label Jul 3, 2024
Copy link

codecov bot commented Jul 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.75%. Comparing base (3a3600c) to head (42ed718).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #17400      +/-   ##
==========================================
+ Coverage   80.72%   80.75%   +0.02%     
==========================================
  Files        1475     1475              
  Lines      193388   193388              
  Branches     2760     2760              
==========================================
+ Hits       156117   156167      +50     
+ Misses      36761    36711      -50     
  Partials      510      510              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@stinodego
Copy link
Member

The rare one-character fix 😄

@alexander-beedie alexander-beedie merged commit 09c98c5 into pola-rs:main Jul 3, 2024
17 checks passed
@alexander-beedie alexander-beedie deleted the sql-global-vars branch July 3, 2024 15:22
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 fix Bug fix python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue in global variable discovery in polars.sql
2 participants