GitHub user davies opened a pull request:

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

    [SPARK-9620] [SQL] generated UnsafeProjection should support many columns 
or large exressions

    Currently, generated UnsafeProjection can reach 64k byte code limit of 
Java. This patch will split the generated expressions into multiple functions, 
to avoid the limitation. 
    
    After this patch, we can work well with table that have up to 64k columns 
(hit max number of constants limit in Java), it should be enough in practice.
    
    cc @rxin 

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

    $ git pull https://github.com/davies/spark wider_table

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

    https://github.com/apache/spark/pull/8044.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 #8044
    
----
commit 495e932c2bf0712671689ec6823306e797c15a6d
Author: Davies Liu <[email protected]>
Date:   2015-08-07T22:31:25Z

    support wider table with more than 1k columns for generated projections

commit 358bd4214843313bd6714a48c2e0e22d7c33e859
Author: Davies Liu <[email protected]>
Date:   2015-08-07T22:31:56Z

    Merge branch 'master' of github.com:apache/spark into wider_table

----


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

Reply via email to