t829702 commented on pull request #2035: URL: https://github.com/apache/arrow/pull/2035#issuecomment-693715948
since the [JS] implementation of IPC writers were merged in 2018, more than 2 years, but why the JS doc at https://arrow.apache.org/docs/js/classes/recordbatchwriter.html is still left mostly empty? When can we expect some JS examples of using RecordBatchWriter/RecordBatchFileWriter/RecordBatchStreamWriter to convert other data format (csv, json, avro, parq, ...) to arrow files? and since other implementations have 1.0.0 and 1.0.1 already, why the JS packages on NPM is still at 0.17.0; and the `bin/json-to-arrow.js` be packaged as a bin util? https://www.npmjs.com/package/apache-arrow So far I can only see the arrow2csv under apache-arrow-0.17.0 from NPM ```console ➸ ls ./node_modules/apache-arrow/bin/ arrow2csv.d.ts arrow2csv.js arrow2csv.js.map arrow2csv.mjs arrow2csv.mjs.map ``` https://github.com/apache/arrow/blob/master/js/bin/json-to-arrow.js#L86-L95 I have tried to run the master copy, but not sure what is a JSON Arrow file? can this script be used to convert any JSON file (to binary Arrow file)? ```js { header: 'json-to-arrow', content: 'Script for converting a JSON Arrow file to a binary Arrow file' }, { header: 'Synopsis', content: [ '$ json-to-arrow.js -j in.json -a out.arrow -f stream' ] }, ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
