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

2022-05-29 Thread Micah Kornfield
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 wrote: > Hi dev@arrow, > > The pyarrow.jvm library contains the schema() function which can convert

[Python] Converting Python Schema Object to Java Schema Object

2022-05-21 Thread Srinivas Lade
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

2022-05-21 Thread Antoine Pitrou
Hello Srinivas, No, there is not. Also, the pyarrow.jvm is a bit limited currently, there are plans to rewrite it to make it more general (you may want to help contribute if you feel interested and skilled enough): https://issues.apache.org/jira/browse/ARROW-14319 Regards Antoine. Le 2

[Python] Converting Python Schema Object to Java Schema Object

2022-05-20 Thread Srinivas Lade
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?