cloud-fan commented on code in PR #53344:
URL: https://github.com/apache/spark/pull/53344#discussion_r2604993723
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/xml/XmlFileFormat.scala:
##########
@@ -130,6 +131,7 @@ case class XmlFileFormat() extends TextBasedFileFormat with
DataSourceRegister {
override def toString: String = "XML"
override def supportDataType(dataType: DataType): Boolean = dataType match {
+ case _: TimeType => SQLConf.get.isTimeTypeEnabled
Review Comment:
We have a narrow waist:
https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DataSource.scala#L531
check where we call `disallowWritingIntervals`
--
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]