You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "loneylee (via GitHub)" <gi...@apache.org> on 2025/05/19 07:04:35 UTC
[I] [CH] The number of rows read by kafka is incorrect [incubator-gluten]
loneylee opened a new issue, #9681:
URL: https://github.com/apache/incubator-gluten/issues/9681
### Backend
VL (Velox)
### Bug description
When a batch rows greater than `MaxBlockSize`, the kafka source will only return `MaxBlockSize` row.
Because: GlutenKafkaSource.cpp
```
size_t GlutenKafkaSource::getPollMaxBatchSize() const
{
size_t batch_size = (*kafka_settings)[KafkaSetting::kafka_poll_max_batch_size].changed
? (*kafka_settings)[KafkaSetting::kafka_poll_max_batch_size].value
: context->getSettingsRef()[Setting::max_block_size].value;
return std::min(batch_size, getMaxBlockSize());
}
```
### Gluten version
_No response_
### Spark version
None
### Spark configurations
_No response_
### System information
_No response_
### Relevant logs
```bash
```
--
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.
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [I] [CH] The number of rows read by kafka is incorrect [incubator-gluten]
Posted by "loneylee (via GitHub)" <gi...@apache.org>.
loneylee closed issue #9681: [CH] The number of rows read by kafka is incorrect
URL: https://github.com/apache/incubator-gluten/issues/9681
--
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.
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org