srielau commented on code in PR #59167:
URL: https://github.com/apache/spark/pull/59167#discussion_r4226804606


##########
sql/api/src/main/scala/org/apache/spark/sql/catalyst/util/SparkCharVarcharUtils.scala:
##########
@@ -70,6 +70,28 @@ trait SparkCharVarcharUtils {
     case v: VarcharType if !SqlApiConf.get.charVarcharFirstClassTypes => 
v.toStringType
     case _ => dt
   }
+
+  /**
+   * Always replaces CharType/VarcharType with unbounded StringType, including 
when first-class
+   * CHAR/VARCHAR types are enabled. Used for STRING-on-the-wire I/O such as 
JSON parsing and

Review Comment:
   Updated. The helper comments now describe STRING-on-the-wire parsing (JSON) 
and no longer mention Hive TRANSFORM.



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