Skip to content

Commit

Permalink
Adds more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
liancheng committed Jun 24, 2015
1 parent 6db1368 commit 9be51d1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,10 @@ private[sql] class ParquetRelation2(
committerClass,
classOf[ParquetOutputCommitter])

// We're not really using `ParquetOutputFormat[Row]` for writing data here, because we override
// it in `ParquetOutputWriter` to support appending and dynamic partitioning. The reason why
// we set it here is to setup the output committer class to `ParquetOutputCommitter`, which is
// bundled with `ParquetOutputFormat[Row]`.
job.setOutputFormatClass(classOf[ParquetOutputFormat[Row]])

// TODO There's no need to use two kinds of WriteSupport
Expand Down

0 comments on commit 9be51d1

Please sign in to comment.