Skip to content

Commit

Permalink
test(11770): update tests with new default to include arrow schema
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedld committed Dec 21, 2024
1 parent aac8571 commit 0b960d9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions datafusion/core/src/datasource/file_format/parquet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand Down Expand Up @@ -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()),
Expand Down

0 comments on commit 0b960d9

Please sign in to comment.