We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ec75ac commit 71cc717Copy full SHA for 71cc717
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/WriterContainer.scala
@@ -361,8 +361,7 @@ private[sql] class DynamicPartitionWriterContainer(
361
throw new SparkException("Task failed while writing rows.", cause)
362
}
363
364
- // The `row` argument is supposed to only contain partition column values which have been casted
365
- // to strings.
+ /** Open and returns a new OutputWriter given a partition key. */
366
def newOutputWriter(key: InternalRow): OutputWriter = {
367
val partitionPath = getPartitionString(key).getString(0)
368
val path = new Path(getWorkPath, partitionPath)
0 commit comments