Skip to content

Commit

Permalink
Sync with changes to JPY
Browse files Browse the repository at this point in the history
  • Loading branch information
jmao-denver committed Jan 10, 2024
1 parent b8fbb3c commit 787de1b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions py/server/deephaven/arrow.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ def to_table(pa_table: pa.Table, cols: List[str] = None) -> Table:
dh_schema = pa.schema(dh_fields)

try:
pa_buffer = dh_schema.serialize()
j_barrage_table_builder.setSchema(pa_buffer)
j_barrage_table_builder.setSchema(jpy.byte_buffer(dh_schema.serialize()))

record_batches = pa_table.to_batches()
j_barrage_table_builder.addRecordBatches([jpy.byte_buffer(rb.serialize()) for rb in record_batches])
Expand Down

0 comments on commit 787de1b

Please sign in to comment.