Github user guoxiaolongzte commented on a diff in the pull request:
https://github.com/apache/spark/pull/20194#discussion_r160313038
--- 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 --
Hive did not change, but I think spark can change the next.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]