Skip to content

Commit c07fa1a

Browse files
committed
resolve conflicts after rebase
1 parent 58cf179 commit c07fa1a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/iceberg/test/table_metadata_builder_test.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ std::shared_ptr<Schema> CreateInvalidSchema() {
5555
auto field2 = SchemaField::MakeRequired(5, "part_col", string());
5656
auto field3 = SchemaField::MakeRequired(8, "sort_col", timestamp());
5757
return std::make_shared<Schema>(std::vector<SchemaField>{field1, field2, field3},
58-
std::make_optional(1), std::vector<int32_t>{1});
58+
/*schema_id=*/1,
59+
/*identifier_field_ids=*/std::vector<int32_t>{10});
5960
}
6061

6162
// Helper function to create a simple schema with disordered field_ids
@@ -64,7 +65,8 @@ std::shared_ptr<Schema> CreateDisorderedSchema() {
6465
auto field2 = SchemaField::MakeRequired(5, "part_col", string());
6566
auto field3 = SchemaField::MakeRequired(8, "sort_col", timestamp());
6667
return std::make_shared<Schema>(std::vector<SchemaField>{field1, field2, field3},
67-
std::make_optional(1), std::vector<int32_t>{2});
68+
/*schema_id=*/1,
69+
/*identifier_field_ids=*/std::vector<int32_t>{2});
6870
}
6971

7072
// Helper function to create base metadata for tests

0 commit comments

Comments
 (0)