emkornfield commented on a change in pull request #11310:
URL: https://github.com/apache/arrow/pull/11310#discussion_r724670088
##########
File path: go/arrow/type_traits_interval.go
##########
@@ -124,3 +125,53 @@ func (daytimeTraits) CastToBytes(b []DayTimeInterval)
[]byte {
// Copy copies src to dst.
func (daytimeTraits) Copy(dst, src []DayTimeInterval) { copy(dst, src) }
+
+// DayTimeInterval traits
+
+const (
+ // MonthDayNanoIntervalSizeBytes specifies the number of bytes required
to store a single DayTimeInterval in memory
+ MonthDayNanoIntervalSizeBytes =
int(unsafe.Sizeof(MonthDayNanoInterval{}))
Review comment:
can there be an assertion that this is 16?
--
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]