vinodkc commented on code in PR #53312:
URL: https://github.com/apache/spark/pull/53312#discussion_r3488265779


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/command/CommandUtils.scala:
##########
@@ -364,6 +364,7 @@ object CommandUtils extends Logging {
     case _: IntegralType => true
     case _: DecimalType => true
     case DoubleType | FloatType => true
+    case _: TimeType => false  // TimeType doesn't support histogram

Review Comment:
   Fixed. `TimeType` now participates in equi-height histogram collection via 
the existing `_: DatetimeType => true` case, consistent with `Date`, 
`Timestamp`, and `TimestampNTZ`.



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

Reply via email to