john-bodley commented on code in PR #26355:
URL: https://github.com/apache/superset/pull/26355#discussion_r1448075643
##########
superset/db_engine_specs/trino.py:
##########
@@ -395,3 +396,26 @@ def get_columns(
return base_cols
return [col for base_col in base_cols for col in
cls._expand_columns(base_col)]
+
+ @classmethod
+ def get_indexes(
+ cls,
+ database: Database,
+ inspector: Inspector,
+ table_name: str,
+ schema: str | None,
+ ) -> list[dict[str, Any]]:
+ """
+ Get the indexes associated with the specified schema/table.
+ Trino dialect raises NoSuchTableError in get_indexes if table is empty.
Review Comment:
```suggestion
Trino dialect raises NoSuchTableError in get_indexes if table is
empty.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]