-
Notifications
You must be signed in to change notification settings - Fork 915
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
Conversation
@@ -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 |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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.
There was a problem hiding this 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
superseded by #9765 |
No description provided.