We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1e4e8c commit c3bd1c8Copy full SHA for c3bd1c8
1 file changed
datafusion/datasource-avro/src/mod.rs
@@ -46,9 +46,7 @@ pub fn read_avro_schema_from_reader<R: Read>(
46
// that are stricter than DataFusion's table schema handling needs for inferred schemas.
47
// Drop metadata from inferred schemas so runtime batches and inferred table schemas
48
// compare consistently without requiring strict Avro metadata identity.
49
- Ok(strip_metadata_from_schema(
50
- avro_reader.schema().as_ref(),
51
- ))
+ Ok(strip_metadata_from_schema(avro_reader.schema().as_ref()))
52
}
53
54
fn strip_metadata_from_schema(schema: &Schema) -> Schema {
0 commit comments