Skip to content

Commit

Permalink
Fix fill column source and target schema order
Browse files Browse the repository at this point in the history
  • Loading branch information
BohuTANG committed Nov 2, 2022
1 parent 514a047 commit a41f14a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/query/service/src/pipelines/pipeline_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -626,9 +626,9 @@ impl PipelineBuilder {

// Fill missing columns.
{
let target_schema = insert_schema;
let source_schema = &table.schema();
if target_schema != source_schema {
let source_schema = insert_schema;
let target_schema = &table.schema();
if source_schema != target_schema {
self.main_pipeline.add_transform(
|transform_input_port, transform_output_port| {
TransformAddOn::try_create(
Expand Down

0 comments on commit a41f14a

Please sign in to comment.