GitHub user chenghao-intel opened a pull request:

    https://github.com/apache/spark/pull/679

    [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.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/chenghao-intel/spark fix_type_casting

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/679.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 #679
    
----
commit 71b090256f269dae172b489c5be39bdbde7c071a
Author: Cheng Hao <[email protected]>
Date:   2014-05-07T08:22:17Z

    using lazy val object instead of function for data type casting

----


---
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.
---

Reply via email to