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

Fix Parquet test_round_trip to avoid CPU write exception #3203

Merged

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Aug 11, 2021

Fixes #3195.

#3175 added timestamp generation to maps, and Parquet has issues writing old timestamps even on the CPU for Spark 3.1+ unless the new spark.sql.legacy.parquet.int96RebaseModeInWrite is set properly.

I updated the parquet tests to set the int96 rebase config to match the datetime rebase config so we'll get the expected behavior when writing on the CPU whether it's Spark 3.0.x or Spark 3.1+. I also updated the parquet test to use a limited timestamp range for the timestamps within maps.

Signed-off-by: Jason Lowe <jlowe@nvidia.com>
@jlowe jlowe added the test Only impacts tests label Aug 11, 2021
@jlowe jlowe added this to the Aug 2 - Aug 13 milestone Aug 11, 2021
@jlowe jlowe self-assigned this Aug 11, 2021
@jlowe
Copy link
Member Author

jlowe commented Aug 11, 2021

build

@jlowe
Copy link
Member Author

jlowe commented Aug 11, 2021

Unrelated tests are failing, looks like the executor just mysteriously hung up.

@jlowe
Copy link
Member Author

jlowe commented Aug 11, 2021

build

@tgravescs tgravescs merged commit 1fc3704 into NVIDIA:branch-21.10 Aug 12, 2021
@jlowe jlowe deleted the fix-parquet-round-trip-timestamps branch September 10, 2021 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Only impacts tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] failures parquet_test test:read_round_trip
3 participants