bugfix: fix imcstore scan delta scan error.
This commit is contained in:
@ -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
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user