dataroaring commented on code in PR #56058:
URL: https://github.com/apache/doris/pull/56058#discussion_r2354783634
##########
be/src/vec/sink/writer/vtablet_writer.cpp:
##########
@@ -1457,15 +1457,23 @@ Status VTabletWriter::_init(RuntimeState* state,
RuntimeProfile* profile) {
// and if load_to_single_tablet is set and set to true, we should find
only one tablet in one partition
// for the whole olap table sink
auto find_tablet_mode =
OlapTabletFinder::FindTabletMode::FIND_TABLET_EVERY_ROW;
+ int64_t tablet_switch_row_threshold = 10000000L; // default 10M rows
Review Comment:
make default as a config.
--
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]