zeroshade commented on code in PR #14111:
URL: https://github.com/apache/arrow/pull/14111#discussion_r969950093
##########
go/arrow/array/builder.go:
##########
@@ -279,15 +279,6 @@ func NewBuilder(mem memory.Allocator, dtype
arrow.DataType) Builder {
case arrow.TIME64:
typ := dtype.(*arrow.Time64Type)
return NewTime64Builder(mem, typ)
- case arrow.INTERVAL:
- switch dtype.(type) {
- case *arrow.DayTimeIntervalType:
- return NewDayTimeIntervalBuilder(mem)
- case *arrow.MonthIntervalType:
- return NewMonthIntervalBuilder(mem)
- case *arrow.MonthDayNanoIntervalType:
- return NewMonthDayNanoIntervalBuilder(mem)
- }
Review Comment:
Yea, if you look at `datatype.go` you'll see that the `INTERVAL` enum value
was deprecated and said it would be removed in the next Major release in favor
of the individual interval IDs.
--
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]