Skip to content

Commit

Permalink
Fix a bug when reading from a connection
Browse files Browse the repository at this point in the history
It only worked for files smaller than 1MB.
  • Loading branch information
gaborcsardi committed Jan 29, 2025
1 parent 4706b9d commit 4460607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/read-parquet.R
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ dump_connection <- function(con, path) {
if (length(buf) == 0) {
break
}
writeBin(buf, path)
writeBin(buf, ocon)
}
close(ocon)
}
Expand Down

0 comments on commit 4460607

Please sign in to comment.