Skip to content

Conversation

@bkyryliuk
Copy link
Member

@mistercrunch

  • take a peek into the interface please.

sa.Column('rows', sa.Integer(), nullable=True),
sa.Column('error_message', sa.Text(), nullable=True),
sa.Column('start_time', sa.DateTime(), nullable=True),
sa.Column('changed_on', sa.DateTime(), nullable=True),
Copy link
Member

Choose a reason for hiding this comment

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

we need an index on this

@bkyryliuk bkyryliuk force-pushed the bogdan/queries_endpoint_no_test branch 3 times, most recently from 762fbf5 to 7e6944b Compare August 19, 2016 01:06
)
op.add_column('dbs', sa.Column('select_as_create_table_as', sa.Boolean(),
nullable=True))
op.create_index(op.f('ix_query_changed_on'), 'query', ['changed_on'],
Copy link
Member

Choose a reason for hiding this comment

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

We need a composite index here, not 2 indexes. Here's an example:
https://github.com/apache/incubator-airflow/blob/master/airflow/models.py#L708

@bkyryliuk bkyryliuk changed the title Queries endpoint. No unit test. Queries endpoint. Aug 19, 2016
@bkyryliuk bkyryliuk force-pushed the bogdan/queries_endpoint_no_test branch from 7e6944b to e8a1a9a Compare August 19, 2016 18:05
@bkyryliuk bkyryliuk merged commit 2d00f0f into carapal Aug 19, 2016
@bkyryliuk bkyryliuk deleted the bogdan/queries_endpoint_no_test branch August 19, 2016 19:07
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 17, 2021
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 24, 2021
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 25, 2021
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 26, 2021
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.5.0 First shipped in 1.5.0 labels Feb 19, 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 🚢 1.5.0 First shipped in 1.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants