dongjoon-hyun commented on code in PR #46126:
URL: https://github.com/apache/spark/pull/46126#discussion_r1574081702
##########
connector/avro/src/main/scala/org/apache/spark/sql/avro/SchemaConverters.scala:
##########
@@ -208,14 +208,13 @@ object SchemaConverters {
// could be "a" and "A" and we need to distinguish them. In
this case, we throw
// an exception.
// Stable id prefix can be empty so the name of the field
can be just the type.
- val tempFieldName =
-
s"${stableIdPrefixForUnionType}${s.getName.toLowerCase(Locale.ROOT)}"
- if (fieldNameSet.contains(tempFieldName)) {
+ val tempFieldName =
s"${stableIdPrefixForUnionType}${s.getName}"
+
Review Comment:
Shall we remove this new empty line?
--
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]