You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/12/09 06:07:23 UTC

[GitHub] [spark] yaooqinn commented on a change in pull request #26699: [SPARK-30066][SQL] Columnar execution support for interval types

yaooqinn commented on a change in pull request #26699: [SPARK-30066][SQL] Columnar execution support for interval types
URL: https://github.com/apache/spark/pull/26699#discussion_r355275925
 
 

 ##########
 File path: sql/core/src/main/scala/org/apache/spark/sql/execution/columnar/ColumnStats.scala
 ##########
 @@ -295,6 +295,28 @@ private[columnar] final class BinaryColumnStats extends ColumnStats {
     Array[Any](null, null, nullCount, count, sizeInBytes)
 }
 
+private[columnar] final class IntervalColumnStats extends ColumnStats {
+  protected var upper: CalendarInterval =
+    new CalendarInterval(Int.MinValue, Int.MinValue, Long.MinValue)
 
 Review comment:
   this is nice

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org