AngersZhuuuu commented on pull request #33252:
URL: https://github.com/apache/spark/pull/33252#issuecomment-876086140


   @MaxGekk @cloud-fan  Should we keep IntervalUnit now after we have DT/YM 
field byte now? after this pr's code, it's only usage is as string value
   ``` 
     object IntervalUnit extends Enumeration {
       type IntervalUnit = Value
   
       val NANOSECOND = Value(0, "nanosecond")
       val MICROSECOND = Value(1, "microsecond")
       val MILLISECOND = Value(2, "millisecond")
       val SECOND = Value(3, "second")
       val MINUTE = Value(4, "minute")
       val HOUR = Value(5, "hour")
       val DAY = Value(6, "day")
       val WEEK = Value(7, "week")
       val MONTH = Value(8, "month")
       val YEAR = Value(9, "year")
     }
   ```
   


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