bugfix: fix imcstore scan delta scan error.

This commit is contained in:
SetnameWang
2024-11-07 15:21:42 +08:00
parent 058fa062e7
commit db08a2850f
2 changed files with 3 additions and 4 deletions

View File

@ -889,8 +889,9 @@ void CStore::CStoreScan(_in_ CStoreScanState* state, _out_ VectorBatch* vecBatch
RoughCheckIfNeed(state);
CSTORESCAN_TRACE_END(MIN_MAX_CHECK);
if (m_isImcstore && ImcstoreFillByDeltaScan(state, vecBatchOut)) {
return;
if (m_isImcstore) {
state->ss_deltaScan = ImcstoreFillByDeltaScan(state, vecBatchOut);
if (state->ss_deltaScan) return;
}
// step3: Have CU hitted

View File

@ -300,7 +300,6 @@ bool IMCStore::ImcstoreFillByDeltaScan(_in_ CStoreScanState* state, _out_ Vector
FillPerRowGroupDelta((IMCStoreScanState*)state, currid, vecBatchOut);
if (!BatchIsNull(vecBatchOut)) {
state->ss_deltaScan = true;
return true;
}
}
@ -308,7 +307,6 @@ bool IMCStore::ImcstoreFillByDeltaScan(_in_ CStoreScanState* state, _out_ Vector
if (BatchIsNull(vecBatchOut)) {
return false;
}
state->ss_deltaScan = true;
return true;
}