Skip to content

Commit 92551b1

Browse files
remove ValueError for potentially empty state
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent b3ebec5 commit 92551b1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/databricks/sql/backend/thrift_backend.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -877,9 +877,6 @@ def get_execution_result(
877877
is_direct_results = resp.hasMoreRows
878878

879879
status = CommandState.from_thrift_state(resp.status)
880-
if status is None:
881-
raise ValueError(f"Unknown command state: {resp.status}")
882-
883880
execute_response = ExecuteResponse(
884881
command_id=command_id,
885882
status=status,

0 commit comments

Comments
 (0)