Skip to content

Commit

Permalink
Correct error
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Gardner committed Sep 5, 2022
1 parent 2893fbb commit 319619b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/core/src/execution/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ impl SessionContext {
cmd: &CreateExternalTable,
) -> Result<Arc<DataFrame>> {
let factory = &self.table_factories.get(&cmd.file_type).ok_or_else(|| {
DataFusionError::Internal(format!(
DataFusionError::Execution(format!(
"Unable to find factory for {}",
cmd.file_type
))
Expand Down

0 comments on commit 319619b

Please sign in to comment.