diff options
author | xinyunh <xinyun.huang@huawei.com> | 2014-09-09 16:55:39 -0700 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2014-09-09 16:55:39 -0700 |
commit | 07ee4a28c3a502121770f301316cb2256e8f0ce2 (patch) | |
tree | e0baa385cb9c9ec344bbd012b5b8931189ec773c /mllib | |
parent | 02b5ac7191c66a866ffedde313eb10f2adfc9b58 (diff) | |
download | spark-07ee4a28c3a502121770f301316cb2256e8f0ce2.tar.gz spark-07ee4a28c3a502121770f301316cb2256e8f0ce2.tar.bz2 spark-07ee4a28c3a502121770f301316cb2256e8f0ce2.zip |
[SPARK-3176] Implement 'ABS and 'LAST' for sql
Add support for the mathematical function"ABS" and the analytic function "last" to return a subset of the rows satisfying a query within spark sql. Test-cases included.
Author: xinyunh <xinyun.huang@huawei.com>
Author: bomeng <golf8lover>
Closes #2099 from xinyunh/sqlTest and squashes the following commits:
71d15e7 [xinyunh] remove POWER part
8843643 [xinyunh] fix the code style issue
39f0309 [bomeng] Modify the code of POWER and ABS. Move them to the file arithmetic
ff8e51e [bomeng] add abs() function support
7f6980a [xinyunh] fix the bug in 'Last' component
b3df91b [xinyunh] add 'Last' component
Diffstat (limited to 'mllib')
0 files changed, 0 insertions, 0 deletions