Skip to content

Commit 284eb79

Browse files
committed
fix
1 parent 02ed426 commit 284eb79

File tree

2 files changed

+174
-180
lines changed

2 files changed

+174
-180
lines changed

โ€Žtests/sqllogictests/suites/mode/cluster/explain_v2.testโ€Ž

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -489,73 +489,73 @@ explain SELECT /*+ SET_VAR(enforce_shuffle_join=1) SET_VAR(disable_join_reorder
489489
Exchange
490490
โ”œโ”€โ”€ output columns: [min(to_yyyymm(a0t)) (#25), a00c.a0f (#28)]
491491
โ”œโ”€โ”€ exchange type: Merge
492-
โ””โ”€โ”€ HashJoin
493-
โ”œโ”€โ”€ output columns: [min(to_yyyymm(a0t)) (#25), a00c.a0f (#28)]
494-
โ”œโ”€โ”€ join type: RIGHT OUTER
495-
โ”œโ”€โ”€ build keys: [t1.a0f (#28)]
496-
โ”œโ”€โ”€ probe keys: [t2.a0f (#2)]
497-
โ”œโ”€โ”€ keys is null equal: [false]
498-
โ”œโ”€โ”€ filters: []
499-
โ”œโ”€โ”€ build join filters(distributed):
500-
โ”‚ โ””โ”€โ”€ filter id:0, build key:t1.a0f (#28), probe key:t2.a0f (#2), filter type:inlist,min_max
501-
โ”œโ”€โ”€ estimated rows: 0.00
502-
โ”œโ”€โ”€ Filter(Build)
503-
โ”‚ โ”œโ”€โ”€ output columns: [a00c.a0f (#28)]
504-
โ”‚ โ”œโ”€โ”€ filters: [row_number() OVER (PARTITION BY a0f ORDER BY a0t DESC NULLS LAST) (#50) = 1]
505-
โ”‚ โ”œโ”€โ”€ estimated rows: 0.00
506-
โ”‚ โ””โ”€โ”€ Window
507-
โ”‚ โ”œโ”€โ”€ output columns: [a00c.a0f (#28), a00c.a0t (#42), row_number() OVER (PARTITION BY a0f ORDER BY a0t DESC NULLS LAST) (#50)]
508-
โ”‚ โ”œโ”€โ”€ aggregate function: [row_number]
509-
โ”‚ โ”œโ”€โ”€ partition by: [a0f]
510-
โ”‚ โ”œโ”€โ”€ order by: [a0t]
511-
โ”‚ โ”œโ”€โ”€ frame: [Range: Preceding(None) ~ CurrentRow]
512-
โ”‚ โ””โ”€โ”€ WindowPartition
513-
โ”‚ โ”œโ”€โ”€ output columns: [a00c.a0f (#28), a00c.a0t (#42)]
514-
โ”‚ โ”œโ”€โ”€ hash keys: [a0f]
515-
โ”‚ โ”œโ”€โ”€ top: 1
516-
โ”‚ โ”œโ”€โ”€ estimated rows: 0.00
517-
โ”‚ โ””โ”€โ”€ Exchange
518-
โ”‚ โ”œโ”€โ”€ output columns: [a00c.a0f (#28), a00c.a0t (#42)]
519-
โ”‚ โ”œโ”€โ”€ exchange type: Hash(a00c.a0f (#28))
520-
โ”‚ โ””โ”€โ”€ TableScan
521-
โ”‚ โ”œโ”€โ”€ table: default.default.a00c
522-
โ”‚ โ”œโ”€โ”€ output columns: [a0f (#28), a0t (#42)]
523-
โ”‚ โ”œโ”€โ”€ read rows: 0
524-
โ”‚ โ”œโ”€โ”€ read size: 0
525-
โ”‚ โ”œโ”€โ”€ partitions total: 0
526-
โ”‚ โ”œโ”€โ”€ partitions scanned: 0
527-
โ”‚ โ”œโ”€โ”€ push downs: [filters: [], limit: NONE]
528-
โ”‚ โ””โ”€โ”€ estimated rows: 0.00
529-
โ””โ”€โ”€ Exchange(Probe)
530-
โ”œโ”€โ”€ output columns: [min(to_yyyymm(a0t)) (#25), a00c.a0f (#2)]
531-
โ”œโ”€โ”€ exchange type: Hash(t2.a0f (#2))
532-
โ””โ”€โ”€ AggregateFinal
492+
โ””โ”€โ”€ Sequence
493+
โ”œโ”€โ”€ MaterializedCTE: cte_cse_0
494+
โ”‚ โ””โ”€โ”€ TableScan
495+
โ”‚ โ”œโ”€โ”€ table: default.default.a00c
496+
โ”‚ โ”œโ”€โ”€ output columns: [a0f (#2), a0t (#16), a0w (#19)]
497+
โ”‚ โ”œโ”€โ”€ read rows: 0
498+
โ”‚ โ”œโ”€โ”€ read size: 0
499+
โ”‚ โ”œโ”€โ”€ partitions total: 0
500+
โ”‚ โ”œโ”€โ”€ partitions scanned: 0
501+
โ”‚ โ”œโ”€โ”€ push downs: [filters: [], limit: NONE]
502+
โ”‚ โ””โ”€โ”€ estimated rows: 0.00
503+
โ””โ”€โ”€ HashJoin
504+
โ”œโ”€โ”€ output columns: [min(to_yyyymm(a0t)) (#25), a00c.a0f (#28)]
505+
โ”œโ”€โ”€ join type: RIGHT OUTER
506+
โ”œโ”€โ”€ build keys: [t1.a0f (#28)]
507+
โ”œโ”€โ”€ probe keys: [t2.a0f (#2)]
508+
โ”œโ”€โ”€ keys is null equal: [false]
509+
โ”œโ”€โ”€ filters: []
510+
โ”œโ”€โ”€ build join filters(distributed):
511+
โ”‚ โ””โ”€โ”€ filter id:0, build key:t1.a0f (#28), probe key:t2.a0f (#2), filter type:inlist,min_max
512+
โ”œโ”€โ”€ estimated rows: 0.00
513+
โ”œโ”€โ”€ Filter(Build)
514+
โ”‚ โ”œโ”€โ”€ output columns: [a00c.a0f (#28)]
515+
โ”‚ โ”œโ”€โ”€ filters: [row_number() OVER (PARTITION BY a0f ORDER BY a0t DESC NULLS LAST) (#50) = 1]
516+
โ”‚ โ”œโ”€โ”€ estimated rows: 0.00
517+
โ”‚ โ””โ”€โ”€ Window
518+
โ”‚ โ”œโ”€โ”€ output columns: [a00c.a0f (#28), a00c.a0t (#42), a00c.a0w (#45), row_number() OVER (PARTITION BY a0f ORDER BY a0t DESC NULLS LAST) (#50)]
519+
โ”‚ โ”œโ”€โ”€ aggregate function: [row_number]
520+
โ”‚ โ”œโ”€โ”€ partition by: [a0f]
521+
โ”‚ โ”œโ”€โ”€ order by: [a0t]
522+
โ”‚ โ”œโ”€โ”€ frame: [Range: Preceding(None) ~ CurrentRow]
523+
โ”‚ โ””โ”€โ”€ WindowPartition
524+
โ”‚ โ”œโ”€โ”€ output columns: [a00c.a0f (#28), a00c.a0t (#42), a00c.a0w (#45)]
525+
โ”‚ โ”œโ”€โ”€ hash keys: [a0f]
526+
โ”‚ โ”œโ”€โ”€ top: 1
527+
โ”‚ โ”œโ”€โ”€ estimated rows: 0.00
528+
โ”‚ โ””โ”€โ”€ Exchange
529+
โ”‚ โ”œโ”€โ”€ output columns: [a00c.a0f (#28), a00c.a0t (#42), a00c.a0w (#45)]
530+
โ”‚ โ”œโ”€โ”€ exchange type: Hash(a00c.a0f (#28))
531+
โ”‚ โ””โ”€โ”€ MaterializeCTERef
532+
โ”‚ โ”œโ”€โ”€ cte_name: cte_cse_0
533+
โ”‚ โ”œโ”€โ”€ cte_schema: [a0f (#28), a0t (#42), a0w (#45)]
534+
โ”‚ โ””โ”€โ”€ estimated rows: 0.00
535+
โ””โ”€โ”€ Exchange(Probe)
533536
โ”œโ”€โ”€ output columns: [min(to_yyyymm(a0t)) (#25), a00c.a0f (#2)]
534-
โ”œโ”€โ”€ group by: [a0f]
535-
โ”œโ”€โ”€ aggregate functions: [min(min_arg_0)]
536-
โ”œโ”€โ”€ estimated rows: 0.00
537-
โ””โ”€โ”€ Exchange
537+
โ”œโ”€โ”€ exchange type: Hash(t2.a0f (#2))
538+
โ””โ”€โ”€ AggregateFinal
538539
โ”œโ”€โ”€ output columns: [min(to_yyyymm(a0t)) (#25), a00c.a0f (#2)]
539-
โ”œโ”€โ”€ exchange type: Hash(0)
540-
โ””โ”€โ”€ AggregatePartial
541-
โ”œโ”€โ”€ group by: [a0f]
542-
โ”œโ”€โ”€ aggregate functions: [min(min_arg_0)]
543-
โ”œโ”€โ”€ estimated rows: 0.00
544-
โ””โ”€โ”€ EvalScalar
545-
โ”œโ”€โ”€ output columns: [a00c.a0f (#2), min_arg_0 (#24)]
546-
โ”œโ”€โ”€ expressions: [to_yyyymm(CAST(a00c.a0t (#16) AS Date NULL))]
540+
โ”œโ”€โ”€ group by: [a0f]
541+
โ”œโ”€โ”€ aggregate functions: [min(min_arg_0)]
542+
โ”œโ”€โ”€ estimated rows: 0.00
543+
โ””โ”€โ”€ Exchange
544+
โ”œโ”€โ”€ output columns: [min(to_yyyymm(a0t)) (#25), a00c.a0f (#2)]
545+
โ”œโ”€โ”€ exchange type: Hash(0)
546+
โ””โ”€โ”€ AggregatePartial
547+
โ”œโ”€โ”€ group by: [a0f]
548+
โ”œโ”€โ”€ aggregate functions: [min(min_arg_0)]
547549
โ”œโ”€โ”€ estimated rows: 0.00
548-
โ””โ”€โ”€ Filter
549-
โ”œโ”€โ”€ output columns: [a00c.a0f (#2), a00c.a0t (#16)]
550-
โ”œโ”€โ”€ filters: [is_true(a00c.a0w (#19) = 'ๆฑ‡็ผด')]
550+
โ””โ”€โ”€ EvalScalar
551+
โ”œโ”€โ”€ output columns: [a00c.a0f (#2), min_arg_0 (#24)]
552+
โ”œโ”€โ”€ expressions: [to_yyyymm(CAST(a00c.a0t (#16) AS Date NULL))]
551553
โ”œโ”€โ”€ estimated rows: 0.00
552-
โ””โ”€โ”€ TableScan
553-
โ”œโ”€โ”€ table: default.default.a00c
554-
โ”œโ”€โ”€ output columns: [a0f (#2), a0t (#16), a0w (#19)]
555-
โ”œโ”€โ”€ read rows: 0
556-
โ”œโ”€โ”€ read size: 0
557-
โ”œโ”€โ”€ partitions total: 0
558-
โ”œโ”€โ”€ partitions scanned: 0
559-
โ”œโ”€โ”€ push downs: [filters: [is_true(a00c.a0w (#19) = 'ๆฑ‡็ผด')], limit: NONE]
560-
โ”œโ”€โ”€ apply join filters: [#0]
561-
โ””โ”€โ”€ estimated rows: 0.00
554+
โ””โ”€โ”€ Filter
555+
โ”œโ”€โ”€ output columns: [a00c.a0f (#2), a00c.a0t (#16)]
556+
โ”œโ”€โ”€ filters: [is_true(a00c.a0w (#19) = 'ๆฑ‡็ผด')]
557+
โ”œโ”€โ”€ estimated rows: 0.00
558+
โ””โ”€โ”€ MaterializeCTERef
559+
โ”œโ”€โ”€ cte_name: cte_cse_0
560+
โ”œโ”€โ”€ cte_schema: [a0f (#2), a0t (#16), a0w (#19)]
561+
โ””โ”€โ”€ estimated rows: 0.00

0 commit comments

Comments
ย (0)