From 0b960d92ea0340af6f8d5c86d8497251ab226b2e Mon Sep 17 00:00:00 2001 From: wiedld Date: Fri, 20 Dec 2024 17:51:48 -0800 Subject: [PATCH] test(11770): update tests with new default to include arrow schema --- datafusion/core/src/datasource/file_format/parquet.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/datafusion/core/src/datasource/file_format/parquet.rs b/datafusion/core/src/datasource/file_format/parquet.rs index 0e6ffe38c393..b7f4bce17bd1 100644 --- a/datafusion/core/src/datasource/file_format/parquet.rs +++ b/datafusion/core/src/datasource/file_format/parquet.rs @@ -2354,6 +2354,11 @@ mod tests { // check the file metadata let expected_kv_meta = vec![ + // default is to include arrow schema + KeyValue { + key: "ARROW:schema".to_string(), + value: Some(ENCODED_ARROW_SCHEMA.to_string()), + }, KeyValue { key: "my-data".to_string(), value: Some("stuff".to_string()), @@ -2387,6 +2392,11 @@ mod tests { // check the file metadata let expected_kv_meta = vec![ + // default is to include arrow schema + KeyValue { + key: "ARROW:schema".to_string(), + value: Some(ENCODED_ARROW_SCHEMA.to_string()), + }, KeyValue { key: "my-data".to_string(), value: Some("stuff".to_string()),