Repository navigation
Support nanosecond timestamps in parquet - #10063
rapids-bot[bot] merged 26 commits into
Conversation
|
This PR has been labeled |
6af6cc7 to
2467672
Compare
98d241b to
3113ede
Compare
devavret
left a comment
There was a problem hiding this comment.
Looks good. Only one blocking concern about statistics.
robertmaynard
left a comment
There was a problem hiding this comment.
CMake changes LGTM
|
@vuule requesting your review as well. |
Codecov Report
@@ Coverage Diff @@
## branch-22.04 #10063 +/- ##
================================================
- Coverage 86.13% 86.01% -0.13%
================================================
Files 139 139
Lines 22438 22435 -3
================================================
- Hits 19328 19298 -30
- Misses 3110 3137 +27
Continue to review full report at Codecov.
|
vuule
left a comment
There was a problem hiding this comment.
Looks great, especially changes to compact protocol RW.
Couple of nitpicks and a suspected bug:
|
@gpucibot merge |
…0483) Includes `<cstddef>` for `ptrdiff_t` in `parquet/compact_protocol_reader.hpp`. Compilation fails on GCC 11 without this include. Targeting 22.04 since this was broken yesterday in #10063. Error output: ``` cudf/cpp/src/io/parquet/compact_protocol_reader.hpp:51:17: error: 'ptrdiff_t' does not name a type 51 | [[nodiscard]] ptrdiff_t bytecount() const noexcept { return m_cur - m_base; } | cudf/cpp/src/io/parquet/compact_protocol_reader.hpp:22:1: note: 'ptrdiff_t' is defined in header '<cstddef>'; did you forget to '#include <cstddef>'? ``` Also includes `<optional>` in `cpp/include/cudf/table/experimental/row_operators.cuh`, which was broken by #10164. Authors: - Bradley Dice (https://github.com/bdice) Approvers: - Conor Hoekstra (https://github.com/codereport) - Yunsong Wang (https://github.com/PointKernel) URL: #10483
Closes #9393
This PR was intended to support nanoseconds for both duration and timestamp types in parquet. It introduces
LogicalType-handling on both reader and writer sides. This PR also includes code cleanups like movingCompactProtocolReaderto its own file. Finally, nanosecond durations remain unchanged since it's not fully supported bypyarrowi.e. nanosecond durations are truncated to microseconds (see here).