wuyunfeng commented on a change in pull request #1527: Expose data pruned-filter-scan ability URL: https://github.com/apache/incubator-doris/pull/1527#discussion_r306600593
########## File path: be/src/exec/data_sink.cpp ########## @@ -69,7 +71,14 @@ Status DataSink::create_data_sink( tmp_sink = new ResultSink(row_desc, output_exprs, thrift_sink.result_sink, 1024); sink->reset(tmp_sink); break; + case TDataSinkType::MEMORY_SCRATCH_SINK: + if (!thrift_sink.__isset.memory_scratch_sink) { + return Status::InternalError("Missing data buffer sink."); Review comment: maybe internal error reflect FE Plan happen error even more ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org For additional commands, e-mail: dev-h...@doris.apache.org