Skip to content

Commit

Permalink
slotid equal
Browse files Browse the repository at this point in the history
Signed-off-by: zombee0 <[email protected]>
  • Loading branch information
zombee0 committed Dec 20, 2024
1 parent baa5a2e commit 5799707
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private static void tryTriggerRefreshDictAsync(GlobalDictNotMatchException e, Re
}
SlotId slotId = new SlotId(err.first.get());
for (ScanNode scanNode : context.execPlan.getScanNodes()) {
if (scanNode.getDesc().getSlots().stream().anyMatch(x -> x.getId() == slotId)) {
if (scanNode.getDesc().getSlots().stream().anyMatch(x -> x.getId().equals(slotId))) {
String columnName = scanNode.getDesc().getSlot(slotId.asInt()).getColumn().getName();
String tableUUID = scanNode.getDesc().getTable().getUUID();
StatisticExecutor.updateDictASync(tableUUID, columnName, err.second);
Expand Down

0 comments on commit 5799707

Please sign in to comment.