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


   ### What changes were proposed in this pull request?
   For `InMemoryPartitionTable` used in tests, set empty partition metadata 
only when a partition doesn't exists.
   
   ### Why are the changes needed?
   This bug fix is needed to use `INSERT INTO .. PARTITION` in other tests.
   
   ### Does this PR introduce _any_ user-facing change?
   No. It affects only the v2 table catalog used in tests.
   
   ### How was this patch tested?
   Added new UT to `DataSourceV2SQLSuite`, and run the affected test suite by:
   ```
   $ build/sbt -Phive -Phive-thriftserver "test:testOnly 
org.apache.spark.sql.connector.DataSourceV2SQLSuite"
   ```


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to