漏斗函数 模式

https://github.com/StarRocks/starrocks/blob/main/be/src/exprs/agg/window_funnel.h

 

enum FunnelMode : int { DEDUPLICATION = 1, FIXED = 2, DEDUPLICATION_FIXED = 3, INCREASE = 4 };

 

starrocks/fe/fe-core/src/test/java/com/starrocks/sql/plan/AggregateTest.java at main · StarRocks/starrocks https://github.com/StarRocks/starrocks/blob/main/fe/fe-core/src/test/java/com/starrocks/sql/plan/AggregateTest.java#L833

starrocks/fe/fe-core/src/test/java/com/starrocks/sql/analyzer/AnalyzeAggregateTest.java at main · StarRocks/starrocks https://github.com/StarRocks/starrocks/blob/main/fe/fe-core/src/test/java/com/starrocks/sql/analyzer/AnalyzeAggregateTest.java#L277

 

// Successful statements.

analyzeSuccess("SELECT window_funnel(1, ta, 0, [true, true, false]) FROM tall");

 

 

posted @ 2024-06-27 16:40  papering  阅读(11)  评论(0编辑  收藏  举报