caiconghui commented on a change in pull request #8041:
URL: https://github.com/apache/incubator-doris/pull/8041#discussion_r810596382
##########
File path: be/src/vec/sink/vtablet_sink.cpp
##########
@@ -117,7 +120,16 @@ Status VOlapTableSink::send(RuntimeState* state,
vectorized::Block* input_block)
continue;
}
_partition_ids.emplace(partition->id);
- uint32_t tablet_index = dist_hash % partition->num_buckets;
+ if (findTabletMode != FindTabletMode::FIND_TABLET_EVERY_ROW) {
Review comment:
if we find first tablet for one partition, we don't clear the
partition_to_tablet_map before processing every row batch
--
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]