GitHub user xinyunh opened a pull request:
https://github.com/apache/spark/pull/2099
[SPARK-3176] Implement 'POWER', 'ABS and 'LAST' for sql
Add support for the mathematical function "POWER" and "ABS" and the
analytic function "last" to return a subset of the rows satisfying a query
within spark sql. Test-cases included.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Huawei-Spark/spark sqlTest
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/2099.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2099
----
commit c37ec6e2a9c8f5e522ed37cc3bfa41be696433a5
Author: xinyunh <[email protected]>
Date: 2014-08-14T20:13:02Z
add 'Last' component
commit 9becb24fdc42800e9c2211c4090bf83bb23efbbe
Author: xinyunh <[email protected]>
Date: 2014-08-14T23:10:28Z
fix the bug in 'Last' component
commit c68f3cabb4fe7447f2d7982f23e26d582358ca63
Author: bomeng <golf8lover>
Date: 2014-08-20T18:16:35Z
add abs() function support
commit fe22feed44737f397cbacba737dd6ed0ec61ef4c
Author: bomeng <golf8lover>
Date: 2014-08-20T18:35:48Z
add abs() function support
commit f7d501c5033bacdfabbf0898cc1bd7fecf4f3c8f
Author: Bo Meng <[email protected]>
Date: 2014-08-20T21:16:46Z
add math 'power' function
commit 024b5bbf2af1b4057fb9d182da4d11357411b7e3
Author: Bo Meng <[email protected]>
Date: 2014-08-21T17:51:40Z
handle the non-numeric string
commit 7570fa64b526f92240e6a8052cc74d00b97c6d09
Author: xinyunh <[email protected]>
Date: 2014-08-22T18:16:40Z
Upload testcases and optimize the code
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]