We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a515d26 commit 59b1330Copy full SHA for 59b1330
src/databricks/sql/backend/sea/backend.py
@@ -12,6 +12,7 @@
12
WaitTimeout,
13
MetadataCommands,
14
)
15
+from databricks.sql.result_set import SeaResultSet
16
17
if TYPE_CHECKING:
18
from databricks.sql.client import Cursor
@@ -722,6 +723,9 @@ def get_tables(
722
723
enforce_embedded_schema_correctness=False,
724
725
assert result is not None, "execute_command returned None in synchronous mode"
726
+ assert isinstance(
727
+ result, SeaResultSet
728
+ ), "SEA backend execute_command returned a non-SeaResultSet"
729
730
# Apply client-side filtering by table_types
731
from databricks.sql.backend.sea.utils.filters import ResultSetFilter
0 commit comments