Skip to content

Commit e44162d

Browse files
committed
Forgotten case
1 parent 80724e0 commit e44162d

File tree

1 file changed

+0
-5
lines changed
  • sql/core/src/main/scala/org/apache/spark/sql/execution/datasources

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,6 @@ object FileFormat {
235235
// the modificationTime from the file is in millisecond,
236236
// while internally, the TimestampType `file_modification_time` is stored in microsecond
237237
row.update(i, fileModificationTime * 1000L)
238-
case ROW_INDEX =>
239-
// Reserve the spot in the row for a LongType value. The metadata fields that have
240-
// identical values for each row of the file are set by this function, while fields that
241-
// have different values (such as row index) are set separately.
242-
row.update(i, -1L)
243238
}
244239
}
245240
row

0 commit comments

Comments
 (0)