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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]