Skip to content

Fix compilation of benchmark for parquet writer. - #9905

Merged
rapids-bot[bot] merged 3 commits into
NVIDIA:branch-22.02from
bdice:fix-benchmark-parquet-writer
Dec 15, 2021
Merged

rapids-bot[bot] merged 3 commits into
NVIDIA:branch-22.02from
bdice:fix-benchmark-parquet-writer

Conversation

@bdice

@bdice bdice commented Dec 15, 2021 •

Copy link
Copy Markdown
Contributor

This fixes a compilation error introduced in #9810. Tagging @devavret @vuule for review. Feel free to push to this PR with any fixes.

@bdice
bdice requested a review from a team as a code owner December 15, 2021 01:00
@bdice
bdice requested review from jrhemstad and vyasr December 15, 2021 01:00
@bdice bdice self-assigned this Dec 15, 2021
@github-actions github-actions Bot added the libcudf Affects libcudf (C++/CUDA) code. label Dec 15, 2021
@bdice bdice added bug Something isn't working libcudf blocker labels Dec 15, 2021
@bdice
bdice requested review from devavret and vuule December 15, 2021 01:01
@bdice
bdice requested a review from vuule December 15, 2021 01:05
@bdice bdice added the non-breaking Non-breaking change label Dec 15, 2021
@codecov

codecov Bot commented Dec 15, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #9905 (e675d63) into branch-22.02 (967a333) will decrease coverage by 0.07%.
The diff coverage is n/a.

❗ Current head e675d63 differs from pull request most recent head 3e73b4e. Consider uploading reports for the commit 3e73b4e to get more accurate results
Impacted file tree graph

@@               Coverage Diff                @@
##           branch-22.02    #9905      +/-   ##
================================================
- Coverage         10.49%   10.41%   -0.08%     
================================================
  Files               119      119              
  Lines             20305    20498     +193     
================================================
+ Hits               2130     2134       +4     
- Misses            18175    18364     +189     
Impacted Files Coverage Δ
python/dask_cudf/dask_cudf/sorting.py 92.30% <0.00%> (-0.61%) ⬇️
python/cudf/cudf/__init__.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/frame.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/index.py 0.00% <0.00%> (ø)
python/cudf/cudf/io/parquet.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/series.py 0.00% <0.00%> (ø)
python/cudf/cudf/utils/utils.py 0.00% <0.00%> (ø)
python/cudf/cudf/utils/ioutils.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/dataframe.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/multiindex.py 0.00% <0.00%> (ø)
... and 14 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fc2a32a...3e73b4e. Read the comment docs.

@bdice

bdice commented Dec 15, 2021

Copy link
Copy Markdown
Contributor Author

Java CI is failing, seemingly because of another change from #9810. https://gpuci.gpuopenanalytics.com/job/rapidsai/job/gpuci/job/cudf/job/prb/job/cudf-java/CUDA=11.5,GPU_LABEL=gpu,LINUX_VER=centos7,PYTHON=3.7/3289/console

20:18:44      [exec] /workspace/java/src/main/native/src/TableJni.cpp: In function ‘void cudf::jni::{anonymous}::createTableMetaData(JNIEnv*, jint, _jobjectArray*&, _jintArray*&, _jbooleanArray*&, _jobjectArray*&, _jobjectArray*&, _jbooleanArray*&, _jintArray*&, _jbooleanArray*&, cudf::io::table_input_metadata&)’:
20:18:49      [exec] /workspace/java/src/main/native/src/TableJni.cpp:746:14: error: ‘class cudf::io::table_input_metadata’ has no member named ‘user_data’
20:18:49      [exec]   746 |     metadata.user_data[meta_keys[i].get()] = meta_values[i].get();
20:18:49      [exec]       |              ^~~~~~~~~
20:18:49      [exec] make[2]: *** [CMakeFiles/cudfjni.dir/build.make:286: CMakeFiles/cudfjni.dir/src/TableJni.cpp.o] Error 1

Points to this line: https://github.com/rapidsai/cudf/blob/fc2a32a1576d97a48b0c1c983ef4b31285267e96/java/src/main/native/src/TableJni.cpp#L746

...but the user_data field was removed in #9810.

@bdice

bdice commented Dec 15, 2021 •

Copy link
Copy Markdown
Contributor Author

I think the Java CI fix is out of scope for this PR. I looked at it but it seems nontrivial and more deeply linked to the changes in #9810. Since #9810 was previously merged with this Java failure, I will merge this PR to fix the benchmark compilation error. The Java failure can be separately fixed.

@bdice

bdice commented Dec 15, 2021

Copy link
Copy Markdown
Contributor Author

@gpucibot merge

@rapids-bot
rapids-bot Bot merged commit 3428f7f into NVIDIA:branch-22.02 Dec 15, 2021
@bdice
bdice deleted the fix-benchmark-parquet-writer branch December 15, 2021 04:09
@bdice bdice mentioned this pull request Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants