@@ -1242,7 +1242,7 @@ TEST_F(TableScanTest, missingColumns) {
12421242 assertQuery (op, filePaths, " SELECT count(*) FROM tmp WHERE c1 <= 4000.1" , 0 );
12431243
12441244 // Use missing column 'c1' in 'is null' filter, while not selecting 'c1'.
1245- SubfieldFilters filters;
1245+ common:: SubfieldFilters filters;
12461246 filters[common::Subfield (" c1" )] = lessThanOrEqualDouble (1050.0 , true );
12471247 auto tableHandle = std::make_shared<HiveTableHandle>(
12481248 kHiveConnectorId , " tmp" , true , std::move (filters), nullptr , dataColumns);
@@ -1975,7 +1975,7 @@ TEST_F(TableScanTest, partitionedTableDateKey) {
19751975 {" c0" , regularColumn (" c0" , BIGINT ())},
19761976 {" c1" , regularColumn (" c1" , DOUBLE ())}};
19771977
1978- SubfieldFilters filters;
1978+ common:: SubfieldFilters filters;
19791979 // pkey > 2020-09-01.
19801980 filters[common::Subfield (" pkey" )] = std::make_unique<common::BigintRange>(
19811981 18506 , std::numeric_limits<int64_t >::max (), false );
@@ -2015,7 +2015,7 @@ TEST_F(TableScanTest, partitionedTableTimestampKey) {
20152015 {" c0" , regularColumn (" c0" , BIGINT ())},
20162016 {" c1" , regularColumn (" c1" , DOUBLE ())}};
20172017
2018- SubfieldFilters filters;
2018+ common:: SubfieldFilters filters;
20192019 // pkey = 2023-10-27 00:12:35.
20202020 auto lower = util::fromTimestampString (
20212021 StringView (" 2023-10-27 00:12:35" ),
@@ -2709,7 +2709,7 @@ TEST_F(TableScanTest, filterPushdown) {
27092709 createDuckDbTable (vectors);
27102710
27112711 // c1 >= 0 or null and c3 is true
2712- SubfieldFilters subfieldFilters =
2712+ common:: SubfieldFilters subfieldFilters =
27132713 SubfieldFiltersBuilder ()
27142714 .add (" c1" , greaterThanOrEqual (0 , true ))
27152715 .add (" c3" , std::make_unique<common::BoolValue>(true , false ))
@@ -2805,7 +2805,7 @@ TEST_F(TableScanTest, path) {
28052805
28062806 // use $path in a filter, but don't project it out
28072807 auto tableHandle = makeTableHandle (
2808- SubfieldFilters{},
2808+ common:: SubfieldFilters{},
28092809 parseExpr (fmt::format (" \" {}\" = '{}'" , kPath , pathValue), typeWithPath));
28102810 op = PlanBuilder ()
28112811 .startTableScan ()
@@ -2862,7 +2862,7 @@ TEST_F(TableScanTest, fileSizeAndModifiedTime) {
28622862
28632863 auto filterTest = [&](const std::string& filter) {
28642864 auto tableHandle = makeTableHandle (
2865- SubfieldFilters{},
2865+ common:: SubfieldFilters{},
28662866 parseExpr (filter, allColumns),
28672867 " hive_table" ,
28682868 allColumns);
@@ -5280,7 +5280,8 @@ TEST_F(TableScanTest, rowNumberInRemainingFilter) {
52805280 writeToFile (file->getPath (), {vector});
52815281 auto outputType = ROW ({" c0" }, {BIGINT ()});
52825282 auto remainingFilter = parseExpr (" r1 % 2 == 0" , ROW ({" r1" }, {BIGINT ()}));
5283- auto tableHandle = makeTableHandle (SubfieldFilters{}, remainingFilter);
5283+ auto tableHandle =
5284+ makeTableHandle (common::SubfieldFilters{}, remainingFilter);
52845285 auto plan = PlanBuilder ()
52855286 .startTableScan ()
52865287 .outputType (outputType)
0 commit comments