yaooqinn commented on pull request #29834:
URL: https://github.com/apache/spark/pull/29834#issuecomment-696657847


   > Does the `SHOW DATABASES` command list the "glob_temp" db? I'm fine if 
they are consistent.
   
   No. BUT they are not the same thing.
   
   ```java
   if ((pattern == null) || pattern.isEmpty()) {
         return convertPattern("%", true);
   } 
   ```
   ```java
   if (pattern == null) {
         return ".*";
   } 
   ```
   
   the two Hive APIs we call here to convert "" or null to wildcards are 
different.
   


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