-
Notifications
You must be signed in to change notification settings - Fork 3.8k
/
distsql_spec_exec_factory.go
570 lines (497 loc) · 19.8 KB
/
distsql_spec_exec_factory.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
// Copyright 2020 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
package sql
import (
"github.com/cockroachdb/cockroach/pkg/geo/geoindex"
"github.com/cockroachdb/cockroach/pkg/roachpb"
"github.com/cockroachdb/cockroach/pkg/sql/execinfrapb"
"github.com/cockroachdb/cockroach/pkg/sql/opt"
"github.com/cockroachdb/cockroach/pkg/sql/opt/cat"
"github.com/cockroachdb/cockroach/pkg/sql/opt/constraint"
"github.com/cockroachdb/cockroach/pkg/sql/opt/exec"
"github.com/cockroachdb/cockroach/pkg/sql/physicalplan"
"github.com/cockroachdb/cockroach/pkg/sql/sem/tree"
"github.com/cockroachdb/cockroach/pkg/sql/span"
"github.com/cockroachdb/cockroach/pkg/sql/sqlbase"
"github.com/cockroachdb/cockroach/pkg/util/errorutil/unimplemented"
)
type distSQLSpecExecFactory struct {
planner *planner
dsp *DistSQLPlanner
}
var _ exec.Factory = &distSQLSpecExecFactory{}
func newDistSQLSpecExecFactory(p *planner, dsp *DistSQLPlanner) exec.Factory {
return &distSQLSpecExecFactory{planner: p, dsp: dsp}
}
func (e *distSQLSpecExecFactory) ConstructValues(
rows [][]tree.TypedExpr, cols sqlbase.ResultColumns,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
// ConstructScan implements exec.Factory interface by combining the logic that
// performs scanNode creation of execFactory.ConstructScan and physical
// planning of table readers of DistSQLPlanner.createTableReaders.
func (e *distSQLSpecExecFactory) ConstructScan(
table cat.Table,
index cat.Index,
needed exec.TableColumnOrdinalSet,
indexConstraint *constraint.Constraint,
hardLimit int64,
softLimit int64,
reverse bool,
maxResults uint64,
reqOrdering exec.OutputOrdering,
rowCount float64,
locking *tree.LockingItem,
) (exec.Node, error) {
if table.IsVirtualTable() {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
var p PhysicalPlan
// Although we don't yet recommend distributing plans where soft limits
// propagate to scan nodes because we don't have infrastructure to only
// plan for a few ranges at a time, the propagation of the soft limits
// to scan nodes has been added in 20.1 release, so to keep the
// previous behavior we continue to ignore the soft limits for now.
// TODO(yuzefovich): pay attention to the soft limits.
recommendation := canDistribute
// ------- begin execFactory.ConstructScan -------
tabDesc := table.(*optTable).desc
indexDesc := index.(*optIndex).desc
colCfg := makeScanColumnsConfig(table, needed)
sb := span.MakeBuilder(e.planner.ExecCfg().Codec, tabDesc.TableDesc(), indexDesc)
// Note that initColsForScan and setting ResultColumns below are equivalent
// to what scan.initTable call does in execFactory.ConstructScan.
cols, err := initColsForScan(tabDesc, colCfg)
if err != nil {
return nil, err
}
p.ResultColumns = sqlbase.ResultColumnsFromColDescs(tabDesc.GetID(), cols)
if indexConstraint != nil && indexConstraint.IsContradiction() {
// TODO(yuzefovich): once ConstructValues is implemented, consider
// calling it here.
physPlan, err := e.dsp.createValuesPlan(
getTypesFromResultColumns(p.ResultColumns), 0 /* numRows */, nil, /* rawBytes */
)
return planMaybePhysical{physPlan: physPlan, recommendation: canDistribute}, err
}
// TODO(yuzefovich): scanNode adds "parallel" attribute in walk.go when
// scanNode.canParallelize() returns true. We should plumb that info from
// here somehow as well.
var spans roachpb.Spans
spans, err = sb.SpansFromConstraint(indexConstraint, needed, false /* forDelete */)
if err != nil {
return nil, err
}
isFullTableScan := len(spans) == 1 && spans[0].EqualValue(
tabDesc.IndexSpan(e.planner.ExecCfg().Codec, indexDesc.ID),
)
if err = colCfg.assertValidReqOrdering(reqOrdering); err != nil {
return nil, err
}
// ------- end execFactory.ConstructScan -------
// Check if we are doing a full scan.
if isFullTableScan {
recommendation = recommendation.compose(shouldDistribute)
}
// ------- begin DistSQLPlanner.createTableReaders -------
colsForScanToTableOrdinalMap := getColsForScanToTableOrdinalMap(cols, tabDesc, colCfg.visibility)
// ------- begin DistSQLPlanner.initTableReaderSpec -------
trSpec := physicalplan.NewTableReaderSpec()
*trSpec = execinfrapb.TableReaderSpec{
Table: *tabDesc.TableDesc(),
Reverse: reverse,
IsCheck: false,
Visibility: colCfg.visibility,
// Retain the capacity of the spans slice.
Spans: trSpec.Spans[:0],
}
trSpec.IndexIdx, err = getIndexIdx(indexDesc, tabDesc)
if err != nil {
return nil, err
}
if locking != nil {
trSpec.LockingStrength = sqlbase.ToScanLockingStrength(locking.Strength)
trSpec.LockingWaitPolicy = sqlbase.ToScanLockingWaitPolicy(locking.WaitPolicy)
if trSpec.LockingStrength != sqlbase.ScanLockingStrength_FOR_NONE {
// Scans that are performing row-level locking cannot currently be
// distributed because their locks would not be propagated back to
// the root transaction coordinator.
// TODO(nvanbenschoten): lift this restriction.
recommendation = cannotDistribute
}
}
// Note that we don't do anything about the possible filter here since we
// don't know yet whether we will have it. ConstructFilter is responsible
// for pushing the filter down into the post-processing stage of this scan.
post := execinfrapb.PostProcessSpec{}
if hardLimit != 0 {
post.Limit = uint64(hardLimit)
} else if softLimit != 0 {
trSpec.LimitHint = softLimit
}
// ------- end DistSQLPlanner.initTableReaderSpec -------
distribute := shouldDistributeGivenRecAndMode(recommendation, e.planner.extendedEvalCtx.SessionData.DistSQLMode)
if _, singleTenant := e.planner.execCfg.NodeID.OptionalNodeID(); !singleTenant {
distribute = false
}
evalCtx := e.planner.ExtendedEvalContext()
planCtx := e.dsp.NewPlanningCtx(evalCtx.Context, evalCtx, e.planner.txn, distribute)
err = e.dsp.planTableReaders(
planCtx, &p, trSpec, post, tabDesc, spans, reverse, colCfg, maxResults,
uint64(rowCount), ReqOrdering(reqOrdering), cols, colsForScanToTableOrdinalMap,
)
// ------- end DistSQLPlanner.createTableReaders -------
return planMaybePhysical{physPlan: &p, recommendation: recommendation}, err
}
func (e *distSQLSpecExecFactory) ConstructFilter(
n exec.Node, filter tree.TypedExpr, reqOrdering exec.OutputOrdering,
) (exec.Node, error) {
// TODO(yuzefovich): figure out how to push the filter into the table
// reader when it already doesn't have a filter and it doesn't have a hard
// limit.
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructSimpleProject(
n exec.Node, cols []exec.NodeColumnOrdinal, colNames []string, reqOrdering exec.OutputOrdering,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructRender(
n exec.Node,
columns sqlbase.ResultColumns,
exprs tree.TypedExprs,
reqOrdering exec.OutputOrdering,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructApplyJoin(
joinType sqlbase.JoinType,
left exec.Node,
rightColumns sqlbase.ResultColumns,
onCond tree.TypedExpr,
planRightSideFn exec.ApplyJoinPlanRightSideFn,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructHashJoin(
joinType sqlbase.JoinType,
left, right exec.Node,
leftEqCols, rightEqCols []exec.NodeColumnOrdinal,
leftEqColsAreKey, rightEqColsAreKey bool,
extraOnCond tree.TypedExpr,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructMergeJoin(
joinType sqlbase.JoinType,
left, right exec.Node,
onCond tree.TypedExpr,
leftOrdering, rightOrdering sqlbase.ColumnOrdering,
reqOrdering exec.OutputOrdering,
leftEqColsAreKey, rightEqColsAreKey bool,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructGroupBy(
input exec.Node,
groupCols []exec.NodeColumnOrdinal,
groupColOrdering sqlbase.ColumnOrdering,
aggregations []exec.AggInfo,
reqOrdering exec.OutputOrdering,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructScalarGroupBy(
input exec.Node, aggregations []exec.AggInfo,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructDistinct(
input exec.Node,
distinctCols, orderedCols exec.NodeColumnOrdinalSet,
reqOrdering exec.OutputOrdering,
nullsAreDistinct bool,
errorOnDup string,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructSetOp(
typ tree.UnionType, all bool, left, right exec.Node,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructSort(
input exec.Node, ordering sqlbase.ColumnOrdering, alreadyOrderedPrefix int,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructOrdinality(
input exec.Node, colName string,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructIndexJoin(
input exec.Node,
table cat.Table,
keyCols []exec.NodeColumnOrdinal,
tableCols exec.TableColumnOrdinalSet,
reqOrdering exec.OutputOrdering,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructLookupJoin(
joinType sqlbase.JoinType,
input exec.Node,
table cat.Table,
index cat.Index,
eqCols []exec.NodeColumnOrdinal,
eqColsAreKey bool,
lookupCols exec.TableColumnOrdinalSet,
onCond tree.TypedExpr,
reqOrdering exec.OutputOrdering,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructGeoLookupJoin(
joinType sqlbase.JoinType,
geoRelationshipType geoindex.RelationshipType,
input exec.Node,
table cat.Table,
index cat.Index,
geoCol exec.NodeColumnOrdinal,
lookupCols exec.TableColumnOrdinalSet,
onCond tree.TypedExpr,
reqOrdering exec.OutputOrdering,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructZigzagJoin(
leftTable cat.Table,
leftIndex cat.Index,
rightTable cat.Table,
rightIndex cat.Index,
leftEqCols []exec.NodeColumnOrdinal,
rightEqCols []exec.NodeColumnOrdinal,
leftCols exec.NodeColumnOrdinalSet,
rightCols exec.NodeColumnOrdinalSet,
onCond tree.TypedExpr,
fixedVals []exec.Node,
reqOrdering exec.OutputOrdering,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructLimit(
input exec.Node, limit, offset tree.TypedExpr,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructMax1Row(
input exec.Node, errorText string,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructProjectSet(
n exec.Node, exprs tree.TypedExprs, zipCols sqlbase.ResultColumns, numColsPerGen []int,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructWindow(
input exec.Node, window exec.WindowInfo,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) RenameColumns(
input exec.Node, colNames []string,
) (exec.Node, error) {
inputCols := input.(planMaybePhysical).physPlan.ResultColumns
for i := range inputCols {
inputCols[i].Name = colNames[i]
}
return input, nil
}
func (e *distSQLSpecExecFactory) ConstructPlan(
root exec.Node, subqueries []exec.Subquery, cascades []exec.Cascade, checks []exec.Node,
) (exec.Plan, error) {
return constructPlan(e.planner, root, subqueries, cascades, checks, false /* usesPlanNodeRepresentation */)
}
func (e *distSQLSpecExecFactory) ConstructExplainOpt(
plan string, envOpts exec.ExplainEnvData,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructExplain(
options *tree.ExplainOptions, stmtType tree.StatementType, plan exec.Plan,
) (exec.Node, error) {
// TODO(yuzefovich): make sure to return the same nice error in some
// variants of EXPLAIN when subqueries are present as we do in the old path.
// TODO(yuzefovich): make sure that local plan nodes that create
// distributed jobs are shown as "distributed". See distSQLExplainable.
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructShowTrace(
typ tree.ShowTraceType, compact bool,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructInsert(
input exec.Node,
table cat.Table,
insertCols exec.TableColumnOrdinalSet,
returnCols exec.TableColumnOrdinalSet,
checkCols exec.CheckOrdinalSet,
allowAutoCommit bool,
skipFKChecks bool,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructInsertFastPath(
rows [][]tree.TypedExpr,
table cat.Table,
insertCols exec.TableColumnOrdinalSet,
returnCols exec.TableColumnOrdinalSet,
checkCols exec.CheckOrdinalSet,
fkChecks []exec.InsertFastPathFKCheck,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructUpdate(
input exec.Node,
table cat.Table,
fetchCols exec.TableColumnOrdinalSet,
updateCols exec.TableColumnOrdinalSet,
returnCols exec.TableColumnOrdinalSet,
checks exec.CheckOrdinalSet,
passthrough sqlbase.ResultColumns,
allowAutoCommit bool,
skipFKChecks bool,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructUpsert(
input exec.Node,
table cat.Table,
canaryCol exec.NodeColumnOrdinal,
insertCols exec.TableColumnOrdinalSet,
fetchCols exec.TableColumnOrdinalSet,
updateCols exec.TableColumnOrdinalSet,
returnCols exec.TableColumnOrdinalSet,
checks exec.CheckOrdinalSet,
allowAutoCommit bool,
skipFKChecks bool,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructDelete(
input exec.Node,
table cat.Table,
fetchCols exec.TableColumnOrdinalSet,
returnCols exec.TableColumnOrdinalSet,
allowAutoCommit bool,
skipFKChecks bool,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructDeleteRange(
table cat.Table,
needed exec.TableColumnOrdinalSet,
indexConstraint *constraint.Constraint,
interleavedTables []cat.Table,
maxReturnedKeys int,
allowAutoCommit bool,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructCreateTable(
input exec.Node, schema cat.Schema, ct *tree.CreateTable,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructCreateView(
schema cat.Schema,
viewName string,
ifNotExists bool,
replace bool,
temporary bool,
viewQuery string,
columns sqlbase.ResultColumns,
deps opt.ViewDeps,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructSequenceSelect(sequence cat.Sequence) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructSaveTable(
input exec.Node, table *cat.DataSourceName, colNames []string,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructErrorIfRows(
input exec.Node, mkErr func(tree.Datums) error,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructOpaque(metadata opt.OpaqueMetadata) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructAlterTableSplit(
index cat.Index, input exec.Node, expiration tree.TypedExpr,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructAlterTableUnsplit(
index cat.Index, input exec.Node,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructAlterTableUnsplitAll(index cat.Index) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructAlterTableRelocate(
index cat.Index, input exec.Node, relocateLease bool,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructBuffer(
input exec.Node, label string,
) (exec.BufferNode, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructScanBuffer(
ref exec.BufferNode, label string,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructRecursiveCTE(
initial exec.Node, fn exec.RecursiveCTEIterationFn, label string,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructControlJobs(
command tree.JobCommand, input exec.Node,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructCancelQueries(
input exec.Node, ifExists bool,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructCancelSessions(
input exec.Node, ifExists bool,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}
func (e *distSQLSpecExecFactory) ConstructExport(
input exec.Node, fileName tree.TypedExpr, fileFormat string, options []exec.KVOption,
) (exec.Node, error) {
return nil, unimplemented.NewWithIssue(47473, "experimental opt-driven distsql planning")
}