-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-27168][SQL][TEST] Add docker integration test for MsSql server #24099
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
Conversation
|
I am not sure how much SQL Server is intended to be supported or how much overhead this testing adds. I'm not against it. |
|
@srowen These docker integration tests are in external directory, they need user to manually kickoff in locally, I think it will not affects the build process overheads. |
|
ok to test |
...integration-tests/src/test/scala/org/apache/spark/sql/jdbc/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
...integration-tests/src/test/scala/org/apache/spark/sql/jdbc/MsSqlServerIntegrationSuite.scala
Show resolved
Hide resolved
...integration-tests/src/test/scala/org/apache/spark/sql/jdbc/MsSqlServerIntegrationSuite.scala
Show resolved
Hide resolved
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.
@lipzhu . This test suite should be verified manually. And, I cannot pass the tests with AS-IS PR code. @srowen . Was this okay in your environment? I want to be sure about that.
|
|
@dongjoon-hyun I just double confirm in local, the MsSqlServerIntegrationSuite can success. BTW, The memory setting have some gaps between tag |
|
Test build #103595 has finished for PR 24099 at commit
|
|
Test build #103598 has finished for PR 24099 at commit
|
|
reset this please. |
|
Interesting. The error log was #24099 (comment) . I'll try again since this is updated. Thanks, @lipzhu . |
...integration-tests/src/test/scala/org/apache/spark/sql/jdbc/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
...integration-tests/src/test/scala/org/apache/spark/sql/jdbc/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
...integration-tests/src/test/scala/org/apache/spark/sql/jdbc/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
...integration-tests/src/test/scala/org/apache/spark/sql/jdbc/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
...integration-tests/src/test/scala/org/apache/spark/sql/jdbc/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
|
@lipzhu . If you clear your maven repository and run For Apache Spark contribution, I'd like to recommend you the followings.
Due to (1) and (2), only you pass the test locally. Technically, this PR needs three following steps. Otherwise, it fails.
Lastly, please update |
|
Got it, thanks for your comments and review. @dongjoon-hyun |
|
Thank you for updating, @lipzhu ! I'll review again in a few hours. |
|
Hi, @lipzhu . |
...integration-tests/src/test/scala/org/apache/spark/sql/jdbc/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
...integration-tests/src/test/scala/org/apache/spark/sql/jdbc/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
...integration-tests/src/test/scala/org/apache/spark/sql/jdbc/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
...integration-tests/src/test/scala/org/apache/spark/sql/jdbc/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
...integration-tests/src/test/scala/org/apache/spark/sql/jdbc/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
...integration-tests/src/test/scala/org/apache/spark/sql/jdbc/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
...integration-tests/src/test/scala/org/apache/spark/sql/jdbc/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
...integration-tests/src/test/scala/org/apache/spark/sql/jdbc/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
Refactoring
|
Thank you for review and applying. |
dongjoon-hyun
left a comment
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.
+1, LGTM (Pending Jenkins).
Thank you for doing this.
|
Test build #103655 has finished for PR 24099 at commit
|
|
Test build #103649 has finished for PR 24099 at commit
|
|
retest this please |
|
Test build #103665 has finished for PR 24099 at commit
|
|
Thank you, @lipzhu , @srowen , @dilipbiswal . |
## What changes were proposed in this pull request? This PR aims to add a JDBC integration test for MsSql server. ## How was this patch tested? ``` ./build/mvn clean install -DskipTests ./build/mvn test -Pdocker-integration-tests -pl :spark-docker-integration-tests_2.12 \ -Dtest=none -DwildcardSuites=org.apache.spark.sql.jdbc.MsSqlServerIntegrationSuite ``` Closes apache#24099 from lipzhu/SPARK-27168. Lead-authored-by: Zhu, Lipeng <[email protected]> Co-authored-by: Dongjoon Hyun <[email protected]> Co-authored-by: Lipeng Zhu <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
|
Hi, All (and @gatorsmile ) Since this integration test suite is not tested on Jenkins, I cherry-picked and tested locally. |
## What changes were proposed in this pull request? This PR aims to add a JDBC integration test for MsSql server. ## How was this patch tested? ``` ./build/mvn clean install -DskipTests ./build/mvn test -Pdocker-integration-tests -pl :spark-docker-integration-tests_2.12 \ -Dtest=none -DwildcardSuites=org.apache.spark.sql.jdbc.MsSqlServerIntegrationSuite ``` Closes #24099 from lipzhu/SPARK-27168. Lead-authored-by: Zhu, Lipeng <[email protected]> Co-authored-by: Dongjoon Hyun <[email protected]> Co-authored-by: Lipeng Zhu <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
## What changes were proposed in this pull request? This PR aims to add a JDBC integration test for MsSql server. ## How was this patch tested? ``` ./build/mvn clean install -DskipTests ./build/mvn test -Pdocker-integration-tests -pl :spark-docker-integration-tests_2.12 \ -Dtest=none -DwildcardSuites=org.apache.spark.sql.jdbc.MsSqlServerIntegrationSuite ``` Closes apache#24099 from lipzhu/SPARK-27168. Lead-authored-by: Zhu, Lipeng <[email protected]> Co-authored-by: Dongjoon Hyun <[email protected]> Co-authored-by: Lipeng Zhu <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
## What changes were proposed in this pull request? This PR aims to add a JDBC integration test for MsSql server. ## How was this patch tested? ``` ./build/mvn clean install -DskipTests ./build/mvn test -Pdocker-integration-tests -pl :spark-docker-integration-tests_2.12 \ -Dtest=none -DwildcardSuites=org.apache.spark.sql.jdbc.MsSqlServerIntegrationSuite ``` Closes apache#24099 from lipzhu/SPARK-27168. Lead-authored-by: Zhu, Lipeng <[email protected]> Co-authored-by: Dongjoon Hyun <[email protected]> Co-authored-by: Lipeng Zhu <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>


What changes were proposed in this pull request?
This PR aims to add a JDBC integration test for MsSql server.
How was this patch tested?