mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
fix: error around latest partition in BigQuery (#11274)
* fix: error around latest partition in BigQuery * lint * Going with a backend-first approach * fix test * add an extra test
This commit is contained in:
committed by
GitHub
parent
c360413fc2
commit
796a2a6924
@@ -619,7 +619,8 @@ class Database(
|
||||
def get_indexes(
|
||||
self, table_name: str, schema: Optional[str] = None
|
||||
) -> List[Dict[str, Any]]:
|
||||
return self.inspector.get_indexes(table_name, schema)
|
||||
indexes = self.inspector.get_indexes(table_name, schema)
|
||||
return self.db_engine_spec.normalize_indexes(indexes)
|
||||
|
||||
def get_pk_constraint(
|
||||
self, table_name: str, schema: Optional[str] = None
|
||||
|
||||
Reference in New Issue
Block a user