Skip to content

Commit 1ef4d06

Browse files
committed
code review
1 parent cd95f5d commit 1ef4d06

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/orc/OrcFileFormat.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,6 @@ private[orc] class OrcOutputWriter(
295295
}
296296

297297
override def write(row: InternalRow): Unit = {
298-
// getOrCreateInternalWriter()
299298
recordWriter.write(NullWritable.get(), serializer.serialize(row))
300299
}
301300

@@ -317,8 +316,6 @@ private[orc] class OrcOutputWriter(
317316
// For empty write task, we need to create it manually to record our meta.
318317
val options = OrcFile.writerOptions(context.getConfiguration)
319318
.inspector(serializer.structOI)
320-
// .setProlepticGregorian(true)
321-
// .useUTCTimestamp(true)
322319
writer = OrcFile.createWriter(new Path(path), options)
323320
// set the writer to make it flush meta on close
324321
writerField.set(recordWriter, writer)

0 commit comments

Comments
 (0)