From a564c9e59439d26255ee0a562599cf4af6f956b7 Mon Sep 17 00:00:00 2001 From: Niranjan Artal Date: Tue, 7 Jan 2025 13:33:21 -0800 Subject: [PATCH] addressed review comments Signed-off-by: Niranjan Artal --- src/main/cpp/src/NativeParquetJni.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/cpp/src/NativeParquetJni.cpp b/src/main/cpp/src/NativeParquetJni.cpp index 1c7d877a9..7c3222091 100644 --- a/src/main/cpp/src/NativeParquetJni.cpp +++ b/src/main/cpp/src/NativeParquetJni.cpp @@ -233,7 +233,7 @@ class column_pruner { if (found != children.end()) { // Record the current size of schema_map before processing the child // This helps determine if the child was retained after processing. - std::size_t before_child_size = schema_map.size(); + auto const before_child_size = schema_map.size(); found->second.filter_schema(schema, ignore_case, current_input_schema_index, @@ -250,7 +250,7 @@ class column_pruner { schema_num_children[struct_map_position]++; } } else { - // No match was found so skip the child + // No match was found so skip the child. skip(schema, current_input_schema_index, next_input_chunk_index); } }