diff options
author | Herman van Hovell <hvanhovell@databricks.com> | 2016-06-27 16:57:34 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-06-27 16:57:34 -0700 |
commit | 02a029df43392c5d73697203bf6ff51b8d6efb83 (patch) | |
tree | 27e14304fe5dbe634c64b07a162f878f838107d9 /NOTICE | |
parent | c15b552dd547a129c7f0d082dab4eebbd64bee02 (diff) | |
download | spark-02a029df43392c5d73697203bf6ff51b8d6efb83.tar.gz spark-02a029df43392c5d73697203bf6ff51b8d6efb83.tar.bz2 spark-02a029df43392c5d73697203bf6ff51b8d6efb83.zip |
[SPARK-16220][SQL] Add scope to show functions
## What changes were proposed in this pull request?
Spark currently shows all functions when issue a `SHOW FUNCTIONS` command. This PR refines the `SHOW FUNCTIONS` command by allowing users to select all functions, user defined function or system functions. The following syntax can be used:
**ALL** (default)
```SHOW FUNCTIONS```
```SHOW ALL FUNCTIONS```
**SYSTEM**
```SHOW SYSTEM FUNCTIONS```
**USER**
```SHOW USER FUNCTIONS```
## How was this patch tested?
Updated tests and added tests to the DDLSuite
Author: Herman van Hovell <hvanhovell@databricks.com>
Closes #13929 from hvanhovell/SPARK-16220.
Diffstat (limited to 'NOTICE')
0 files changed, 0 insertions, 0 deletions