File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
datafusion/core/src/datasource/file_format Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff 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( ) ) ,
You can’t perform that action at this time.
0 commit comments