aboutsummaryrefslogtreecommitdiff
path: root/sql/hive/compatibility/src/test/scala
diff options
context:
space:
mode:
authorAndrew Or <andrew@databricks.com>2016-03-28 16:45:02 -0700
committerAndrew Or <andrew@databricks.com>2016-03-28 16:45:02 -0700
commit27aab80695cfcf0c0ecf1e98a5a862a8123213a1 (patch)
tree12d99ef63b8382f3c825d8a32825a97bf66c5d23 /sql/hive/compatibility/src/test/scala
parent2f98ee67dff0be38a4c92d7d29c8cc8ea8b6576e (diff)
downloadspark-27aab80695cfcf0c0ecf1e98a5a862a8123213a1.tar.gz
spark-27aab80695cfcf0c0ecf1e98a5a862a8123213a1.tar.bz2
spark-27aab80695cfcf0c0ecf1e98a5a862a8123213a1.zip
[SPARK-14013][SQL] Proper temp function support in catalog
## What changes were proposed in this pull request? Session catalog was added in #11750. However, it doesn't really support temporary functions properly; right now we only store the metadata in the form of `CatalogFunction`, but this doesn't make sense for temporary functions because there is no class name. This patch moves the `FunctionRegistry` into the `SessionCatalog`. With this, the user can call `catalog.createTempFunction` and `catalog.lookupFunction` to use the function they registered previously. This is currently still dead code, however. ## How was this patch tested? `SessionCatalogSuite`. Author: Andrew Or <andrew@databricks.com> Closes #11972 from andrewor14/temp-functions.
Diffstat (limited to 'sql/hive/compatibility/src/test/scala')
0 files changed, 0 insertions, 0 deletions