Commits


Eric Conlon authored and Wes McKinney committed c522bea0528
ARROW-2555: [C++/Python] Allow Parquet-Arrow writer to truncate timestamps instead of failing Plumbs an option `allow_truncated_timestamps` through ParquetWriter and the like. If this option is set, it allows timestamps to be coerced from us to ms without complaining or crashing. Author: Eric Conlon <econlon@lyft.com> Author: Wes McKinney <wesm+git@apache.org> Closes #2629 from ejconlon/econlon/pycoerce and squashes the following commits: 79ee48373 <Wes McKinney> Add documentation for allow_truncated_timestamps, explicit parameter to write_table a4497fb2d <Eric Conlon> comment lint 8068dbe48 <Eric Conlon> pylint 7c0fe6faa <Eric Conlon> format 791fe7dcc <Eric Conlon> consistent truncated naming 67f032d26 <Eric Conlon> add python test for truncated timestamps 046ac3791 <Eric Conlon> flake8 line length fixed 56ed9ebbd <Eric Conlon> revert removal of clang format version cd424b814 <Eric Conlon> fix clang-format issues 48a842cbc <Eric Conlon> cpp test for truncation 2c4bdae87 <Eric Conlon> allow truncation 169b87394 <Eric Conlon> add option to allow truncating timestamps