(v *plannercore.PhysicalUnionScan)
| 1361 | } |
| 1362 | |
| 1363 | func (b *executorBuilder) buildUnionScanExec(v *plannercore.PhysicalUnionScan) exec.Executor { |
| 1364 | oriEncounterUnionScan := b.encounterUnionScan |
| 1365 | b.encounterUnionScan = true |
| 1366 | defer func() { |
| 1367 | b.encounterUnionScan = oriEncounterUnionScan |
| 1368 | }() |
| 1369 | reader := b.build(v.Children()[0]) |
| 1370 | if b.err != nil { |
| 1371 | return nil |
| 1372 | } |
| 1373 | |
| 1374 | return b.buildUnionScanFromReader(reader, v) |
| 1375 | } |
| 1376 | |
| 1377 | func collectColIdxFromByItems(byItems []*plannerutil.ByItems, cols []*model.ColumnInfo) ([]int, error) { |
| 1378 | var colIdxs []int |
no test coverage detected