Use SimpleInsertQueryPlan when query assigns id even if optimizer increment is bigger than 1

Description

The example in has shown that we currently create a multi-table insert plan because the sequence optimizer has an allocation size bigger than 1, although it wouldn’t be necessary because the statement assigns an id already.

The improvement is to use the SimpleInsertQueryPlan to avoid creating a temporary table.

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created September 19, 2022 at 3:28 PM
Updated October 5, 2022 at 10:02 AM
Resolved September 20, 2022 at 7:13 AM