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


   ### What changes were proposed in this pull request?
   Remove `SessionState.refreshTable()` and modify the tests where the method 
is used.
   
   ### Why are the changes needed?
   There are already 2 methods with the same name in:
   - `SessionCatalog`
   - `CatalogImpl`
   
   One more method in `SessionState` does not give any benefits. By removing 
it, we can improve code maintenance.
   
   ### Does this PR introduce _any_ user-facing change?
   Should not because `SessionState` is an internal class.
   
   ### How was this patch tested?
   By running the modified test suites:
   ```
   $ build/sbt -Phive -Phive-thriftserver "test:testOnly 
*MetastoreDataSourcesSuite"
   $ build/sbt -Phive -Phive-thriftserver "test:testOnly *HiveOrcQuerySuite"
   $ build/sbt -Phive -Phive-thriftserver "test:testOnly 
*HiveParquetMetastoreSuite"
   ```


----------------------------------------------------------------
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