Skip to content

Commit 7d4624d

Browse files
authored
fix: Add support for int32 and int64 array types (#433)
1 parent f91812b commit 7d4624d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

provider/schema/column.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ func (c Column) checkType(v interface{}) bool {
232232
return c.Type == TypeFloat
233233
case []string, []*string, *[]string:
234234
return c.Type == TypeStringArray || c.Type == TypeJSON
235-
case []int, []*int, *[]int:
235+
case []int, []*int, *[]int, []int32, []*int32, []int64, []*int64, *[]int64:
236236
return c.Type == TypeIntArray || c.Type == TypeJSON
237237
case []interface{}:
238238
return c.Type == TypeJSON

0 commit comments

Comments
 (0)