Skip to content

Commit a740ece

Browse files
default CommandState.RUNNING
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent 92551b1 commit a740ece

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/databricks/sql/backend/thrift_backend.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,8 @@ def get_execution_result(
876876
is_staging_operation = t_result_set_metadata_resp.isStagingOperation
877877
is_direct_results = resp.hasMoreRows
878878

879-
status = CommandState.from_thrift_state(resp.status)
879+
status = CommandState.from_thrift_state(resp.status) or CommandState.RUNNING
880+
880881
execute_response = ExecuteResponse(
881882
command_id=command_id,
882883
status=status,

0 commit comments

Comments
 (0)