Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parquet decimal128 support #9706

Closed
wants to merge 138 commits into from

Conversation

devavret
Copy link
Contributor

No description provided.

@devavret devavret requested a review from vuule November 16, 2021 22:43
@devavret devavret requested review from a team as code owners November 16, 2021 22:43
@github-actions github-actions bot added conda Python Affects Python cuDF API. libcudf Affects libcudf (C++/CUDA) code. labels Nov 16, 2021
@devavret devavret marked this pull request as draft November 16, 2021 22:43
@@ -176,7 +176,8 @@ __global__ void __launch_bounds__(block_size)
}
}
dtype = s->col.physical_type;
dtype_len = (dtype == INT96) ? 12
dtype_len = (dtype == FIXED_LEN_BYTE_ARRAY) ? 16
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should probably also check if col type is decimal128

expected_metadata.column_metadata[1].set_name("decimal64s").set_decimal_precision(10);
expected_metadata.column_metadata[2].set_name("decimal128s").set_decimal_precision(10);

auto filepath = ("MultiColumn.parquet");
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This test fails because the reader doesn't support reading decimal128 but the file created by this test can be read with pyarrow to confirm that the writing is correct.

Copy link
Member

@ajschmidt8 ajschmidt8 left a comment

Choose a reason for hiding this comment

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

Approving ops-codeowner file changes

@devavret
Copy link
Contributor Author

devavret commented Dec 7, 2021

superseded by #9765

@devavret devavret closed this Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libcudf Affects libcudf (C++/CUDA) code. Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants