Skip to content

Commit 7035098

Browse files
remove empty bytes in SeaResultSet for arrow_schema_bytes
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent e86e755 commit 7035098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/databricks/sql/result_set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ def __init__(
502502
description=execute_response.description,
503503
is_staging_operation=execute_response.is_staging_operation,
504504
lz4_compressed=execute_response.lz4_compressed,
505-
arrow_schema_bytes=execute_response.arrow_schema_bytes or b"",
505+
arrow_schema_bytes=execute_response.arrow_schema_bytes,
506506
)
507507

508508
def _convert_json_to_arrow(self, rows: List[List]) -> "pyarrow.Table":

0 commit comments

Comments
 (0)