Skip to content

Commit 01d49cd

Browse files
return empty JsonQueue if no data
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent 4afff39 commit 01d49cd

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
@@ -173,7 +173,7 @@ def build_queue(
173173
lz4_compressed=lz4_compressed,
174174
description=description,
175175
)
176-
raise ProgrammingError("No result data or external links found")
176+
return JsonQueue([])
177177

178178

179179
class JsonQueue(ResultSetQueue):

0 commit comments

Comments
 (0)