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

Write parquet with decimal columns in load_test #217

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ChrisJar
Copy link
Contributor

@ChrisJar ChrisJar commented May 21, 2021

This enables using load_test to create parquet files with decimal columns as well as reading in parquet files with decimal columns for running queries. However, as the csv reader/writer doesn't support decimal yet, the decimal values have to be read in as str and cast to decimal before they're written to parquet.

Due to: rapidsai/cudf#8311 the decimal columns appear to be type object however, the underlying type is decimal and they only appear as object when calling df.dtypes due to a metadata error.

Due to: rapidsai/cudf#8354 the original precision of each decimal column is lost, but this shouldn't affect the underlying values.

CC: @randerzander

@ChrisJar ChrisJar marked this pull request as ready for review May 25, 2021 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant