Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.15.1
Description
PARQUET_THROW_NOT_OK throws a ParquetStatusException, which contains a full Status rather than just an error string. These could be caught explicitly in PARQUET_CATCH_NOT_OK and the original status returned rather than creating a new status:
} catch (const ::parquet::ParquetStatusException& e) { \ return e.status(); \ } catch (const ::parquet::ParquetException& e) { \ return Status::IOError(e.what()) \
This will retain the original StatusCode rather than overwriting it with IOError.
Attachments
Issue Links
- links to