Skip to content

Commit fb7326a

Browse files
committed
Preventing arrayContainer from returning its type as sqltypes.TEXT
1 parent 08b7ce7 commit fb7326a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/types/array.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ func (ac arrayContainer) ToArrayType() DoltgresArrayType {
371371

372372
// Type implements the DoltgresType interface.
373373
func (ac arrayContainer) Type() query.Type {
374-
return sqltypes.Text
374+
return ac.innerType.Type()
375375
}
376376

377377
// ValueType implements the DoltgresType interface.

0 commit comments

Comments
 (0)