diff --git a/parquet/src/arrow/schema/mod.rs b/parquet/src/arrow/schema/mod.rs index c859e14e30d..bdb1d800c6a 100644 --- a/parquet/src/arrow/schema/mod.rs +++ b/parquet/src/arrow/schema/mod.rs @@ -316,7 +316,7 @@ impl<'a> ArrowToParquetSchemaConverter<'a> { } /// Set the root schema element name (defaults to `"arrow_schema"`). - pub fn schema_root(mut self, schema_root: &'a str) -> Self { + pub fn with_root(mut self, schema_root: &'a str) -> Self { self.schema_root = schema_root; self }