maropu commented on a change in pull request #28425:
URL: https://github.com/apache/spark/pull/28425#discussion_r418829916



##########
File path: 
external/avro/src/main/scala/org/apache/spark/sql/v2/avro/AvroScan.scala
##########
@@ -65,4 +65,8 @@ case class AvroScan(
   }
 
   override def hashCode(): Int = super.hashCode()
+
+  override def getMetaData(): Map[String, String] = {
+    super.metaData ++ Map("Format" -> "avro")

Review comment:
       Yea if we don't have any other suitable place for adding the test. At 
least, I think its better to add tests for it somewhere.




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

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