还是需要聚合

This commit is contained in:
xuejiaming 2023-04-27 17:19:45 +08:00
parent 592a5016d8
commit dc5fb1a487
1 changed files with 4 additions and 4 deletions

View File

@ -34,10 +34,10 @@ namespace ShardingCore.Sharding.MergeEngines.ShardingExecutors
if (results.IsEmpty())
throw new ShardingCoreException("sharding execute result empty");
//不需要merge
if (results.Count == 1)
{
return results[0];
}
//if (results.Count == 1)
//{
// return results[0];
//}
var streamMerge = executor.GetShardingMerger().StreamMerge(results);
return streamMerge;
}