You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "JingsongLi (via GitHub)" <gi...@apache.org> on 2024/05/29 07:49:52 UTC
[PR] [core] Introduce ReadBuilder.withShard [paimon]
JingsongLi opened a new pull request, #3423:
URL: https://github.com/apache/paimon/pull/3423
<!-- Please specify the module before the PR name: [core] ... or [flink] ... -->
### Purpose
<!-- Linking this pull request to the issue -->
Introduce `ReadBuilder.withShard`:
```
/** Specify the shard to be read, and allocate sharded files to read records. */
ReadBuilder withShard(int indexOfThisSubtask, int numberOfParallelSubtasks);
```
For some OLAP engines, they do not have a central node to uniformly generate splits, which requires each work to generate the splits that need to be read.
Before this feature, if each worker were to retrieve all the splits, there might be a significant cost, so this interface should minimize the reading of metadata as much as possible.
<!-- What is the purpose of the change -->
### Tests
<!-- List UT and IT cases to verify this change -->
### API and Format
<!-- Does this change affect API or storage format -->
### Documentation
<!-- Does this change introduce a new feature -->
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [core] Introduce ReadBuilder.withShard [paimon]
Posted by "leaves12138 (via GitHub)" <gi...@apache.org>.
leaves12138 merged PR #3423:
URL: https://github.com/apache/paimon/pull/3423
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org