pronzato commented on issue #315: URL: https://github.com/apache/arrow-cookbook/issues/315#issuecomment-1629500986
Thank you David - your help is greatly appreciated - getting closer but not fully there yet. The specific use case I'm trying to implement is to use the Arrow JDBC adapter to convert a ResultSet to Arrow and then also persist that data to a parquet file. So I have: ArrowVectorIterator i = JdbcArrow.sqlToArrowVectorIterator(resultSet allocator); But then I don't know how to create the Arrow reader needed by the DatasetFileWriter: DatasetFileWriter.write(allocator, ?, FileFormat.PARQUET, "/tmp/foo.parquet"); On Mon, Jul 10, 2023, 7:31 AM David Li ***@***.***> wrote: > You're best off using the JNI bindings: > https://github.com/apache/arrow/blob/main/java/dataset/src/main/java/org/apache/arrow/dataset/file/DatasetFileWriter.java > > CC @davisusanibar <https://github.com/davisusanibar> there's no cookbook > example for this > > — > Reply to this email directly, view it on GitHub > <https://github.com/apache/arrow-cookbook/issues/315#issuecomment-1628780914>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ACO7PHBVPZKXPATKCD5UGNTXPPRZFANCNFSM6AAAAAA2DO2TY4> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> > -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
