MaxGekk opened a new pull request #30377:
URL: https://github.com/apache/spark/pull/30377


   ### What changes were proposed in this pull request?
   1. Move `SHOW PARTITIONS` parsing tests to `ShowPartitionsParserSuite`
   2. Place Hive tests for `SHOW PARTITIONS` from `HiveCommandSuite` to the 
base test suite `v1.ShowPartitionsSuiteBase`. This will allow to run the tests 
w/ and w/o Hive.
   
   The changes follow the approach of 
https://github.com/apache/spark/pull/30287.
   
   ### Why are the changes needed?
   - The unification will allow to run common `SHOW PARTITIONS` tests for both 
DSv1 and Hive DSv1, DSv2
   - We can detect missing features and differences between DSv1 and DSv2 
implementations.
   
   ### 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 
*ShowPartitionsSuite"`
   - and old one `build/sbt -Phive-2.3 -Phive-thriftserver "test:testOnly 
org.apache.spark.sql.hive.execution.HiveCommandSuite"`


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to