Skip to content

Commit 71cc717

Browse files
committed
update comment
1 parent 8ec75ac commit 71cc717

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/WriterContainer.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,7 @@ private[sql] class DynamicPartitionWriterContainer(
361361
throw new SparkException("Task failed while writing rows.", cause)
362362
}
363363

364-
// The `row` argument is supposed to only contain partition column values which have been casted
365-
// to strings.
364+
/** Open and returns a new OutputWriter given a partition key. */
366365
def newOutputWriter(key: InternalRow): OutputWriter = {
367366
val partitionPath = getPartitionString(key).getString(0)
368367
val path = new Path(getWorkPath, partitionPath)

0 commit comments

Comments
 (0)