gen/data_types.go
func (a *ArrayDataType) IsEquivalent(other DataType) bool {
	t, ok := other.(*ArrayDataType)
	if !ok {
		return false
	}
	return a.ElemType.IsEquivalent(t.ElemType)
}
func (a *ArrayDataType) IsEquivalent(other DataType) bool {
	t, ok := other.(*ArrayDataType)
	if !ok {
		return false
	}
	return a.ElemType.IsEquivalent(t.ElemType)
}
// IsEquivalent returns true if other represents the same data type as the target.