Skip to content

[SPARK-37599][SQL][TESTS] Unify v1 and v2 ALTER TABLE .. SET LOCATION tests#37376

Closed
panbingkun wants to merge 4 commits intoapache:masterfrom
panbingkun:SPARK-37599
Closed

[SPARK-37599][SQL][TESTS] Unify v1 and v2 ALTER TABLE .. SET LOCATION tests#37376
panbingkun wants to merge 4 commits intoapache:masterfrom
panbingkun:SPARK-37599

Conversation

@panbingkun
Copy link
Contributor

What changes were proposed in this pull request?

  • Move parser tests from DDLParserSuite to AlterTableSetLocationParserSuite.
  • Port DS v1 tests from DDLSuite and other test suites to v1.AlterTableSetLocationSuite.
  • Add a test for DSv2 ALTER TABLE .. SET SERDE to v2.AlterTableSetLocationSuite.

Why are the changes needed?

To improve test coverage.

Does this PR introduce any user-facing change?

No

How was this patch tested?

By running new test suites:

$ build/sbt -Phive-2.3 -Phive-thriftserver "test:testOnly *AlterTableSetLocationSuite"
$ build/sbt -Phive-2.3 -Phive-thriftserver "test:testOnly *AlterTableSetLocationParserSuite"

@github-actions github-actions bot added the SQL label Aug 2, 2022
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@panbingkun
Copy link
Contributor Author

cc @MaxGekk

@panbingkun panbingkun requested a review from MaxGekk August 11, 2022 08:42
@MaxGekk
Copy link
Member

MaxGekk commented Aug 14, 2022

+1, LGTM. Merging to master.
Thank you, @panbingkun.

@MaxGekk MaxGekk closed this in 38c779d Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants