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 2019/04/07 10:23:44 UTC

[GitHub] [spark] OCaballero opened a new pull request #24312: Update SessionCatalog.scala

OCaballero opened a new pull request #24312: Update SessionCatalog.scala
URL: https://github.com/apache/spark/pull/24312
 
 
   Necessarily access the external catalog without having to do it
   
   ## What changes were proposed in this pull request?
   
   
   The existsFunction function has been changed because it unnecessarily accessed the externalCatalog to find if the database exists in cases where the function is in the functionRegistry
   
   ## How was this patch tested?
   
   
   It has been tested through spark-shell and accessing the metastore logs of hive.
   
   Inside spark-shell we use spark.table (% tableA%). SelectExpr ("trim (% columnA%)") in the current version and it appears every time:
   
   org.apache.hadoop.hive.metastore.HiveMetaStore.audit: cmd = get_database: default
   
   Once the change is made, no record appears
   

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


With regards,
Apache Git Services

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