panbingkun commented on code in PR #46609: URL: https://github.com/apache/spark/pull/46609#discussion_r1603226466
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/xmlExpressions.scala: ########## @@ -104,7 +103,7 @@ case class XmlToStructs( if (mode != PermissiveMode && mode != FailFastMode) { throw QueryCompilationErrors.parseModeUnsupportedError("from_xml", mode) } - val (parserSchema, actualSchema) = nullableSchema match { Review Comment: The variable `actualSchema` is not used anywhere -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org