apache/spark — pull request #1283 by yijieshen (2014-07-02 08:31:44+00:00)
Title: [SPARK-2342] Evaluation helper's output type doesn't conform to input ty...

The function cast doesn't conform to the intention of "Those expressions are supposed to be in the same data type, and also the return type."