You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
auto status3 = arrow::Table::FromRecordBatches(batches);
As a side question, could you make available a util function to convert from pyarrow.Schema to the perspective schema (eg: {"col1": "integer", "col2": "string"}).
The text was updated successfully, but these errors were encountered:
Feature Request
Description of Problem:
I'm hosting arrow tables on a perspective server.
I get an error when I try to host empty tables. By empty table, I mean table with zero rows, but with columns and a well defined schema.
As a work around I have to explicitly pass the schema when the table is empty:
Potential Solutions:
I think it should be a simple change around this line:
perspective/cpp/perspective/src/cpp/arrow_loader.cpp
Line 94 in 452bfb0
As a side question, could you make available a util function to convert from
pyarrow.Schema
to the perspective schema (eg:{"col1": "integer", "col2": "string"}
).The text was updated successfully, but these errors were encountered: