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

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

Cheng Lian created SPARK-8961:
---------------------------------

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