From f892ce3516914fc6a7d4cbcebaa06b29f2c82f42 Mon Sep 17 00:00:00 2001 From: Tishj Date: Thu, 12 Dec 2024 12:09:11 +0100 Subject: [PATCH] remove outdated comment --- extension/parquet/parquet_reader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/parquet/parquet_reader.cpp b/extension/parquet/parquet_reader.cpp index 9f8f8ed30b66..298845daeac6 100644 --- a/extension/parquet/parquet_reader.cpp +++ b/extension/parquet/parquet_reader.cpp @@ -500,7 +500,7 @@ void ParquetReader::InitializeSchema(ClientContext &context) { auto &struct_reader = root_reader->Cast(); auto &child_readers = struct_reader.child_readers; D_ASSERT(root_type.id() == LogicalTypeId::STRUCT); - // FIXME: what is this + 1 logically for??? + D_ASSERT(child_readers.size() >= child_types.size()); for (idx_t i = 0; i < child_types.size(); i++) { auto &type_pair = child_types[i];