Roy Assis created ARROW-17397:
---------------------------------
Summary: [R] Does R API for Apache Arrow has a tableFromIPC
function ?
Key: ARROW-17397
URL: https://issues.apache.org/jira/browse/ARROW-17397
Project: Apache Arrow
Issue Type: Improvement
Reporter: Roy Assis
I'm building an API using python and flask. I want to return a dataframe from
the API, i'm serializing the dataframe like so and sending it in the response:
{code:python}
batch = pa.record_batch(df)
sink = pa.BufferOutputStream()
with pa.ipc.new_stream(sink, batch.schema) as writer:
writer.write_batch(batch)
pybytes = sink.getvalue().to_pybytes()
{code}
Is it possible to read it with R ? If so can you provide a code snippet.
Best,
Roy
--
This message was sent by Atlassian Jira
(v8.20.10#820010)