Skip to content

Commit bb948a0

Browse files
return empty JsonQueue in case of empty response
test ref: test_create_table_will_return_empty_result_set Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent bb015e6 commit bb948a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/databricks/sql/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def build_queue(
149149
raise NotImplementedError(
150150
"EXTERNAL_LINKS disposition is not implemented for SEA backend"
151151
)
152-
raise ProgrammingError("No result data or external links found")
152+
return JsonQueue([])
153153

154154

155155
class JsonQueue(ResultSetQueue):

0 commit comments

Comments
 (0)