From bd4e2d5135e3e4fe2d3dc61e043659243f4423bb Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Mon, 16 Dec 2024 15:44:01 -0500 Subject: [PATCH] Update parquet/src/arrow/schema/mod.rs Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com> --- parquet/src/arrow/schema/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }