apache/spark — pull request #2099 by xinyunh (2014-08-22 18:20:30+00:00)
Title: [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.