You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Micah Kornfield (Jira)" <ji...@apache.org> on 2020/08/27 03:44:00 UTC
[jira] [Commented] (ARROW-9860) Arrow Flight JavaScript Client or
Example
[ https://issues.apache.org/jira/browse/ARROW-9860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17185586#comment-17185586 ]
Micah Kornfield commented on ARROW-9860:
----------------------------------------
I don't think there is an implementation of flight in JS yet. Probably the fastest way to get data to the browser is to [RecordBatchStreamWriter|[https://arrow.apache.org/docs/python/ipc.html]] from python over a websocket and the reading in JS. If bandwidth is a consideration, python should now support compressing buffers (I need to double check) but I don't think this support has been added to the JS implementation yet.
CC [~bhulette] [~paul.e.taylor] to correct any inaccuracies.
> Arrow Flight JavaScript Client or Example
> -----------------------------------------
>
> Key: ARROW-9860
> URL: https://issues.apache.org/jira/browse/ARROW-9860
> Project: Apache Arrow
> Issue Type: Wish
> Components: JavaScript, Python
> Reporter: Alex Monahan
> Priority: Major
>
> Is it possible to use Apache Arrow Flight to send data from a Python Web Server to a JavaScript browser client? If it is possible, is there a code example to use to get started?
>
> If this is not possible, what is the fastest way to send data from a Python Web Server to Apache Arrow in the browser today? Would it be faster to send a Parquet file and unpack it client-side, or send Arrow directly/with gzip/ etc.?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)