cloud-fan commented on code in PR #48986:
URL: https://github.com/apache/spark/pull/48986#discussion_r1887844426
##########
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala:
##########
@@ -221,6 +221,15 @@ private[spark] object HiveUtils extends Logging {
.booleanConf
.createWithDefault(true)
+ val QUOTE_HIVE_STRUCT_FIELD_NAME =
+ buildConf("spark.sql.hive.quoteHiveStructFieldName")
+ .doc("When true, for a column defined in struct type, when it contains
special characters " +
+ "in the field name, Spark will quote it for verification. E.g.
struct<x:int,y.z:int>" +
+ " is read as struct<`x`:int,`y.z`:int> for verification.")
+ .version("4.0.0")
+ .booleanConf
+ .createWithDefault(false)
Review Comment:
does it mean we disable the feature for the read side as well? I think we
only need to disable it for the write side.
cc @yaooqinn
--
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]