GitHub user liancheng opened a pull request:

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

    [SPARK-8961] [SQL] Makes BaseWriterContainer.outputWriterForRow accepts 
InternalRow instead of Row

    This is a follow-up of [SPARK-8888] [1], which also aims to optimize 
writing dynamic partitions.
    
    Three more changes can be made here:
    
    1. Using `InternalRow` instead of `Row` in 
`BaseWriterContainer.outputWriterForRow`
    2. Using `Cast` expressions to convert partition columns to strings, so 
that we can leverage code generation.
    3. Replacing the FP-style `zip` and `map` calls with a faster imperative 
`while` loop.
    
    [1]: https://issues.apache.org/jira/browse/SPARK-8888

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

    $ git pull https://github.com/liancheng/spark spark-8961

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

    https://github.com/apache/spark/pull/7331.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 #7331
    
----
commit 719e63b56fcb1abc7c65eea2bddc706e330bfb9e
Author: Cheng Lian <[email protected]>
Date:   2015-07-09T21:18:12Z

    Makes BaseWriterContainer.outputWriterForRow accepts InternalRow instead of 
Row

----


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