Skip to content

[FEA] Add DELTA_BINARY_PACKED decoding support to Parquet reader - #13637

Merged
rapids-bot[bot] merged 85 commits into
NVIDIA:branch-23.10from
etseidl:feature/delta_binary
Aug 23, 2023
Merged

rapids-bot[bot] merged 85 commits into
NVIDIA:branch-23.10from
etseidl:feature/delta_binary

Conversation

@etseidl

@etseidl etseidl commented Jun 29, 2023 •

Copy link
Copy Markdown
Contributor

Description

Part of #13501. This adds support for decoding Parquet pages that are DELTA_BINARY_PACKED.

In addition to adding delta support, this PR incorporates changes introduced in #13622, such as using a mask to determine which decoding kernels to run, and adding parameters to the page_state_buffers_s struct to reduce the amount of shared memory used.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@rapids-bot

rapids-bot Bot commented Jun 29, 2023

Copy link
Copy Markdown
Contributor

Pull requests from external contributors require approval from a rapidsai organization member with write permissions or greater before CI can begin.

@github-actions github-actions Bot added libcudf Affects libcudf (C++/CUDA) code. CMake CMake build issue labels Jun 29, 2023
@github-actions github-actions Bot added the Python Affects Python cuDF API. label Jun 29, 2023
@vuule vuule added feature request New feature or request cuIO cuIO issue non-breaking Non-breaking change labels Jun 30, 2023
@vuule

vuule commented Jun 30, 2023

Copy link
Copy Markdown
Contributor

/ok to test

@etseidl etseidl mentioned this pull request Aug 18, 2023
3 tasks done
zhuoxunyi referenced this pull request Aug 23, 2023
Fixes: #13864 

This PR fixes an issue with `loc` indexer where some special handling needs to be done when `columns` is of type `MultiIndex`.

Authors:
  - GALI PREM SAGAR (https://github.com/galipremsagar)

Approvers:
  - Lawrence Mitchell (https://github.com/wence-)

URL: #13929

@bdice bdice left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CMake approval.

Comment thread python/cudf/cudf/tests/test_parquet.py Resolved

@galipremsagar galipremsagar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving with a suggestion.

@vuule

vuule commented Aug 23, 2023

Copy link
Copy Markdown
Contributor

/ok to test

@vuule vuule added the 5 - Ready to Merge Testing and reviews complete, ready to merge label Aug 23, 2023
@vuule

vuule commented Aug 23, 2023

Copy link
Copy Markdown
Contributor

/merge

@rapids-bot
rapids-bot Bot merged commit c39c04d into NVIDIA:branch-23.10 Aug 23, 2023
@etseidl
etseidl deleted the feature/delta_binary branch August 26, 2023 18:22
rapids-bot Bot pushed a commit that referenced this pull request Sep 13, 2023
#13637 added a static stream pool object for use by the Parquet reader. This PR expands upon that by:

- Moving the stream pool to the `cudf::detail` namespace.
- Adding a debugging implementation that always returns the default stream.
- Hiding implementation details behind a more streamlined interface.
- Using cuda events for synchronization.

Authors:
  - Ed Seidl (https://github.com/etseidl)
  - Vukasin Milovanovic (https://github.com/vuule)
  - Mark Harris (https://github.com/harrism)

Approvers:
  - Bradley Dice (https://github.com/bdice)
  - Vukasin Milovanovic (https://github.com/vuule)
  - Mark Harris (https://github.com/harrism)

URL: #13922
wjxiz1992 added a commit to NVIDIA/cudf-spark that referenced this pull request Sep 7, 2026
…bricks] (#15852)

**JaCoCo production line coverage: +0 lines** (measured: `delta-lake`,
`shuffle-plugin`, `sql-plugin`, `udf-compiler`; shim 350, vs nightly
b19; `delta-lake` report group is stub-only; Iceberg implementation not
loaded/applicable)

Contributes to NVIDIA/cudf#13501.

### Description

Five Parquet V2 encoding fixtures remained xfailed after cuDF added the
corresponding reader support in NVIDIA/cudf#13637, NVIDIA/cudf#14101,
and NVIDIA/cudf#14590. The resolved cudf-spark JNI artifact embeds cuDF
revision `c2c4e85881a52e93e042a59cf88b7633147760c2`, which contains all
three fixes.

This change removes only those five fixture entries from `_xfail_files`.
The existing `test_parquet_testing_valid_files` test continues to
compare CPU and GPU results under both native and Java reader
configurations, recovering 10 test nodes. Other issue-linked xfails in
the shared mapping are unchanged.

Validation:
- Spark 3.5 distribution and integration-test build: all 16 reactor
modules succeeded; `BUILD SUCCESS`.
- Forced pre-edit unmasked run of the five fixtures: `10 passed, 86
deselected, 12 warnings in 7.90s`.
- Focused post-edit run without `--runxfail`: `10 passed, 86 deselected,
12 warnings in 8.91s`.
- Complete `parquet_testing_test.py`: `84 passed, 4 xfailed, 8 xpassed,
90 warnings in 36.49s`.
- All 10 recovered JUnit nodes passed; the plans contained 30
`GpuFileGpuScan` occurrences and no CPU-fallback markers.
- Post-edit exemption scan: zero NVIDIA/cudf#13501 matches; the five
parameter cases are recovered while unrelated shared-map trackers
remain.

AI assistance: The change was prepared with Codex assistance and
reviewed by the author at commit
`ab12239d371d07abdd300422230a81b3eebec0ca` before submission. The PR
description was prepared with Codex assistance.

### Checklists

Documentation
- [ ] Updated for new or modified user-facing features or behaviors
- [x] No user-facing change

Testing
- [x] Added or modified tests to cover new code paths
- [ ] Covered by existing tests
(Please provide the names of the existing tests in the PR description.)
- [ ] Not required

Performance
- [ ] Tests ran and results are added in the PR description
- [ ] Issue filed with a link in the PR description
- [x] Not required

---------

Signed-off-by: Allen Xu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5 - Ready to Merge Testing and reviews complete, ready to merge CMake CMake build issue cuIO cuIO issue feature request New feature or request libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change Python Affects Python cuDF API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants