We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f50d9ab commit 87d73daCopy full SHA for 87d73da
src/databricks/sql/backend/sea/result_set.py
@@ -106,7 +106,7 @@ def _convert_complex_types_to_string(
106
def convert_complex_column_to_string(col: "pyarrow.Array") -> "pyarrow.Array":
107
python_values = col.to_pylist()
108
json_strings = [
109
- (None if val is None else json.dumps(val)) for val in python_values
+ (json.dumps(val) if val is not None else None) for val in python_values
110
]
111
return pyarrow.array(json_strings, type=pyarrow.string())
112
0 commit comments