agneborn98 commented on issue #13853: URL: https://github.com/apache/arrow/issues/13853#issuecomment-1212135724
I tried setting up the same process in a python script, but I don't know if I am doing this correctly either, I don't have much python experience. ``` client = flight.FlightClient('grpc://127.0.0.1:9999') desc = "data" descriptor = flight.FlightDescriptor.for_path(desc) schemaResult = client.get_schema(descriptor, None) schema = getattr(schemaResult, "schema") print(schema) deserialized = pyarrow.deserialize(schema) print (deserialized) ``` But I get this error, which seems weird to me: ``` PS C:\Users\fragn\Documents\test> python test.py Traceback (most recent call last): File "C:\Users\fragn\Documents\test\test.py", line 15, in <module> schema = getattr(schemaResult, "schema") File "pyarrow\_flight.pyx", line 721, in pyarrow._flight.SchemaResult.schema.__get__ File "pyarrow\_flight.pyx", line 81, in pyarrow._flight.check_flight_status File "pyarrow\error.pxi", line 115, in pyarrow.lib.check_status OSError: Invalid flatbuffers message. ``` When I print the SchemaResult some object is definitely there(`<pyarrow._flight.SchemaResult object at 0x000001C9E92770B0>`), but it's like it cannot retrieve the schema from the SchemaResult. Is my code broken? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org