We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2702fb commit d9937ceCopy full SHA for d9937ce
src/query/service/src/interpreters/interpreter_insert.rs
@@ -379,8 +379,7 @@ impl Interpreter for InsertInterpreter {
379
.format
380
.exec_stream(input_context.clone(), &mut build_res.main_pipeline)?;
381
382
- let format = StageFileFormatType::from_str(format)?;
383
- if StageFileFormatType::Parquet == format {
+ if Ok(StageFileFormatType::Parquet) == StageFileFormatType::from_str(format) {
384
let dest_schema = plan.schema();
385
let func_ctx = self.ctx.get_function_context()?;
386
0 commit comments