You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/01/03 09:31:47 UTC

[GitHub] [spark] MaxGekk opened a new pull request #30997: [SPARK-33965][SQL][TESTS] Recognize `spark_catalog` by `CACHE TABLE` in Hive table names

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


   ### What changes were proposed in this pull request?
   Remove special handling of `CacheTable` in `TestHiveQueryExecution. analyzed` because it prevents support of `spark_catalog` in Hive table names. `spark_catalog` is handled by a few lines below:
   ```scala
         case UnresolvedRelation(ident, _, _) =>
           if (ident.length > 1 && ident.head.equalsIgnoreCase(CatalogManager.SESSION_CATALOG_NAME)) {
   ```
   added by https://github.com/apache/spark/pull/30883.
   
   ### Why are the changes needed?
   1. To have feature parity with v1 In-Memory catalog.
   2. To be able to write unified tests for In-Memory and Hive external catalogs.
   
   ### Does this PR introduce _any_ user-facing change?
   Should not.
   
   ### How was this patch tested?
   By running the test suite with new UT:
   ```
   $ build/sbt -Phive-2.3 -Phive-thriftserver "test:testOnly *CachedTableSuite"
   ```


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [spark] cloud-fan closed pull request #30997: [SPARK-33965][SQL][TESTS] Recognize `spark_catalog` by `CACHE TABLE` in Hive table names

Posted by GitBox <gi...@apache.org>.
cloud-fan closed pull request #30997:
URL: https://github.com/apache/spark/pull/30997


   


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [spark] cloud-fan commented on pull request #30997: [SPARK-33965][SQL][TESTS] Recognize `spark_catalog` by `CACHE TABLE` in Hive table names

Posted by GitBox <gi...@apache.org>.
cloud-fan commented on pull request #30997:
URL: https://github.com/apache/spark/pull/30997#issuecomment-753834570


   thanks, merging to master!


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [spark] MaxGekk commented on pull request #30997: [SPARK-33965][SQL][TESTS] Recognize `spark_catalog` by `CACHE TABLE` in Hive table names

Posted by GitBox <gi...@apache.org>.
MaxGekk commented on pull request #30997:
URL: https://github.com/apache/spark/pull/30997#issuecomment-753775686


   @cloud-fan @HyukjinKwon Could you review this PR, please.


----------------------------------------------------------------
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:
users@infra.apache.org



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