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

impalaFile cannot be found by UT framework. #11707

Open
wants to merge 4 commits into
base: branch-24.12
Choose a base branch
from

Conversation

Feng-Jiang28
Copy link
Collaborator

close #11448

This pr is for "parquet timestamp conversion" test case, that couldn't load test-data/impala_timestamp.parq from class path.

Signed-off-by: fejiang <[email protected]>
Signed-off-by: fejiang <[email protected]>
@Feng-Jiang28
Copy link
Collaborator Author

build

thirtiseven
thirtiseven previously approved these changes Nov 7, 2024
Copy link
Collaborator

@thirtiseven thirtiseven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, only a nit

class RapidsParquetInteroperabilitySuite
extends ParquetInteroperabilitySuite
with RapidsSQLTestsBaseTrait {}
with RapidsSQLTestsBaseTrait {
test("parquet timestamp conversion in Rapids"){
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: use testRapids("parquet timestamp conversion") or test("parquet timestamp conversion Rapids") { ?

Signed-off-by: fejiang <[email protected]>
Signed-off-by: fejiang <[email protected]>
@Feng-Jiang28
Copy link
Collaborator Author

build

@@ -77,7 +77,7 @@ class RapidsTestSettings extends BackendTestSettings {
enableSuite[RapidsParquetFieldIdSchemaSuite]
enableSuite[RapidsParquetInteroperabilitySuite]
.exclude("SPARK-36803: parquet files with legacy mode and schema evolution", KNOWN_ISSUE("https://github.com/NVIDIA/spark-rapids/issues/11454"))
.exclude("parquet timestamp conversion", KNOWN_ISSUE("https://github.com/NVIDIA/spark-rapids/issues/11448"))
.exclude("parquet timestamp conversion", ADJUST_UT("impala_timestamp cannot be found"))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So just to be clear her the ADJUST_UT means that the test cannot pass so we wrote a new test to cover the same thing?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the old one need to be exclued from the suites ParquetInteroperabilitySuite which RapidsParquetInteroperabilitySuite inherites. In this case, the impala_timestamp file cannot be found by the way used in the old test case, so I changed some code to enable impala_timestamp to be found and put it in ParquetInteroperabilitySuite.

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.

[BUG] Spark UT framework: parquet timestamp conversion
3 participants