Github user dongjoon-hyun commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20194#discussion_r160867737
  
    --- Diff: 
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 ---
    @@ -141,7 +141,7 @@ statement
             (LIKE? pattern=STRING)?                                        
#showTables
         | SHOW TABLE EXTENDED ((FROM | IN) db=identifier)?
             LIKE pattern=STRING partitionSpec?                             
#showTable
    -    | SHOW DATABASES (LIKE pattern=STRING)?                            
#showDatabases
    +    | SHOW DATABASES (LIKE? pattern=STRING)?                            
#showDatabases
    --- End diff --
    
    @guoxiaolongzte . MySQL also doesn't work like that. Do you have any 
reference for that syntax?


---

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

Reply via email to