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

[sqllab] bugfix visualizing a query with a semi-colon #1869

Merged
merged 2 commits into from
Jan 6, 2017

Conversation

mistercrunch
Copy link
Member

@mistercrunch mistercrunch commented Dec 19, 2016

Fixes #1835

@mistercrunch mistercrunch force-pushed the bugfix_semi_query branch 3 times, most recently from bdb0be1 to 0e5e13d Compare December 20, 2016 07:16
def stripped(self):
sql = self.sql
if sql:
while sql[-1] in (' ', ';', '\n', '\t'):
Copy link

@ascott ascott Jan 4, 2017

Choose a reason for hiding this comment

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

are there any other line endings we should consider adding?

Copy link
Member Author

Choose a reason for hiding this comment

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

those are the only blank characters I could think of, there'll be this place to add new ones if it comes up

@mistercrunch mistercrunch merged commit 9a62d94 into apache:master Jan 6, 2017
@mistercrunch mistercrunch deleted the bugfix_semi_query branch January 6, 2017 20:24
SalehHindi pushed a commit to SalehHindi/superset that referenced this pull request Jun 9, 2017
* [sqllab] bugfix visualizing a query with a semi-colon

* Fixing tests
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.15.2 labels Feb 20, 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.15.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[visualize flow] remove semi-colons if any
2 participants