You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by Srinivas Lade <sr...@bodo.ai> on 2022/05/20 18:18:24 UTC

[Python] Converting Python Schema Object to Java Schema Object

Hi dev@arrow,

The pyarrow.jvm library contains the schema() function which can convert a
schema object from the arrow java library to a python object that pyarrow
can use. Is there a function that does the opposite: convert a pyarrow
schema to a java arrow schema?

Re: [Python] Converting Python Schema Object to Java Schema Object

Posted by Micah Kornfield <em...@gmail.com>.
I'm not aware of them (but not an expert here), you could do this by
serializing the schema as flatbuffers on one side and deserializing of the
other

On Sat, May 21, 2022 at 7:22 AM Srinivas Lade <sr...@bodo.ai> wrote:

> Hi dev@arrow,
>
> The pyarrow.jvm library contains the schema() function which can convert a
> schema object from the arrow java library to a python object that pyarrow
> can use. Is there a function that does the opposite: convert a pyarrow
> schema to a java arrow schema?
>