aboutsummaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorYin Huai <yhuai@databricks.com>2016-04-15 17:48:41 -0700
committerReynold Xin <rxin@databricks.com>2016-04-15 17:48:41 -0700
commitb2dfa849599843269a43e6e0f2ab8c539dfc32b6 (patch)
tree7ab85d25e84b91529b5ef7aa310154a645027c56 /LICENSE
parent4df65184b6b865a26e4d5c99bbfd3c24ab7179dc (diff)
downloadspark-b2dfa849599843269a43e6e0f2ab8c539dfc32b6.tar.gz
spark-b2dfa849599843269a43e6e0f2ab8c539dfc32b6.tar.bz2
spark-b2dfa849599843269a43e6e0f2ab8c539dfc32b6.zip
[SPARK-14668][SQL] Move CurrentDatabase to Catalyst
## What changes were proposed in this pull request? This PR moves `CurrentDatabase` from sql/hive package to sql/catalyst. It also adds the function description, which looks like the following. ``` scala> sqlContext.sql("describe function extended current_database").collect.foreach(println) [Function: current_database] [Class: org.apache.spark.sql.execution.command.CurrentDatabase] [Usage: current_database() - Returns the current database.] [Extended Usage: > SELECT current_database()] ``` ## How was this patch tested? Existing tests Author: Yin Huai <yhuai@databricks.com> Closes #12424 from yhuai/SPARK-14668.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions