Skip to content

Commit 0b960d9

Browse files
committed
test(11770): update tests with new default to include arrow schema
1 parent aac8571 commit 0b960d9

File tree

1 file changed

+10
-0
lines changed
  • datafusion/core/src/datasource/file_format

1 file changed

+10
-0
lines changed

datafusion/core/src/datasource/file_format/parquet.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2354,6 +2354,11 @@ mod tests {
23542354

23552355
// check the file metadata
23562356
let expected_kv_meta = vec![
2357+
// default is to include arrow schema
2358+
KeyValue {
2359+
key: "ARROW:schema".to_string(),
2360+
value: Some(ENCODED_ARROW_SCHEMA.to_string()),
2361+
},
23572362
KeyValue {
23582363
key: "my-data".to_string(),
23592364
value: Some("stuff".to_string()),
@@ -2387,6 +2392,11 @@ mod tests {
23872392

23882393
// check the file metadata
23892394
let expected_kv_meta = vec![
2395+
// default is to include arrow schema
2396+
KeyValue {
2397+
key: "ARROW:schema".to_string(),
2398+
value: Some(ENCODED_ARROW_SCHEMA.to_string()),
2399+
},
23902400
KeyValue {
23912401
key: "my-data".to_string(),
23922402
value: Some("stuff".to_string()),

0 commit comments

Comments
 (0)