Skip to content

Commit e52a0e6

Browse files
Update src/iceberg/avro/avro_reader.cc
Co-authored-by: Gang Wu <[email protected]>
1 parent 6290f03 commit e52a0e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/iceberg/avro/avro_reader.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class AvroBatchReader::Impl {
105105
ICEBERG_RETURN_UNEXPECTED(ApplyFieldIdsFromNameMapping(*options.name_mapping,
106106
file_schema.root().get()));
107107
} else {
108-
return NotImplemented(
108+
return InvalidSchema(
109109
"Avro file schema has no field IDs and no name mapping provided");
110110
}
111111
} else if (!has_id_visitor.AllHaveIds()) {

0 commit comments

Comments
 (0)