File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -521,10 +521,12 @@ func (a *FlowableActivity) GetQRepPartitions(ctx context.Context,
521521 defer cancel ()
522522 if bytes , connErr := tableSizeEstimatorConn .GetTableSizeEstimatedBytes (timeoutCtx , config .WatermarkTable ); connErr == nil {
523523 if bytes > 1 << 40 { // 1 TiB
524- msg := fmt .Sprintf ("Large table detected: %s (%s). Partitioning query may take several hours to execute. " +
524+ msg := fmt .Sprintf ("large table detected: %s (%s). Partitioning query may take several hours to execute. " +
525525 "This is normal for tables over 1 TiB." , config .WatermarkTable , utils .FormatTableSize (bytes ))
526526 a .Alerter .LogFlowInfo (ctx , config .FlowJobName , msg )
527527 }
528+ } else {
529+ logger .Warn ("failed to get estimated table size" , slog .Any ("error" , connErr ))
528530 }
529531 }
530532
You can’t perform that action at this time.
0 commit comments