ianmcook commented on code in PR #39081: URL: https://github.com/apache/arrow/pull/39081#discussion_r1416239595
########## http/examples/get/client.R: ########## @@ -0,0 +1,24 @@ +library(httr) +library(arrow) +library(tictoc) + +url <- 'http://localhost:8000' + +tic() + +response <- GET(url) +buffer <- content(response, "raw") +reader <- RecordBatchStreamReader$create(buffer) +table <- reader$read_table() + +# or: +#batches <- reader$batches() +# but this is very slow Review Comment: @paleolimbot I couldn't find a fast way to convert the IPC stream into a list of record batches in R. Any ideas? -- 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]
