You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/07/09 23:22:04 UTC

[jira] [Commented] (SPARK-8961) Makes BaseWriterContainer.outputWriterForRow accepts InternalRow instead of Row

    [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org