Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
924060929 committed Aug 29, 2024
1 parent 4760f39 commit bb32a1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1904,7 +1904,7 @@ protected void computeFragmentHosts() throws Exception {
&& !fragment.hasNullAwareLeftAntiJoin() && useNereids;
boolean ignoreStorageDataDistribution = forceToLocalShuffle || (node.isPresent()
&& node.get().ignoreStorageDataDistribution(context, addressToBackendID.size())
&& useNereids);
&& useNereids) && fragment.queryCacheParam == null;
if (node.isPresent() && ignoreStorageDataDistribution) {
expectedInstanceNum = Math.max(expectedInstanceNum, 1);
// if have limit and no conjuncts, only need 1 instance to save cpu and
Expand Down

0 comments on commit bb32a1a

Please sign in to comment.