[ 
https://issues.apache.org/jira/browse/SPARK-8961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14621285#comment-14621285
 ] 

Apache Spark commented on SPARK-8961:
-------------------------------------

User 'liancheng' has created a pull request for this issue:
https://github.com/apache/spark/pull/7331

> Makes BaseWriterContainer.outputWriterForRow accepts InternalRow instead of 
> Row
> -------------------------------------------------------------------------------
>
>                 Key: SPARK-8961
>                 URL: https://issues.apache.org/jira/browse/SPARK-8961
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.4.0, 1.4.1
>            Reporter: Cheng Lian
>            Assignee: Cheng Lian
>
> This is a follow-up of SPARK-8888, which also aims to optimize writing 
> dynamic partitions.
> Three more changes can be made here:
> # Using {{InternalRow}} instead of {{Row}} in 
> {{BaseWriterContainer.outputWriterForRow}}
> # Using {{Cast}} expressions to convert partition columns to strings, so that 
> we can leverage code generation.
> # Replacing the FP-style {{zip}} and {{map}} calls with a faster imperative 
> {{while}} loop.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to