Cheng Lian created SPARK-7599:
---------------------------------

             Summary: Don't restrict customized FSBasedRelation OutputCommitter 
to be subclass of FileOutputFormat
                 Key: SPARK-7599
                 URL: https://issues.apache.org/jira/browse/SPARK-7599
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 1.4.0
            Reporter: Cheng Lian
            Assignee: Cheng Lian
            Priority: Blocker


Used {{FileOutputCommitter}} here because we need to retrieve the actual path 
of file being written, which is returned by 
{{FileOutputCommitter.getWorkPath}}. This implies customized output committers 
must be subclasses of {{FileOutputCommitter}}, which was true for 
{{DirectParquetOutputCommitter}}. But this restriction is too strict. Should 
resort to {{OutputCommitter}} rather than {{FileOutputCommitter}}.



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