fix bug for rownum when cstore

This commit is contained in:
yupeng
2021-03-09 11:26:23 +08:00
parent c95258b287
commit 1eefafe1a0
4 changed files with 148 additions and 0 deletions

View File

@ -154,6 +154,7 @@ TupleTableSlot* ExecVecToRow(VecToRowState* state) /* return: a tuple or NULL */
state->m_currentRow = 0;
// Convert the batch into row based tuple
DevectorizeOneBatch(state);
outer_plan->ps_rownum += current_batch->m_rows;
}
// retrieve rows from current batch