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

[SPARK-48289][DOCKER][TEST] Clean up Oracle JDBC tests by skipping redundant SYSTEM password reset #46598

Closed

Conversation

LucaCanali
Copy link
Contributor

What changes were proposed in this pull request?

This pull request improves the Oracle JDBC tests by skipping the redundant SYSTEM password reset.

Why are the changes needed?

These changes are necessary to clean up the Oracle JDBC tests.

This pull request effectively reverts the modifications introduced in SPARK-46592 and PR #44594, which attempted to work around the sporadic occurrence of ORA-65048 and ORA-04021 errors by setting the Oracle parameter DDL_LOCK_TIMEOUT.

As discussed in issue #35, setting DDL_LOCK_TIMEOUT did not resolve the issue. The root cause appears to be an Oracle bug or unwanted behavior related to the use of Pluggable Database (PDB) rather than the expected functionality of Oracle itself.

Additionally, with SPARK-48141, we have upgraded the Oracle version used in the tests to Oracle Free 23ai, version 23.4. This upgrade should help address some of the issues observed with the previous Oracle version.

Does this PR introduce any user-facing change?

No

How was this patch tested?

This patch was tested using the existing test suite, with a particular focus on Oracle JDBC tests. The following steps were executed:

export ENABLE_DOCKER_INTEGRATION_TESTS=1
./build/sbt -Pdocker-integration-tests "docker-integration-tests/testOnly org.apache.spark.sql.jdbc.OracleIntegrationSuite"

Was this patch authored or co-authored using generative AI tooling?

No

@github-actions github-actions bot added the SQL label May 15, 2024
@dongjoon-hyun
Copy link
Member

cc @yaooqinn

Copy link
Member

@yaooqinn yaooqinn left a comment

Choose a reason for hiding this comment

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

LGTM

@dongjoon-hyun
Copy link
Member

Feel free to merge, @yaooqinn .

…park/sql/jdbc/v2/OracleIntegrationSuite.scala
@yaooqinn yaooqinn closed this in 4ffaa2e May 16, 2024
@yaooqinn
Copy link
Member

Thank @LucaCanali @dongjoon-hyun

Merged to master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants