ala commented on code in PR #37228:
URL: https://github.com/apache/spark/pull/37228#discussion_r932969430


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamingRelation.scala:
##########
@@ -70,7 +70,7 @@ case class StreamingRelation(dataSource: DataSource, 
sourceName: String, output:
         // filter out the metadata struct column if it has the name 
conflicting with output columns.
         // if the file has a column "_metadata",
         // then the data column should be returned not the metadata struct 
column
-        Seq(FileFormat.createFileMetadataCol).filterNot(isOutputColumn)
+        Seq(FileFormat.createFileMetadataCol()).filterNot(isOutputColumn)

Review Comment:
   Done.



-- 
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]

Reply via email to