We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2defbc2 commit f42417bCopy full SHA for f42417b
1 file changed
arrow/extensions/timestamp_with_offset.go
@@ -43,7 +43,7 @@ func isOffsetTypeOk(offsetType arrow.DataType) bool {
43
case *arrow.Int16Type:
44
return true
45
case *arrow.DictionaryType:
46
- return arrow.IsInteger(offsetType.IndexType.ID()) && arrow.TypeEqual(offsetType.ValueType, arrow.PrimitiveTypes.Int16)
+ return arrow.TypeEqual(offsetType.ValueType, arrow.PrimitiveTypes.Int16)
47
case *arrow.RunEndEncodedType:
48
return offsetType.ValidRunEndsType(offsetType.RunEnds()) &&
49
arrow.TypeEqual(offsetType.Encoded(), arrow.PrimitiveTypes.Int16)
0 commit comments