From 89487587f78dcc4339c922c12094cd8be02cc99b Mon Sep 17 00:00:00 2001 From: yiguolei Date: Thu, 14 Jul 2022 20:28:13 +0800 Subject: [PATCH] fix bugs --- be/test/olap/rowset/segment_v2/segment_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/test/olap/rowset/segment_v2/segment_test.cpp b/be/test/olap/rowset/segment_v2/segment_test.cpp index bb00231afcdf3a..a3db6cd628fc11 100644 --- a/be/test/olap/rowset/segment_v2/segment_test.cpp +++ b/be/test/olap/rowset/segment_v2/segment_test.cpp @@ -686,7 +686,7 @@ TEST_F(SegmentReaderWriterTest, TestDefaultValueColumn) { { StorageReadOptions read_opts; read_opts.stats = &stats; - read_opts.tablet_schema = &build_schema; + read_opts.tablet_schema = &query_schema; std::unique_ptr iter; ASSERT_TRUE(segment->new_iterator(schema, read_opts, &iter).ok());