You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Abhishek Rawat (Jira)" <ji...@apache.org> on 2024/07/31 16:42:00 UTC
[jira] [Updated] (IMPALA-12376) DataSourceScanNode drop some returned rows if FLAGS_data_source_batch_size is greater than default value
[ https://issues.apache.org/jira/browse/IMPALA-12376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abhishek Rawat updated IMPALA-12376:
------------------------------------
Priority: Critical (was: Major)
> DataSourceScanNode drop some returned rows if FLAGS_data_source_batch_size is greater than default value
> --------------------------------------------------------------------------------------------------------
>
> Key: IMPALA-12376
> URL: https://issues.apache.org/jira/browse/IMPALA-12376
> Project: IMPALA
> Issue Type: Sub-task
> Components: Backend
> Reporter: Wenzhe Zhou
> Assignee: Wenzhe Zhou
> Priority: Critical
> Fix For: Impala 4.4.0
>
>
> Backend DataSourceScanNode (be/src/exec/data-source-scan-node.cc) does not handle eos properly in function DataSourceScanNode::GetNext(). Rows, which are returned from external data source, could be dropped if FLAGS_data_source_batch_size is set with value which is greater than default value 1024.
> In following code:
> if (row_batch->AtCapacity() || input_batch_->eos || ReachedLimit()) {
> *eos = input_batch_->eos || ReachedLimit();
> eos could be set as true when some rows in input batch are not processed if row_batch->AtCapacity() return true.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org