Kimahriman commented on code in PR #38229:
URL: https://github.com/apache/spark/pull/38229#discussion_r994021301
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/json/JsonScan.scala:
##########
@@ -91,7 +91,7 @@ case class JsonScan(
override def hashCode(): Int = super.hashCode()
- override def description(): String = {
- super.description() + ", PushedFilters: " + pushedFilters.mkString("[", ",
", "]")
+ override def getMetaData(): Map[String, String] = {
+ super.getMetaData() ++ Map("PushedFilters" -> pushedFilters.mkString("[",
", ", "]"))
Review Comment:
Not sure why JSON was different than the others but made it the same by just
providing metadata. Updated related UT below to accommodate.
--
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]