-
Notifications
You must be signed in to change notification settings - Fork 234
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
Add ORC writing test cases for dictionary compression [databricks] #8798
Conversation
Signed-off-by: Chong Gao <[email protected]>
build |
Should be able to pass the premerge. |
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.
Really just some nits and follow on issues that I think would be good to do.
tests/src/test/scala/com/nvidia/spark/rapids/OrcQuerySuite.scala
Outdated
Show resolved
Hide resolved
tests/src/test/scala/com/nvidia/spark/rapids/OrcQuerySuite.scala
Outdated
Show resolved
Hide resolved
tests/src/test/scala/com/nvidia/spark/rapids/OrcQuerySuite.scala
Outdated
Show resolved
Hide resolved
tests/src/test/scala/com/nvidia/spark/rapids/OrcQuerySuite.scala
Outdated
Show resolved
Hide resolved
build |
build |
// get GPU encoding info | ||
val gpuEncodings = withGpuSparkSession(getEncodings) | ||
|
||
assertResult(cpuEncodings)(gpuEncodings) |
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.
A little nervous that these will not always be equal, but the test appears to be passing, so I think we might be good.
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.
The expected result is:
(DICTIONARY_V2, 2) // for column 1
(DICTIONARY_V2, 3) // for column 2
2 and 3 are the dictionary size.
This assert will be always safe.
build |
build |
closes #8797
Add ORC writing test cases for dictionary compression
Signed-off-by: Chong Gao [email protected]