You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "David Chen (JIRA)" <ji...@apache.org> on 2014/05/20 03:42:37 UTC

[jira] [Created] (HIVE-7094) Separate out static/dynamic partitioning code in FileRecordWriterContainer

David Chen created HIVE-7094:
--------------------------------

             Summary: Separate out static/dynamic partitioning code in FileRecordWriterContainer
                 Key: HIVE-7094
                 URL: https://issues.apache.org/jira/browse/HIVE-7094
             Project: Hive
          Issue Type: Sub-task
            Reporter: David Chen
            Assignee: David Chen


There are two major places in FileRecordWriterContainer that have the {{if (dynamicPartitioning)}} condition: the constructor and write().

This is the approach that I am taking:

# Move the DP and SP code into two subclasses: DynamicFileRecordWriterContainer and StaticFileRecordWriterContainer.
# Make FileRecordWriterContainer an abstract class that contains the common code for both implementations. For write(), FileRecordWriterContainer will call an abstract method that will provide the local RecordWriter, ObjectInspector, SerDe, and OutputJobInfo.



--
This message was sent by Atlassian JIRA
(v6.2#6252)