davidm-db commented on code in PR #53344:
URL: https://github.com/apache/spark/pull/53344#discussion_r2604456637
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Cast.scala:
##########
@@ -611,7 +611,14 @@ case class Cast(
messageParameters = Map("other" -> other.toString))
}
if (canCast) {
- TypeCheckResult.TypeCheckSuccess
+ dataType match {
Review Comment:
Done for TIME.
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFileFormat.scala:
##########
@@ -408,6 +408,8 @@ class ParquetFileFormat
}
override def supportDataType(dataType: DataType): Boolean = dataType match {
+ case _: TimeType => SQLConf.get. isTimeTypeEnabled
Review Comment:
Done.
--
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]