Commits


Hatem Helal authored and Antoine Pitrou committed 5f8f08bd4a7
PARQUET-1565: [C++] Add default case to catch all unhandled physical types This should prevent the SEGV observed when calling `FromParquetSchema` while reading the corrupt file [PARQUET-1481](https://github.com/apache/parquet-testing/blob/master/bad_data/PARQUET-1481.parquet) Author: Hatem Helal <hhelal@mathworks.com> Author: Hatem Helal <hatem.helal@gmail.com> Closes #4171 from hatemhelal/parquet-1565 and squashes the following commits: 8f6286ad6 <Hatem Helal> reworked TryReadDataFile to accept an expected status code f2fb6160a <Hatem Helal> remove unnecessary try..catch 81ffcb2c0 <Hatem Helal> clang-format changes 22adb4ac5 <Hatem Helal> use google style function argument comments ac12dce81 <Hatem Helal> rename function parameter d928095b8 <Hatem Helal> Fix IWYU failure 584995bb9 <Hatem Helal> Add test util for looking up good and bad PARQUET_TEST_DATA files a8c832bff <Hatem Helal> Fix regression test for PARQUET-1481 0945fc03d <Hatem Helal> Add unittest for IOError when reading a corrupt Parquet file 9cbe77fb9 <Hatem Helal> Add default case to catch all unhandled physical types