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


With regards,
Apache Git Services

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

Reply via email to