Skip to content

Commit 0ad2b7a

Browse files
committed
init
1 parent aa11f48 commit 0ad2b7a

File tree

3 files changed

+424
-9
lines changed

3 files changed

+424
-9
lines changed

libs/async-cassandra-dataframe/src/async_cassandra_dataframe/udt_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import pandas as pd
1313

1414

15-
def serialize_udt_for_dask(value: Any) -> str:
15+
def serialize_udt_for_dask(value: Any) -> Any:
1616
"""
1717
Serialize UDT dict to a special JSON format for Dask transport.
1818
@@ -37,7 +37,7 @@ def serialize_udt_for_dask(value: Any) -> str:
3737
serialized.append(item)
3838
return f"__UDT_LIST__{json.dumps(serialized)}"
3939
else:
40-
return str(value)
40+
return value
4141

4242

4343
def deserialize_udt_from_dask(value: Any) -> Any:

0 commit comments

Comments
 (0)