diff options
author | gatorsmile <gatorsmile@gmail.com> | 2016-11-07 01:16:37 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-11-07 01:16:37 -0800 |
commit | 57626a55703a189e03148398f67c36cd0e557044 (patch) | |
tree | 0f4ae99e29245041cae4d41f58aa208dba6beea4 /sql/catalyst | |
parent | 9db06c442cf85e41d51c7b167817f4e7971bf0da (diff) | |
download | spark-57626a55703a189e03148398f67c36cd0e557044.tar.gz spark-57626a55703a189e03148398f67c36cd0e557044.tar.bz2 spark-57626a55703a189e03148398f67c36cd0e557044.zip |
[SPARK-16904][SQL] Removal of Hive Built-in Hash Functions and TestHiveFunctionRegistry
### What changes were proposed in this pull request?
Currently, the Hive built-in `hash` function is not being used in Spark since Spark 2.0. The public interface does not allow users to unregister the Spark built-in functions. Thus, users will never use Hive's built-in `hash` function.
The only exception here is `TestHiveFunctionRegistry`, which allows users to unregister the built-in functions. Thus, we can load Hive's hash function in the test cases. If we disable it, 10+ test cases will fail because the results are different from the Hive golden answer files.
This PR is to remove `hash` from the list of `hiveFunctions` in `HiveSessionCatalog`. It will also remove `TestHiveFunctionRegistry`. This removal makes us easier to remove `TestHiveSessionState` in the future.
### How was this patch tested?
N/A
Author: gatorsmile <gatorsmile@gmail.com>
Closes #14498 from gatorsmile/removeHash.
Diffstat (limited to 'sql/catalyst')
0 files changed, 0 insertions, 0 deletions