WangGuangxin commented on a change in pull request #23460: [SPARK-26544][SQL]
Escape string to keep alignment with hive
URL: https://github.com/apache/spark/pull/23460#discussion_r245494336
##########
File path:
sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveUtilsSuite.scala
##########
@@ -68,4 +68,10 @@ class HiveUtilsSuite extends QueryTest with SQLTestUtils
with TestHiveSingleton
val tpe = new ExamplePointUDT()
assert(HiveUtils.toHiveString((point, tpe)) === "(50.0, 50.0)")
}
+
+ test("toHiveString correctly escape map type") {
Review comment:
done
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]