apache/spark — pull request #679 by chenghao-intel (2014-05-07 08:39:28+00:00)
Title: [SQL] Fix Performance Issue in data type casting

Using lazy val object instead of function in the class Cast, which improved the performance nearly by 2X in my local micro-benchmark.