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

[get_df] Adding support for multi-statement SQL #5086

Merged

Conversation

john-bodley
Copy link
Member

@mistercrunch sorry I previously reverted #5060 as it didn't handle the case of statements including the ; character as part of a filter etc. Previously I was ignorantly splitting on the ; character, whereas in this PR I use the sqlparse stdlib to parse the raw SQL which correctly identifies the statement(s).

to: @betodealmeida @GabeLoins @michellethomas @mistercrunch

@john-bodley john-bodley force-pushed the john-bodley-get-df-multi-statement-fix branch from 275ce03 to eb4bed2 Compare May 25, 2018 21:53
@codecov-io
Copy link

Codecov Report

Merging #5086 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5086      +/-   ##
==========================================
+ Coverage   77.53%   77.53%   +<.01%     
==========================================
  Files          44       44              
  Lines        8710     8713       +3     
==========================================
+ Hits         6753     6756       +3     
  Misses       1957     1957
Impacted Files Coverage Δ
superset/models/core.py 86.54% <100%> (+0.07%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c18ef89...eb4bed2. Read the comment docs.

@john-bodley
Copy link
Member Author

ping @michellethomas

@john-bodley john-bodley merged commit 0511d1f into apache:master May 29, 2018
@john-bodley john-bodley deleted the john-bodley-get-df-multi-statement-fix branch May 29, 2018 21:20
john-bodley added a commit to john-bodley/superset that referenced this pull request May 29, 2018
john-bodley added a commit to airbnb/superset-fork that referenced this pull request May 30, 2018
[get_df] Adding support for multi-statement SQL (apache#5086)
timifasubaa pushed a commit to timifasubaa/incubator-superset that referenced this pull request May 31, 2018
timifasubaa pushed a commit to airbnb/superset-fork that referenced this pull request Jul 25, 2018
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.26.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.26.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants