github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/sql/opt/optgen/exprgen/testdata/values (about) 1 expr 2 (Values 3 [ 4 (Tuple [ (Const 1 "int") (Const 1 "int") ] "tuple{int, int}" ) 5 (Tuple [ (Const 2 "int") (Const 2 "int") ] "tuple{int, int}" ) 6 ] 7 [ (Cols [ (NewColumn "a" "int") (NewColumn "b" "int") ]) ] 8 ) 9 ---- 10 values 11 ├── columns: a:1(int!null) b:2(int!null) 12 ├── cardinality: [2 - 2] 13 ├── stats: [rows=2] 14 ├── cost: 0.03 15 ├── prune: (1,2) 16 ├── tuple [type=tuple{int, int}] 17 │ ├── const: 1 [type=int] 18 │ └── const: 1 [type=int] 19 └── tuple [type=tuple{int, int}] 20 ├── const: 2 [type=int] 21 └── const: 2 [type=int] 22 23 expr 24 (Project 25 (Values 26 [ (Tuple [ (Const 1 "int") ] "tuple{int}" ) ] 27 [ (Cols [ (NewColumn "x" "int") ]) ] 28 ) 29 [ (ProjectionsItem (Plus (Var "x") (Const 10 "int")) (NewColumn "y" "int")) ] 30 "x" 31 ) 32 ---- 33 project 34 ├── columns: y:2(int!null) x:1(int!null) 35 ├── cardinality: [1 - 1] 36 ├── stats: [rows=1] 37 ├── cost: 0.05 38 ├── key: () 39 ├── fd: ()-->(1,2) 40 ├── prune: (1,2) 41 ├── values 42 │ ├── columns: x:1(int!null) 43 │ ├── cardinality: [1 - 1] 44 │ ├── stats: [rows=1] 45 │ ├── cost: 0.02 46 │ ├── key: () 47 │ ├── fd: ()-->(1) 48 │ ├── prune: (1) 49 │ └── tuple [type=tuple{int}] 50 │ └── const: 1 [type=int] 51 └── projections 52 └── plus [as=y:2, type=int, outer=(1)] 53 ├── variable: x:1 [type=int] 54 └── const: 10 [type=int]