-
I would like write a collection to an ipc writer (end goal is to write it into an http response body), but I can't figure out how to properly get a schema out of it.
this is the error I get
|
Beta Was this translation helpful? Give feedback.
Answered by
alamb
Jun 7, 2023
Replies: 1 comment
-
I think you need the Arrow schema (not the DFSchema, which is a wrapper) Maybe something like let schema = SchemaRef::from(df.schema());
return IPCWriterBuilder::try_new(&mut bytes,&schema); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
alamb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you need the Arrow schema (not the DFSchema, which is a wrapper)
Maybe something like