In this plan, the probe SamplerExec overestimates the cost/rows because dynamic filters are not being applied to the DataSourceExec during the sampling period.
stage 3
HashJoinExec
NetworkShuffleExec
NetworkShuffleExec
stage 2 - build
RepartitionExec
SamplerExec
AggregateExec
DataSourceExec
stage 1 - probe
RepartitionExec
SamplerExec
AggregateExec
DataSourceExec
In this plan, the probe
SamplerExecoverestimates the cost/rows because dynamic filters are not being applied to theDataSourceExecduring the sampling period.