File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/query/pipeline/core/src/processors Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,6 @@ impl Processor for ResizeProcessor {
129
129
self . outputs [ output_index]
130
130
. port
131
131
. push_data ( self . inputs [ input_index] . port . pull_data ( ) . unwrap ( ) ) ;
132
- self . inputs [ input_index] . status = PortStatus :: Idle ;
133
132
self . outputs [ output_index] . status = PortStatus :: Idle ;
134
133
135
134
if self . inputs [ input_index] . port . is_finished ( ) {
@@ -141,7 +140,12 @@ impl Processor for ResizeProcessor {
141
140
continue ;
142
141
}
143
142
144
- self . inputs [ input_index] . port . set_need_data ( ) ;
143
+ if !self . inputs [ input_index] . port . has_data ( ) {
144
+ self . inputs [ input_index] . status = PortStatus :: Idle ;
145
+ self . inputs [ input_index] . port . set_need_data ( ) ;
146
+ } else {
147
+ self . waiting_inputs . push_back ( input_index) ;
148
+ }
145
149
}
146
150
147
151
if self . finished_outputs == self . outputs . len ( ) {
You can’t perform that action at this time.
0 commit comments