From 0c1c7124eda44ac875502134b1a5e69fbdf041dc Mon Sep 17 00:00:00 2001 From: Manh Dinh Date: Fri, 29 Mar 2024 17:44:32 -0400 Subject: [PATCH] Small fix --- src/include/common/types/types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/common/types/types.h b/src/include/common/types/types.h index 4371b37a0a7..6333940aa55 100644 --- a/src/include/common/types/types.h +++ b/src/include/common/types/types.h @@ -446,7 +446,8 @@ using logical_type_vec_t = std::vector; struct VarListType { static inline LogicalType* getChildType(const LogicalType* type) { - KU_ASSERT(type->getPhysicalType() == PhysicalTypeID::VAR_LIST); + KU_ASSERT(type->getPhysicalType() == PhysicalTypeID::VAR_LIST || + type->getPhysicalType() == PhysicalTypeID::ARRAY); auto varListTypeInfo = reinterpret_cast(type->extraTypeInfo.get()); return varListTypeInfo->getChildType(); }