Skip to content

[DNM] Add initial tests for Parquet to cuDF dictionary transcode - #21728

Closed
mhaseeb123 wants to merge 3 commits into
NVIDIA:mainfrom
mhaseeb123:fea/test-pq-reader-dict-transcode
Closed

[DNM] Add initial tests for Parquet to cuDF dictionary transcode#21728
mhaseeb123 wants to merge 3 commits into
NVIDIA:mainfrom
mhaseeb123:fea/test-pq-reader-dict-transcode

Conversation

@mhaseeb123

@mhaseeb123 mhaseeb123 commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

Description

Contributes to #15199

DO NOT MERGE: This PR only contains what we want from Parquet to cuDF dictionary transcode work and a test to validate it.

Checklist

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

@copy-pr-bot

copy-pr-bot Bot commented Mar 10, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@github-actions github-actions Bot added libcudf Affects libcudf (C++/CUDA) code. CMake CMake build issue labels Mar 10, 2026
// Write parquet
auto const input_tbl = cudf::table_view{{input_col}};
auto const filepath = temp_env->get_temp_filepath("DictDecodeParquet.parquet");
write_parquet(input_tbl, filepath);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Parquet file will have 1 col x 5000 rows of low cardinality (500) data for dictionary encoding. Shape: 5 row groups (each with 1000 rows)

@mhaseeb123 mhaseeb123 added the DO NOT MERGE Hold off on merging; see PR for details label Mar 10, 2026
@mhaseeb123 mhaseeb123 changed the title 🚧 Add initial tests for Parquet to cuDF dictionary transcode [DNM] Add initial tests for Parquet to cuDF dictionary transcode Mar 10, 2026
constexpr auto has_column_projection = false;

// Read page indexes if available here since we will want to reuse the raw metadata for later use.
// Read page indexes if available here since we will want to reuse the raw metadata for later

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ignore this gem from clangd

@mhaseeb123

Copy link
Copy Markdown
Contributor Author

Superseded by #22247. Closing

@mhaseeb123 mhaseeb123 closed this Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CMake CMake build issue DO NOT MERGE Hold off on merging; see PR for details libcudf Affects libcudf (C++/CUDA) code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant