ulysses-you commented on code in PR #39996:
URL: https://github.com/apache/spark/pull/39996#discussion_r1106579061
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/FileFormat.scala:
##########
@@ -233,20 +239,24 @@ object FileFormat {
fileSize: Long,
fileModificationTime: Long): InternalRow =
updateMetadataInternalRow(new GenericInternalRow(fieldNames.length),
fieldNames,
- filePath, fileSize, fileModificationTime)
+ filePath, fileSize, 0L, 0L, fileModificationTime)
Review Comment:
I add assert here to make sure we won't pass fileBlockStart and
fileBlockLenght in future.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]