pachamaltese commented on a change in pull request #9893:
URL: https://github.com/apache/arrow/pull/9893#discussion_r607370161
##########
File path: r/R/parquet.R
##########
@@ -52,10 +52,16 @@ read_parquet <- function(file,
schema <- reader$GetSchema()
names <- names(schema)
indices <- match(vars_select(names, !!col_select), names) - 1L
- tab <- reader$ReadTable(indices)
+ tab <- tryCatch(
+ reader$ReadTable(indices),
+ error = function(e) { read_compressed_error(e) }
Review comment:
I've applied the same change to all similar lines in this PR
--
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]