| 52 | namespace DB |
| 53 | { |
| 54 | bool hasNonParallelAggregateFunctions(const AggregateDescriptions & aggregates) |
| 55 | { |
| 56 | for (const auto & agg: aggregates) |
| 57 | { |
| 58 | auto agg_name = agg.function->getName(); |
| 59 | // if (startsWith(agg_name, "finderFunnel") || |
| 60 | // startsWith(agg_name, "finderGroupFunnel") || |
| 61 | // startsWith(agg_name, "pathSplit") || |
| 62 | // startsWith(agg_name, "pathCount") || |
| 63 | // startsWith(agg_name, "retention") || |
| 64 | // startsWith(agg_name, "attributionAnalysis") || |
| 65 | // startsWith(agg_name, "attributionCorrelation") || |
| 66 | // startsWith(agg_name, "funnelRep") || |
| 67 | // agg_name == "sessionAnalysis" || |
| 68 | // agg_name == "vSessionAnalysis") |
| 69 | // return true; |
| 70 | |
| 71 | if (startsWith(agg_name, "pathCount") || |
| 72 | startsWith(agg_name, "attributionCorrelation") || |
| 73 | startsWith(agg_name, "funnelRep")) |
| 74 | return true; |
| 75 | } |
| 76 | |
| 77 | return false; |
| 78 | } |
| 79 | |
| 80 | static ITransformingStep::Traits getTraits(bool should_produce_results_in_order_of_bucket_number) |
| 81 | { |
no test coverage detected