huaxingao commented on a change in pull request #28428:
URL: https://github.com/apache/spark/pull/28428#discussion_r418437023
##########
File path: docs/sql-ref-syntax-aux-show-functions.md
##########
@@ -60,11 +60,12 @@ SHOW [ function_kind ] FUNCTIONS ( [ LIKE ] function_name |
regex_pattern )
<dd>
Specifies a regular expression pattern that is used to filter the results
of the
statement.
- <ul>
- <li>Only <code>*</code> and <code>|</code> are allowed as wildcard
pattern.</li>
- <li>Excluding <code>*</code> and <code>|</code>, the remaining pattern
follows the regular expression semantics.</li>
- <li>The leading and trailing blanks are trimmed in the input pattern
before processing. The pattern match is case-insensitive.</li>
- </ul>
+ <ul>
+ <li>Except for <code>*</code> and <code>|</code> character, the pattern
works like a regular expression.</li>
+ <li><code>*</code> alone matches 0 or more characters and
<code>|</code> is used to separate multiple different regular expressions,
+ any of which can match. </li>
+ <li>The leading and trailing blanks are trimmed in the input pattern
before processing. The pattern match is case-insensitive.</li>
+ </ul>
Review comment:
Change to the same description of ```regex_pattern``` as the one used
in SHOW TABLE EXTENDED, SHOW TABLES, SHOW VIEWS.
----------------------------------------------------------------
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]