@@ -3352,10 +3352,85 @@ SELECT (
33523352FROM table3_119441 AS baz;
33533353----
33543354project
3355- ├── columns: col3_5:28(varchar!null )
3355+ ├── columns: col3_5:28(varchar)
33563356 ├── prune: (28)
3357- ├── scan table3_119441 [as=baz]
3358- │ ├── columns: baz.col3_5:1(varchar!null)
3359- │ └── prune: (1)
3357+ ├── reject-nulls: (28)
3358+ ├── left-join-apply
3359+ │ ├── columns: baz.col3_5:1(varchar!null) baz.col3_11:2(char) col3_5:27(varchar)
3360+ │ ├── prune: (27)
3361+ │ ├── reject-nulls: (27)
3362+ │ ├── scan table3_119441 [as=baz]
3363+ │ │ ├── columns: baz.col3_5:1(varchar!null) baz.col3_11:2(char)
3364+ │ │ ├── prune: (1,2)
3365+ │ │ └── unfiltered-cols: (1-6)
3366+ │ ├── project
3367+ │ │ ├── columns: col3_5:27(varchar)
3368+ │ │ ├── outer: (1,2)
3369+ │ │ ├── cardinality: [0 - 1]
3370+ │ │ ├── key: ()
3371+ │ │ ├── fd: ()-->(27)
3372+ │ │ ├── prune: (27)
3373+ │ │ ├── limit
3374+ │ │ │ ├── columns: col1_8:8(bytes!null) col1_11:9(string!null) col1_12:10(string!null) col2_1:14(int4!null) col2_2:15(string!null) col2_3:16(bytes!null) table3_119441.col3_16:22(int!null)
3375+ │ │ │ ├── outer: (2)
3376+ │ │ │ ├── cardinality: [0 - 1]
3377+ │ │ │ ├── key: ()
3378+ │ │ │ ├── fd: ()-->(8-10,14-16,22), (9)==(10,15), (10)==(9,15), (15)==(9,10), (8)==(16), (16)==(8), (14)==(22), (22)==(14)
3379+ │ │ │ ├── interesting orderings: (+(9|10)) (+22)
3380+ │ │ │ ├── inner-join (hash)
3381+ │ │ │ │ ├── columns: col1_8:8(bytes!null) col1_11:9(string!null) col1_12:10(string!null) col2_1:14(int4!null) col2_2:15(string!null) col2_3:16(bytes!null) table3_119441.col3_16:22(int!null)
3382+ │ │ │ │ ├── outer: (2)
3383+ │ │ │ │ ├── fd: ()-->(9,10,15), (9)==(10,15), (10)==(9,15), (15)==(9,10), (8)==(16), (16)==(8), (14)==(22), (22)==(14)
3384+ │ │ │ │ ├── limit hint: 1.00
3385+ │ │ │ │ ├── interesting orderings: (+(9|10)) (+22)
3386+ │ │ │ │ ├── top-k
3387+ │ │ │ │ │ ├── columns: table3_119441.col3_16:22(int)
3388+ │ │ │ │ │ ├── internal-ordering: +22
3389+ │ │ │ │ │ ├── k: 6
3390+ │ │ │ │ │ ├── cardinality: [0 - 6]
3391+ │ │ │ │ │ ├── interesting orderings: (+22)
3392+ │ │ │ │ │ └── scan table3_119441
3393+ │ │ │ │ │ ├── columns: table3_119441.col3_16:22(int)
3394+ │ │ │ │ │ └── prune: (22)
3395+ │ │ │ │ ├── inner-join (hash)
3396+ │ │ │ │ │ ├── columns: col1_8:8(bytes!null) col1_11:9(string!null) col1_12:10(string!null) col2_1:14(int4) col2_2:15(string!null) col2_3:16(bytes!null)
3397+ │ │ │ │ │ ├── fd: (9)==(10,15), (10)==(9,15), (15)==(9,10), (8)==(16), (16)==(8)
3398+ │ │ │ │ │ ├── prune: (14)
3399+ │ │ │ │ │ ├── interesting orderings: (+(9|10))
3400+ │ │ │ │ │ ├── scan table2_119441
3401+ │ │ │ │ │ │ ├── columns: col2_1:14(int4) col2_2:15(string) col2_3:16(bytes)
3402+ │ │ │ │ │ │ ├── prune: (14-16)
3403+ │ │ │ │ │ │ └── unfiltered-cols: (14-19)
3404+ │ │ │ │ │ ├── select
3405+ │ │ │ │ │ │ ├── columns: col1_8:8(bytes) col1_11:9(string!null) col1_12:10(string!null)
3406+ │ │ │ │ │ │ ├── fd: (9)==(10), (10)==(9)
3407+ │ │ │ │ │ │ ├── prune: (8)
3408+ │ │ │ │ │ │ ├── interesting orderings: (+(9|10))
3409+ │ │ │ │ │ │ ├── scan table1_119441
3410+ │ │ │ │ │ │ │ ├── columns: col1_8:8(bytes) col1_11:9(string) col1_12:10(string)
3411+ │ │ │ │ │ │ │ ├── prune: (8-10)
3412+ │ │ │ │ │ │ │ └── interesting orderings: (+9)
3413+ │ │ │ │ │ │ └── filters
3414+ │ │ │ │ │ │ └── eq [type=bool, outer=(9,10), constraints=(/9: (/NULL - ]; /10: (/NULL - ]), fd=(9)==(10), (10)==(9)]
3415+ │ │ │ │ │ │ ├── variable: col1_11:9 [type=string]
3416+ │ │ │ │ │ │ └── variable: col1_12:10 [type=string]
3417+ │ │ │ │ │ └── filters
3418+ │ │ │ │ │ ├── eq [type=bool, outer=(8,16), constraints=(/8: (/NULL - ]; /16: (/NULL - ]), fd=(8)==(16), (16)==(8)]
3419+ │ │ │ │ │ │ ├── variable: col1_8:8 [type=bytes]
3420+ │ │ │ │ │ │ └── variable: col2_3:16 [type=bytes]
3421+ │ │ │ │ │ └── eq [type=bool, outer=(9,15), constraints=(/9: (/NULL - ]; /15: (/NULL - ]), fd=(9)==(15), (15)==(9)]
3422+ │ │ │ │ │ ├── variable: col1_11:9 [type=string]
3423+ │ │ │ │ │ └── variable: col2_2:15 [type=string]
3424+ │ │ │ │ └── filters
3425+ │ │ │ │ ├── eq [type=bool, outer=(14,22), constraints=(/14: (/NULL - ]; /22: (/NULL - ]), fd=(14)==(22), (22)==(14)]
3426+ │ │ │ │ │ ├── variable: col2_1:14 [type=int4]
3427+ │ │ │ │ │ └── variable: table3_119441.col3_16:22 [type=int]
3428+ │ │ │ │ └── eq [type=bool, outer=(2,9), constraints=(/2: (/NULL - ]; /9: (/NULL - ]), fd=(2)==(9), (9)==(2)]
3429+ │ │ │ │ ├── variable: col1_11:9 [type=string]
3430+ │ │ │ │ └── variable: baz.col3_11:2 [type=char]
3431+ │ │ │ └── const: 1 [type=int]
3432+ │ │ └── projections
3433+ │ │ └── variable: baz.col3_5:1 [as=col3_5:27, type=varchar, outer=(1)]
3434+ │ └── filters (true)
33603435 └── projections
3361- └── variable: baz. col3_5:1 [as=col3_5:28, type=varchar, outer=(1 )]
3436+ └── variable: col3_5:27 [as=col3_5:28, type=varchar, outer=(27 )]
0 commit comments