-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUG] Pass parquet2 io errors correctly into arrow2 (#3012)
In 7fe3dbc, two changes were made that caused parquet2 io errors to be mishandled. Firstly, a `IoError` for parquet2 was introduced. However in the implementation of `parquet2::error::Error` for `arrow2::error:Error`, any parquet2 error that is not `FeatureNotActive` or `Transport` is transformed into an `ExternalFormat` error. Secondly, arrow2 IO errors are intended to be marked as `ByteStreamError`s, primarily so that they are handled as transient errors and can be retried appropriately. However this special case was removed. This PR makes now classifies parquet2 io errors as arrow2 io errors, and arrow2 io errors are now marked as `ByteStreeamError`s. --------- Co-authored-by: Raunak Bhagat <[email protected]>
- Loading branch information
1 parent
272163f
commit 648b804
Showing
4 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters