Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MINOR][SQL] Add prettyName for current_database function
## What changes were proposed in this pull request? Added a `prettyname` for current_database function. ## How was this patch tested? Manually. Before: ``` scala> sql("select current_database()").show +-----------------+ |currentdatabase()| +-----------------+ | default| +-----------------+ ``` After: ``` scala> sql("select current_database()").show +------------------+ |current_database()| +------------------+ | default| +------------------+ ``` Author: Weiqing Yang <[email protected]> Closes #15506 from weiqingy/prettyName. (cherry picked from commit 56b0f5f) Signed-off-by: Reynold Xin <[email protected]>
- Loading branch information