-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request]: Converting the query result to Apache Arrow format in server side. #1198
Comments
@JinHai-CN Hi, I did some investigation on the codebase, mainly focusing on the protocol layer and execution engine of Infinity. Regarding this issue, I have some questions:
|
The plan has two steps:
Yes, the examples are barely use to_arrow method. But arrow or data-frame are massively used in most production environments.
Yes, your understanding is correct. We plan to support Arrow flight protocol to eliminate the serialization and deserialization cost. And the HTTP API didn't use thrift in the past, and won't use Arrow flight protocol in the future.
Mandatory.
Excepts HTTP API, it shall works on all RPC protocols and Embedded API of python SDK.
|
@JinHai-CN Please assign me. I will start by creating a PoC to add support for converting to the Arrow format in the server side and for integrating the Arrow Flight protocol in both sides. |
Is there an existing issue for the same feature request?
Is your feature request related to a problem?
No response
Describe the feature you'd like
Currently, query results are stored in memory in a columnar format. However, the client expects the results in Apache Arrow format. At the moment, the format conversion is executed on the Python client, but this worsens the performance, so we plan to convert the results to Apache Arrow format on the server side before sending them to the client.
Describe implementation you've considered
No response
Documentation, adoption, use case
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: