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 1444a67 commit b3ebec5Copy full SHA for b3ebec5
src/databricks/sql/backend/thrift_backend.py
@@ -876,7 +876,9 @@ def get_execution_result(
876
is_staging_operation = t_result_set_metadata_resp.isStagingOperation
877
is_direct_results = resp.hasMoreRows
878
879
- status = self.get_query_state(command_id)
+ status = CommandState.from_thrift_state(resp.status)
880
+ if status is None:
881
+ raise ValueError(f"Unknown command state: {resp.status}")
882
883
execute_response = ExecuteResponse(
884
command_id=command_id,
0 commit comments