You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by hu...@apache.org on 2025/10/31 04:46:46 UTC

(doris) 03/13: Fix parquet_thrift_test unit test.

This is an automated email from the ASF dual-hosted git repository.

huajianlan pushed a commit to branch nested_column_prune
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 392aafdd1a81d1940ba1c63fb6632a5e593199d7
Author: kakachen <ch...@selectdb.com>
AuthorDate: Tue Oct 28 20:58:48 2025 +0800

    Fix parquet_thrift_test unit test.
---
 be/test/vec/exec/format/parquet/parquet_thrift_test.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/be/test/vec/exec/format/parquet/parquet_thrift_test.cpp b/be/test/vec/exec/format/parquet/parquet_thrift_test.cpp
index edd131a2410..4f4202e1143 100644
--- a/be/test/vec/exec/format/parquet/parquet_thrift_test.cpp
+++ b/be/test/vec/exec/format/parquet/parquet_thrift_test.cpp
@@ -150,8 +150,8 @@ TEST_F(ParquetThriftReaderTest, complex_nested_file) {
     // R=0,D=1        R=1,D=2          R=1,D=3             R=2,D=4
     //                                                       \------ R=2,D=4
     //                                                       \------ R=2,D=5
-    auto h_key = hobby->children[0];
-    auto h_value = hobby->children[1];
+    auto h_key = hobby->children[0].children[0];
+    auto h_value = hobby->children[0].children[1];
     ASSERT_TRUE(h_key.repetition_level == 2 && h_key.definition_level == 4);
     ASSERT_TRUE(h_value.repetition_level == 2 && h_value.definition_level == 5);
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org