LocalDate
and LocalTime
are not Serialized Properly over Arrow
#5265
Labels
Milestone
LocalDate
and LocalTime
are not Serialized Properly over Arrow
#5265
Run in an Enterprise environment, but this reproducer is only using Core components.
Deephaven Version: 0.30.4
x = """
import jpy
from deephaven import dtypes
from deephaven import new_table
from deephaven.column import InputColumn
from deephaven.column import string_col
DateTimeFormatter = jpy.get_type("java.time.format.DateTimeFormatter")
LocalDate = jpy.get_type("java.time.LocalDate")
cols = []
ecd = LocalDate.parse("2023-03-19", DateTimeFormatter.ofPattern("yyyy-MM-dd"))
cols.append(InputColumn("localDateCol", dtypes.LocalDate, input_data=[ecd]))
cols.append(string_col('stringCol', ['someString']))
tbl = new_table(cols)
"""
worker.run_script(x)
tbl = worker.open_table('tbl')
print(tbl)
the below line should not segfault ...
z = tbl.to_arrow().to_pandas()
The text was updated successfully, but these errors were encountered: