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: [email protected]
For additional commands, e-mail: [email protected]