HyukjinKwon commented on code in PR #44163:
URL: https://github.com/apache/spark/pull/44163#discussion_r1433676674


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/xml/XmlInferSchema.scala:
##########
@@ -130,10 +147,28 @@ class XmlInferSchema(options: XmlOptions, caseSensitive: 
Boolean)
       parser.close()

Review Comment:
   didn't take a super close look but should we maybe close the `parser` with 
`finally`?



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

Reply via email to