diff options
author | Reynold Xin <rxin@databricks.com> | 2015-06-09 16:24:38 +0800 |
---|---|---|
committer | Cheng Lian <lian@databricks.com> | 2015-06-09 16:24:38 +0800 |
commit | 1b499993ad185b04dd5065facb565cbe7e249521 (patch) | |
tree | ca7fe277024de7e71dc3dbd00220d1357e34b4f4 /network | |
parent | 0902a11940e550e85a53e110b490fe90e16ddaf4 (diff) | |
download | spark-1b499993ad185b04dd5065facb565cbe7e249521.tar.gz spark-1b499993ad185b04dd5065facb565cbe7e249521.tar.bz2 spark-1b499993ad185b04dd5065facb565cbe7e249521.zip |
[SPARK-7886] Add built-in expressions to FunctionRegistry.
This patch switches to using FunctionRegistry for built-in expressions. It is based on #6463, but with some work to simplify it along with unit tests.
TODOs for future pull requests:
- Use static registration so we don't need to register all functions every time we start a new SQLContext
- Switch to using this in HiveContext
Author: Reynold Xin <rxin@databricks.com>
Author: Santiago M. Mola <santi@mola.io>
Closes #6710 from rxin/udf-registry and squashes the following commits:
6930822 [Reynold Xin] Fixed Python test.
b802c9a [Reynold Xin] Made UDF case insensitive.
e60d815 [Reynold Xin] Made UDF case insensitive.
852f9c0 [Reynold Xin] Fixed style violation.
e76a3c1 [Reynold Xin] Fixed parser.
52ddaba [Reynold Xin] Fixed compilation.
ee7854f [Reynold Xin] Improved error reporting.
ff906f2 [Reynold Xin] More robust constructor calling.
77b46f1 [Reynold Xin] Simplified the code.
2a2a149 [Reynold Xin] Merge pull request #6463 from smola/SPARK-7886
8616924 [Santiago M. Mola] [SPARK-7886] Add built-in expressions to FunctionRegistry.
Diffstat (limited to 'network')
0 files changed, 0 insertions, 0 deletions