Skip to content

Commit

Permalink
passing down the right stream
Browse files Browse the repository at this point in the history
  • Loading branch information
romainfrancois committed Sep 27, 2019
1 parent 9ed32b6 commit aa34095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r/R/parquet.R
Original file line number Diff line number Diff line change
Expand Up @@ -196,5 +196,5 @@ write_parquet.OutputStream <- function(table, stream) {
write_parquet.character <- function(table, stream) {
file_stream <- FileOutputStream$create(stream)
on.exit(file_stream$close())
parquet___arrow___WriteTable(to_arrow(table), stream)
parquet___arrow___WriteTable(to_arrow(table), file_stream)
}

0 comments on commit aa34095

Please sign in to comment.