File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 2424#include < avro/Types.hh>
2525#include < gtest/gtest.h>
2626
27+ #include " iceberg/avro/avro_register.h"
2728#include " iceberg/avro/avro_schema_util_internal.h"
2829#include " iceberg/metadata_columns.h"
2930#include " iceberg/name_mapping.h"
@@ -605,6 +606,7 @@ TEST(HasIdVisitorTest, ComplexNestedSchema) {
605606}
606607
607608TEST (HasIdVisitorTest, ArrayBackedMapWithIds) {
609+ ::iceberg::avro::RegisterLogicalTypes ();
608610 const std::string schema_json = R"( {
609611 "type": "array",
610612 "items": {
@@ -1022,6 +1024,8 @@ TEST(AvroSchemaProjectionTest, ProjectMapType) {
10221024}
10231025
10241026TEST (AvroSchemaProjectionTest, ProjectMapTypeWithNonStringKey) {
1027+ ::iceberg::avro::RegisterLogicalTypes ();
1028+
10251029 // Create iceberg schema with an int->string map
10261030 Schema expected_schema ({
10271031 SchemaField::MakeOptional (
You can’t perform that action at this time.
0 commit comments