forked from apache/superset
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SQL Lab] Allow running multiple statements (apache#6112)
* Allow running multiple statements from SQL Lab * fix tests * More tests * merge heads * fix heads (cherry picked from commit d427db0) (cherry picked from commit 2980687a2a3382e172bf50c332abe0d2c7048b72)
- Loading branch information
1 parent
3c6ec4e
commit ef93860
Showing
18 changed files
with
348 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
@import "../../stylesheets/less/cosmo/variables.less"; | ||
body { | ||
overflow: hidden; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
superset/migrations/versions/0b1f1ab473c0_add_extra_column_to_query.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
"""Add extra column to Query | ||
Revision ID: 0b1f1ab473c0 | ||
Revises: 55e910a74826 | ||
Create Date: 2018-11-05 08:42:56.181012 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = '0b1f1ab473c0' | ||
down_revision = '55e910a74826' | ||
|
||
|
||
def upgrade(): | ||
op.add_column('query', sa.Column('extra_json', sa.Text(), nullable=True)) | ||
|
||
|
||
def downgrade(): | ||
op.drop_column('query', 'extra_json') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
"""empty message | ||
Revision ID: de021a1ca60d | ||
Revises: ('0b1f1ab473c0', 'cefabc8f7d38') | ||
Create Date: 2018-12-18 22:45:55.783083 | ||
""" | ||
# revision identifiers, used by Alembic. | ||
revision = 'de021a1ca60d' | ||
down_revision = ('0b1f1ab473c0', 'cefabc8f7d38', '3e1b21cd94a4') | ||
|
||
|
||
def upgrade(): | ||
pass | ||
|
||
|
||
def downgrade(): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.