panbingkun commented on code in PR #43859:
URL: https://github.com/apache/spark/pull/43859#discussion_r1397269419
##########
sql/core/src/test/scala/org/apache/spark/sql/JsonFunctionsSuite.scala:
##########
@@ -1175,7 +1175,8 @@ class JsonFunctionsSuite extends QueryTest with
SharedSparkSession {
val invalidDataType = "MAP<INT, cow>"
val invalidDataTypeReason = "Unrecognized token 'MAP': " +
"was expecting (JSON String, Number, Array, Object or token 'null',
'true' or 'false')\n " +
- "at [Source: (String)\"MAP<INT, cow>\"; line: 1, column: 4]"
+ "at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION`
disabled); " +
+ "line: 1, column: 4]"
Review Comment:
<img width="904" alt="image"
src="https://github.com/apache/spark/assets/15246973/6603c812-c81c-415b-bdcb-7a56b208969b">
##########
sql/core/src/test/scala/org/apache/spark/sql/JsonFunctionsSuite.scala:
##########
@@ -1190,7 +1191,8 @@ class JsonFunctionsSuite extends QueryTest with
SharedSparkSession {
val invalidTableSchema = "x INT, a cow"
val invalidTableSchemaReason = "Unrecognized token 'x': " +
"was expecting (JSON String, Number, Array, Object or token 'null',
'true' or 'false')\n" +
- " at [Source: (String)\"x INT, a cow\"; line: 1, column: 2]"
+ " at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION`
disabled); " +
+ "line: 1, column: 2]"
Review Comment:
dito
--
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]