Skip to content

Commit 896eb8b

Browse files
committed
fix
1 parent 210616c commit 896eb8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • datafusion/core/src/datasource

datafusion/core/src/datasource/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ mod tests {
277277

278278
let adapter = DefaultSchemaAdapterFactory::from_schema(Arc::new(table_schema));
279279
let err = adapter.map_schema(&file_schema).unwrap_err().to_string();
280-
assert_eq!(err, "Error during planning: Column a is missing from the file schema, cannot be generated, and is non-nullable");
280+
assert!(err.contains("Error during planning: Column a is missing from the file schema, cannot be generated, and is non-nullable"));
281281
}
282282

283283
#[derive(Debug)]

0 commit comments

Comments
 (0)