Repository navigation
Remove deprecated methods from Java Table class - #9853
Merged
rapids-bot[bot] merged 1 commit intoDec 7, 2021
Merged
Conversation
revans2
approved these changes
Dec 7, 2021
Codecov Report
@@ Coverage Diff @@
## branch-22.02 #9853 +/- ##
================================================
- Coverage 10.49% 10.44% -0.05%
================================================
Files 119 119
Lines 20305 20423 +118
================================================
+ Hits 2130 2133 +3
- Misses 18175 18290 +115
Continue to review full report at Codecov.
|
Contributor
Author
|
@gpucibot merge |
rapids-bot Bot
pushed a commit
that referenced
this pull request
Dec 8, 2021
Depends on #9853 Current behavior is to throw when an ORC column has precision that is too high for decimal64. This PR changes the behavior to instead read the column as decimal128, when precision is too high for 64 bits. This reduces the need for the use of `decimal128_columns` option. Also modified the decimal type inference to use decimal32 when the precision is sufficiently low, reducing memory use in such case. Adds a temporary option to disable decimal128 use. This option is used in Python to get a readable error message in this case, while allowing decimal128 use by other callers. Authors: - Vukasin Milovanovic (https://github.com/vuule) - Jason Lowe (https://github.com/jlowe) Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) - Mark Harris (https://github.com/harrism) - Mike Wilson (https://github.com/hyperbolic2346) URL: #9775
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relates to #9851. This removes deprecated methods from the Java Table class, including APIs that would allow writing ORC files without specifying metadata via writer options needed for some columns (e.g.: precision for decimal columns). This also fixes a test where decimal precisions where not specified despite trying to write decimal columns to ORC. Javadoc errors introduced by #9096 were also corrected.