mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Avoid expensive select_star on dashboard bootstrap data (#5424)
The dashboard page bootstrap data currently attempts to generate the `SELECT` statement with column name details for each table represented in the dash. This means it calls the database(s) and waits for column details prior to returning any HTML. This makes the default select_star property generate a simple `SELECT *` with no column details instead, which doesn't require interogating the DBs.
This commit is contained in:
committed by
GitHub
parent
b0b04b319b
commit
5be0e69d1b
@@ -17,7 +17,7 @@ from sqlalchemy import BigInteger, Date, DateTime, Float, String, Text
|
||||
import geohash
|
||||
import polyline
|
||||
|
||||
from superset import app, db, security_manager, utils
|
||||
from superset import app, db, utils
|
||||
from superset.connectors.connector_registry import ConnectorRegistry
|
||||
from superset.connectors.sqla.models import TableColumn
|
||||
from superset.models import core as models
|
||||
|
||||
Reference in New Issue
Block a user