-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-33130][SQL] Support ALTER TABLE in JDBC v2 Table Catalog: add, update type and nullability of columns (MsSqlServer dialect) #30038
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
|
Kubernetes integration test starting |
|
Kubernetes integration test status success |
|
Test build #129746 has finished for PR 30038 at commit
|
f01a096 to
c1605b0
Compare
|
Kubernetes integration test starting |
|
Kubernetes integration test status failure |
|
Test build #129821 has finished for PR 30038 at commit
|
|
Please rebase to get the latest change for |
...egration-tests/src/test/scala/org/apache/spark/sql/jdbc/v2/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
...egration-tests/src/test/scala/org/apache/spark/sql/jdbc/v2/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
...egration-tests/src/test/scala/org/apache/spark/sql/jdbc/v2/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
sql/core/src/main/scala/org/apache/spark/sql/jdbc/MsSqlServerDialect.scala
Outdated
Show resolved
Hide resolved
sql/core/src/main/scala/org/apache/spark/sql/jdbc/MsSqlServerDialect.scala
Outdated
Show resolved
Hide resolved
c1605b0 to
a119c99
Compare
|
Kubernetes integration test starting |
|
Kubernetes integration test status success |
|
Test build #130200 has finished for PR 30038 at commit
|
|
This needs more work, while testing this, I found rename column needs some work for mysql dialect. I am currently working on a patch for the same. |
a119c99 to
d9c6916
Compare
…r MsSql Server. Added unsupported feature exception for switching nullability using alter table.
d9c6916 to
1306944
Compare
|
Hi @huaxingao and @cloud-fan , This is ready for review ! |
|
Kubernetes integration test starting |
|
Kubernetes integration test starting |
|
Kubernetes integration test status success |
|
Kubernetes integration test status success |
|
Test build #130517 has finished for PR 30038 at commit
|
|
Test build #130516 has finished for PR 30038 at commit
|
...egration-tests/src/test/scala/org/apache/spark/sql/jdbc/v2/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
...egration-tests/src/test/scala/org/apache/spark/sql/jdbc/v2/MsSqlServerIntegrationSuite.scala
Show resolved
Hide resolved
...egration-tests/src/test/scala/org/apache/spark/sql/jdbc/v2/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
...egration-tests/src/test/scala/org/apache/spark/sql/jdbc/v2/MsSqlServerIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
|
Kubernetes integration test starting |
|
Kubernetes integration test status success |
|
Test build #130566 has finished for PR 30038 at commit
|
|
retest this please |
|
Kubernetes integration test starting |
|
Kubernetes integration test status failure |
|
Test build #130671 has finished for PR 30038 at commit
|
|
thanks, merging to master! |
|
Thanks !! |
What changes were proposed in this pull request?
Override the default SQL strings for:
ALTER TABLE RENAME COLUMN
ALTER TABLE UPDATE COLUMN NULLABILITY
in the following MsSQLServer JDBC dialect according to official documentation.
Write MsSqlServer integration tests for JDBC.
Why are the changes needed?
To add the support for alter table when interacting with MSSql Server.
Does this PR introduce any user-facing change?
How was this patch tested?
added tests