diff --git a/be/src/exec/cross_join_node.cpp b/be/src/exec/cross_join_node.cpp index 6fe706bd0fbd0..55de2cade1f17 100644 --- a/be/src/exec/cross_join_node.cpp +++ b/be/src/exec/cross_join_node.cpp @@ -73,6 +73,10 @@ Status CrossJoinNode::init(const TPlanNode& tnode, RuntimeState* state) { RETURN_IF_ERROR( Expr::create_expr_trees(_pool, tnode.nestloop_join_node.join_conjuncts, &_join_conjuncts, state)); } + + if (tnode.nestloop_join_node.__isset.interpolate_passthrough) { + _interpolate_passthrough = tnode.nestloop_join_node.interpolate_passthrough; + } if (tnode.nestloop_join_node.__isset.sql_join_conjuncts) { _sql_join_conjuncts = tnode.nestloop_join_node.sql_join_conjuncts; } @@ -619,6 +623,11 @@ std::vector> CrossJoinNode::_decompos left_ops.emplace_back(std::make_shared(context->next_operator_id(), id(), limit())); } + if (_interpolate_passthrough && !context->is_colocate_group()) { + left_ops = context->maybe_interpolate_local_passthrough_exchange(runtime_state(), id(), left_ops, + context->degree_of_parallelism(), true); + } + if constexpr (std::is_same_v) { may_add_chunk_accumulate_operator(left_ops, context, id()); } diff --git a/be/src/exec/cross_join_node.h b/be/src/exec/cross_join_node.h index f5c5f33442d9b..01f7e7e6c6dd2 100644 --- a/be/src/exec/cross_join_node.h +++ b/be/src/exec/cross_join_node.h @@ -127,6 +127,7 @@ class CrossJoinNode final : public ExecNode { std::vector _buf_selective; std::vector _build_runtime_filters; + bool _interpolate_passthrough = false; }; } // namespace starrocks diff --git a/fe/fe-core/src/main/java/com/starrocks/alter/RollupJobV2.java b/fe/fe-core/src/main/java/com/starrocks/alter/RollupJobV2.java index b82707d8c889c..acf7cbb22789f 100644 --- a/fe/fe-core/src/main/java/com/starrocks/alter/RollupJobV2.java +++ b/fe/fe-core/src/main/java/com/starrocks/alter/RollupJobV2.java @@ -455,7 +455,8 @@ private Expr analyzeExpr(SelectAnalyzer.RewriteAliasVisitor visitor, Expr newExpr = defineExpr.clone(smap); newExpr = newExpr.accept(visitor, null); newExpr = Expr.analyzeAndCastFold(newExpr); - if (!newExpr.getType().equals(type)) { + Type newType = newExpr.getType(); + if (!type.isFullyCompatible(newType)) { newExpr = new CastExpr(type, newExpr); } return newExpr; diff --git a/fe/fe-core/src/main/java/com/starrocks/catalog/combinator/AggStateCombinator.java b/fe/fe-core/src/main/java/com/starrocks/catalog/combinator/AggStateCombinator.java index 66a0a8fefcb7a..4580c33268e62 100644 --- a/fe/fe-core/src/main/java/com/starrocks/catalog/combinator/AggStateCombinator.java +++ b/fe/fe-core/src/main/java/com/starrocks/catalog/combinator/AggStateCombinator.java @@ -50,13 +50,19 @@ public AggStateCombinator(AggStateCombinator other) { public static Optional of(AggregateFunction aggFunc) { try { - Type intermediateType = aggFunc.getIntermediateTypeOrReturnType(); + Type intermediateType = aggFunc.getIntermediateTypeOrReturnType().clone(); FunctionName funcName = new FunctionName(aggFunc.functionName() + FunctionSet.AGG_STATE_SUFFIX); AggStateCombinator aggStateFunc = new AggStateCombinator(funcName, Arrays.asList(aggFunc.getArgs()), intermediateType); aggStateFunc.setBinaryType(TFunctionBinaryType.BUILTIN); aggStateFunc.setPolymorphic(aggFunc.isPolymorphic()); - aggStateFunc.setAggStateDesc(new AggStateDesc(aggFunc)); + + AggStateDesc aggStateDesc = new AggStateDesc(aggFunc); + aggStateFunc.setAggStateDesc(aggStateDesc); + // `agg_state` function's type will contain agg state desc. + intermediateType.setAggStateDesc(aggStateDesc); + // use agg state desc's nullable as `agg_state` function's nullable + aggStateFunc.setIsNullable(aggStateDesc.getResultNullable()); LOG.info("Register agg state function: {}", aggStateFunc.functionName()); return Optional.of(aggStateFunc); } catch (Exception e) { diff --git a/fe/fe-core/src/main/java/com/starrocks/catalog/combinator/AggStateMergeCombinator.java b/fe/fe-core/src/main/java/com/starrocks/catalog/combinator/AggStateMergeCombinator.java index 70c6851b9b104..a3d84d38c6fb3 100644 --- a/fe/fe-core/src/main/java/com/starrocks/catalog/combinator/AggStateMergeCombinator.java +++ b/fe/fe-core/src/main/java/com/starrocks/catalog/combinator/AggStateMergeCombinator.java @@ -56,7 +56,15 @@ public static Optional of(AggregateFunction aggFunc) { new AggStateMergeCombinator(functionName, imtermediateType, aggFunc.getReturnType()); aggStateMergeFunc.setBinaryType(TFunctionBinaryType.BUILTIN); aggStateMergeFunc.setPolymorphic(aggFunc.isPolymorphic()); - aggStateMergeFunc.setAggStateDesc(new AggStateDesc(aggFunc)); + AggStateDesc aggStateDesc; + if (aggFunc.getAggStateDesc() != null) { + aggStateDesc = aggFunc.getAggStateDesc().clone(); + } else { + aggStateDesc = new AggStateDesc(aggFunc); + } + aggStateMergeFunc.setAggStateDesc(aggStateDesc); + // use agg state desc's nullable as `agg_state` function's nullable + aggStateMergeFunc.setIsNullable(aggStateDesc.getResultNullable()); LOG.info("Register agg state function: {}", aggStateMergeFunc.functionName()); return Optional.of(aggStateMergeFunc); } catch (Exception e) { diff --git a/fe/fe-core/src/main/java/com/starrocks/catalog/combinator/AggStateUnionCombinator.java b/fe/fe-core/src/main/java/com/starrocks/catalog/combinator/AggStateUnionCombinator.java index 749745b8deee3..f6eb6968c57c0 100644 --- a/fe/fe-core/src/main/java/com/starrocks/catalog/combinator/AggStateUnionCombinator.java +++ b/fe/fe-core/src/main/java/com/starrocks/catalog/combinator/AggStateUnionCombinator.java @@ -56,7 +56,15 @@ public static Optional of(AggregateFunction aggFunc) { new AggStateUnionCombinator(functionName, intermediateType); aggStateUnionFunc.setBinaryType(TFunctionBinaryType.BUILTIN); aggStateUnionFunc.setPolymorphic(aggFunc.isPolymorphic()); - aggStateUnionFunc.setAggStateDesc(new AggStateDesc(aggFunc)); + AggStateDesc aggStateDesc; + if (aggFunc.getAggStateDesc() != null) { + aggStateDesc = aggFunc.getAggStateDesc().clone(); + } else { + aggStateDesc = new AggStateDesc(aggFunc); + } + aggStateUnionFunc.setAggStateDesc(aggStateDesc); + // use agg state desc's nullable as `agg_state` function's nullable + aggStateUnionFunc.setIsNullable(aggStateDesc.getResultNullable()); LOG.info("Register agg state function: {}", aggStateUnionFunc.functionName()); return Optional.of(aggStateUnionFunc); } catch (Exception e) { diff --git a/fe/fe-core/src/main/java/com/starrocks/catalog/combinator/AggStateUtils.java b/fe/fe-core/src/main/java/com/starrocks/catalog/combinator/AggStateUtils.java index b0221b29213f4..1f0b88fd29761 100644 --- a/fe/fe-core/src/main/java/com/starrocks/catalog/combinator/AggStateUtils.java +++ b/fe/fe-core/src/main/java/com/starrocks/catalog/combinator/AggStateUtils.java @@ -156,7 +156,7 @@ public static Function getAnalyzedCombinatorFunction(ConnectContext session, return null; } AggregateFunction aggFunc = (AggregateFunction) argFn; - if (aggFunc.getNumArgs() == 1 && argumentTypes[0].isDecimalOfAnyVersion()) { + if (aggFunc.getNumArgs() == 1) { // only copy argument if it's a decimal type AggregateFunction argFnCopy = (AggregateFunction) aggFunc.copy(); argFnCopy.setArgsType(argumentTypes); @@ -208,7 +208,9 @@ private static AggregateFunction getAggStateFunction(ConnectContext session, if (!(fn instanceof AggregateFunction)) { return null; } - return (AggregateFunction) fn; + AggregateFunction result = (AggregateFunction) fn.copy(); + result.setAggStateDesc(aggStateDesc); + return result; } private static Type[] getNewArgumentTypes(Type[] origArgTypes, String argFnName, Type arg0Type) { diff --git a/fe/fe-core/src/main/java/com/starrocks/planner/NestLoopJoinNode.java b/fe/fe-core/src/main/java/com/starrocks/planner/NestLoopJoinNode.java index 6e6a29e316468..27d10f593a5e9 100644 --- a/fe/fe-core/src/main/java/com/starrocks/planner/NestLoopJoinNode.java +++ b/fe/fe-core/src/main/java/com/starrocks/planner/NestLoopJoinNode.java @@ -126,6 +126,11 @@ protected void toThrift(TPlanNode msg) { String sqlJoinPredicate = otherJoinConjuncts.stream().map(Expr::toSql).collect(Collectors.joining(",")); msg.nestloop_join_node.setSql_join_conjuncts(sqlJoinPredicate); } + SessionVariable sv = ConnectContext.get().getSessionVariable(); + if (getCanLocalShuffle()) { + msg.nestloop_join_node.setInterpolate_passthrough(sv.isHashJoinInterpolatePassthrough()); + } + if (!buildRuntimeFilters.isEmpty()) { msg.nestloop_join_node.setBuild_runtime_filters( diff --git a/fe/fe-core/src/main/java/com/starrocks/sql/ast/CreateMaterializedViewStmt.java b/fe/fe-core/src/main/java/com/starrocks/sql/ast/CreateMaterializedViewStmt.java index 9fe0085127d76..b9a2045aa6344 100644 --- a/fe/fe-core/src/main/java/com/starrocks/sql/ast/CreateMaterializedViewStmt.java +++ b/fe/fe-core/src/main/java/com/starrocks/sql/ast/CreateMaterializedViewStmt.java @@ -43,6 +43,7 @@ import com.starrocks.analysis.CaseWhenClause; import com.starrocks.analysis.Expr; import com.starrocks.analysis.FunctionCallExpr; +import com.starrocks.analysis.FunctionParams; import com.starrocks.analysis.IntLiteral; import com.starrocks.analysis.IsNullPredicate; import com.starrocks.analysis.OrderByElement; @@ -58,6 +59,8 @@ import com.starrocks.catalog.Table; import com.starrocks.catalog.Type; import com.starrocks.catalog.View; +import com.starrocks.catalog.combinator.AggStateDesc; +import com.starrocks.catalog.combinator.AggStateUnionCombinator; import com.starrocks.common.ErrorCode; import com.starrocks.common.ErrorReport; import com.starrocks.common.FeConstants; @@ -68,6 +71,7 @@ import com.starrocks.sql.analyzer.AnalyzerUtils; import com.starrocks.sql.analyzer.ExpressionAnalyzer; import com.starrocks.sql.analyzer.Field; +import com.starrocks.sql.analyzer.FunctionAnalyzer; import com.starrocks.sql.analyzer.RelationFields; import com.starrocks.sql.analyzer.RelationId; import com.starrocks.sql.analyzer.Scope; @@ -250,7 +254,7 @@ public Map parseDefineExprWithoutAnalyze(String originalSql) { case FunctionSet.HLL_UNION: case FunctionSet.PERCENTILE_UNION: case FunctionSet.COUNT: { - MVColumnItem item = buildAggColumnItem(selectListItem, slots); + MVColumnItem item = buildAggColumnItem(new ConnectContext(), selectListItem, slots); expr = item.getDefineExpr(); name = item.getName(); break; @@ -337,7 +341,7 @@ public void analyze(ConnectContext context) { if (!(selectRelation.getRelation() instanceof TableRelation)) { throw new UnsupportedMVException("Materialized view query statement only support direct query from table."); } - int beginIndexOfAggregation = genColumnAndSetIntoStmt(table, selectRelation); + int beginIndexOfAggregation = genColumnAndSetIntoStmt(context, table, selectRelation); if (selectRelation.isDistinct() || selectRelation.hasAggregation()) { setMvKeysType(KeysType.AGG_KEYS); } @@ -409,7 +413,7 @@ private void analyzeExprWithTableAlias(ConnectContext context, .collect(Collectors.toList()))), context); } - private int genColumnAndSetIntoStmt(Table table, SelectRelation selectRelation) { + private int genColumnAndSetIntoStmt(ConnectContext context, Table table, SelectRelation selectRelation) { List mvColumnItemList = Lists.newArrayList(); boolean meetAggregate = false; @@ -442,30 +446,33 @@ private int genColumnAndSetIntoStmt(Table table, SelectRelation selectRelation) && ((FunctionCallExpr) selectListItemExpr).isAggregateFunction()) { // Aggregate Function must match pattern. FunctionCallExpr functionCallExpr = (FunctionCallExpr) selectListItemExpr; - String functionName = functionCallExpr.getFnName().getFunction(); - - MVColumnPattern mvColumnPattern = - CreateMaterializedViewStmt.FN_NAME_TO_PATTERN.get(functionName.toLowerCase()); - if (mvColumnPattern == null) { - throw new UnsupportedMVException( - "Materialized view does not support function:%s, supported functions are: %s", - functionCallExpr.toSqlImpl(), FN_NAME_TO_PATTERN.keySet()); - } + String functionName = functionCallExpr.getFnName().getFunction().toLowerCase(); // current version not support count(distinct) function in creating materialized view if (!isReplay && functionCallExpr.isDistinct()) { throw new UnsupportedMVException( "Materialized view does not support distinct function " + functionCallExpr.toSqlImpl()); } - if (!mvColumnPattern.match(functionCallExpr)) { - throw new UnsupportedMVException( - "The function " + functionName + " must match pattern:" + mvColumnPattern); + if (!FN_NAME_TO_PATTERN.containsKey(functionName)) { + // eg: avg_union(avg_state(xxx)) + } else { + MVColumnPattern mvColumnPattern = FN_NAME_TO_PATTERN.get(functionName); + if (mvColumnPattern == null) { + + throw new UnsupportedMVException( + "Materialized view does not support function:%s, supported functions are: %s", + functionCallExpr.toSqlImpl(), FN_NAME_TO_PATTERN.keySet()); + } + if (!mvColumnPattern.match(functionCallExpr)) { + throw new UnsupportedMVException( + "The function " + functionName + " must match pattern:" + mvColumnPattern); + } } if (beginIndexOfAggregation == -1) { beginIndexOfAggregation = i; } meetAggregate = true; - mvColumnItem = buildAggColumnItem(selectListItem, slots); + mvColumnItem = buildAggColumnItem(context, selectListItem, slots); if (!mvColumnNameSet.add(mvColumnItem.getName())) { ErrorReport.reportSemanticException(ErrorCode.ERR_DUP_FIELDNAME, mvColumnItem.getName()); } @@ -527,17 +534,68 @@ private MVColumnItem buildNonAggColumnItem(SelectListItem selectListItem, type = AnalyzerUtils.transformTableColumnType(type, false); } Set baseColumnNames = baseSlotRefs.stream().map(slot -> slot.getColumnName()) - .collect(Collectors.toSet()); - return new MVColumnItem(columnName, type, null, false, defineExpr, + .collect(Collectors.toSet()); + return new MVColumnItem(columnName, type, null, null, false, defineExpr, defineExpr.isNullable(), baseColumnNames); } // Convert the aggregate function to MVColumn. - private MVColumnItem buildAggColumnItem(SelectListItem selectListItem, + private MVColumnItem buildAggColumnItem(ConnectContext context, + SelectListItem selectListItem, List baseSlotRefs) { + FunctionCallExpr node = (FunctionCallExpr) selectListItem.getExpr(); + String functionName = node.getFnName().getFunction(); + Preconditions.checkState(node.getChildren().size() == 1, "Aggregate function only support one child"); + + if (!FN_NAME_TO_PATTERN.containsKey(functionName)) { + if (Strings.isNullOrEmpty(selectListItem.getAlias())) { + throw new SemanticException("Create materialized view non-slot ref expression should have an alias:" + + selectListItem.getExpr()); + } + + Expr defineExpr = node.getChild(0); + List argTypes = node.getChildren().stream().map(Expr::getType).collect(Collectors.toList()); + Type arg0Type = argTypes.get(0); + if (arg0Type.getAggStateDesc() == null) { + throw new UnsupportedMVException("Unsupported function:" + functionName + ", cannot find agg state desc from " + + "arg0"); + } + FunctionParams params = new FunctionParams(false, Lists.newArrayList()); + Type[] argumentTypes = argTypes.toArray(Type[]::new); + Boolean[] isArgumentConstants = argTypes.stream().map(x -> false).toArray(Boolean[]::new); + Function function = FunctionAnalyzer.getAnalyzedAggregateFunction(context, functionName, + params, argumentTypes, isArgumentConstants, NodePosition.ZERO); + if (function == null || !(function instanceof AggStateUnionCombinator)) { + throw new UnsupportedMVException("Unsupported function:" + functionName); + } + AggStateUnionCombinator aggFunction = (AggStateUnionCombinator) function; + String mvColumnName = MVUtils.getMVColumnName(selectListItem.getAlias()); + AggStateDesc aggStateDesc = aggFunction.getAggStateDesc(); + Type type = aggFunction.getIntermediateTypeOrReturnType(); + if (type.isWildcardDecimal()) { + throw new UnsupportedMVException("Unsupported wildcard decimal type in materialized view:" + type + ", " + + "function:" + node); + } + if (aggStateDesc.getArgTypes().stream().anyMatch(t -> t.isWildcardDecimal())) { + throw new UnsupportedMVException("Unsupported wildcard decimal type in materialized view:" + type + ", " + + "function:" + node); + } + Set baseColumnNames = baseSlotRefs.stream().map(slot -> slot.getColumnName()) + .collect(Collectors.toSet()); + AggregateType mvAggregateType = AggregateType.AGG_STATE_UNION; + Type finalType = AnalyzerUtils.transformTableColumnType(type, false); + return new MVColumnItem(mvColumnName, finalType, mvAggregateType, aggStateDesc, false, + defineExpr, aggStateDesc.getResultNullable(), baseColumnNames); + } else { + return buildAggColumnItemWithPattern(selectListItem, baseSlotRefs); + } + } + + // Convert the aggregate function to MVColumn. + private MVColumnItem buildAggColumnItemWithPattern(SelectListItem selectListItem, + List baseSlotRefs) { FunctionCallExpr functionCallExpr = (FunctionCallExpr) selectListItem.getExpr(); String functionName = functionCallExpr.getFnName().getFunction(); - Preconditions.checkState(functionCallExpr.getChildren().size() == 1, "Aggregate function only support one child"); Expr defineExpr = functionCallExpr.getChild(0); AggregateType mvAggregateType = null; Type baseType = defineExpr.getType(); @@ -640,8 +698,8 @@ private MVColumnItem buildAggColumnItem(SelectListItem selectListItem, String.format("Invalid aggregate function '%s' for '%s'", mvAggregateType, type)); } Set baseColumnNames = baseSlotRefs.stream().map(slot -> slot.getColumnName()) - .collect(Collectors.toSet()); - return new MVColumnItem(mvColumnName, type, mvAggregateType, false, + .collect(Collectors.toSet()); + return new MVColumnItem(mvColumnName, type, mvAggregateType, null, false, defineExpr, functionCallExpr.isNullable(), baseColumnNames); } diff --git a/fe/fe-core/src/main/java/com/starrocks/sql/ast/MVColumnItem.java b/fe/fe-core/src/main/java/com/starrocks/sql/ast/MVColumnItem.java index ca4808d714189..1efc1c77613a0 100644 --- a/fe/fe-core/src/main/java/com/starrocks/sql/ast/MVColumnItem.java +++ b/fe/fe-core/src/main/java/com/starrocks/sql/ast/MVColumnItem.java @@ -39,9 +39,12 @@ import com.starrocks.catalog.Column; import com.starrocks.catalog.OlapTable; import com.starrocks.catalog.Type; +import com.starrocks.catalog.combinator.AggStateDesc; import java.util.Set; +import static com.starrocks.catalog.Column.COLUMN_UNIQUE_ID_INIT_VALUE; + /** * This is a result of semantic analysis for AddMaterializedViewClause. * It is used to construct real mv column in MaterializedViewHandler. @@ -54,16 +57,19 @@ public class MVColumnItem { private Type type; private boolean isKey; private AggregateType aggregationType; + private AggStateDesc aggStateDesc; private boolean isAllowNull; private boolean isAggregationTypeImplicit; private Expr defineExpr; private Set baseColumnNames; - public MVColumnItem(String name, Type type, AggregateType aggregateType, boolean isAggregationTypeImplicit, + public MVColumnItem(String name, Type type, AggregateType aggregateType, AggStateDesc aggStateDesc, + boolean isAggregationTypeImplicit, Expr defineExpr, boolean isAllowNull, Set baseColumnNames) { this.name = name; this.type = type; this.aggregationType = aggregateType; + this.aggStateDesc = aggStateDesc; this.isAggregationTypeImplicit = isAggregationTypeImplicit; this.defineExpr = defineExpr; this.isAllowNull = isAllowNull; @@ -124,8 +130,8 @@ public Column toMVColumn(OlapTable olapTable) { Column result; boolean hasUniqueId = olapTable.getMaxColUniqueId() >= 0; if (baseColumn == null) { - result = new Column(name, type, isKey, aggregationType, isAllowNull, - null, ""); + result = new Column(name, type, isKey, aggregationType, aggStateDesc, isAllowNull, + null, "", COLUMN_UNIQUE_ID_INIT_VALUE); if (defineExpr != null) { result.setDefineExpr(defineExpr); } diff --git a/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/operator/physical/PhysicalJoinOperator.java b/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/operator/physical/PhysicalJoinOperator.java index 433b32762239e..6a082db2cbdf8 100644 --- a/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/operator/physical/PhysicalJoinOperator.java +++ b/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/operator/physical/PhysicalJoinOperator.java @@ -33,7 +33,7 @@ public abstract class PhysicalJoinOperator extends PhysicalOperator { protected final JoinOperator joinType; protected final ScalarOperator onPredicate; protected final String joinHint; - protected boolean canLocalShuffle; + protected boolean outputRequireHashPartition = true; protected PhysicalJoinOperator(OperatorType operatorType, JoinOperator joinType, ScalarOperator onPredicate, @@ -131,11 +131,11 @@ public void fillDisableDictOptimizeColumns(ColumnRefSet columnRefSet) { } } - public void setCanLocalShuffle(boolean v) { - canLocalShuffle = v; + public void setOutputRequireHashPartition(boolean v) { + outputRequireHashPartition = v; } - public boolean getCanLocalShuffle() { - return canLocalShuffle; + public boolean getOutputRequireHashPartition() { + return outputRequireHashPartition; } } diff --git a/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/AggregateFunctionRewriter.java b/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/AggregateFunctionRewriter.java index 3f0a73fb7045c..e4eabeec7a52c 100644 --- a/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/AggregateFunctionRewriter.java +++ b/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/AggregateFunctionRewriter.java @@ -16,6 +16,7 @@ import com.google.common.base.Preconditions; import com.google.common.collect.Lists; +import com.google.common.collect.Maps; import com.starrocks.catalog.Function; import com.starrocks.catalog.FunctionSet; import com.starrocks.catalog.ScalarType; @@ -39,28 +40,22 @@ * eg: AVG -> SUM / COUNT */ public class AggregateFunctionRewriter { - final ScalarOperatorRewriter scalarRewriter = new ScalarOperatorRewriter(); - final ColumnRefFactory queryColumnRefFactory; + private final ScalarOperatorRewriter scalarRewriter = new ScalarOperatorRewriter(); + private final Map newColumnRefToAggFuncMap = Maps.newHashMap(); + private final EquationRewriter equationRewriter; + private final ColumnRefFactory queryColumnRefFactory; // new rewrite agg can reuse old agg functions if it has existed. - final Map oldAggregations; + private final Map oldAggregations; - Map newColumnRefToAggFuncMap; - - public AggregateFunctionRewriter(ColumnRefFactory queryColumnRefFactory, + public AggregateFunctionRewriter(EquationRewriter equationRewriter, + ColumnRefFactory queryColumnRefFactory, Map oldAggregations) { + this.equationRewriter = equationRewriter; this.queryColumnRefFactory = queryColumnRefFactory; this.oldAggregations = oldAggregations; } - public AggregateFunctionRewriter(ColumnRefFactory queryColumnRefFactory, - Map oldAggregations, - Map newColumnRefToAggFuncMap) { - this.queryColumnRefFactory = queryColumnRefFactory; - this.oldAggregations = oldAggregations; - this.newColumnRefToAggFuncMap = newColumnRefToAggFuncMap; - } - public boolean canRewriteAggFunction(ScalarOperator op) { if (!(op instanceof CallOperator)) { return false; @@ -74,10 +69,10 @@ public boolean canRewriteAggFunction(ScalarOperator op) { return false; } - public CallOperator rewriteAggFunction(CallOperator aggFunc) { + public ScalarOperator rewriteAggFunction(CallOperator aggFunc, boolean isRollup) { String aggFuncName = aggFunc.getFnName(); if (aggFuncName.equals(FunctionSet.AVG)) { - return rewriteAvg(aggFunc); + return rewriteAvg(aggFunc, isRollup); } else { return null; } @@ -87,19 +82,23 @@ private Pair createNewCallOperator(Function new List args) { Preconditions.checkState(newFn != null); CallOperator newCallOp = new CallOperator(newFn.functionName(), newFn.getReturnType(), args, newFn); + ColumnRefOperator newColRef = + queryColumnRefFactory.create(newCallOp, newCallOp.getType(), newCallOp.isNullable()); for (Map.Entry entry : oldAggregations.entrySet()) { if (entry.getValue().equals(newCallOp)) { - return Pair.create(entry.getKey(), newCallOp); + return Pair.create(newColRef, newCallOp); } } - ColumnRefOperator newColRef = - queryColumnRefFactory.create(newCallOp, newCallOp.getType(), newCallOp.isNullable()); return Pair.create(newColRef, newCallOp); } - private CallOperator rewriteAvg(CallOperator aggFunc) { - Type argType = aggFunc.getChild(0).getType(); - + /** + * For avg with rollup, return div(sum_col_ref, count_col_ref) and new sum/count call operator with newColumnRefToAggFuncMap. + * For avg without rollup, return rewritten div(sum_call_op, count_call_op). + * @param aggFunc input avg function + * @param isRollup whether the avg function is with rollup + */ + private ScalarOperator rewriteAvg(CallOperator aggFunc, boolean isRollup) { // construct `sum` agg Function sumFn = ScalarOperatorUtil.findSumFn(aggFunc.getFunction().getArgs()); Pair sumCallOp = @@ -108,15 +107,38 @@ private CallOperator rewriteAvg(CallOperator aggFunc) { Function countFn = ScalarOperatorUtil.findArithmeticFunction(aggFunc.getFunction().getArgs(), FunctionSet.COUNT); Pair countCallOp = createNewCallOperator(countFn, aggFunc.getChildren()); - // add sum/count into projection + CallOperator newAvg = getNewAVGBySumCount(aggFunc, sumCallOp, countCallOp, isRollup); + if (isRollup) { + // add sum/count agg into aggregations map + CallOperator sumRollupCall = getRollupFunction(sumCallOp.second); + if (sumRollupCall == null) { + return null; + } + CallOperator cntRollupCall = getRollupFunction(countCallOp.second); + if (cntRollupCall == null) { + return null; + } + newColumnRefToAggFuncMap.put(sumCallOp.first, sumRollupCall); + newColumnRefToAggFuncMap.put(countCallOp.first, cntRollupCall); + return newAvg; + } else { + return rewriteAggFunction(newAvg); + } + } + + private CallOperator getNewAVGBySumCount(CallOperator aggFunc, + Pair sumCallOp, + Pair countCallOp, + boolean isRollup) { CallOperator newAvg; - if (newColumnRefToAggFuncMap != null) { + if (isRollup) { newAvg = new CallOperator(FunctionSet.DIVIDE, aggFunc.getType(), Lists.newArrayList(sumCallOp.first, countCallOp.first)); } else { newAvg = new CallOperator(FunctionSet.DIVIDE, aggFunc.getType(), Lists.newArrayList(sumCallOp.second, countCallOp.second)); } + Type argType = aggFunc.getChild(0).getType(); if (argType.isDecimalV3()) { // There is not need to apply ImplicitCastRule to divide operator of decimal types. // but we should cast BIGINT-typed countColRef into DECIMAL(38,0). @@ -125,12 +147,27 @@ private CallOperator rewriteAvg(CallOperator aggFunc) { } else { newAvg = (CallOperator) scalarRewriter.rewrite(newAvg, Lists.newArrayList(new ImplicitCastRule())); } + return newAvg; + } + + private ScalarOperator rewriteAggFunction(CallOperator aggFunc) { + ScalarOperator rewritten = equationRewriter.replaceExprWithTarget(aggFunc); + if (rewritten == null || aggFunc.equals(rewritten)) { + return null; + } + return rewritten; + } - // add sum/count agg into aggregations map - if (newColumnRefToAggFuncMap != null) { - newColumnRefToAggFuncMap.put(sumCallOp.first, sumCallOp.second); - newColumnRefToAggFuncMap.put(countCallOp.first, countCallOp.second); + private CallOperator getRollupFunction(CallOperator aggFunc) { + ScalarOperator rewritten = rewriteAggFunction(aggFunc); + if (rewritten == null || !(rewritten instanceof ColumnRefOperator)) { + return null; } - return newAvg; + return AggregatedMaterializedViewRewriter.getRollupAggregateFunc(aggFunc, + (ColumnRefOperator) rewritten, false); + } + + public Map getNewColumnRefToAggFuncMap() { + return newColumnRefToAggFuncMap; } } diff --git a/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/AggregatedMaterializedViewRewriter.java b/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/AggregatedMaterializedViewRewriter.java index 55878891b2254..da0222450083e 100644 --- a/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/AggregatedMaterializedViewRewriter.java +++ b/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/AggregatedMaterializedViewRewriter.java @@ -23,14 +23,13 @@ import com.starrocks.catalog.MaterializedView; import com.starrocks.catalog.RandomDistributionInfo; import com.starrocks.catalog.Type; +import com.starrocks.catalog.combinator.AggStateUnionCombinator; import com.starrocks.common.Pair; import com.starrocks.sql.optimizer.MvRewriteContext; import com.starrocks.sql.optimizer.OptExpression; import com.starrocks.sql.optimizer.OptimizerTraceUtil; import com.starrocks.sql.optimizer.Utils; -import com.starrocks.sql.optimizer.base.ColumnRefFactory; import com.starrocks.sql.optimizer.base.ColumnRefSet; -import com.starrocks.sql.optimizer.operator.AggType; import com.starrocks.sql.optimizer.operator.Operator; import com.starrocks.sql.optimizer.operator.Projection; import com.starrocks.sql.optimizer.operator.logical.LogicalAggregationOperator; @@ -173,8 +172,8 @@ protected OptExpression rewriteProjection(RewriteContext rewriteContext, } Map newQueryProjection = Maps.newHashMap(); - AggregateFunctionRewriter aggregateFunctionRewriter = new AggregateFunctionRewriter(rewriteContext.getQueryRefFactory(), - oldAggregations); + AggregateFunctionRewriter aggregateFunctionRewriter = + new AggregateFunctionRewriter(queryExprToMvExprRewriter, rewriteContext.getQueryRefFactory(), oldAggregations); ColumnRefSet originalColumnSet = new ColumnRefSet(rewriteContext.getQueryColumnSet()); // rewrite group by + aggregate functions @@ -338,18 +337,20 @@ private List rewriteGroupByKeys(RewriteContext rewriteContext, } - private Map rewriteAggregations(RewriteContext rewriteContext, + private Map rewriteAggregations(RewriteContext rewriteContext, ColumnRewriter columnRewriter, Map aggregations, boolean rewriteViewToQuery) { - Map rewriteAggregations = Maps.newHashMap(); + Map rewriteAggregations = Maps.newHashMap(); for (Map.Entry entry : aggregations.entrySet()) { if (rewriteViewToQuery) { ScalarOperator rewriteAgg = rewriteContext.getMvColumnRefRewriter().rewrite(entry.getValue().clone()); - rewriteAggregations.put(entry.getKey(), columnRewriter.rewriteViewToQueryWithQueryEc(rewriteAgg)); + ScalarOperator rewritten = columnRewriter.rewriteViewToQueryWithQueryEc(rewriteAgg); + rewriteAggregations.put(entry.getKey(), (CallOperator) rewritten); } else { ScalarOperator rewriteAgg = rewriteContext.getQueryColumnRefRewriter().rewrite(entry.getValue().clone()); - rewriteAggregations.put(entry.getKey(), columnRewriter.rewriteByQueryEc(rewriteAgg)); + ScalarOperator rewritten = columnRewriter.rewriteByQueryEc(rewriteAgg); + rewriteAggregations.put(entry.getKey(), (CallOperator) rewritten); } } return rewriteAggregations; @@ -384,11 +385,8 @@ private OptExpression rewriteForRollup( queryColumnRefToScalarMap.put(queryGroupKeys.get(i), newQueryGroupKeys.get(i)); } - // rewrite agg func to be better for rollup. - LogicalAggregationOperator rewrittenQueryAggOp = - rewriteAggregationOperatorByRules(rewriteContext.getQueryRefFactory(), queryAggOp); - Map rewrittenAggregations = rewrittenQueryAggOp.getAggregations(); - Map queryAggregation = rewriteAggregations( + Map rewrittenAggregations = queryAggOp.getAggregations(); + Map queryAggregation = rewriteAggregations( rewriteContext, columnRewriter, rewrittenAggregations, false); // generate new agg exprs(rollup functions) @@ -403,7 +401,7 @@ private OptExpression rewriteForRollup( return null; } - return createNewAggregate(rewriteContext, rewrittenQueryAggOp, newAggregations, + return createNewAggregate(rewriteContext, queryAggOp, newAggregations, queryColumnRefToScalarMap, mvOptExpr, newProjection); } @@ -642,9 +640,8 @@ private List rewriteGroupKeys(List groupKeys, * @param newProjection new projection mapping: col ref -> scalar op which is used for projection of new rewritten aggregate * @param hasGroupByKeys whether query has group by keys or not * @param context rewrite context - * @return */ - private Map rewriteAggregates(Map aggregates, + private Map rewriteAggregates(Map aggregates, EquationRewriter equationRewriter, Map mapping, ColumnRefSet queryColumnSet, @@ -654,22 +651,28 @@ private Map rewriteAggregates(Map newAggregations = Maps.newHashMap(); equationRewriter.setOutputMapping(mapping); - - for (Map.Entry entry : aggregates.entrySet()) { - Preconditions.checkState(entry.getValue() instanceof CallOperator); - CallOperator aggCall = (CallOperator) entry.getValue(); - + AggregateFunctionRewriter aggregateFunctionRewriter = new AggregateFunctionRewriter(equationRewriter, + context.getQueryRefFactory(), aggregates); + equationRewriter.setAggregateFunctionRewriter(aggregateFunctionRewriter); + for (Map.Entry entry : aggregates.entrySet()) { + CallOperator aggCall = entry.getValue(); // Aggregate must be CallOperator - CallOperator newAggregate = getRollupAggregate(context, equationRewriter, queryColumnSet, aggCall); - if (newAggregate == null) { + Pair rewritten = getRollupAggregate(context, equationRewriter, + queryColumnSet, aggCall); + if (rewritten == null || rewritten.first == null) { OptimizerTraceUtil.logMVRewriteFailReason(mvRewriteContext.getMVName(), "Rewrite aggregate function failed, cannot get rollup function: {}", aggCall.toString()); return null; } + CallOperator newAggregate = rewritten.first; + EquivalentShuttleContext eqContext = rewritten.second; ColumnRefOperator origColRef = entry.getKey(); - if (!(newAggregate.isAggregate())) { + if (eqContext.isRewrittenByRewriter()) { + newAggregations.putAll(eqContext.getNewColumnRefToAggFuncMap()); + aggColRefToAggMap.put(origColRef, newAggregate); + } else if (!newAggregate.isAggregate()) { // If rewritten function is not an aggregation function, it could be like ScalarFunc(AggregateFunc(...)) // We need to decompose it into Projection function and Aggregation function // E.g. count(distinct x) => array_length(array_unique_agg(x)) @@ -722,10 +725,10 @@ private Map rewriteAggregates(Map getRollupAggregate(RewriteContext rewriteContext, + EquationRewriter equationRewriter, + ColumnRefSet queryColumnSet, + CallOperator aggCall) { Pair result = equationRewriter.replaceExprWithRollup(rewriteContext, aggCall); ScalarOperator targetColumn = result.first; if (targetColumn == null || !isAllExprReplaced(targetColumn, queryColumnSet)) { @@ -734,17 +737,18 @@ private CallOperator getRollupAggregate(RewriteContext rewriteContext, "Rewrite aggregate rollup {} failed with equivalent", aggCall.toString()); return null; } + EquivalentShuttleContext eqContext = result.second; - boolean isRewrittenByEquivalent = result.second.isRewrittenByEquivalent(); + boolean isRewrittenByEquivalent = eqContext.isRewrittenByEquivalent() || eqContext.isRewrittenByRewriter(); if (isRewrittenByEquivalent) { Preconditions.checkState(targetColumn instanceof CallOperator); - return (CallOperator) targetColumn; + return Pair.create((CallOperator) targetColumn, eqContext); } else { if (!targetColumn.isColumnRef()) { if (targetColumn instanceof CallOperator && AggregateFunctionRollupUtils.isNonCumulativeFunction(aggCall) && equationRewriter.isColWithOnlyGroupByKeys(aggCall)) { - return (CallOperator) targetColumn; + return Pair.create((CallOperator) targetColumn, eqContext); } OptimizerTraceUtil.logMVRewriteFailReason(mvRewriteContext.getMVName(), "Rewrite aggregate rollup {} failed: only column-ref is supported after rewrite", @@ -758,7 +762,7 @@ private CallOperator getRollupAggregate(RewriteContext rewriteContext, aggCall.toString()); return null; } - return newAggregate; + return Pair.create(newAggregate, eqContext); } } @@ -809,6 +813,14 @@ private Map rewriteAggregatesForUnion( public static CallOperator getRollupAggregateFunc(CallOperator aggCall, ColumnRefOperator targetColumn, boolean isUnionRewrite) { + if (aggCall.getFunction() instanceof AggStateUnionCombinator) { + Type[] argTypes = {targetColumn.getType()}; + String rollupFuncName = aggCall.getFnName(); + Function rollupFn = findArithmeticFunction(argTypes, rollupFuncName); + return new CallOperator(rollupFuncName, aggCall.getFunction().getReturnType(), + Lists.newArrayList(targetColumn), rollupFn); + } + String rollupFuncName = getRollupFunctionName(aggCall, isUnionRewrite); if (rollupFuncName == null) { return null; @@ -831,55 +843,4 @@ public static CallOperator getRollupAggregateFunc(CallOperator aggCall, newFunc); } } - - // Rewrite query agg operator by rule: - // - now only support rewrite avg to sum/ count - private LogicalAggregationOperator rewriteAggregationOperatorByRules( - ColumnRefFactory queryColumnRefFactory, - LogicalAggregationOperator aggregationOperator) { - Map oldAggregations = aggregationOperator.getAggregations(); - final Map newColumnRefToAggFuncMap = Maps.newHashMap(); - final AggregateFunctionRewriter aggFuncRewriter = new AggregateFunctionRewriter(queryColumnRefFactory, - oldAggregations, newColumnRefToAggFuncMap); - if (!oldAggregations.values().stream().anyMatch(func -> - aggFuncRewriter.canRewriteAggFunction(func))) { - return aggregationOperator; - } - - final Map newProjection = new HashMap<>(); - for (Map.Entry aggEntry : oldAggregations.entrySet()) { - CallOperator aggFunc = aggEntry.getValue(); - if (aggFuncRewriter.canRewriteAggFunction(aggFunc)) { - CallOperator newAggFunc = aggFuncRewriter.rewriteAggFunction(aggFunc); - newProjection.put(aggEntry.getKey(), newAggFunc); - } else { - newProjection.put(aggEntry.getKey(), aggEntry.getKey()); - newColumnRefToAggFuncMap.put(aggEntry.getKey(), aggEntry.getValue()); - } - } - // Copy group by keys as projection - aggregationOperator.getGroupingKeys().forEach(c -> newProjection.put(c, c)); - ReplaceColumnRefRewriter rewriter = new ReplaceColumnRefRewriter(newProjection); - // Copy original projection mappings. - if (aggregationOperator.getProjection() != null) { - aggregationOperator.getProjection().getColumnRefMap().forEach((k, v) -> - newProjection.put(k, rewriter.rewrite(v))); - } - ScalarOperator newPredicate = null; - if (aggregationOperator.getPredicate() != null) { - newPredicate = rewriter.rewrite(aggregationOperator.getPredicate()); - } - - // Make a new logical agg with new projections. - LogicalAggregationOperator newAggOp = LogicalAggregationOperator.builder() - .withOperator(aggregationOperator) - .setType(AggType.GLOBAL) - .setGroupingKeys(aggregationOperator.getGroupingKeys()) - .setAggregations(newColumnRefToAggFuncMap) - .setProjection(new Projection(newProjection)) - .setPredicate(newPredicate) - .build(); - - return newAggOp; - } } diff --git a/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/EquationRewriter.java b/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/EquationRewriter.java index 9a4af98024ee8..e5811503e2e6b 100644 --- a/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/EquationRewriter.java +++ b/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/EquationRewriter.java @@ -46,7 +46,7 @@ public class EquationRewriter { private Map columnMapping; private AggregateFunctionRewriter aggregateFunctionRewriter; - boolean underAggFunctionRewriteContext; + boolean isUnderAggFuncNormalizerContext; public EquationRewriter() { this.equationMap = ArrayListMultimap.create(); @@ -62,12 +62,12 @@ public void setAggregateFunctionRewriter(AggregateFunctionRewriter aggregateFunc this.aggregateFunctionRewriter = aggregateFunctionRewriter; } - public boolean isUnderAggFunctionRewriteContext() { - return underAggFunctionRewriteContext; + public boolean isUnderAggFuncNormalizerContext() { + return isUnderAggFuncNormalizerContext; } - public void setUnderAggFunctionRewriteContext(boolean underAggFunctionRewriteContext) { - this.underAggFunctionRewriteContext = underAggFunctionRewriteContext; + public void setUnderAggFuncNormalizerContext(boolean underAggFuncNormalizerContext) { + this.isUnderAggFuncNormalizerContext = underAggFuncNormalizerContext; } public boolean isColWithOnlyGroupByKeys(ScalarOperator expr) { @@ -150,14 +150,17 @@ public ScalarOperator visitCall(CallOperator call, Void context) { // retry again by using aggregateFunctionRewriter when predicate cannot be rewritten. if (aggregateFunctionRewriter != null && aggregateFunctionRewriter.canRewriteAggFunction(call) && - !isUnderAggFunctionRewriteContext()) { - ScalarOperator newChooseScalarOp = aggregateFunctionRewriter.rewriteAggFunction(call); - if (newChooseScalarOp != null) { - setUnderAggFunctionRewriteContext(true); + !isUnderAggFuncNormalizerContext()) { + boolean isRollup = shuttleContext == null ? false : shuttleContext.isRollup(); + rewritten = aggregateFunctionRewriter.rewriteAggFunction(call, isRollup); + if (rewritten != null) { + setUnderAggFuncNormalizerContext(true); // NOTE: To avoid repeating `rewriteAggFunction` by `aggregateFunctionRewriter`, use // `underAggFunctionRewriteContext` to mark it's under agg function rewriter and no need rewrite again. - rewritten = newChooseScalarOp.accept(this, null); - setUnderAggFunctionRewriteContext(false); + setUnderAggFuncNormalizerContext(false); + if (aggregateFunctionRewriter.getNewColumnRefToAggFuncMap() != null) { + shuttleContext.setNewColumnRefToAggFuncMap(aggregateFunctionRewriter.getNewColumnRefToAggFuncMap()); + } return rewritten; } } diff --git a/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/MvUtils.java b/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/MvUtils.java index 92b8496f7c68d..2eeb2dec527de 100644 --- a/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/MvUtils.java +++ b/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/MvUtils.java @@ -1345,7 +1345,9 @@ public static ParseNode getQueryAst(String query, ConnectContext connectContext) try { List statementBases = com.starrocks.sql.parser.SqlParser.parse(query, connectContext.getSessionVariable()); - Preconditions.checkState(statementBases.size() == 1); + if (statementBases.size() != 1) { + return null; + } StatementBase stmt = statementBases.get(0); Analyzer.analyze(stmt, connectContext); return stmt; diff --git a/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/equivalent/AggStateRewriteEquivalent.java b/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/equivalent/AggStateRewriteEquivalent.java new file mode 100644 index 0000000000000..becb394d32b56 --- /dev/null +++ b/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/equivalent/AggStateRewriteEquivalent.java @@ -0,0 +1,212 @@ +// Copyright 2021-present StarRocks, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +package com.starrocks.sql.optimizer.rule.transformation.materialization.equivalent; + +import com.google.common.base.Preconditions; +import com.starrocks.analysis.Expr; +import com.starrocks.catalog.Function; +import com.starrocks.catalog.FunctionSet; +import com.starrocks.catalog.Type; +import com.starrocks.catalog.combinator.AggStateCombinator; +import com.starrocks.catalog.combinator.AggStateUnionCombinator; +import com.starrocks.catalog.combinator.AggStateUtils; +import com.starrocks.common.Pair; +import com.starrocks.sql.optimizer.operator.scalar.CallOperator; +import com.starrocks.sql.optimizer.operator.scalar.ColumnRefOperator; +import com.starrocks.sql.optimizer.operator.scalar.ScalarOperator; + +import java.util.Arrays; +import java.util.List; + +import static com.starrocks.catalog.Function.CompareMode.IS_IDENTICAL; +import static com.starrocks.catalog.FunctionSet.AGG_STATE_SUFFIX; + +public class AggStateRewriteEquivalent extends IAggregateRewriteEquivalent { + public static IAggregateRewriteEquivalent INSTANCE = new AggStateRewriteEquivalent(); + + public AggStateRewriteEquivalent() {} + + @Override + public RewriteEquivalentContext prepare(ScalarOperator op) { + if (op == null || !(op instanceof CallOperator)) { + return null; + } + CallOperator aggFunc = (CallOperator) op; + String aggFuncName = aggFunc.getFnName(); + if (aggFuncName == null || !aggFuncName.endsWith(FunctionSet.AGG_STATE_UNION_SUFFIX)) { + return null; + } + // agg function must be agg_state_union + Function callAggFunc = aggFunc.getFunction(); + if (!(callAggFunc instanceof AggStateUnionCombinator)) { + return null; + } + String realAggFuncName = AggStateUtils.getAggFuncNameOfCombinator(aggFuncName); + + ScalarOperator arg0 = aggFunc.getChild(0); + if (arg0 == null || !(arg0 instanceof CallOperator)) { + return null; + } + + CallOperator argCall0 = (CallOperator) arg0; + Function argFunc0 = argCall0.getFunction(); + // arg0 must agg_state function + if (argFunc0 == null || !(argFunc0 instanceof AggStateCombinator)) { + return null; + } + String argStateName = argCall0.getFnName(); + if (argStateName == null || !argStateName.endsWith(AGG_STATE_SUFFIX)) { + return null; + } + if (argCall0.getType().getAggStateDesc() == null) { + return null; + } + if (!realAggFuncName.equalsIgnoreCase(AggStateUtils.getAggFuncNameOfCombinator(argStateName))) { + return null; + } + if (argCall0.getChildren().isEmpty()) { + return null; + } + ScalarOperator eqChild = argCall0.getChild(0); + // use agg_state's arg0 as equivalent, and save agg_state's expression as original expression + return new RewriteEquivalentContext(eqChild, argCall0); + } + + @Override + public boolean isSupportPushDownRewrite(CallOperator aggFunc) { + return true; + } + + @Override + public ScalarOperator rewrite(RewriteEquivalentContext eqContext, + EquivalentShuttleContext shuttleContext, + ColumnRefOperator replace, + ScalarOperator newInput) { + if (newInput == null || !(newInput instanceof CallOperator)) { + return null; + } + + // input + CallOperator aggFunc = (CallOperator) newInput; + String aggFuncName = aggFunc.getFnName(); + + CallOperator eqAggState = (CallOperator) eqContext.getInput(); + String realAggFuncName = AggStateUtils.getAggFuncNameOfCombinator(eqAggState.getFnName()); + if (!aggFuncName.equalsIgnoreCase(realAggFuncName) && + !aggFuncName.equalsIgnoreCase(FunctionSet.getAggStateMergeName(realAggFuncName))) { + return null; + } + + List eqArgs = eqAggState.getChildren(); + if (aggFuncName.equalsIgnoreCase(realAggFuncName)) { + // query's agg function, mv: avg_union(avg_state(x)), query: avg(x) + // check all input arguments are the same. + if (aggFunc.getChildren().size() != eqArgs.size()) { + return null; + } + for (int i = 0; i < eqArgs.size(); i++) { + if (!eqArgs.get(i).equals(aggFunc.getChild(i))) { + return null; + } + } + } else { + // query's agg_merge function, mv: avg_union(avg_state(x)), query: avg_merge(avg_state(x)) + ScalarOperator queryArg0 = aggFunc.getChild(0); + if (queryArg0 == null || !(queryArg0 instanceof CallOperator)) { + return null; + } + CallOperator queryArg0Call = (CallOperator) queryArg0; + if (!(queryArg0Call.getFunction() instanceof AggStateCombinator)) { + return null; + } + if (!realAggFuncName.equalsIgnoreCase(AggStateUtils.getAggFuncNameOfCombinator(queryArg0Call.getFnName()))) { + return null; + } + List queryArgs = queryArg0Call.getChildren(); + // check all input arguments are the same. + if (queryArgs.size() != eqArgs.size()) { + return null; + } + for (int i = 0; i < eqArgs.size(); i++) { + if (!eqArgs.get(i).equals(queryArgs.get(i))) { + return null; + } + } + } + + if (shuttleContext.isRollup()) { + return makeAggStateRollupFunc(replace, realAggFuncName, aggFunc.getType()); + } else { + return makeAggStateMergeFunc(replace, realAggFuncName, aggFunc.getType()); + } + } + + private CallOperator makeAggStateRollupFunc(ScalarOperator replace, + String realAggFuncName, + Type aggReturnType) { + CallOperator aggUnionRollup = makeAggStateUnionFunc(replace, realAggFuncName); + return makeAggStateMergeFunc(aggUnionRollup, realAggFuncName, aggReturnType); + } + + private CallOperator makeAggStateUnionFunc(ScalarOperator replace, + String realAggFuncName) { + String aggUnionFuncName = FunctionSet.getAggStateUnionName(realAggFuncName); + + // agg_state_union(input), its type is the same as input + Type intermediateType = replace.getType(); + Function aggUnionFn = Expr.getBuiltinFunction(aggUnionFuncName, new Type[] { intermediateType }, + IS_IDENTICAL); + Preconditions.checkState(aggUnionFn != null); + return new CallOperator(aggUnionFuncName, intermediateType, Arrays.asList(replace), aggUnionFn); + } + + private CallOperator makeAggStateMergeFunc(ScalarOperator input, + String realAggFuncName, + Type aggReturnType) { + Type intermediateType = input.getType(); + // agg_state_merge(agg_state_union(input)), its type is the same as input + String aggMergeFuncName = FunctionSet.getAggStateMergeName(realAggFuncName); + Function aggMergeFn = Expr.getBuiltinFunction(aggMergeFuncName, + new Type[] { intermediateType }, Function.CompareMode.IS_IDENTICAL); + Preconditions.checkState(aggMergeFn != null); + return new CallOperator(aggMergeFuncName, aggReturnType, + Arrays.asList(input), aggMergeFn); + } + + @Override + public ScalarOperator rewriteRollupAggregateFunc(EquivalentShuttleContext shuttleContext, + CallOperator aggFunc, + ColumnRefOperator replace) { + String realAggFuncName = AggStateUtils.getAggFuncNameOfCombinator(aggFunc.getFnName()); + return makeAggStateUnionFunc(replace, realAggFuncName); + } + + @Override + public ScalarOperator rewriteAggregateFunc(EquivalentShuttleContext shuttleContext, + CallOperator aggFunc, + ColumnRefOperator replace) { + String realAggFuncName = AggStateUtils.getAggFuncNameOfCombinator(aggFunc.getFnName()); + return makeAggStateMergeFunc(replace, realAggFuncName, aggFunc.getType()); + } + + @Override + public Pair rewritePushDownRollupAggregateFunc(EquivalentShuttleContext shuttleContext, + CallOperator aggFunc, + ColumnRefOperator replace) { + String realAggFuncName = AggStateUtils.getAggFuncNameOfCombinator(aggFunc.getFnName()); + CallOperator partialFn = makeAggStateUnionFunc(replace, realAggFuncName); + CallOperator finalFn = makeAggStateMergeFunc(replace, realAggFuncName, aggFunc.getType()); + return Pair.create(partialFn, finalFn); + } +} \ No newline at end of file diff --git a/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/equivalent/EquivalentShuttleContext.java b/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/equivalent/EquivalentShuttleContext.java index c4d10389ed915..0e1c563b78e53 100644 --- a/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/equivalent/EquivalentShuttleContext.java +++ b/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/equivalent/EquivalentShuttleContext.java @@ -14,13 +14,19 @@ package com.starrocks.sql.optimizer.rule.transformation.materialization.equivalent; +import com.starrocks.sql.optimizer.operator.scalar.CallOperator; +import com.starrocks.sql.optimizer.operator.scalar.ColumnRefOperator; import com.starrocks.sql.optimizer.rule.transformation.materialization.RewriteContext; +import java.util.Map; + public class EquivalentShuttleContext { private final RewriteContext rewriteContext; private final boolean isRollup; private boolean isUseEquivalent; private boolean isRewrittenByEquivalent; + private IRewriteEquivalent.RewriteEquivalentType rewriteEquivalentType; + private Map newColumnRefToAggFuncMap; public EquivalentShuttleContext(RewriteContext rewriteContext, boolean isRollup, boolean isRewrittenByEquivalent) { this.rewriteContext = rewriteContext; @@ -44,6 +50,18 @@ public void setRewrittenByEquivalent(boolean rewrittenByEquivalent) { isRewrittenByEquivalent = rewrittenByEquivalent; } + public boolean isRewrittenByRewriter() { + return newColumnRefToAggFuncMap != null; + } + + public void setNewColumnRefToAggFuncMap(Map newColumnRefToAggFuncMap) { + this.newColumnRefToAggFuncMap = newColumnRefToAggFuncMap; + } + + public Map getNewColumnRefToAggFuncMap() { + return newColumnRefToAggFuncMap; + } + public RewriteContext getRewriteContext() { return rewriteContext; } diff --git a/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/equivalent/RewriteEquivalent.java b/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/equivalent/RewriteEquivalent.java index ffb52e528fecb..58ee395aa13b4 100644 --- a/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/equivalent/RewriteEquivalent.java +++ b/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/equivalent/RewriteEquivalent.java @@ -29,7 +29,8 @@ public class RewriteEquivalent { BitmapRewriteEquivalent.INSTANCE, ArrayRewriteEquivalent.INSTANCE, HLLRewriteEquivalent.INSTANCE, - PercentileRewriteEquivalent.INSTANCE + PercentileRewriteEquivalent.INSTANCE, + AggStateRewriteEquivalent.INSTANCE ); public static final List PREDICATE_EQUIVALENTS = Lists.newArrayList( TimeSliceRewriteEquivalent.INSTANCE, diff --git a/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/tree/JoinLocalShuffleRule.java b/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/tree/JoinLocalShuffleRule.java index 7f110114e3ae7..04b0c2d639c5d 100644 --- a/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/tree/JoinLocalShuffleRule.java +++ b/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/tree/JoinLocalShuffleRule.java @@ -42,16 +42,22 @@ public Void visit(OptExpression opt, TaskContext context) { @Override public Void visitPhysicalDistribution(OptExpression opt, TaskContext context) { Operator op = opt.getInputs().get(0).getOp(); - // exchange + local agg + join, then this join can use local shuffle. + // 1. exchange + local agg + join, then this join can use local shuffle. if ((op instanceof PhysicalHashAggregateOperator) && ((PhysicalHashAggregateOperator) op).getType().isLocal()) { Operator childOp = opt.getInputs().get(0).getInputs().get(0).getOp(); if (childOp instanceof PhysicalJoinOperator) { PhysicalJoinOperator joinOperator = (PhysicalJoinOperator) childOp; - joinOperator.setCanLocalShuffle(true); + joinOperator.setOutputRequireHashPartition(false); } } + // 2. exchange + join + if (op instanceof PhysicalJoinOperator) { + PhysicalJoinOperator joinOperator = (PhysicalJoinOperator) op; + joinOperator.setOutputRequireHashPartition(false); + } + for (OptExpression input : opt.getInputs()) { input.getOp().accept(this, input, context); } diff --git a/fe/fe-core/src/main/java/com/starrocks/sql/plan/PlanFragmentBuilder.java b/fe/fe-core/src/main/java/com/starrocks/sql/plan/PlanFragmentBuilder.java index bfd3cebb49f3c..755696639b162 100644 --- a/fe/fe-core/src/main/java/com/starrocks/sql/plan/PlanFragmentBuilder.java +++ b/fe/fe-core/src/main/java/com/starrocks/sql/plan/PlanFragmentBuilder.java @@ -2719,7 +2719,7 @@ private PlanFragment visitPhysicalJoin(PlanFragment leftFragment, PlanFragment r throw new StarRocksPlannerException("unknown join operator: " + node, INTERNAL_ERROR); } - if (node.getCanLocalShuffle()) { + if (!node.getOutputRequireHashPartition()) { joinNode.setCanLocalShuffle(true); } diff --git a/fe/fe-core/src/test/java/com/starrocks/alter/MaterializedViewHandlerTest.java b/fe/fe-core/src/test/java/com/starrocks/alter/MaterializedViewHandlerTest.java index cee3fca9d59db..77b7de9128ab5 100644 --- a/fe/fe-core/src/test/java/com/starrocks/alter/MaterializedViewHandlerTest.java +++ b/fe/fe-core/src/test/java/com/starrocks/alter/MaterializedViewHandlerTest.java @@ -192,7 +192,7 @@ public void testInvalidAggregateType(@Injectable CreateMaterializedViewStmt crea @Injectable OlapTable olapTable, @Injectable Database db) { final String mvName = "mv1"; final String mvColumName = "mv_sum_k1"; - MVColumnItem mvColumnItem = new MVColumnItem(mvColumName, Type.BIGINT, AggregateType.SUM, false, null, true, + MVColumnItem mvColumnItem = new MVColumnItem(mvColumName, Type.BIGINT, AggregateType.SUM, null, false, null, true, Sets.newHashSet()); mvColumnItem.setIsKey(true); mvColumnItem.setAggregationType(null, false); @@ -248,8 +248,8 @@ public void testDuplicateTable(@Injectable CreateMaterializedViewStmt createMate final String mvName = "mv1"; final String columnName1 = "k1"; Column baseColumn1 = new Column(columnName1, Type.VARCHAR, false, AggregateType.NONE, "", ""); - MVColumnItem mvColumnItem = new MVColumnItem(columnName1, Type.VARCHAR, AggregateType.NONE, false, null, true, - Sets.newHashSet()); + MVColumnItem mvColumnItem = new MVColumnItem(columnName1, Type.VARCHAR, AggregateType.NONE, null, + false, null, true, Sets.newHashSet()); mvColumnItem.setIsKey(true); mvColumnItem.setAggregationType(null, false); @@ -289,7 +289,8 @@ public void checkInvalidPartitionKeyMV(@Injectable CreateMaterializedViewStmt cr @Injectable OlapTable olapTable, @Injectable Database db) { final String mvName = "mv1"; final String columnName1 = "k1"; - MVColumnItem mvColumnItem = new MVColumnItem(columnName1, Type.BIGINT, null, false, null, true, Sets.newHashSet()); + MVColumnItem mvColumnItem = new MVColumnItem(columnName1, Type.BIGINT, null, null, + false, null, true, Sets.newHashSet()); mvColumnItem.setIsKey(false); mvColumnItem.setAggregationType(AggregateType.SUM, false); List partitionColumnNames = Lists.newArrayList(); diff --git a/fe/fe-core/src/test/java/com/starrocks/analysis/CreateSyncMaterializedViewTest.java b/fe/fe-core/src/test/java/com/starrocks/analysis/CreateSyncMaterializedViewTest.java index 9ee8dc9e34e1f..3da5b48f4a248 100644 --- a/fe/fe-core/src/test/java/com/starrocks/analysis/CreateSyncMaterializedViewTest.java +++ b/fe/fe-core/src/test/java/com/starrocks/analysis/CreateSyncMaterializedViewTest.java @@ -642,4 +642,35 @@ public void testCreateMVWithAggregateTable3() throws Exception { } starRocksAssert.dropTable("t1"); } + + @Test + public void testCreateMVWithAggState() throws Exception { + starRocksAssert.useDatabase("test"); + starRocksAssert.withTable("\n" + + "CREATE TABLE t1 (\n" + + " k1 string NOT NULL,\n" + + " k2 string,\n" + + " k3 DECIMAL(34,0),\n" + + " k4 DATE NOT NULL,\n" + + " v1 BIGINT DEFAULT \"0\"\n" + + ")\n" + + "DUPLICATE KEY(k1, k2, k3, k4)\n" + + "DISTRIBUTED BY HASH(k4);"); + { + starRocksAssert.withMaterializedView("CREATE MATERIALIZED VIEW test_mv1 as \n" + + "SELECT k1, k2, avg_union(avg_state(k3)) as v1 from t1 group by k1, k2;"); + starRocksAssert.dropMaterializedView("test_mv1"); + } + { + starRocksAssert.withMaterializedView("CREATE MATERIALIZED VIEW test_mv1 as \n" + + "SELECT k1, k2, avg_union(avg_state(k3 * 2)) as v1 from t1 group by k1, k2;"); + starRocksAssert.dropMaterializedView("test_mv1"); + } + { + starRocksAssert.withMaterializedView("CREATE MATERIALIZED VIEW test_mv1 as \n" + + "SELECT k1, k2, avg_union(avg_state(k3 * 4)) as v1 from t1 where k1 != 'a' group by k1, k2;"); + starRocksAssert.dropMaterializedView("test_mv1"); + } + starRocksAssert.dropTable("t1"); + } } \ No newline at end of file diff --git a/fe/fe-core/src/test/java/com/starrocks/catalog/combinator/AggStateCombinatorTest.java b/fe/fe-core/src/test/java/com/starrocks/catalog/combinator/AggStateCombinatorTest.java index 1838c266a3227..2456d85015fc1 100644 --- a/fe/fe-core/src/test/java/com/starrocks/catalog/combinator/AggStateCombinatorTest.java +++ b/fe/fe-core/src/test/java/com/starrocks/catalog/combinator/AggStateCombinatorTest.java @@ -29,6 +29,7 @@ import com.starrocks.catalog.Function; import com.starrocks.catalog.FunctionSet; import com.starrocks.catalog.MapType; +import com.starrocks.catalog.MaterializedView; import com.starrocks.catalog.ScalarType; import com.starrocks.catalog.StructType; import com.starrocks.catalog.Table; @@ -38,7 +39,8 @@ import com.starrocks.qe.ConnectContext; import com.starrocks.server.GlobalStateMgr; import com.starrocks.sql.analyzer.FunctionAnalyzer; -import com.starrocks.sql.ast.CreateDbStmt; +import com.starrocks.sql.optimizer.rule.transformation.materialization.MvRewriteTestBase; +import com.starrocks.sql.optimizer.statistics.EmptyStatisticStorage; import com.starrocks.sql.parser.NodePosition; import com.starrocks.sql.plan.PlanTestBase; import com.starrocks.utframe.StarRocksAssert; @@ -47,6 +49,7 @@ import org.assertj.core.util.Sets; import org.junit.Assert; import org.junit.BeforeClass; +import org.junit.Ignore; import org.junit.Test; import java.util.ArrayList; @@ -57,26 +60,23 @@ import java.util.stream.IntStream; import java.util.stream.Stream; -public class AggStateCombinatorTest { - private static ConnectContext connectContext; - private static StarRocksAssert starRocksAssert; +public class AggStateCombinatorTest extends MvRewriteTestBase { @BeforeClass public static void beforeClass() throws Exception { + // set default config for async mvs + UtFrameUtils.setDefaultConfigForAsyncMVTest(connectContext); + + Config.alter_scheduler_interval_millisecond = 1; + FeConstants.runningUnitTest = true; UtFrameUtils.createMinStarRocksCluster(); - Config.enable_strict_storage_medium_check = true; - Config.enable_auto_tablet_distribution = true; - Config.enable_experimental_rowstore = true; - Config.default_replication_num = 1; - FeConstants.enablePruneEmptyOutputScan = false; - // create connect context + GlobalStateMgr.getCurrentState().setStatisticStorage(new EmptyStatisticStorage()); + connectContext = UtFrameUtils.createDefaultCtx(); starRocksAssert = new StarRocksAssert(connectContext); - String createDbStmtStr = "create database test;"; - CreateDbStmt createDbStmt = (CreateDbStmt) UtFrameUtils.parseStmtWithNewParser(createDbStmtStr, connectContext); - GlobalStateMgr.getCurrentState().getLocalMetastore().createDb(createDbStmt.getFullDbName()); - starRocksAssert.useDatabase("test"); + starRocksAssert.withEnableMV().withDatabase("test").useDatabase("test"); } + private static final Set SUPPORTED_AGG_STATE_FUNCTIONS = ImmutableSet.of( "ndv", "percentile_disc", "corr", "multi_distinct_sum", "var_samp", "sum", "stddev_pop", "array_agg_distinct", "approx_count_distinct", "variance_samp", "min", "avg", "any_value", @@ -864,4 +864,210 @@ public void testGenerateSqlTesterTestsTotal() throws Exception { }); starRocksAssert.dropTable("t1"); } + + @Test + public void testGenerateCreateSyncMVWithMultiCountDistinct() throws Exception { + List funcNames = Lists.newArrayList(); + Map colTypes = Maps.newLinkedHashMap(); + List> aggArgTypes = Lists.newArrayList(); + List columns = Lists.newArrayList(); + List colNames = Lists.newArrayList(); + buildTableT1(funcNames, colTypes, aggArgTypes, columns, colNames); + List stateColumns = Lists.newArrayList(); + + List queryColumns = Lists.newArrayList(); + for (int i = 0; i < funcNames.size(); i++) { + String fnName = funcNames.get(i); + if (!fnName.equalsIgnoreCase(FunctionSet.MULTI_DISTINCT_COUNT)) { + continue; + } + List argTypes = aggArgTypes.get(i); + String arg = buildAggFuncArgs(fnName, argTypes, colTypes); + String col = String.format("%s(%s(%s)) as agg%s", + FunctionSet.getAggStateUnionName(fnName), FunctionSet.getAggStateName(fnName), arg, i); + stateColumns.add(col); + + String qCol = String.format("%s(%s) as agg%s", + fnName, arg, i); + queryColumns.add(qCol); + } + + // create sync mv with all agg functions + String sql1 = "CREATE MATERIALIZED VIEW test_mv1 as select k1, " + + Joiner.on(", ").join(stateColumns) + " from t1 group by k1;"; + System.out.println(sql1); + starRocksAssert.withMaterializedView(sql1); + + // no rollup + { + String query = String.format("select k1, %s from t1 group by k1;", Joiner.on(", ").join(queryColumns)); + System.out.println(query); + String plan = getFragmentPlan(query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + // rollup + { + String query = String.format("select %s from t1;", Joiner.on(", ").join(queryColumns)); + System.out.println(query); + String plan = getFragmentPlan(query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + starRocksAssert.dropTable("t1"); + } + + private void testCreateSyncMVWithSpecificAggFunc(String aggFuncName) throws Exception { + List funcNames = Lists.newArrayList(); + Map colTypes = Maps.newLinkedHashMap(); + List> aggArgTypes = Lists.newArrayList(); + List columns = Lists.newArrayList(); + List colNames = Lists.newArrayList(); + buildTableT1(funcNames, colTypes, aggArgTypes, columns, colNames); + List stateColumns = Lists.newArrayList(); + + List queryColumns = Lists.newArrayList(); + for (int i = 0; i < funcNames.size(); i++) { + String fnName = funcNames.get(i); + if (!fnName.equalsIgnoreCase(aggFuncName)) { + continue; + } + List argTypes = aggArgTypes.get(i); + String arg = buildAggFuncArgs(fnName, argTypes, colTypes); + String col = String.format("%s(%s(%s)) as agg%s", + FunctionSet.getAggStateUnionName(fnName), FunctionSet.getAggStateName(fnName), arg, i); + stateColumns.add(col); + String qCol = String.format("%s(%s) as agg%s", + fnName, arg, i); + queryColumns.add(qCol); + } + + // create sync mv with all agg functions + String sql1 = "CREATE MATERIALIZED VIEW test_mv1 as select k1, " + + Joiner.on(", ").join(stateColumns) + " from t1 group by k1;"; + System.out.println(sql1); + starRocksAssert.withMaterializedView(sql1); + + // no rollup + { + String query = String.format("select k1, %s from t1 group by k1;", Joiner.on(", ").join(queryColumns)); + System.out.println(query); + String plan = getFragmentPlan(query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + // rollup + { + String query = String.format("select %s from t1;", Joiner.on(", ").join(queryColumns)); + System.out.println(query); + String plan = getFragmentPlan(query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + starRocksAssert.dropTable("t1"); + starRocksAssert.dropMaterializedView("test_mv1"); + } + + @Test + @Ignore + public void testCreateSyncMVWithArrayAggDistinct() throws Exception { + testCreateSyncMVWithSpecificAggFunc(FunctionSet.ARRAY_AGG_DISTINCT); + } + + @Test + public void testCreateSyncMVWithArrayUniqueAgg() throws Exception { + testCreateSyncMVWithSpecificAggFunc(FunctionSet.ARRAY_UNIQUE_AGG); + } + + @Test + public void testGenerateCreateAsyncMVWithAggState() throws Exception { + List funcNames = Lists.newArrayList(); + Map colTypes = Maps.newLinkedHashMap(); + List> aggArgTypes = Lists.newArrayList(); + List columns = Lists.newArrayList(); + List colNames = Lists.newArrayList(); + buildTableT1(funcNames, colTypes, aggArgTypes, columns, colNames); + List stateColumns = Lists.newArrayList(); + + List queryColumns = Lists.newArrayList(); + for (int i = 0; i < funcNames.size(); i++) { + String fnName = funcNames.get(i); + // TODO: remove this after ARRAY_AGG_DISTINCT is supported + if (fnName.equalsIgnoreCase(FunctionSet.ARRAY_AGG_DISTINCT)) { + continue; + } + List argTypes = aggArgTypes.get(i); + String arg = buildAggFuncArgs(fnName, argTypes, colTypes); + String col = String.format("%s(%s(%s)) as agg%s", + FunctionSet.getAggStateUnionName(fnName), FunctionSet.getAggStateName(fnName), arg, i); + stateColumns.add(col); + String qCol = String.format("%s(%s) as agg%s", + fnName, arg, i); + queryColumns.add(qCol); + } + + // create async mv with all agg functions + String sql1 = "CREATE MATERIALIZED VIEW test_mv1 REFRESH MANUAL as select k1, " + + Joiner.on(", ").join(stateColumns) + " from t1 group by k1;"; + System.out.println(sql1); + starRocksAssert.withRefreshedMaterializedView(sql1); + + // no rollup + { + String query = String.format("select k1, %s from t1 group by k1;", Joiner.on(", ").join(queryColumns)); + System.out.println(query); + String plan = getFragmentPlan(query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + // rollup + { + String query = String.format("select %s from t1;", Joiner.on(", ").join(queryColumns)); + System.out.println(query); + String plan = getFragmentPlan(query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + starRocksAssert.dropTable("t1"); + starRocksAssert.dropMaterializedView("test_mv1"); + } + + @Test + public void testGenerateCreateAsyncMVWithCountFunctions() throws Exception { + List funcNames = Lists.newArrayList(); + Map colTypes = Maps.newLinkedHashMap(); + List> aggArgTypes = Lists.newArrayList(); + List columns = Lists.newArrayList(); + List colNames = Lists.newArrayList(); + buildTableT1(funcNames, colTypes, aggArgTypes, columns, colNames); + List stateColumns = Lists.newArrayList(); + + List queryColumns = Lists.newArrayList(); + for (int i = 0; i < funcNames.size(); i++) { + String fnName = funcNames.get(i); + if (!fnName.equalsIgnoreCase(FunctionSet.COUNT)) { + continue; + } + List argTypes = aggArgTypes.get(i); + String arg = buildAggFuncArgs(fnName, argTypes, colTypes); + String col = String.format("%s(%s(%s)) as agg%s", + FunctionSet.getAggStateUnionName(fnName), FunctionSet.getAggStateName(fnName), arg, i); + stateColumns.add(col); + String qCol = String.format("%s(%s) as agg%s", + fnName, arg, i); + queryColumns.add(qCol); + } + + // create async mv with all agg functions + String sql1 = "CREATE MATERIALIZED VIEW test_mv1 REFRESH MANUAL as select k1, " + + Joiner.on(", ").join(stateColumns) + " from t1 group by k1;"; + System.out.println(sql1); + starRocksAssert.withRefreshedMaterializedView(sql1); + MaterializedView mv = starRocksAssert.getMv("test", "test_mv1"); + List mvCols = mv.getColumns(); + // count agg function's output should be always not nullable. + for (Column col : mvCols) { + if (col.getName().startsWith("agg")) { + Assert.assertTrue(col.getType().isBigint()); + Assert.assertFalse(col.isAllowNull()); + } + } + starRocksAssert.dropTable("t1"); + starRocksAssert.dropMaterializedView("test_mv1"); + } } + diff --git a/fe/fe-core/src/test/java/com/starrocks/planner/MaterializedViewTPCHTest.java b/fe/fe-core/src/test/java/com/starrocks/planner/MaterializedViewTPCHTest.java index f1b88d2a30862..d36b9bfc4322c 100644 --- a/fe/fe-core/src/test/java/com/starrocks/planner/MaterializedViewTPCHTest.java +++ b/fe/fe-core/src/test/java/com/starrocks/planner/MaterializedViewTPCHTest.java @@ -71,6 +71,10 @@ public void testTPCH(String name, String sql, String resultFile) { private static Stream tpchSource() { List cases = Lists.newArrayList(); for (Map.Entry entry : TpchSQL.getAllSQL().entrySet()) { + if (!entry.getKey().equalsIgnoreCase("q1")) { + continue; + + } cases.add(Arguments.of(entry.getKey(), entry.getValue(), "materialized-view/tpch/" + entry.getKey())); } return cases.stream(); diff --git a/fe/fe-core/src/test/java/com/starrocks/planner/MaterializedViewTest.java b/fe/fe-core/src/test/java/com/starrocks/planner/MaterializedViewTest.java index 92a5aee36b620..8a1d1e7141988 100644 --- a/fe/fe-core/src/test/java/com/starrocks/planner/MaterializedViewTest.java +++ b/fe/fe-core/src/test/java/com/starrocks/planner/MaterializedViewTest.java @@ -28,6 +28,7 @@ import com.starrocks.qe.SessionVariable; import com.starrocks.server.GlobalStateMgr; import com.starrocks.sql.plan.PlanTestBase; +import com.starrocks.utframe.UtFrameUtils; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Ignore; @@ -2778,7 +2779,8 @@ public void testRewriteAvg1() { @Test public void testRewriteAvg2() { - String mv2 = "select user_id, time, sum(tag_id), count(tag_id) from user_tags group by user_id, time;"; + String mv2 = "select user_id, time, sum(tag_id) as sum_tag, count(tag_id) as count_tag " + + "from user_tags group by user_id, time;"; testRewriteOK(mv2, "select user_id, avg(tag_id) from user_tags group by user_id;"); } @@ -5590,4 +5592,163 @@ public void testColumnPruningWithPredicates() { "TABLE: mv0"); } } + + @Test + public void testAggRollupWithTimeUnit1() throws Exception { + String sql = "CREATE TABLE `t0` (\n" + + " `date_col` date NOT NULL,\n" + + " `id` int(11) NOT NULL,\n" + + " `int_col` int(11) NOT NULL,\n" + + " `float_col_1` float NOT NULL,\n" + + " `float_col_2` float NOT NULL,\n" + + " `varchar_col` varchar(255) NOT NULL,\n" + + " `tinyint_col` tinyint(4) NOT NULL\n" + + ") ENGINE=OLAP\n" + + "DUPLICATE KEY(`date_col`, `id`)\n" + + "DISTRIBUTED BY HASH(`id`)\n" + + "PROPERTIES (\n" + + "\"replication_num\" = \"1\"\n" + + ");\n"; + starRocksAssert.withTable(sql); + String mv1 = "create MATERIALIZED VIEW date_mv\n" + + "DISTRIBUTED BY RANDOM\n" + + "REFRESH MANUAL\n" + + "PROPERTIES (\n" + + "\"replication_num\" = \"1\"\n" + + ") as select tinyint_col, date_col , sum(float_col_1 * int_col) as sum_value " + + "from t0 group by tinyint_col, date_col;"; + starRocksAssert.withMaterializedView(mv1); + + // date column should be the same with date_trunc('day', ct) + String[] rollupTimeUnits = new String[]{"day", "week", "month", "quarter", "year"}; + for (String rollupTimeUnit : rollupTimeUnits) { + String query = "select tinyint_col, date_trunc('" + rollupTimeUnit + "', date_col) as date_col, " + + " sum(float_col_1 * int_col) as sum_value from t0 " + + "group by tinyint_col, date_trunc('" + rollupTimeUnit + "', date_col);"; + String plan = sql(query).getExecPlan(); + PlanTestBase.assertContains(plan, "date_mv"); + } + starRocksAssert.dropTable("t0"); + starRocksAssert.dropMaterializedView("date_mv"); + } + + @Test + public void testAggRollupWithTimeUnit2() throws Exception { + String sql = "CREATE TABLE `t0` (\n" + + " `date_col` datetime NOT NULL,\n" + + " `id` int(11) NOT NULL,\n" + + " `int_col` int(11) NOT NULL,\n" + + " `float_col_1` float NOT NULL,\n" + + " `float_col_2` float NOT NULL,\n" + + " `varchar_col` varchar(255) NOT NULL,\n" + + " `tinyint_col` tinyint(4) NOT NULL\n" + + ") ENGINE=OLAP\n" + + "DUPLICATE KEY(`date_col`, `id`)\n" + + "DISTRIBUTED BY HASH(`id`)\n" + + "PROPERTIES (\n" + + "\"replication_num\" = \"1\"\n" + + ");\n"; + starRocksAssert.withTable(sql); + String mv1 = "create MATERIALIZED VIEW date_mv\n" + + "DISTRIBUTED BY RANDOM\n" + + "REFRESH DEFERRED MANUAL\n" + + "PROPERTIES (\n" + + "\"replication_num\" = \"1\"\n" + + ") as select tinyint_col, date_trunc('day', date_col), sum(float_col_1 * int_col) as sum_value " + + "from t0 group by tinyint_col, date_trunc('day', date_col);"; + starRocksAssert.withMaterializedView(mv1); + + // date column should be the same with date_trunc('day', ct) + //String[] timeUnits = new String[]{"day", "week", "month", "quarter", "year"}; + String[] timeUnits = new String[]{ "week", "month", "quarter", "year" }; + for (String timeUnit : timeUnits) { + { + String query = "select tinyint_col, date_trunc('" + timeUnit + "', date_col) as date_col, " + + " sum(float_col_1 * int_col) as sum_value from t0 " + + "group by tinyint_col, date_trunc('" + timeUnit + "', date_col);"; + String plan = sql(query).getExecPlan(); + PlanTestBase.assertContains(plan, "date_mv"); + } + + { + String query = "select tinyint_col, " + + " sum(float_col_1 * int_col) as sum_value from t0 " + + "where date_col >= '2024-01-01 00:00:00' group by tinyint_col "; + String plan = sql(query).getExecPlan(); + PlanTestBase.assertContains(plan, "date_mv"); + } + + { + String query = "select tinyint_col, " + + " sum(float_col_1 * int_col) as sum_value from t0 " + + "where date_trunc('" + timeUnit + "', date_col) >= '2024-01-01' group by tinyint_col "; + String plan = sql(query).getExecPlan(); + PlanTestBase.assertContains(plan, "date_mv"); + } + + { + // TODO: we can support this later. + String query = "select tinyint_col, " + + " sum(float_col_1 * int_col) as sum_value from t0 " + + "where date_trunc('" + timeUnit + "', date_col) = '2024-01-01' group by tinyint_col "; + String plan = sql(query).getExecPlan(); + PlanTestBase.assertNotContains(plan, "date_mv"); + } + + { + String query = "select tinyint_col, " + + " sum(float_col_1 * int_col) as sum_value from t0 " + + "where date_col >= '2024-09-18 01:00:01' group by tinyint_col "; + String plan = sql(query).getExecPlan(); + PlanTestBase.assertNotContains(plan, "date_mv"); + } + } + starRocksAssert.dropTable("t0"); + starRocksAssert.dropMaterializedView("date_mv"); + } + + @Test + public void testCreateMVWithAggStateRewrite() throws Exception { + starRocksAssert.withTable("\n" + + "CREATE TABLE s1 (\n" + + " k1 string NOT NULL,\n" + + " k2 string,\n" + + " k3 DECIMAL(34,0),\n" + + " k4 DATE NOT NULL,\n" + + " v1 BIGINT DEFAULT \"0\"\n" + + ")\n" + + "DUPLICATE KEY(k1, k2, k3, k4)\n" + + "DISTRIBUTED BY HASH(k4);"); + starRocksAssert.withMaterializedView("CREATE MATERIALIZED VIEW test_mv1 " + + " REFRESH DEFERRED MANUAL " + + "as \n" + + "SELECT k1, k2, avg_union(avg_state(k3 * 4)) as v1 from s1 where k1 != 'a' group by k1, k2;"); + { + String query = "SELECT k1, k2, avg_union(avg_state(k3 * 4)) as v1 from s1 where k1 != 'a' group by k1, k2;"; + String plan = UtFrameUtils.getFragmentPlan(connectContext, query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + { + String query = "SELECT k1, k2, avg_merge(avg_state(k3 * 4)) as v1 from s1 where k1 != 'a' group by k1, k2;"; + String plan = UtFrameUtils.getFragmentPlan(connectContext, query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + { + String query = "SELECT k2, avg_merge(avg_state(k3 * 4)) as v1 from s1 where k1 != 'a' group by k2;"; + String plan = UtFrameUtils.getFragmentPlan(connectContext, query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + { + String query = "SELECT k1, k2, avg(k3 * 4) as v1 from s1 where k1 != 'a' group by k1, k2;"; + String plan = UtFrameUtils.getFragmentPlan(connectContext, query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + { + String query = "SELECT k2, avg(k3 * 4) as v1 from s1 where k1 != 'a' group by k2;"; + String plan = UtFrameUtils.getFragmentPlan(connectContext, query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + starRocksAssert.dropMaterializedView("test_mv1"); + starRocksAssert.dropTable("s1"); + } } diff --git a/fe/fe-core/src/test/java/com/starrocks/sql/optimizer/MVRewriteTest.java b/fe/fe-core/src/test/java/com/starrocks/sql/optimizer/MVRewriteTest.java index c88635fab9eb1..12d5fb25058ea 100644 --- a/fe/fe-core/src/test/java/com/starrocks/sql/optimizer/MVRewriteTest.java +++ b/fe/fe-core/src/test/java/com/starrocks/sql/optimizer/MVRewriteTest.java @@ -71,20 +71,15 @@ public class MVRewriteTest { @BeforeClass public static void beforeClass() throws Exception { - Config.alter_scheduler_interval_millisecond = 1; - FeConstants.runningUnitTest = true; - // set default config for async mvs UtFrameUtils.setDefaultConfigForAsyncMVTest(connectContext); - Config.default_mv_refresh_immediate = true; + Config.alter_scheduler_interval_millisecond = 1; + FeConstants.runningUnitTest = true; UtFrameUtils.createMinStarRocksCluster(); GlobalStateMgr.getCurrentState().setStatisticStorage(new EmptyStatisticStorage()); - connectContext = UtFrameUtils.createDefaultCtx(); - - connectContext.getSessionVariable().setOptimizerExecuteTimeout(30000); - FeConstants.enablePruneEmptyOutputScan = false; + connectContext = UtFrameUtils.createDefaultCtx(); starRocksAssert = new StarRocksAssert(connectContext); starRocksAssert.withEnableMV().withDatabase(HR_DB_NAME).useDatabase(HR_DB_NAME); starRocksAssert.withTable("CREATE TABLE `ods_order` (\n" + @@ -1759,4 +1754,119 @@ public void testRewriteWithRandomDistribution() throws Exception { starRocksAssert.dropTable("t1"); starRocksAssert.dropMaterializedView("test_mv1"); } + + @Test + public void testCreateMVWithAggStateRewrite1() throws Exception { + starRocksAssert.withTable("\n" + + "CREATE TABLE t1 (\n" + + " k1 string NOT NULL,\n" + + " k2 string,\n" + + " k3 DECIMAL(34,0),\n" + + " k4 DATE NOT NULL,\n" + + " v1 BIGINT DEFAULT \"0\"\n" + + ")\n" + + "DUPLICATE KEY(k1, k2, k3, k4)\n" + + "DISTRIBUTED BY HASH(k4);"); + starRocksAssert.withMaterializedView("CREATE MATERIALIZED VIEW test_mv1 as \n" + + "SELECT k1, k2, avg_union(avg_state(k3)) as v1 from t1 group by k1, k2;"); + { + String query = "SELECT k1, k2, avg_union(avg_state(k3)) as v1 from t1 group by k1, k2;"; + String plan = UtFrameUtils.getFragmentPlan(connectContext, query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + { + String query = "SELECT k1, k2, avg_merge(avg_state(k3)) as v1 from t1 group by k1, k2;"; + String plan = UtFrameUtils.getFragmentPlan(connectContext, query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + { + + String query = "SELECT k1, k2, avg(k3) as v1 from t1 group by k1, k2;"; + String plan = UtFrameUtils.getFragmentPlan(connectContext, query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + starRocksAssert.dropMaterializedView("test_mv1"); + starRocksAssert.dropTable("t1"); + } + + @Test + public void testCreateMVWithAggStateRewrite2() throws Exception { + starRocksAssert.withTable("\n" + + "CREATE TABLE t1 (\n" + + " k1 string NOT NULL,\n" + + " k2 string,\n" + + " k3 DECIMAL(34,0),\n" + + " k4 DATE NOT NULL,\n" + + " v1 BIGINT DEFAULT \"0\"\n" + + ")\n" + + "DUPLICATE KEY(k1, k2, k3, k4)\n" + + "DISTRIBUTED BY HASH(k4);"); + starRocksAssert.withMaterializedView("CREATE MATERIALIZED VIEW test_mv1 as \n" + + "SELECT k1, k2, avg_union(avg_state(k3 * 2)) as v1 from t1 group by k1, k2;"); + { + String query = "SELECT k1, k2, avg_union(avg_state(k3 * 2)) as v1 from t1 group by k1, k2;"; + String plan = UtFrameUtils.getFragmentPlan(connectContext, query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + { + String query = "SELECT k1, k2, avg_merge(avg_state(k3 * 2)) as v1 from t1 group by k1, k2;"; + String plan = UtFrameUtils.getFragmentPlan(connectContext, query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + { + String query = "SELECT k1, k2, avg(k3 * 2) as v1 from t1 group by k1, k2;"; + String plan = UtFrameUtils.getFragmentPlan(connectContext, query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + { + String query = "SELECT k2, avg(k3 * 2) as v1 from t1 group by k2;"; + String plan = UtFrameUtils.getFragmentPlan(connectContext, query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + starRocksAssert.dropMaterializedView("test_mv1"); + starRocksAssert.dropTable("t1"); + } + + @Test + public void testCreateMVWithAggStateRewrite3() throws Exception { + starRocksAssert.withTable("\n" + + "CREATE TABLE t1 (\n" + + " k1 string NOT NULL,\n" + + " k2 string,\n" + + " k3 DECIMAL(34,0),\n" + + " k4 DATE NOT NULL,\n" + + " v1 BIGINT DEFAULT \"0\"\n" + + ")\n" + + "DUPLICATE KEY(k1, k2, k3, k4)\n" + + "DISTRIBUTED BY HASH(k4);"); + starRocksAssert.withMaterializedView("CREATE MATERIALIZED VIEW test_mv1 as \n" + + "SELECT k1, k2, avg_union(avg_state(k3 * 4)) as v1 from t1 where k1 != 'a' group by k1, k2;"); + { + String query = "SELECT k1, k2, avg_union(avg_state(k3 * 4)) as v1 from t1 where k1 != 'a' group by k1, k2;"; + String plan = UtFrameUtils.getFragmentPlan(connectContext, query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + { + String query = "SELECT k1, k2, avg_merge(avg_state(k3 * 4)) as v1 from t1 where k1 != 'a' group by k1, k2;"; + String plan = UtFrameUtils.getFragmentPlan(connectContext, query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + { + String query = "SELECT k2, avg_merge(avg_state(k3 * 4)) as v1 from t1 where k1 != 'a' group by k2;"; + String plan = UtFrameUtils.getFragmentPlan(connectContext, query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + { + String query = "SELECT k1, k2, avg(k3 * 4) as v1 from t1 where k1 != 'a' group by k1, k2;"; + String plan = UtFrameUtils.getFragmentPlan(connectContext, query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + { + String query = "SELECT k2, avg(k3 * 4) as v1 from t1 where k1 != 'a' group by k2;"; + String plan = UtFrameUtils.getFragmentPlan(connectContext, query); + PlanTestBase.assertContains(plan, "test_mv1"); + } + starRocksAssert.dropMaterializedView("test_mv1"); + starRocksAssert.dropTable("t1"); + } } diff --git a/fe/fe-core/src/test/java/com/starrocks/sql/plan/JoinLocalShuffleTest.java b/fe/fe-core/src/test/java/com/starrocks/sql/plan/JoinLocalShuffleTest.java index 51376a10c39bb..b1f7aceac7a15 100644 --- a/fe/fe-core/src/test/java/com/starrocks/sql/plan/JoinLocalShuffleTest.java +++ b/fe/fe-core/src/test/java/com/starrocks/sql/plan/JoinLocalShuffleTest.java @@ -18,6 +18,7 @@ import com.starrocks.qe.SessionVariable; import org.junit.AfterClass; import org.junit.BeforeClass; +import org.junit.Test; public class JoinLocalShuffleTest extends PlanTestBase { @@ -49,4 +50,13 @@ public void joinWithAgg() throws Exception { } sv.setNewPlanerAggStage(0); } + + @Test + public void joinUnderExchange() throws Exception { + SessionVariable sv = connectContext.getSessionVariable(); + sv.setInterpolatePassthrough(true); + String sql = "select l.* from t0 l join [shuffle] t1 on upper(v1) = v5 join [shuffle] t2 on lower(v1) = v9"; + String plan = getVerboseExplain(sql); + assertContains(plan, "can local shuffle: true"); + } } diff --git a/fe/fe-core/src/test/java/com/starrocks/utframe/UtFrameUtils.java b/fe/fe-core/src/test/java/com/starrocks/utframe/UtFrameUtils.java index 8c89a7d550d09..bb6a519e5acc8 100644 --- a/fe/fe-core/src/test/java/com/starrocks/utframe/UtFrameUtils.java +++ b/fe/fe-core/src/test/java/com/starrocks/utframe/UtFrameUtils.java @@ -555,18 +555,17 @@ public static Pair> getFragmentPlanWithTrace( Tracers.register(connectContext); Tracers.init(connectContext, Tracers.Mode.LOGS, module); try { - Pair planPair = UtFrameUtils.getPlanAndFragment(connectContext, sql); String pr = Tracers.printLogs(); Pair planAndTrace = Pair.create(planPair.second, pr); return Pair.create(planPair.first, planAndTrace); } catch (Exception e) { + throw e; + } finally { String pr = Tracers.printLogs(); if (!Strings.isNullOrEmpty(pr)) { System.out.println(pr); } - throw e; - } finally { Tracers.close(); } } diff --git a/fe/fe-core/src/test/resources/sql/materialized-view/tpch-hive/q1.sql b/fe/fe-core/src/test/resources/sql/materialized-view/tpch-hive/q1.sql index 769eb1e6cf0a4..f7f04cf6995f9 100644 --- a/fe/fe-core/src/test/resources/sql/materialized-view/tpch-hive/q1.sql +++ b/fe/fe-core/src/test/resources/sql/materialized-view/tpch-hive/q1.sql @@ -23,9 +23,8 @@ order by [result] TOP-N (order by [[9: l_returnflag ASC NULLS FIRST, 10: l_linestatus ASC NULLS FIRST]]) TOP-N (order by [[9: l_returnflag ASC NULLS FIRST, 10: l_linestatus ASC NULLS FIRST]]) - AGGREGATE ([GLOBAL] aggregate [{113: sum=sum(113: sum), 114: count=sum(114: count), 115: count=sum(115: count), 107: sum=sum(107: sum), 108: sum=sum(108: sum), 109: sum=sum(109: sum), 110: sum=sum(110: sum), 111: count=sum(111: count), 112: count=sum(112: count)}] group by [[92: l_returnflag, 93: l_linestatus]] having [null] - EXCHANGE SHUFFLE[92, 93] - AGGREGATE ([LOCAL] aggregate [{113: sum=sum(98: sum_discount), 114: count=sum(99: count_discount), 115: count=sum(102: count_order), 107: sum=sum(94: sum_qty), 108: sum=sum(96: sum_base_price), 109: sum=sum(100: sum_disc_price), 110: sum=sum(101: sum_charge), 111: count=sum(95: count_qty), 112: count=sum(97: count_base_price)}] group by [[92: l_returnflag, 93: l_linestatus]] having [null] - SCAN (mv[lineitem_agg_mv1] columns[91: l_shipdate, 92: l_returnflag, 93: l_linestatus, 94: sum_qty, 95: count_qty, 96: sum_base_price, 97: count_base_price, 98: sum_discount, 99: count_discount, 100: sum_disc_price, 101: sum_charge, 102: count_order] predicate[91: l_shipdate <= 1998-12-01]) -[end] - + AGGREGATE ([GLOBAL] aggregate [{113: count=sum(113: count), 103: sum=sum(103: sum), 104: sum=sum(104: sum), 105: sum=sum(105: sum), 106: sum=sum(106: sum), 107: sum=sum(107: sum), 108: count=sum(108: count), 109: sum=sum(109: sum), 110: count=sum(110: count), 111: sum=sum(111: sum), 112: count=sum(112: count)}] group by [[29: l_returnflag, 30: l_linestatus]] having [null] + EXCHANGE SHUFFLE[29, 30] + AGGREGATE ([LOCAL] aggregate [{113: count=sum(39: count_order), 103: sum=sum(31: sum_qty), 104: sum=sum(33: sum_base_price), 105: sum=sum(37: sum_disc_price), 106: sum=sum(38: sum_charge), 107: sum=sum(31: sum_qty), 108: count=sum(32: count_qty), 109: sum=sum(33: sum_base_price), 110: count=sum(34: count_base_price), 111: sum=sum(35: sum_discount), 112: count=sum(36: count_discount)}] group by [[29: l_returnflag, 30: l_linestatus]] having [null] + SCAN (mv[lineitem_agg_mv1] columns[28: l_shipdate, 29: l_returnflag, 30: l_linestatus, 31: sum_qty, 32: count_qty, 33: sum_base_price, 34: count_base_price, 35: sum_discount, 36: count_discount, 37: sum_disc_price, 38: sum_charge, 39: count_order] predicate[28: l_shipdate <= 1998-12-01]) +[end] \ No newline at end of file diff --git a/fe/fe-core/src/test/resources/sql/materialized-view/tpch/q1.sql b/fe/fe-core/src/test/resources/sql/materialized-view/tpch/q1.sql index 6aa832bc7a1ad..ac4ad0dab189f 100644 --- a/fe/fe-core/src/test/resources/sql/materialized-view/tpch/q1.sql +++ b/fe/fe-core/src/test/resources/sql/materialized-view/tpch/q1.sql @@ -23,7 +23,7 @@ order by [result] TOP-N (order by [[10: l_returnflag ASC NULLS FIRST, 11: l_linestatus ASC NULLS FIRST]]) TOP-N (order by [[10: l_returnflag ASC NULLS FIRST, 11: l_linestatus ASC NULLS FIRST]]) - AGGREGATE ([GLOBAL] aggregate [{113: sum=sum(33: sum_base_price), 114: sum=sum(35: sum_disc_price), 115: sum=sum(36: sum_charge), 116: count=sum(31: total_cnt), 117: count=sum(31: total_cnt), 118: count=sum(31: total_cnt), 119: sum=sum(34: sum_discount), 120: count=sum(31: total_cnt), 112: sum=sum(32: sum_qty)}] group by [[29: l_returnflag, 30: l_linestatus]] having [null] - SCAN (mv[lineitem_agg_mv1] columns[28: l_shipdate, 29: l_returnflag, 30: l_linestatus, 31: total_cnt, 32: sum_qty, 33: sum_base_price, 34: sum_discount, 35: sum_disc_price, 36: sum_charge] predicate[28: l_shipdate <= 1998-12-01]) + AGGREGATE ([GLOBAL] aggregate [{113: count=sum(91: total_cnt), 114: sum=sum(93: sum_base_price), 115: count=sum(91: total_cnt), 116: sum=sum(94: sum_discount), 117: count=sum(91: total_cnt), 118: count=sum(91: total_cnt), 108: sum=sum(92: sum_qty), 109: sum=sum(93: sum_base_price), 110: sum=sum(95: sum_disc_price), 111: sum=sum(96: sum_charge), 112: sum=sum(92: sum_qty)}] group by [[89: l_returnflag, 90: l_linestatus]] having [null] + SCAN (mv[lineitem_agg_mv1] columns[88: l_shipdate, 89: l_returnflag, 90: l_linestatus, 91: total_cnt, 92: sum_qty, 93: sum_base_price, 94: sum_discount, 95: sum_disc_price, 96: sum_charge] predicate[88: l_shipdate <= 1998-12-01]) [end] diff --git a/gensrc/thrift/PlanNodes.thrift b/gensrc/thrift/PlanNodes.thrift index 00ff3bc2be0e6..95c4adbb252b5 100644 --- a/gensrc/thrift/PlanNodes.thrift +++ b/gensrc/thrift/PlanNodes.thrift @@ -705,6 +705,7 @@ struct TNestLoopJoinNode { 2: optional list build_runtime_filters; 3: optional list join_conjuncts 4: optional string sql_join_conjuncts + 5: optional bool interpolate_passthrough = false } enum TAggregationOp { diff --git a/test/sql/test_agg_state/R/test_agg_state_with_async_mv.sql b/test/sql/test_agg_state/R/test_agg_state_with_async_mv.sql new file mode 100644 index 0000000000000..4f433574e9a9a --- /dev/null +++ b/test/sql/test_agg_state/R/test_agg_state_with_async_mv.sql @@ -0,0 +1,179 @@ +-- name: test_agg_state_with_async_mv +CREATE TABLE t1 ( +k1 date, +c0 boolean, +c1 tinyint(4), +c2 smallint(6), +c3 int(11), +c4 bigint(20), +c5 largeint(40), +c6 double, +c7 float, +c8 decimal(10, 2), +c9 char(100), +c10 date, +c11 datetime, +c12 array, +c13 array, +c14 array, +c15 array, +c16 array, +c17 array, +c18 array, +c19 array, +c20 array, +c21 array, +c22 array, +c23 array, +c24 varchar(100), +c25 json, +c26 varbinary, +c27 map, +c28 struct>, +c29 array) DUPLICATE KEY(k1) +DISTRIBUTED BY HASH(k1) +PROPERTIES ( "replication_num" = "1"); +-- result: +-- !result +INSERT INTO t1 VALUES +( + '2024-01-01', -- k1 + TRUE, -- c0 + 127, -- c1 + 32000, -- c2 + 2147483647, -- c3 + 9223372036854775807, -- c4 + 170141183460469231731687303715884105727, -- c5 (example large integer) + 12345.6789, -- c6 + 12345.67, -- c7 + 123.45678901, -- c8 + 'ExampleCharData', -- c9 + '2024-01-02', -- c10 + '2024-01-01 12:34:56', -- c11 + [TRUE, FALSE, TRUE], -- c15 () + [1, -1, 127], -- c16 () + [100, -100, 32767], -- c17 () + [100000, -100000, 2147483647], -- c18 () + [10000000000, -10000000000, 9223372036854775807], -- c19 () + [12345678901234567890, -12345678901234567890, 170141183460469231731687303715884105727], -- c20 () + [1.23, 4.56, 7.89], -- c21 () + [1.23, 4.56, 7.89], -- c22 () + [1.23456789, 2.34567890, 3.45678901], -- c23 () + ['abc', 'def', 'ghi'], -- c24 () + ['2024-01-01', '2024-01-02'], -- c25 () + ['2024-01-01 12:34:56', '2024-01-02 12:34:56'], -- c26 () + 'ExampleVarcharData', -- c12 + '{"key": "value"}', -- c13 (JSON data) + x'4D7956617262696E61727944617461', -- c14 (VARBINARY data in hexadecimal format) + MAP{'key1':'value1', 'key2':'value2'}, -- c27 (map) + row('val1'), -- c28 (struct>) + ['str1', 'str2', 'str3'] -- c29 () +); +-- result: +-- !result +set new_planner_optimize_timeout=1000; +-- result: +-- !result +CREATE MATERIALIZED VIEW test_mv1 +REFRESH DEFERRED MANUAL +PROPERTIES ( + "session.cbo_cte_reuse" = "false", + "replication_num" = "1" +) +as select k1, percentile_approx_union(percentile_approx_state(c6, 0.5)) as agg14, percentile_approx_union(percentile_approx_state(c6, 0.5)) as agg15, covar_pop_union(covar_pop_state(c6, c6)) as agg16, covar_pop_union(covar_pop_state(c7, c7)) as agg17, covar_pop_union(covar_pop_state(c0, c0)) as agg18, covar_pop_union(covar_pop_state(c1, c1)) as agg19, covar_pop_union(covar_pop_state(c2, c2)) as agg20, covar_pop_union(covar_pop_state(c3, c3)) as agg21, covar_pop_union(covar_pop_state(c4, c4)) as agg22, covar_pop_union(covar_pop_state(c5, c5)) as agg23, count_union(count_state(c0)) as agg24, count_union(count_state(c1)) as agg25, count_union(count_state(c2)) as agg26, count_union(count_state(c3)) as agg27, count_union(count_state(c4)) as agg28, count_union(count_state(c5)) as agg29, count_union(count_state(c6)) as agg30, count_union(count_state(c7)) as agg31, count_union(count_state(c8)) as agg32, count_union(count_state(c8)) as agg33, count_union(count_state(c8)) as agg34, count_union(count_state(c24)) as agg35, count_union(count_state(c10)) as agg36, count_union(count_state(c11)) as agg37, count_union(count_state(c16)) as agg38, count_union(count_state(c27)) as agg39, count_union(count_state(c28)) as agg40, count_union(count_state(c25)) as agg41, count_union(count_state(c26)) as agg42, array_unique_agg_union(array_unique_agg_state(c12)) as agg43, array_unique_agg_union(array_unique_agg_state(c13)) as agg44, array_unique_agg_union(array_unique_agg_state(c14)) as agg45, array_unique_agg_union(array_unique_agg_state(c15)) as agg46, array_unique_agg_union(array_unique_agg_state(c16)) as agg47, array_unique_agg_union(array_unique_agg_state(c17)) as agg48, array_unique_agg_union(array_unique_agg_state(c18)) as agg49, array_unique_agg_union(array_unique_agg_state(c19)) as agg50, array_unique_agg_union(array_unique_agg_state(c20)) as agg51, array_unique_agg_union(array_unique_agg_state(c20)) as agg52, array_unique_agg_union(array_unique_agg_state(c20)) as agg53, array_unique_agg_union(array_unique_agg_state(c20)) as agg54, array_unique_agg_union(array_unique_agg_state(c21)) as agg55, array_unique_agg_union(array_unique_agg_state(c22)) as agg56, array_unique_agg_union(array_unique_agg_state(c23)) as agg57, percentile_disc_union(percentile_disc_state(c0, 0.5)) as agg58, percentile_disc_union(percentile_disc_state(c1, 0.5)) as agg59, percentile_disc_union(percentile_disc_state(c2, 0.5)) as agg60, percentile_disc_union(percentile_disc_state(c3, 0.5)) as agg61, percentile_disc_union(percentile_disc_state(c4, 0.5)) as agg62, percentile_disc_union(percentile_disc_state(c5, 0.5)) as agg63, percentile_disc_union(percentile_disc_state(c8, 0.5)) as agg64, percentile_disc_union(percentile_disc_state(c8, 0.5)) as agg65, percentile_disc_union(percentile_disc_state(c8, 0.5)) as agg66, percentile_disc_union(percentile_disc_state(c9, 0.5)) as agg67, percentile_disc_union(percentile_disc_state(c10, 0.5)) as agg68, percentile_disc_union(percentile_disc_state(c11, 0.5)) as agg69, percentile_disc_union(percentile_disc_state(c6, 0.5)) as agg70, percentile_disc_union(percentile_disc_state(c7, 0.5)) as agg71, multi_distinct_count_union(multi_distinct_count_state(c0)) as agg72, multi_distinct_count_union(multi_distinct_count_state(c1)) as agg73, multi_distinct_count_union(multi_distinct_count_state(c2)) as agg74, multi_distinct_count_union(multi_distinct_count_state(c3)) as agg75, multi_distinct_count_union(multi_distinct_count_state(c4)) as agg76, multi_distinct_count_union(multi_distinct_count_state(c5)) as agg77, multi_distinct_count_union(multi_distinct_count_state(c6)) as agg78, multi_distinct_count_union(multi_distinct_count_state(c7)) as agg79, multi_distinct_count_union(multi_distinct_count_state(c8)) as agg80, multi_distinct_count_union(multi_distinct_count_state(c8)) as agg81, multi_distinct_count_union(multi_distinct_count_state(c8)) as agg82, multi_distinct_count_union(multi_distinct_count_state(c9)) as agg83, multi_distinct_count_union(multi_distinct_count_state(c10)) as agg84, multi_distinct_count_union(multi_distinct_count_state(c11)) as agg85, array_agg_union(array_agg_state(c24)) as agg86, stddev_samp_union(stddev_samp_state(c6)) as agg87, stddev_samp_union(stddev_samp_state(c7)) as agg88, stddev_samp_union(stddev_samp_state(c0)) as agg89, stddev_samp_union(stddev_samp_state(c1)) as agg90, stddev_samp_union(stddev_samp_state(c2)) as agg91, stddev_samp_union(stddev_samp_state(c3)) as agg92, stddev_samp_union(stddev_samp_state(c4)) as agg93, stddev_samp_union(stddev_samp_state(c5)) as agg94, mann_whitney_u_test_union(mann_whitney_u_test_state(c6, c0, 'two-sided', 0)) as agg95, mann_whitney_u_test_union(mann_whitney_u_test_state(c6, c0, 'less')) as agg96, mann_whitney_u_test_union(mann_whitney_u_test_state(c6, c0, 'two-sided', 0)) as agg97, max_union(max_state(c0)) as agg98, max_union(max_state(c1)) as agg99, max_union(max_state(c2)) as agg100, max_union(max_state(c3)) as agg101, max_union(max_state(c4)) as agg102, max_union(max_state(c5)) as agg103, max_union(max_state(c6)) as agg104, max_union(max_state(c7)) as agg105, max_union(max_state(c8)) as agg106, max_union(max_state(c8)) as agg107, max_union(max_state(c8)) as agg108, max_union(max_state(c24)) as agg109, max_union(max_state(c10)) as agg110, max_union(max_state(c11)) as agg111, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c0, 18, 'hll_6')) as agg112, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c0, 18)) as agg113, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c0, 18, 'hll_6')) as agg114, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c1, 18, 'hll_6')) as agg115, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c1, 18)) as agg116, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c1, 18, 'hll_6')) as agg117, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c2, 18, 'hll_6')) as agg118, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c2, 18)) as agg119, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c2, 18, 'hll_6')) as agg120, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c3, 18, 'hll_6')) as agg121, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c3, 18)) as agg122, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c3, 18, 'hll_6')) as agg123, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c4, 18, 'hll_6')) as agg124, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c4, 18)) as agg125, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c4, 18, 'hll_6')) as agg126, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c5, 18, 'hll_6')) as agg127, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c5, 18)) as agg128, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c5, 18, 'hll_6')) as agg129, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c6, 18, 'hll_6')) as agg130, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c6, 18)) as agg131, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c6, 18, 'hll_6')) as agg132, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c7, 18, 'hll_6')) as agg133, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c7, 18)) as agg134, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c7, 18, 'hll_6')) as agg135, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg136, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18)) as agg137, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg138, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg139, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18)) as agg140, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg141, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg142, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18)) as agg143, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg144, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c24, 18, 'hll_6')) as agg145, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c24, 18)) as agg146, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c24, 18, 'hll_6')) as agg147, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c10, 18, 'hll_6')) as agg148, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c10, 18)) as agg149, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c10, 18, 'hll_6')) as agg150, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c11, 18, 'hll_6')) as agg151, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c11, 18)) as agg152, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c11, 18, 'hll_6')) as agg153, ndv_union(ndv_state(c0)) as agg154, ndv_union(ndv_state(c1)) as agg155, ndv_union(ndv_state(c2)) as agg156, ndv_union(ndv_state(c3)) as agg157, ndv_union(ndv_state(c4)) as agg158, ndv_union(ndv_state(c5)) as agg159, ndv_union(ndv_state(c6)) as agg160, ndv_union(ndv_state(c7)) as agg161, ndv_union(ndv_state(c8)) as agg162, ndv_union(ndv_state(c8)) as agg163, ndv_union(ndv_state(c8)) as agg164, ndv_union(ndv_state(c24)) as agg165, ndv_union(ndv_state(c10)) as agg166, ndv_union(ndv_state(c11)) as agg167, stddev_union(stddev_state(c6)) as agg168, stddev_union(stddev_state(c7)) as agg169, stddev_union(stddev_state(c0)) as agg170, stddev_union(stddev_state(c1)) as agg171, stddev_union(stddev_state(c2)) as agg172, stddev_union(stddev_state(c3)) as agg173, stddev_union(stddev_state(c4)) as agg174, stddev_union(stddev_state(c5)) as agg175, covar_samp_union(covar_samp_state(c6, c6)) as agg176, covar_samp_union(covar_samp_state(c7, c7)) as agg177, covar_samp_union(covar_samp_state(c0, c0)) as agg178, covar_samp_union(covar_samp_state(c1, c1)) as agg179, covar_samp_union(covar_samp_state(c2, c2)) as agg180, covar_samp_union(covar_samp_state(c3, c3)) as agg181, covar_samp_union(covar_samp_state(c4, c4)) as agg182, covar_samp_union(covar_samp_state(c5, c5)) as agg183, bitmap_agg_union(bitmap_agg_state(c4)) as agg184, bitmap_agg_union(bitmap_agg_state(c5)) as agg185, bitmap_agg_union(bitmap_agg_state(c3)) as agg186, bitmap_agg_union(bitmap_agg_state(c2)) as agg187, bitmap_agg_union(bitmap_agg_state(c1)) as agg188, bitmap_agg_union(bitmap_agg_state(c0)) as agg189, std_union(std_state(c6)) as agg190, std_union(std_state(c7)) as agg191, std_union(std_state(c0)) as agg192, std_union(std_state(c1)) as agg193, std_union(std_state(c2)) as agg194, std_union(std_state(c3)) as agg195, std_union(std_state(c4)) as agg196, std_union(std_state(c5)) as agg197, sum_union(sum_state(c6)) as agg198, sum_union(sum_state(c7)) as agg199, sum_union(sum_state(c1)) as agg200, sum_union(sum_state(c2)) as agg201, sum_union(sum_state(c3)) as agg202, sum_union(sum_state(c4)) as agg203, sum_union(sum_state(c5)) as agg204, sum_union(sum_state(c8)) as agg205, sum_union(sum_state(c8)) as agg206, sum_union(sum_state(c8)) as agg207, approx_count_distinct_union(approx_count_distinct_state(c0)) as agg208, approx_count_distinct_union(approx_count_distinct_state(c1)) as agg209, approx_count_distinct_union(approx_count_distinct_state(c2)) as agg210, approx_count_distinct_union(approx_count_distinct_state(c3)) as agg211, approx_count_distinct_union(approx_count_distinct_state(c4)) as agg212, approx_count_distinct_union(approx_count_distinct_state(c5)) as agg213, approx_count_distinct_union(approx_count_distinct_state(c6)) as agg214, approx_count_distinct_union(approx_count_distinct_state(c7)) as agg215, approx_count_distinct_union(approx_count_distinct_state(c8)) as agg216, approx_count_distinct_union(approx_count_distinct_state(c8)) as agg217, approx_count_distinct_union(approx_count_distinct_state(c8)) as agg218, approx_count_distinct_union(approx_count_distinct_state(c24)) as agg219, approx_count_distinct_union(approx_count_distinct_state(c10)) as agg220, approx_count_distinct_union(approx_count_distinct_state(c11)) as agg221, min_union(min_state(c0)) as agg222, min_union(min_state(c1)) as agg223, min_union(min_state(c2)) as agg224, min_union(min_state(c3)) as agg225, min_union(min_state(c4)) as agg226, min_union(min_state(c5)) as agg227, min_union(min_state(c6)) as agg228, min_union(min_state(c7)) as agg229, min_union(min_state(c8)) as agg230, min_union(min_state(c8)) as agg231, min_union(min_state(c8)) as agg232, min_union(min_state(c24)) as agg233, min_union(min_state(c10)) as agg234, min_union(min_state(c11)) as agg235, retention_union(retention_state(c12)) as agg236, max_by_union(max_by_state(c0, c0)) as agg237, max_by_union(max_by_state(c1, c0)) as agg238, max_by_union(max_by_state(c2, c0)) as agg239, max_by_union(max_by_state(c3, c0)) as agg240, max_by_union(max_by_state(c4, c0)) as agg241, max_by_union(max_by_state(c5, c0)) as agg242, max_by_union(max_by_state(c6, c0)) as agg243, max_by_union(max_by_state(c7, c0)) as agg244, max_by_union(max_by_state(c8, c0)) as agg245, max_by_union(max_by_state(c8, c0)) as agg246, max_by_union(max_by_state(c8, c0)) as agg247, max_by_union(max_by_state(c24, c0)) as agg248, max_by_union(max_by_state(c10, c0)) as agg249, max_by_union(max_by_state(c11, c0)) as agg250, max_by_union(max_by_state(c25, c0)) as agg251, max_by_union(max_by_state(c0, c1)) as agg252, max_by_union(max_by_state(c1, c1)) as agg253, max_by_union(max_by_state(c2, c1)) as agg254, max_by_union(max_by_state(c3, c1)) as agg255, max_by_union(max_by_state(c4, c1)) as agg256, max_by_union(max_by_state(c5, c1)) as agg257, max_by_union(max_by_state(c6, c1)) as agg258, max_by_union(max_by_state(c7, c1)) as agg259, max_by_union(max_by_state(c8, c1)) as agg260, max_by_union(max_by_state(c8, c1)) as agg261, max_by_union(max_by_state(c8, c1)) as agg262, max_by_union(max_by_state(c24, c1)) as agg263, max_by_union(max_by_state(c10, c1)) as agg264, max_by_union(max_by_state(c11, c1)) as agg265, max_by_union(max_by_state(c25, c1)) as agg266, max_by_union(max_by_state(c0, c2)) as agg267, max_by_union(max_by_state(c1, c2)) as agg268, max_by_union(max_by_state(c2, c2)) as agg269, max_by_union(max_by_state(c3, c2)) as agg270, max_by_union(max_by_state(c4, c2)) as agg271, max_by_union(max_by_state(c5, c2)) as agg272, max_by_union(max_by_state(c6, c2)) as agg273, max_by_union(max_by_state(c7, c2)) as agg274, max_by_union(max_by_state(c8, c2)) as agg275, max_by_union(max_by_state(c8, c2)) as agg276, max_by_union(max_by_state(c8, c2)) as agg277, max_by_union(max_by_state(c24, c2)) as agg278, max_by_union(max_by_state(c10, c2)) as agg279, max_by_union(max_by_state(c11, c2)) as agg280, max_by_union(max_by_state(c25, c2)) as agg281, max_by_union(max_by_state(c0, c3)) as agg282, max_by_union(max_by_state(c1, c3)) as agg283, max_by_union(max_by_state(c2, c3)) as agg284, max_by_union(max_by_state(c3, c3)) as agg285, max_by_union(max_by_state(c4, c3)) as agg286, max_by_union(max_by_state(c5, c3)) as agg287, max_by_union(max_by_state(c6, c3)) as agg288, max_by_union(max_by_state(c7, c3)) as agg289, max_by_union(max_by_state(c8, c3)) as agg290, max_by_union(max_by_state(c8, c3)) as agg291, max_by_union(max_by_state(c8, c3)) as agg292, max_by_union(max_by_state(c24, c3)) as agg293, max_by_union(max_by_state(c10, c3)) as agg294, max_by_union(max_by_state(c11, c3)) as agg295, max_by_union(max_by_state(c25, c3)) as agg296, max_by_union(max_by_state(c0, c4)) as agg297, max_by_union(max_by_state(c1, c4)) as agg298, max_by_union(max_by_state(c2, c4)) as agg299, max_by_union(max_by_state(c3, c4)) as agg300, max_by_union(max_by_state(c4, c4)) as agg301, max_by_union(max_by_state(c5, c4)) as agg302, max_by_union(max_by_state(c6, c4)) as agg303, max_by_union(max_by_state(c7, c4)) as agg304, max_by_union(max_by_state(c8, c4)) as agg305, max_by_union(max_by_state(c8, c4)) as agg306, max_by_union(max_by_state(c8, c4)) as agg307, max_by_union(max_by_state(c24, c4)) as agg308, max_by_union(max_by_state(c10, c4)) as agg309, max_by_union(max_by_state(c11, c4)) as agg310, max_by_union(max_by_state(c25, c4)) as agg311, max_by_union(max_by_state(c0, c5)) as agg312, max_by_union(max_by_state(c1, c5)) as agg313, max_by_union(max_by_state(c2, c5)) as agg314, max_by_union(max_by_state(c3, c5)) as agg315, max_by_union(max_by_state(c4, c5)) as agg316, max_by_union(max_by_state(c5, c5)) as agg317, max_by_union(max_by_state(c6, c5)) as agg318, max_by_union(max_by_state(c7, c5)) as agg319, max_by_union(max_by_state(c8, c5)) as agg320, max_by_union(max_by_state(c8, c5)) as agg321, max_by_union(max_by_state(c8, c5)) as agg322, max_by_union(max_by_state(c24, c5)) as agg323, max_by_union(max_by_state(c10, c5)) as agg324, max_by_union(max_by_state(c11, c5)) as agg325, max_by_union(max_by_state(c25, c5)) as agg326, max_by_union(max_by_state(c0, c6)) as agg327, max_by_union(max_by_state(c1, c6)) as agg328, max_by_union(max_by_state(c2, c6)) as agg329, max_by_union(max_by_state(c3, c6)) as agg330, max_by_union(max_by_state(c4, c6)) as agg331, max_by_union(max_by_state(c5, c6)) as agg332, max_by_union(max_by_state(c6, c6)) as agg333, max_by_union(max_by_state(c7, c6)) as agg334, max_by_union(max_by_state(c8, c6)) as agg335, max_by_union(max_by_state(c8, c6)) as agg336, max_by_union(max_by_state(c8, c6)) as agg337, max_by_union(max_by_state(c24, c6)) as agg338, max_by_union(max_by_state(c10, c6)) as agg339, max_by_union(max_by_state(c11, c6)) as agg340, max_by_union(max_by_state(c25, c6)) as agg341, max_by_union(max_by_state(c0, c7)) as agg342, max_by_union(max_by_state(c1, c7)) as agg343, max_by_union(max_by_state(c2, c7)) as agg344, max_by_union(max_by_state(c3, c7)) as agg345, max_by_union(max_by_state(c4, c7)) as agg346, max_by_union(max_by_state(c5, c7)) as agg347, max_by_union(max_by_state(c6, c7)) as agg348, max_by_union(max_by_state(c7, c7)) as agg349, max_by_union(max_by_state(c8, c7)) as agg350, max_by_union(max_by_state(c8, c7)) as agg351, max_by_union(max_by_state(c8, c7)) as agg352, max_by_union(max_by_state(c24, c7)) as agg353, max_by_union(max_by_state(c10, c7)) as agg354, max_by_union(max_by_state(c11, c7)) as agg355, max_by_union(max_by_state(c25, c7)) as agg356, max_by_union(max_by_state(c0, c8)) as agg357, max_by_union(max_by_state(c1, c8)) as agg358, max_by_union(max_by_state(c2, c8)) as agg359, max_by_union(max_by_state(c3, c8)) as agg360, max_by_union(max_by_state(c4, c8)) as agg361, max_by_union(max_by_state(c5, c8)) as agg362, max_by_union(max_by_state(c6, c8)) as agg363, max_by_union(max_by_state(c7, c8)) as agg364, max_by_union(max_by_state(c8, c8)) as agg365, max_by_union(max_by_state(c8, c8)) as agg366, max_by_union(max_by_state(c8, c8)) as agg367, max_by_union(max_by_state(c24, c8)) as agg368, max_by_union(max_by_state(c10, c8)) as agg369, max_by_union(max_by_state(c11, c8)) as agg370, max_by_union(max_by_state(c25, c8)) as agg371, max_by_union(max_by_state(c0, c8)) as agg372, max_by_union(max_by_state(c1, c8)) as agg373, max_by_union(max_by_state(c2, c8)) as agg374, max_by_union(max_by_state(c3, c8)) as agg375, max_by_union(max_by_state(c4, c8)) as agg376, max_by_union(max_by_state(c5, c8)) as agg377, max_by_union(max_by_state(c6, c8)) as agg378, max_by_union(max_by_state(c7, c8)) as agg379, max_by_union(max_by_state(c8, c8)) as agg380, max_by_union(max_by_state(c8, c8)) as agg381, max_by_union(max_by_state(c8, c8)) as agg382, max_by_union(max_by_state(c24, c8)) as agg383, max_by_union(max_by_state(c10, c8)) as agg384, max_by_union(max_by_state(c11, c8)) as agg385, max_by_union(max_by_state(c25, c8)) as agg386, max_by_union(max_by_state(c0, c8)) as agg387, max_by_union(max_by_state(c1, c8)) as agg388, max_by_union(max_by_state(c2, c8)) as agg389, max_by_union(max_by_state(c3, c8)) as agg390, max_by_union(max_by_state(c4, c8)) as agg391, max_by_union(max_by_state(c5, c8)) as agg392, max_by_union(max_by_state(c6, c8)) as agg393, max_by_union(max_by_state(c7, c8)) as agg394, max_by_union(max_by_state(c8, c8)) as agg395, max_by_union(max_by_state(c8, c8)) as agg396, max_by_union(max_by_state(c8, c8)) as agg397, max_by_union(max_by_state(c24, c8)) as agg398, max_by_union(max_by_state(c10, c8)) as agg399, max_by_union(max_by_state(c11, c8)) as agg400, max_by_union(max_by_state(c25, c8)) as agg401, max_by_union(max_by_state(c0, c24)) as agg402, max_by_union(max_by_state(c1, c24)) as agg403, max_by_union(max_by_state(c2, c24)) as agg404, max_by_union(max_by_state(c3, c24)) as agg405, max_by_union(max_by_state(c4, c24)) as agg406, max_by_union(max_by_state(c5, c24)) as agg407, max_by_union(max_by_state(c6, c24)) as agg408, max_by_union(max_by_state(c7, c24)) as agg409, max_by_union(max_by_state(c8, c24)) as agg410, max_by_union(max_by_state(c8, c24)) as agg411, max_by_union(max_by_state(c8, c24)) as agg412, max_by_union(max_by_state(c24, c24)) as agg413, max_by_union(max_by_state(c10, c24)) as agg414, max_by_union(max_by_state(c11, c24)) as agg415, max_by_union(max_by_state(c25, c24)) as agg416, max_by_union(max_by_state(c0, c10)) as agg417, max_by_union(max_by_state(c1, c10)) as agg418, max_by_union(max_by_state(c2, c10)) as agg419, max_by_union(max_by_state(c3, c10)) as agg420, max_by_union(max_by_state(c4, c10)) as agg421, max_by_union(max_by_state(c5, c10)) as agg422, max_by_union(max_by_state(c6, c10)) as agg423, max_by_union(max_by_state(c7, c10)) as agg424, max_by_union(max_by_state(c8, c10)) as agg425, max_by_union(max_by_state(c8, c10)) as agg426, max_by_union(max_by_state(c8, c10)) as agg427, max_by_union(max_by_state(c24, c10)) as agg428, max_by_union(max_by_state(c10, c10)) as agg429, max_by_union(max_by_state(c11, c10)) as agg430, max_by_union(max_by_state(c25, c10)) as agg431, max_by_union(max_by_state(c0, c11)) as agg432, max_by_union(max_by_state(c1, c11)) as agg433, max_by_union(max_by_state(c2, c11)) as agg434, max_by_union(max_by_state(c3, c11)) as agg435, max_by_union(max_by_state(c4, c11)) as agg436, max_by_union(max_by_state(c5, c11)) as agg437, max_by_union(max_by_state(c6, c11)) as agg438, max_by_union(max_by_state(c7, c11)) as agg439, max_by_union(max_by_state(c8, c11)) as agg440, max_by_union(max_by_state(c8, c11)) as agg441, max_by_union(max_by_state(c8, c11)) as agg442, max_by_union(max_by_state(c24, c11)) as agg443, max_by_union(max_by_state(c10, c11)) as agg444, max_by_union(max_by_state(c11, c11)) as agg445, max_by_union(max_by_state(c25, c11)) as agg446, min_by_union(min_by_state(c0, c0)) as agg447, min_by_union(min_by_state(c1, c0)) as agg448, min_by_union(min_by_state(c2, c0)) as agg449, min_by_union(min_by_state(c3, c0)) as agg450, min_by_union(min_by_state(c4, c0)) as agg451, min_by_union(min_by_state(c5, c0)) as agg452, min_by_union(min_by_state(c6, c0)) as agg453, min_by_union(min_by_state(c7, c0)) as agg454, min_by_union(min_by_state(c8, c0)) as agg455, min_by_union(min_by_state(c8, c0)) as agg456, min_by_union(min_by_state(c8, c0)) as agg457, min_by_union(min_by_state(c24, c0)) as agg458, min_by_union(min_by_state(c10, c0)) as agg459, min_by_union(min_by_state(c11, c0)) as agg460, min_by_union(min_by_state(c25, c0)) as agg461, min_by_union(min_by_state(c0, c1)) as agg462, min_by_union(min_by_state(c1, c1)) as agg463, min_by_union(min_by_state(c2, c1)) as agg464, min_by_union(min_by_state(c3, c1)) as agg465, min_by_union(min_by_state(c4, c1)) as agg466, min_by_union(min_by_state(c5, c1)) as agg467, min_by_union(min_by_state(c6, c1)) as agg468, min_by_union(min_by_state(c7, c1)) as agg469, min_by_union(min_by_state(c8, c1)) as agg470, min_by_union(min_by_state(c8, c1)) as agg471, min_by_union(min_by_state(c8, c1)) as agg472, min_by_union(min_by_state(c24, c1)) as agg473, min_by_union(min_by_state(c10, c1)) as agg474, min_by_union(min_by_state(c11, c1)) as agg475, min_by_union(min_by_state(c25, c1)) as agg476, min_by_union(min_by_state(c0, c2)) as agg477, min_by_union(min_by_state(c1, c2)) as agg478, min_by_union(min_by_state(c2, c2)) as agg479, min_by_union(min_by_state(c3, c2)) as agg480, min_by_union(min_by_state(c4, c2)) as agg481, min_by_union(min_by_state(c5, c2)) as agg482, min_by_union(min_by_state(c6, c2)) as agg483, min_by_union(min_by_state(c7, c2)) as agg484, min_by_union(min_by_state(c8, c2)) as agg485, min_by_union(min_by_state(c8, c2)) as agg486, min_by_union(min_by_state(c8, c2)) as agg487, min_by_union(min_by_state(c24, c2)) as agg488, min_by_union(min_by_state(c10, c2)) as agg489, min_by_union(min_by_state(c11, c2)) as agg490, min_by_union(min_by_state(c25, c2)) as agg491, min_by_union(min_by_state(c0, c3)) as agg492, min_by_union(min_by_state(c1, c3)) as agg493, min_by_union(min_by_state(c2, c3)) as agg494, min_by_union(min_by_state(c3, c3)) as agg495, min_by_union(min_by_state(c4, c3)) as agg496, min_by_union(min_by_state(c5, c3)) as agg497, min_by_union(min_by_state(c6, c3)) as agg498, min_by_union(min_by_state(c7, c3)) as agg499, min_by_union(min_by_state(c8, c3)) as agg500, min_by_union(min_by_state(c8, c3)) as agg501, min_by_union(min_by_state(c8, c3)) as agg502, min_by_union(min_by_state(c24, c3)) as agg503, min_by_union(min_by_state(c10, c3)) as agg504, min_by_union(min_by_state(c11, c3)) as agg505, min_by_union(min_by_state(c25, c3)) as agg506, min_by_union(min_by_state(c0, c4)) as agg507, min_by_union(min_by_state(c1, c4)) as agg508, min_by_union(min_by_state(c2, c4)) as agg509, min_by_union(min_by_state(c3, c4)) as agg510, min_by_union(min_by_state(c4, c4)) as agg511, min_by_union(min_by_state(c5, c4)) as agg512, min_by_union(min_by_state(c6, c4)) as agg513, min_by_union(min_by_state(c7, c4)) as agg514, min_by_union(min_by_state(c8, c4)) as agg515, min_by_union(min_by_state(c8, c4)) as agg516, min_by_union(min_by_state(c8, c4)) as agg517, min_by_union(min_by_state(c24, c4)) as agg518, min_by_union(min_by_state(c10, c4)) as agg519, min_by_union(min_by_state(c11, c4)) as agg520, min_by_union(min_by_state(c25, c4)) as agg521, min_by_union(min_by_state(c0, c5)) as agg522, min_by_union(min_by_state(c1, c5)) as agg523, min_by_union(min_by_state(c2, c5)) as agg524, min_by_union(min_by_state(c3, c5)) as agg525, min_by_union(min_by_state(c4, c5)) as agg526, min_by_union(min_by_state(c5, c5)) as agg527, min_by_union(min_by_state(c6, c5)) as agg528, min_by_union(min_by_state(c7, c5)) as agg529, min_by_union(min_by_state(c8, c5)) as agg530, min_by_union(min_by_state(c8, c5)) as agg531, min_by_union(min_by_state(c8, c5)) as agg532, min_by_union(min_by_state(c24, c5)) as agg533, min_by_union(min_by_state(c10, c5)) as agg534, min_by_union(min_by_state(c11, c5)) as agg535, min_by_union(min_by_state(c25, c5)) as agg536, min_by_union(min_by_state(c0, c6)) as agg537, min_by_union(min_by_state(c1, c6)) as agg538, min_by_union(min_by_state(c2, c6)) as agg539, min_by_union(min_by_state(c3, c6)) as agg540, min_by_union(min_by_state(c4, c6)) as agg541, min_by_union(min_by_state(c5, c6)) as agg542, min_by_union(min_by_state(c6, c6)) as agg543, min_by_union(min_by_state(c7, c6)) as agg544, min_by_union(min_by_state(c8, c6)) as agg545, min_by_union(min_by_state(c8, c6)) as agg546, min_by_union(min_by_state(c8, c6)) as agg547, min_by_union(min_by_state(c24, c6)) as agg548, min_by_union(min_by_state(c10, c6)) as agg549, min_by_union(min_by_state(c11, c6)) as agg550, min_by_union(min_by_state(c25, c6)) as agg551, min_by_union(min_by_state(c0, c7)) as agg552, min_by_union(min_by_state(c1, c7)) as agg553, min_by_union(min_by_state(c2, c7)) as agg554, min_by_union(min_by_state(c3, c7)) as agg555, min_by_union(min_by_state(c4, c7)) as agg556, min_by_union(min_by_state(c5, c7)) as agg557, min_by_union(min_by_state(c6, c7)) as agg558, min_by_union(min_by_state(c7, c7)) as agg559, min_by_union(min_by_state(c8, c7)) as agg560, min_by_union(min_by_state(c8, c7)) as agg561, min_by_union(min_by_state(c8, c7)) as agg562, min_by_union(min_by_state(c24, c7)) as agg563, min_by_union(min_by_state(c10, c7)) as agg564, min_by_union(min_by_state(c11, c7)) as agg565, min_by_union(min_by_state(c25, c7)) as agg566, min_by_union(min_by_state(c0, c8)) as agg567, min_by_union(min_by_state(c1, c8)) as agg568, min_by_union(min_by_state(c2, c8)) as agg569, min_by_union(min_by_state(c3, c8)) as agg570, min_by_union(min_by_state(c4, c8)) as agg571, min_by_union(min_by_state(c5, c8)) as agg572, min_by_union(min_by_state(c6, c8)) as agg573, min_by_union(min_by_state(c7, c8)) as agg574, min_by_union(min_by_state(c8, c8)) as agg575, min_by_union(min_by_state(c8, c8)) as agg576, min_by_union(min_by_state(c8, c8)) as agg577, min_by_union(min_by_state(c24, c8)) as agg578, min_by_union(min_by_state(c10, c8)) as agg579, min_by_union(min_by_state(c11, c8)) as agg580, min_by_union(min_by_state(c25, c8)) as agg581, min_by_union(min_by_state(c0, c8)) as agg582, min_by_union(min_by_state(c1, c8)) as agg583, min_by_union(min_by_state(c2, c8)) as agg584, min_by_union(min_by_state(c3, c8)) as agg585, min_by_union(min_by_state(c4, c8)) as agg586, min_by_union(min_by_state(c5, c8)) as agg587, min_by_union(min_by_state(c6, c8)) as agg588, min_by_union(min_by_state(c7, c8)) as agg589, min_by_union(min_by_state(c8, c8)) as agg590, min_by_union(min_by_state(c8, c8)) as agg591, min_by_union(min_by_state(c8, c8)) as agg592, min_by_union(min_by_state(c24, c8)) as agg593, min_by_union(min_by_state(c10, c8)) as agg594, min_by_union(min_by_state(c11, c8)) as agg595, min_by_union(min_by_state(c25, c8)) as agg596, min_by_union(min_by_state(c0, c8)) as agg597, min_by_union(min_by_state(c1, c8)) as agg598, min_by_union(min_by_state(c2, c8)) as agg599, min_by_union(min_by_state(c3, c8)) as agg600, min_by_union(min_by_state(c4, c8)) as agg601, min_by_union(min_by_state(c5, c8)) as agg602, min_by_union(min_by_state(c6, c8)) as agg603, min_by_union(min_by_state(c7, c8)) as agg604, min_by_union(min_by_state(c8, c8)) as agg605, min_by_union(min_by_state(c8, c8)) as agg606, min_by_union(min_by_state(c8, c8)) as agg607, min_by_union(min_by_state(c24, c8)) as agg608, min_by_union(min_by_state(c10, c8)) as agg609, min_by_union(min_by_state(c11, c8)) as agg610, min_by_union(min_by_state(c25, c8)) as agg611, min_by_union(min_by_state(c0, c24)) as agg612, min_by_union(min_by_state(c1, c24)) as agg613, min_by_union(min_by_state(c2, c24)) as agg614, min_by_union(min_by_state(c3, c24)) as agg615, min_by_union(min_by_state(c4, c24)) as agg616, min_by_union(min_by_state(c5, c24)) as agg617, min_by_union(min_by_state(c6, c24)) as agg618, min_by_union(min_by_state(c7, c24)) as agg619, min_by_union(min_by_state(c8, c24)) as agg620, min_by_union(min_by_state(c8, c24)) as agg621, min_by_union(min_by_state(c8, c24)) as agg622, min_by_union(min_by_state(c24, c24)) as agg623, min_by_union(min_by_state(c10, c24)) as agg624, min_by_union(min_by_state(c11, c24)) as agg625, min_by_union(min_by_state(c25, c24)) as agg626, min_by_union(min_by_state(c0, c10)) as agg627, min_by_union(min_by_state(c1, c10)) as agg628, min_by_union(min_by_state(c2, c10)) as agg629, min_by_union(min_by_state(c3, c10)) as agg630, min_by_union(min_by_state(c4, c10)) as agg631, min_by_union(min_by_state(c5, c10)) as agg632, min_by_union(min_by_state(c6, c10)) as agg633, min_by_union(min_by_state(c7, c10)) as agg634, min_by_union(min_by_state(c8, c10)) as agg635, min_by_union(min_by_state(c8, c10)) as agg636, min_by_union(min_by_state(c8, c10)) as agg637, min_by_union(min_by_state(c24, c10)) as agg638, min_by_union(min_by_state(c10, c10)) as agg639, min_by_union(min_by_state(c11, c10)) as agg640, min_by_union(min_by_state(c25, c10)) as agg641, min_by_union(min_by_state(c0, c11)) as agg642, min_by_union(min_by_state(c1, c11)) as agg643, min_by_union(min_by_state(c2, c11)) as agg644, min_by_union(min_by_state(c3, c11)) as agg645, min_by_union(min_by_state(c4, c11)) as agg646, min_by_union(min_by_state(c5, c11)) as agg647, min_by_union(min_by_state(c6, c11)) as agg648, min_by_union(min_by_state(c7, c11)) as agg649, min_by_union(min_by_state(c8, c11)) as agg650, min_by_union(min_by_state(c8, c11)) as agg651, min_by_union(min_by_state(c8, c11)) as agg652, min_by_union(min_by_state(c24, c11)) as agg653, min_by_union(min_by_state(c10, c11)) as agg654, min_by_union(min_by_state(c11, c11)) as agg655, min_by_union(min_by_state(c25, c11)) as agg656, variance_pop_union(variance_pop_state(c6)) as agg657, variance_pop_union(variance_pop_state(c7)) as agg658, variance_pop_union(variance_pop_state(c0)) as agg659, variance_pop_union(variance_pop_state(c1)) as agg660, variance_pop_union(variance_pop_state(c2)) as agg661, variance_pop_union(variance_pop_state(c3)) as agg662, variance_pop_union(variance_pop_state(c4)) as agg663, variance_pop_union(variance_pop_state(c5)) as agg664, avg_union(avg_state(c6)) as agg665, avg_union(avg_state(c7)) as agg666, avg_union(avg_state(c1)) as agg667, avg_union(avg_state(c2)) as agg668, avg_union(avg_state(c3)) as agg669, avg_union(avg_state(c4)) as agg670, avg_union(avg_state(c5)) as agg671, avg_union(avg_state(c8)) as agg672, avg_union(avg_state(c8)) as agg673, avg_union(avg_state(c8)) as agg674, any_value_union(any_value_state(c0)) as agg675, any_value_union(any_value_state(c1)) as agg676, any_value_union(any_value_state(c2)) as agg677, any_value_union(any_value_state(c3)) as agg678, any_value_union(any_value_state(c4)) as agg679, any_value_union(any_value_state(c5)) as agg680, any_value_union(any_value_state(c6)) as agg681, any_value_union(any_value_state(c7)) as agg682, any_value_union(any_value_state(c8)) as agg683, any_value_union(any_value_state(c8)) as agg684, any_value_union(any_value_state(c8)) as agg685, any_value_union(any_value_state(c24)) as agg686, any_value_union(any_value_state(c10)) as agg687, any_value_union(any_value_state(c11)) as agg688, any_value_union(any_value_state(c16)) as agg689, any_value_union(any_value_state(c27)) as agg690, any_value_union(any_value_state(c28)) as agg691, any_value_union(any_value_state(c25)) as agg692, any_value_union(any_value_state(c26)) as agg693, var_pop_union(var_pop_state(c6)) as agg694, var_pop_union(var_pop_state(c7)) as agg695, var_pop_union(var_pop_state(c0)) as agg696, var_pop_union(var_pop_state(c1)) as agg697, var_pop_union(var_pop_state(c2)) as agg698, var_pop_union(var_pop_state(c3)) as agg699, var_pop_union(var_pop_state(c4)) as agg700, var_pop_union(var_pop_state(c5)) as agg701, stddev_pop_union(stddev_pop_state(c6)) as agg702, stddev_pop_union(stddev_pop_state(c7)) as agg703, stddev_pop_union(stddev_pop_state(c0)) as agg704, stddev_pop_union(stddev_pop_state(c1)) as agg705, stddev_pop_union(stddev_pop_state(c2)) as agg706, stddev_pop_union(stddev_pop_state(c3)) as agg707, stddev_pop_union(stddev_pop_state(c4)) as agg708, stddev_pop_union(stddev_pop_state(c5)) as agg709, variance_samp_union(variance_samp_state(c6)) as agg710, variance_samp_union(variance_samp_state(c7)) as agg711, variance_samp_union(variance_samp_state(c0)) as agg712, variance_samp_union(variance_samp_state(c1)) as agg713, variance_samp_union(variance_samp_state(c2)) as agg714, variance_samp_union(variance_samp_state(c3)) as agg715, variance_samp_union(variance_samp_state(c4)) as agg716, variance_samp_union(variance_samp_state(c5)) as agg717, percentile_cont_union(percentile_cont_state(c10, 0.5)) as agg718, percentile_cont_union(percentile_cont_state(c11, 0.5)) as agg719, percentile_cont_union(percentile_cont_state(c6, 0.5)) as agg720, corr_union(corr_state(c6, c6)) as agg721, corr_union(corr_state(c7, c7)) as agg722, corr_union(corr_state(c0, c0)) as agg723, corr_union(corr_state(c1, c1)) as agg724, corr_union(corr_state(c2, c2)) as agg725, corr_union(corr_state(c3, c3)) as agg726, corr_union(corr_state(c4, c4)) as agg727, corr_union(corr_state(c5, c5)) as agg728, multi_distinct_sum_union(multi_distinct_sum_state(c6)) as agg729, multi_distinct_sum_union(multi_distinct_sum_state(c7)) as agg730, multi_distinct_sum_union(multi_distinct_sum_state(c0)) as agg731, multi_distinct_sum_union(multi_distinct_sum_state(c1)) as agg732, multi_distinct_sum_union(multi_distinct_sum_state(c2)) as agg733, multi_distinct_sum_union(multi_distinct_sum_state(c3)) as agg734, multi_distinct_sum_union(multi_distinct_sum_state(c4)) as agg735, multi_distinct_sum_union(multi_distinct_sum_state(c5)) as agg736, multi_distinct_sum_union(multi_distinct_sum_state(c8)) as agg737, multi_distinct_sum_union(multi_distinct_sum_state(c8)) as agg738, multi_distinct_sum_union(multi_distinct_sum_state(c8)) as agg739, var_samp_union(var_samp_state(c6)) as agg740, var_samp_union(var_samp_state(c7)) as agg741, var_samp_union(var_samp_state(c0)) as agg742, var_samp_union(var_samp_state(c1)) as agg743, var_samp_union(var_samp_state(c2)) as agg744, var_samp_union(var_samp_state(c3)) as agg745, var_samp_union(var_samp_state(c4)) as agg746, var_samp_union(var_samp_state(c5)) as agg747, bitmap_union_int_union(bitmap_union_int_state(c1)) as agg748, bitmap_union_int_union(bitmap_union_int_state(c2)) as agg749, bitmap_union_int_union(bitmap_union_int_state(c3)) as agg750, bitmap_union_int_union(bitmap_union_int_state(c4)) as agg751, variance_union(variance_state(c6)) as agg752, variance_union(variance_state(c7)) as agg753, variance_union(variance_state(c0)) as agg754, variance_union(variance_state(c1)) as agg755, variance_union(variance_state(c2)) as agg756, variance_union(variance_state(c3)) as agg757, variance_union(variance_state(c4)) as agg758, variance_union(variance_state(c5)) as agg759 from t1 group by k1; +-- result: +-- !result +REFRESH MATERIALIZED VIEW test_mv1 WITH SYNC MODE; +select k1, percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1 group by k1; +-- result: +E: (1064, 'PseudoType should not exposed to external') +-- !result +select percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1; +-- result: +E: (1064, 'PseudoType should not exposed to external') +-- !result +INSERT INTO t1 VALUES +( + '2024-01-01', -- k1 + FALSE, -- c0 + 128, -- c1 + 32100, -- c2 + 2047483647, -- c3 + 9023372036854775807, -- c4 + 100141183460469231731687303715884105727, -- c5 (example large integer) + 123450.6789, -- c6 + 123450.67, -- c7 + 1230.45678901, -- c8 + 'a', -- c9 + '2024-01-01', -- c10 + '2024-01-01 13:34:56', -- c11 + [FALSE, FALSE, FALSE], -- c15 () + [1, 1, 127], -- c16 () + [100, 100, 32767], -- c17 () + [100000, 100000, 2147483647], -- c18 () + [10000000000, 10000000000, 9223372036854775807], -- c19 () + [12345678901234567890, 12345678901234567890, 170141183460469231731687303715884105727], -- c20 () + [1.23, 4.56, 7.89], -- c21 () + [1.23, 4.56, 7.89], -- c22 () + [1.23456789, 2.34567890, 3.45678901], -- c23 () + ['abc', 'def', 'ghi'], -- c24 () + ['2024-01-01', '2024-01-02'], -- c25 () + ['2024-01-01 12:34:56', '2024-01-02 12:34:56'], -- c26 () + 'ExampleVarcharData', -- c12 + '{"key": "value"}', -- c13 (JSON data) + x'4D7956617262696E61727944617461', -- c14 (VARBINARY data in hexadecimal format) + MAP{'key1':'value1', 'key2':'value2'}, -- c27 (map) + row('val1'), -- c28 (struct>) + ['str1', 'str2', 'str3'] -- c29 () +),( + '2024-01-01', -- k1 + NULL, -- c0 + NULL, -- c1 + NULL, -- c2 + NULL, -- c3 + NULL, -- c4 + NULL, -- c5 (example large integer) + NULL, -- c6 + NULL, -- c7 + NULL, -- c8 + NULL, -- c9 + NULL, -- c10 + NULL, -- c11 + NULL, -- c15 () + NULL, -- c16 () + NULL, -- c17 () + NULL, -- c18 () + NULL, -- c19 () + NULL, -- c20 () + NULL, -- c21 () + NULL, -- c22 () + NULL, -- c23 () + NULL, -- c24 () + NULL, -- c25 () + NULL, -- c26 () + NULL, -- c12 + NULL, -- c13 (JSON data) + NULL, -- c14 (VARBINARY data in hexadecimal format) + NULL, -- c27 (map) + NULL, -- c28 (struct>) + NULL -- c29 () +); +-- result: +-- !result +REFRESH MATERIALIZED VIEW test_mv1 WITH SYNC MODE; +function: check_hit_materialized_view("select k1, percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1 group by k1", "test_mv1") +-- result: +None +-- !result +function: check_hit_materialized_view("select percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1 group by k1") +-- result: +None +-- !result +select k1, percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1 group by k1; +-- result: +E: (1064, 'PseudoType should not exposed to external') +-- !result +select percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1; +-- result: +E: (1064, 'PseudoType should not exposed to external') +-- !result \ No newline at end of file diff --git a/test/sql/test_agg_state/R/test_agg_state_with_sync_mv.sql b/test/sql/test_agg_state/R/test_agg_state_with_sync_mv.sql new file mode 100644 index 0000000000000..87395e0bddaad --- /dev/null +++ b/test/sql/test_agg_state/R/test_agg_state_with_sync_mv.sql @@ -0,0 +1,172 @@ +-- name: test_agg_state_with_sync_mv +CREATE TABLE t1 ( +k1 date, +c0 boolean, +c1 tinyint(4), +c2 smallint(6), +c3 int(11), +c4 bigint(20), +c5 largeint(40), +c6 double, +c7 float, +c8 decimal(10, 2), +c9 char(100), +c10 date, +c11 datetime, +c12 array, +c13 array, +c14 array, +c15 array, +c16 array, +c17 array, +c18 array, +c19 array, +c20 array, +c21 array, +c22 array, +c23 array, +c24 varchar(100), +c25 json, +c26 varbinary, +c27 map, +c28 struct>, +c29 array) DUPLICATE KEY(k1) +DISTRIBUTED BY HASH(k1) +PROPERTIES ( "replication_num" = "1"); +-- result: +-- !result +INSERT INTO t1 VALUES +( + '2024-01-01', -- k1 + TRUE, -- c0 + 127, -- c1 + 32000, -- c2 + 2147483647, -- c3 + 9223372036854775807, -- c4 + 170141183460469231731687303715884105727, -- c5 (example large integer) + 12345.6789, -- c6 + 12345.67, -- c7 + 123.45678901, -- c8 + 'ExampleCharData', -- c9 + '2024-01-02', -- c10 + '2024-01-01 12:34:56', -- c11 + [TRUE, FALSE, TRUE], -- c15 () + [1, -1, 127], -- c16 () + [100, -100, 32767], -- c17 () + [100000, -100000, 2147483647], -- c18 () + [10000000000, -10000000000, 9223372036854775807], -- c19 () + [12345678901234567890, -12345678901234567890, 170141183460469231731687303715884105727], -- c20 () + [1.23, 4.56, 7.89], -- c21 () + [1.23, 4.56, 7.89], -- c22 () + [1.23456789, 2.34567890, 3.45678901], -- c23 () + ['abc', 'def', 'ghi'], -- c24 () + ['2024-01-01', '2024-01-02'], -- c25 () + ['2024-01-01 12:34:56', '2024-01-02 12:34:56'], -- c26 () + 'ExampleVarcharData', -- c12 + '{"key": "value"}', -- c13 (JSON data) + x'4D7956617262696E61727944617461', -- c14 (VARBINARY data in hexadecimal format) + MAP{'key1':'value1', 'key2':'value2'}, -- c27 (map) + row('val1'), -- c28 (struct>) + ['str1', 'str2', 'str3'] -- c29 () +); +-- result: +-- !result +CREATE MATERIALIZED VIEW test_mv1 as select k1, percentile_approx_union(percentile_approx_state(c6, 0.5)) as agg14, percentile_approx_union(percentile_approx_state(c6, 0.5)) as agg15, covar_pop_union(covar_pop_state(c6, c6)) as agg16, covar_pop_union(covar_pop_state(c7, c7)) as agg17, covar_pop_union(covar_pop_state(c0, c0)) as agg18, covar_pop_union(covar_pop_state(c1, c1)) as agg19, covar_pop_union(covar_pop_state(c2, c2)) as agg20, covar_pop_union(covar_pop_state(c3, c3)) as agg21, covar_pop_union(covar_pop_state(c4, c4)) as agg22, covar_pop_union(covar_pop_state(c5, c5)) as agg23, count_union(count_state(c0)) as agg24, count_union(count_state(c1)) as agg25, count_union(count_state(c2)) as agg26, count_union(count_state(c3)) as agg27, count_union(count_state(c4)) as agg28, count_union(count_state(c5)) as agg29, count_union(count_state(c6)) as agg30, count_union(count_state(c7)) as agg31, count_union(count_state(c8)) as agg32, count_union(count_state(c8)) as agg33, count_union(count_state(c8)) as agg34, count_union(count_state(c24)) as agg35, count_union(count_state(c10)) as agg36, count_union(count_state(c11)) as agg37, count_union(count_state(c16)) as agg38, count_union(count_state(c27)) as agg39, count_union(count_state(c28)) as agg40, count_union(count_state(c25)) as agg41, count_union(count_state(c26)) as agg42, array_unique_agg_union(array_unique_agg_state(c12)) as agg43, array_unique_agg_union(array_unique_agg_state(c13)) as agg44, array_unique_agg_union(array_unique_agg_state(c14)) as agg45, array_unique_agg_union(array_unique_agg_state(c15)) as agg46, array_unique_agg_union(array_unique_agg_state(c16)) as agg47, array_unique_agg_union(array_unique_agg_state(c17)) as agg48, array_unique_agg_union(array_unique_agg_state(c18)) as agg49, array_unique_agg_union(array_unique_agg_state(c19)) as agg50, array_unique_agg_union(array_unique_agg_state(c20)) as agg51, array_unique_agg_union(array_unique_agg_state(c20)) as agg52, array_unique_agg_union(array_unique_agg_state(c20)) as agg53, array_unique_agg_union(array_unique_agg_state(c20)) as agg54, array_unique_agg_union(array_unique_agg_state(c21)) as agg55, array_unique_agg_union(array_unique_agg_state(c22)) as agg56, array_unique_agg_union(array_unique_agg_state(c23)) as agg57, percentile_disc_union(percentile_disc_state(c0, 0.5)) as agg58, percentile_disc_union(percentile_disc_state(c1, 0.5)) as agg59, percentile_disc_union(percentile_disc_state(c2, 0.5)) as agg60, percentile_disc_union(percentile_disc_state(c3, 0.5)) as agg61, percentile_disc_union(percentile_disc_state(c4, 0.5)) as agg62, percentile_disc_union(percentile_disc_state(c5, 0.5)) as agg63, percentile_disc_union(percentile_disc_state(c8, 0.5)) as agg64, percentile_disc_union(percentile_disc_state(c8, 0.5)) as agg65, percentile_disc_union(percentile_disc_state(c8, 0.5)) as agg66, percentile_disc_union(percentile_disc_state(c9, 0.5)) as agg67, percentile_disc_union(percentile_disc_state(c10, 0.5)) as agg68, percentile_disc_union(percentile_disc_state(c11, 0.5)) as agg69, percentile_disc_union(percentile_disc_state(c6, 0.5)) as agg70, percentile_disc_union(percentile_disc_state(c7, 0.5)) as agg71, multi_distinct_count_union(multi_distinct_count_state(c0)) as agg72, multi_distinct_count_union(multi_distinct_count_state(c1)) as agg73, multi_distinct_count_union(multi_distinct_count_state(c2)) as agg74, multi_distinct_count_union(multi_distinct_count_state(c3)) as agg75, multi_distinct_count_union(multi_distinct_count_state(c4)) as agg76, multi_distinct_count_union(multi_distinct_count_state(c5)) as agg77, multi_distinct_count_union(multi_distinct_count_state(c6)) as agg78, multi_distinct_count_union(multi_distinct_count_state(c7)) as agg79, multi_distinct_count_union(multi_distinct_count_state(c8)) as agg80, multi_distinct_count_union(multi_distinct_count_state(c8)) as agg81, multi_distinct_count_union(multi_distinct_count_state(c8)) as agg82, multi_distinct_count_union(multi_distinct_count_state(c9)) as agg83, multi_distinct_count_union(multi_distinct_count_state(c10)) as agg84, multi_distinct_count_union(multi_distinct_count_state(c11)) as agg85, array_agg_union(array_agg_state(c24)) as agg86, stddev_samp_union(stddev_samp_state(c6)) as agg87, stddev_samp_union(stddev_samp_state(c7)) as agg88, stddev_samp_union(stddev_samp_state(c0)) as agg89, stddev_samp_union(stddev_samp_state(c1)) as agg90, stddev_samp_union(stddev_samp_state(c2)) as agg91, stddev_samp_union(stddev_samp_state(c3)) as agg92, stddev_samp_union(stddev_samp_state(c4)) as agg93, stddev_samp_union(stddev_samp_state(c5)) as agg94, mann_whitney_u_test_union(mann_whitney_u_test_state(c6, c0, 'two-sided', 0)) as agg95, mann_whitney_u_test_union(mann_whitney_u_test_state(c6, c0, 'less')) as agg96, mann_whitney_u_test_union(mann_whitney_u_test_state(c6, c0, 'two-sided', 0)) as agg97, max_union(max_state(c0)) as agg98, max_union(max_state(c1)) as agg99, max_union(max_state(c2)) as agg100, max_union(max_state(c3)) as agg101, max_union(max_state(c4)) as agg102, max_union(max_state(c5)) as agg103, max_union(max_state(c6)) as agg104, max_union(max_state(c7)) as agg105, max_union(max_state(c8)) as agg106, max_union(max_state(c8)) as agg107, max_union(max_state(c8)) as agg108, max_union(max_state(c24)) as agg109, max_union(max_state(c10)) as agg110, max_union(max_state(c11)) as agg111, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c0, 18, 'hll_6')) as agg112, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c0, 18)) as agg113, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c0, 18, 'hll_6')) as agg114, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c1, 18, 'hll_6')) as agg115, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c1, 18)) as agg116, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c1, 18, 'hll_6')) as agg117, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c2, 18, 'hll_6')) as agg118, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c2, 18)) as agg119, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c2, 18, 'hll_6')) as agg120, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c3, 18, 'hll_6')) as agg121, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c3, 18)) as agg122, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c3, 18, 'hll_6')) as agg123, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c4, 18, 'hll_6')) as agg124, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c4, 18)) as agg125, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c4, 18, 'hll_6')) as agg126, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c5, 18, 'hll_6')) as agg127, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c5, 18)) as agg128, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c5, 18, 'hll_6')) as agg129, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c6, 18, 'hll_6')) as agg130, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c6, 18)) as agg131, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c6, 18, 'hll_6')) as agg132, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c7, 18, 'hll_6')) as agg133, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c7, 18)) as agg134, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c7, 18, 'hll_6')) as agg135, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg136, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18)) as agg137, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg138, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg139, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18)) as agg140, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg141, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg142, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18)) as agg143, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg144, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c24, 18, 'hll_6')) as agg145, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c24, 18)) as agg146, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c24, 18, 'hll_6')) as agg147, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c10, 18, 'hll_6')) as agg148, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c10, 18)) as agg149, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c10, 18, 'hll_6')) as agg150, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c11, 18, 'hll_6')) as agg151, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c11, 18)) as agg152, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c11, 18, 'hll_6')) as agg153, ndv_union(ndv_state(c0)) as agg154, ndv_union(ndv_state(c1)) as agg155, ndv_union(ndv_state(c2)) as agg156, ndv_union(ndv_state(c3)) as agg157, ndv_union(ndv_state(c4)) as agg158, ndv_union(ndv_state(c5)) as agg159, ndv_union(ndv_state(c6)) as agg160, ndv_union(ndv_state(c7)) as agg161, ndv_union(ndv_state(c8)) as agg162, ndv_union(ndv_state(c8)) as agg163, ndv_union(ndv_state(c8)) as agg164, ndv_union(ndv_state(c24)) as agg165, ndv_union(ndv_state(c10)) as agg166, ndv_union(ndv_state(c11)) as agg167, stddev_union(stddev_state(c6)) as agg168, stddev_union(stddev_state(c7)) as agg169, stddev_union(stddev_state(c0)) as agg170, stddev_union(stddev_state(c1)) as agg171, stddev_union(stddev_state(c2)) as agg172, stddev_union(stddev_state(c3)) as agg173, stddev_union(stddev_state(c4)) as agg174, stddev_union(stddev_state(c5)) as agg175, covar_samp_union(covar_samp_state(c6, c6)) as agg176, covar_samp_union(covar_samp_state(c7, c7)) as agg177, covar_samp_union(covar_samp_state(c0, c0)) as agg178, covar_samp_union(covar_samp_state(c1, c1)) as agg179, covar_samp_union(covar_samp_state(c2, c2)) as agg180, covar_samp_union(covar_samp_state(c3, c3)) as agg181, covar_samp_union(covar_samp_state(c4, c4)) as agg182, covar_samp_union(covar_samp_state(c5, c5)) as agg183, bitmap_agg_union(bitmap_agg_state(c4)) as agg184, bitmap_agg_union(bitmap_agg_state(c5)) as agg185, bitmap_agg_union(bitmap_agg_state(c3)) as agg186, bitmap_agg_union(bitmap_agg_state(c2)) as agg187, bitmap_agg_union(bitmap_agg_state(c1)) as agg188, bitmap_agg_union(bitmap_agg_state(c0)) as agg189, std_union(std_state(c6)) as agg190, std_union(std_state(c7)) as agg191, std_union(std_state(c0)) as agg192, std_union(std_state(c1)) as agg193, std_union(std_state(c2)) as agg194, std_union(std_state(c3)) as agg195, std_union(std_state(c4)) as agg196, std_union(std_state(c5)) as agg197, sum_union(sum_state(c6)) as agg198, sum_union(sum_state(c7)) as agg199, sum_union(sum_state(c1)) as agg200, sum_union(sum_state(c2)) as agg201, sum_union(sum_state(c3)) as agg202, sum_union(sum_state(c4)) as agg203, sum_union(sum_state(c5)) as agg204, sum_union(sum_state(c8)) as agg205, sum_union(sum_state(c8)) as agg206, sum_union(sum_state(c8)) as agg207, approx_count_distinct_union(approx_count_distinct_state(c0)) as agg208, approx_count_distinct_union(approx_count_distinct_state(c1)) as agg209, approx_count_distinct_union(approx_count_distinct_state(c2)) as agg210, approx_count_distinct_union(approx_count_distinct_state(c3)) as agg211, approx_count_distinct_union(approx_count_distinct_state(c4)) as agg212, approx_count_distinct_union(approx_count_distinct_state(c5)) as agg213, approx_count_distinct_union(approx_count_distinct_state(c6)) as agg214, approx_count_distinct_union(approx_count_distinct_state(c7)) as agg215, approx_count_distinct_union(approx_count_distinct_state(c8)) as agg216, approx_count_distinct_union(approx_count_distinct_state(c8)) as agg217, approx_count_distinct_union(approx_count_distinct_state(c8)) as agg218, approx_count_distinct_union(approx_count_distinct_state(c24)) as agg219, approx_count_distinct_union(approx_count_distinct_state(c10)) as agg220, approx_count_distinct_union(approx_count_distinct_state(c11)) as agg221, min_union(min_state(c0)) as agg222, min_union(min_state(c1)) as agg223, min_union(min_state(c2)) as agg224, min_union(min_state(c3)) as agg225, min_union(min_state(c4)) as agg226, min_union(min_state(c5)) as agg227, min_union(min_state(c6)) as agg228, min_union(min_state(c7)) as agg229, min_union(min_state(c8)) as agg230, min_union(min_state(c8)) as agg231, min_union(min_state(c8)) as agg232, min_union(min_state(c24)) as agg233, min_union(min_state(c10)) as agg234, min_union(min_state(c11)) as agg235, retention_union(retention_state(c12)) as agg236, max_by_union(max_by_state(c0, c0)) as agg237, max_by_union(max_by_state(c1, c0)) as agg238, max_by_union(max_by_state(c2, c0)) as agg239, max_by_union(max_by_state(c3, c0)) as agg240, max_by_union(max_by_state(c4, c0)) as agg241, max_by_union(max_by_state(c5, c0)) as agg242, max_by_union(max_by_state(c6, c0)) as agg243, max_by_union(max_by_state(c7, c0)) as agg244, max_by_union(max_by_state(c8, c0)) as agg245, max_by_union(max_by_state(c8, c0)) as agg246, max_by_union(max_by_state(c8, c0)) as agg247, max_by_union(max_by_state(c24, c0)) as agg248, max_by_union(max_by_state(c10, c0)) as agg249, max_by_union(max_by_state(c11, c0)) as agg250, max_by_union(max_by_state(c25, c0)) as agg251, max_by_union(max_by_state(c0, c1)) as agg252, max_by_union(max_by_state(c1, c1)) as agg253, max_by_union(max_by_state(c2, c1)) as agg254, max_by_union(max_by_state(c3, c1)) as agg255, max_by_union(max_by_state(c4, c1)) as agg256, max_by_union(max_by_state(c5, c1)) as agg257, max_by_union(max_by_state(c6, c1)) as agg258, max_by_union(max_by_state(c7, c1)) as agg259, max_by_union(max_by_state(c8, c1)) as agg260, max_by_union(max_by_state(c8, c1)) as agg261, max_by_union(max_by_state(c8, c1)) as agg262, max_by_union(max_by_state(c24, c1)) as agg263, max_by_union(max_by_state(c10, c1)) as agg264, max_by_union(max_by_state(c11, c1)) as agg265, max_by_union(max_by_state(c25, c1)) as agg266, max_by_union(max_by_state(c0, c2)) as agg267, max_by_union(max_by_state(c1, c2)) as agg268, max_by_union(max_by_state(c2, c2)) as agg269, max_by_union(max_by_state(c3, c2)) as agg270, max_by_union(max_by_state(c4, c2)) as agg271, max_by_union(max_by_state(c5, c2)) as agg272, max_by_union(max_by_state(c6, c2)) as agg273, max_by_union(max_by_state(c7, c2)) as agg274, max_by_union(max_by_state(c8, c2)) as agg275, max_by_union(max_by_state(c8, c2)) as agg276, max_by_union(max_by_state(c8, c2)) as agg277, max_by_union(max_by_state(c24, c2)) as agg278, max_by_union(max_by_state(c10, c2)) as agg279, max_by_union(max_by_state(c11, c2)) as agg280, max_by_union(max_by_state(c25, c2)) as agg281, max_by_union(max_by_state(c0, c3)) as agg282, max_by_union(max_by_state(c1, c3)) as agg283, max_by_union(max_by_state(c2, c3)) as agg284, max_by_union(max_by_state(c3, c3)) as agg285, max_by_union(max_by_state(c4, c3)) as agg286, max_by_union(max_by_state(c5, c3)) as agg287, max_by_union(max_by_state(c6, c3)) as agg288, max_by_union(max_by_state(c7, c3)) as agg289, max_by_union(max_by_state(c8, c3)) as agg290, max_by_union(max_by_state(c8, c3)) as agg291, max_by_union(max_by_state(c8, c3)) as agg292, max_by_union(max_by_state(c24, c3)) as agg293, max_by_union(max_by_state(c10, c3)) as agg294, max_by_union(max_by_state(c11, c3)) as agg295, max_by_union(max_by_state(c25, c3)) as agg296, max_by_union(max_by_state(c0, c4)) as agg297, max_by_union(max_by_state(c1, c4)) as agg298, max_by_union(max_by_state(c2, c4)) as agg299, max_by_union(max_by_state(c3, c4)) as agg300, max_by_union(max_by_state(c4, c4)) as agg301, max_by_union(max_by_state(c5, c4)) as agg302, max_by_union(max_by_state(c6, c4)) as agg303, max_by_union(max_by_state(c7, c4)) as agg304, max_by_union(max_by_state(c8, c4)) as agg305, max_by_union(max_by_state(c8, c4)) as agg306, max_by_union(max_by_state(c8, c4)) as agg307, max_by_union(max_by_state(c24, c4)) as agg308, max_by_union(max_by_state(c10, c4)) as agg309, max_by_union(max_by_state(c11, c4)) as agg310, max_by_union(max_by_state(c25, c4)) as agg311, max_by_union(max_by_state(c0, c5)) as agg312, max_by_union(max_by_state(c1, c5)) as agg313, max_by_union(max_by_state(c2, c5)) as agg314, max_by_union(max_by_state(c3, c5)) as agg315, max_by_union(max_by_state(c4, c5)) as agg316, max_by_union(max_by_state(c5, c5)) as agg317, max_by_union(max_by_state(c6, c5)) as agg318, max_by_union(max_by_state(c7, c5)) as agg319, max_by_union(max_by_state(c8, c5)) as agg320, max_by_union(max_by_state(c8, c5)) as agg321, max_by_union(max_by_state(c8, c5)) as agg322, max_by_union(max_by_state(c24, c5)) as agg323, max_by_union(max_by_state(c10, c5)) as agg324, max_by_union(max_by_state(c11, c5)) as agg325, max_by_union(max_by_state(c25, c5)) as agg326, max_by_union(max_by_state(c0, c6)) as agg327, max_by_union(max_by_state(c1, c6)) as agg328, max_by_union(max_by_state(c2, c6)) as agg329, max_by_union(max_by_state(c3, c6)) as agg330, max_by_union(max_by_state(c4, c6)) as agg331, max_by_union(max_by_state(c5, c6)) as agg332, max_by_union(max_by_state(c6, c6)) as agg333, max_by_union(max_by_state(c7, c6)) as agg334, max_by_union(max_by_state(c8, c6)) as agg335, max_by_union(max_by_state(c8, c6)) as agg336, max_by_union(max_by_state(c8, c6)) as agg337, max_by_union(max_by_state(c24, c6)) as agg338, max_by_union(max_by_state(c10, c6)) as agg339, max_by_union(max_by_state(c11, c6)) as agg340, max_by_union(max_by_state(c25, c6)) as agg341, max_by_union(max_by_state(c0, c7)) as agg342, max_by_union(max_by_state(c1, c7)) as agg343, max_by_union(max_by_state(c2, c7)) as agg344, max_by_union(max_by_state(c3, c7)) as agg345, max_by_union(max_by_state(c4, c7)) as agg346, max_by_union(max_by_state(c5, c7)) as agg347, max_by_union(max_by_state(c6, c7)) as agg348, max_by_union(max_by_state(c7, c7)) as agg349, max_by_union(max_by_state(c8, c7)) as agg350, max_by_union(max_by_state(c8, c7)) as agg351, max_by_union(max_by_state(c8, c7)) as agg352, max_by_union(max_by_state(c24, c7)) as agg353, max_by_union(max_by_state(c10, c7)) as agg354, max_by_union(max_by_state(c11, c7)) as agg355, max_by_union(max_by_state(c25, c7)) as agg356, max_by_union(max_by_state(c0, c8)) as agg357, max_by_union(max_by_state(c1, c8)) as agg358, max_by_union(max_by_state(c2, c8)) as agg359, max_by_union(max_by_state(c3, c8)) as agg360, max_by_union(max_by_state(c4, c8)) as agg361, max_by_union(max_by_state(c5, c8)) as agg362, max_by_union(max_by_state(c6, c8)) as agg363, max_by_union(max_by_state(c7, c8)) as agg364, max_by_union(max_by_state(c8, c8)) as agg365, max_by_union(max_by_state(c8, c8)) as agg366, max_by_union(max_by_state(c8, c8)) as agg367, max_by_union(max_by_state(c24, c8)) as agg368, max_by_union(max_by_state(c10, c8)) as agg369, max_by_union(max_by_state(c11, c8)) as agg370, max_by_union(max_by_state(c25, c8)) as agg371, max_by_union(max_by_state(c0, c8)) as agg372, max_by_union(max_by_state(c1, c8)) as agg373, max_by_union(max_by_state(c2, c8)) as agg374, max_by_union(max_by_state(c3, c8)) as agg375, max_by_union(max_by_state(c4, c8)) as agg376, max_by_union(max_by_state(c5, c8)) as agg377, max_by_union(max_by_state(c6, c8)) as agg378, max_by_union(max_by_state(c7, c8)) as agg379, max_by_union(max_by_state(c8, c8)) as agg380, max_by_union(max_by_state(c8, c8)) as agg381, max_by_union(max_by_state(c8, c8)) as agg382, max_by_union(max_by_state(c24, c8)) as agg383, max_by_union(max_by_state(c10, c8)) as agg384, max_by_union(max_by_state(c11, c8)) as agg385, max_by_union(max_by_state(c25, c8)) as agg386, max_by_union(max_by_state(c0, c8)) as agg387, max_by_union(max_by_state(c1, c8)) as agg388, max_by_union(max_by_state(c2, c8)) as agg389, max_by_union(max_by_state(c3, c8)) as agg390, max_by_union(max_by_state(c4, c8)) as agg391, max_by_union(max_by_state(c5, c8)) as agg392, max_by_union(max_by_state(c6, c8)) as agg393, max_by_union(max_by_state(c7, c8)) as agg394, max_by_union(max_by_state(c8, c8)) as agg395, max_by_union(max_by_state(c8, c8)) as agg396, max_by_union(max_by_state(c8, c8)) as agg397, max_by_union(max_by_state(c24, c8)) as agg398, max_by_union(max_by_state(c10, c8)) as agg399, max_by_union(max_by_state(c11, c8)) as agg400, max_by_union(max_by_state(c25, c8)) as agg401, max_by_union(max_by_state(c0, c24)) as agg402, max_by_union(max_by_state(c1, c24)) as agg403, max_by_union(max_by_state(c2, c24)) as agg404, max_by_union(max_by_state(c3, c24)) as agg405, max_by_union(max_by_state(c4, c24)) as agg406, max_by_union(max_by_state(c5, c24)) as agg407, max_by_union(max_by_state(c6, c24)) as agg408, max_by_union(max_by_state(c7, c24)) as agg409, max_by_union(max_by_state(c8, c24)) as agg410, max_by_union(max_by_state(c8, c24)) as agg411, max_by_union(max_by_state(c8, c24)) as agg412, max_by_union(max_by_state(c24, c24)) as agg413, max_by_union(max_by_state(c10, c24)) as agg414, max_by_union(max_by_state(c11, c24)) as agg415, max_by_union(max_by_state(c25, c24)) as agg416, max_by_union(max_by_state(c0, c10)) as agg417, max_by_union(max_by_state(c1, c10)) as agg418, max_by_union(max_by_state(c2, c10)) as agg419, max_by_union(max_by_state(c3, c10)) as agg420, max_by_union(max_by_state(c4, c10)) as agg421, max_by_union(max_by_state(c5, c10)) as agg422, max_by_union(max_by_state(c6, c10)) as agg423, max_by_union(max_by_state(c7, c10)) as agg424, max_by_union(max_by_state(c8, c10)) as agg425, max_by_union(max_by_state(c8, c10)) as agg426, max_by_union(max_by_state(c8, c10)) as agg427, max_by_union(max_by_state(c24, c10)) as agg428, max_by_union(max_by_state(c10, c10)) as agg429, max_by_union(max_by_state(c11, c10)) as agg430, max_by_union(max_by_state(c25, c10)) as agg431, max_by_union(max_by_state(c0, c11)) as agg432, max_by_union(max_by_state(c1, c11)) as agg433, max_by_union(max_by_state(c2, c11)) as agg434, max_by_union(max_by_state(c3, c11)) as agg435, max_by_union(max_by_state(c4, c11)) as agg436, max_by_union(max_by_state(c5, c11)) as agg437, max_by_union(max_by_state(c6, c11)) as agg438, max_by_union(max_by_state(c7, c11)) as agg439, max_by_union(max_by_state(c8, c11)) as agg440, max_by_union(max_by_state(c8, c11)) as agg441, max_by_union(max_by_state(c8, c11)) as agg442, max_by_union(max_by_state(c24, c11)) as agg443, max_by_union(max_by_state(c10, c11)) as agg444, max_by_union(max_by_state(c11, c11)) as agg445, max_by_union(max_by_state(c25, c11)) as agg446, min_by_union(min_by_state(c0, c0)) as agg447, min_by_union(min_by_state(c1, c0)) as agg448, min_by_union(min_by_state(c2, c0)) as agg449, min_by_union(min_by_state(c3, c0)) as agg450, min_by_union(min_by_state(c4, c0)) as agg451, min_by_union(min_by_state(c5, c0)) as agg452, min_by_union(min_by_state(c6, c0)) as agg453, min_by_union(min_by_state(c7, c0)) as agg454, min_by_union(min_by_state(c8, c0)) as agg455, min_by_union(min_by_state(c8, c0)) as agg456, min_by_union(min_by_state(c8, c0)) as agg457, min_by_union(min_by_state(c24, c0)) as agg458, min_by_union(min_by_state(c10, c0)) as agg459, min_by_union(min_by_state(c11, c0)) as agg460, min_by_union(min_by_state(c25, c0)) as agg461, min_by_union(min_by_state(c0, c1)) as agg462, min_by_union(min_by_state(c1, c1)) as agg463, min_by_union(min_by_state(c2, c1)) as agg464, min_by_union(min_by_state(c3, c1)) as agg465, min_by_union(min_by_state(c4, c1)) as agg466, min_by_union(min_by_state(c5, c1)) as agg467, min_by_union(min_by_state(c6, c1)) as agg468, min_by_union(min_by_state(c7, c1)) as agg469, min_by_union(min_by_state(c8, c1)) as agg470, min_by_union(min_by_state(c8, c1)) as agg471, min_by_union(min_by_state(c8, c1)) as agg472, min_by_union(min_by_state(c24, c1)) as agg473, min_by_union(min_by_state(c10, c1)) as agg474, min_by_union(min_by_state(c11, c1)) as agg475, min_by_union(min_by_state(c25, c1)) as agg476, min_by_union(min_by_state(c0, c2)) as agg477, min_by_union(min_by_state(c1, c2)) as agg478, min_by_union(min_by_state(c2, c2)) as agg479, min_by_union(min_by_state(c3, c2)) as agg480, min_by_union(min_by_state(c4, c2)) as agg481, min_by_union(min_by_state(c5, c2)) as agg482, min_by_union(min_by_state(c6, c2)) as agg483, min_by_union(min_by_state(c7, c2)) as agg484, min_by_union(min_by_state(c8, c2)) as agg485, min_by_union(min_by_state(c8, c2)) as agg486, min_by_union(min_by_state(c8, c2)) as agg487, min_by_union(min_by_state(c24, c2)) as agg488, min_by_union(min_by_state(c10, c2)) as agg489, min_by_union(min_by_state(c11, c2)) as agg490, min_by_union(min_by_state(c25, c2)) as agg491, min_by_union(min_by_state(c0, c3)) as agg492, min_by_union(min_by_state(c1, c3)) as agg493, min_by_union(min_by_state(c2, c3)) as agg494, min_by_union(min_by_state(c3, c3)) as agg495, min_by_union(min_by_state(c4, c3)) as agg496, min_by_union(min_by_state(c5, c3)) as agg497, min_by_union(min_by_state(c6, c3)) as agg498, min_by_union(min_by_state(c7, c3)) as agg499, min_by_union(min_by_state(c8, c3)) as agg500, min_by_union(min_by_state(c8, c3)) as agg501, min_by_union(min_by_state(c8, c3)) as agg502, min_by_union(min_by_state(c24, c3)) as agg503, min_by_union(min_by_state(c10, c3)) as agg504, min_by_union(min_by_state(c11, c3)) as agg505, min_by_union(min_by_state(c25, c3)) as agg506, min_by_union(min_by_state(c0, c4)) as agg507, min_by_union(min_by_state(c1, c4)) as agg508, min_by_union(min_by_state(c2, c4)) as agg509, min_by_union(min_by_state(c3, c4)) as agg510, min_by_union(min_by_state(c4, c4)) as agg511, min_by_union(min_by_state(c5, c4)) as agg512, min_by_union(min_by_state(c6, c4)) as agg513, min_by_union(min_by_state(c7, c4)) as agg514, min_by_union(min_by_state(c8, c4)) as agg515, min_by_union(min_by_state(c8, c4)) as agg516, min_by_union(min_by_state(c8, c4)) as agg517, min_by_union(min_by_state(c24, c4)) as agg518, min_by_union(min_by_state(c10, c4)) as agg519, min_by_union(min_by_state(c11, c4)) as agg520, min_by_union(min_by_state(c25, c4)) as agg521, min_by_union(min_by_state(c0, c5)) as agg522, min_by_union(min_by_state(c1, c5)) as agg523, min_by_union(min_by_state(c2, c5)) as agg524, min_by_union(min_by_state(c3, c5)) as agg525, min_by_union(min_by_state(c4, c5)) as agg526, min_by_union(min_by_state(c5, c5)) as agg527, min_by_union(min_by_state(c6, c5)) as agg528, min_by_union(min_by_state(c7, c5)) as agg529, min_by_union(min_by_state(c8, c5)) as agg530, min_by_union(min_by_state(c8, c5)) as agg531, min_by_union(min_by_state(c8, c5)) as agg532, min_by_union(min_by_state(c24, c5)) as agg533, min_by_union(min_by_state(c10, c5)) as agg534, min_by_union(min_by_state(c11, c5)) as agg535, min_by_union(min_by_state(c25, c5)) as agg536, min_by_union(min_by_state(c0, c6)) as agg537, min_by_union(min_by_state(c1, c6)) as agg538, min_by_union(min_by_state(c2, c6)) as agg539, min_by_union(min_by_state(c3, c6)) as agg540, min_by_union(min_by_state(c4, c6)) as agg541, min_by_union(min_by_state(c5, c6)) as agg542, min_by_union(min_by_state(c6, c6)) as agg543, min_by_union(min_by_state(c7, c6)) as agg544, min_by_union(min_by_state(c8, c6)) as agg545, min_by_union(min_by_state(c8, c6)) as agg546, min_by_union(min_by_state(c8, c6)) as agg547, min_by_union(min_by_state(c24, c6)) as agg548, min_by_union(min_by_state(c10, c6)) as agg549, min_by_union(min_by_state(c11, c6)) as agg550, min_by_union(min_by_state(c25, c6)) as agg551, min_by_union(min_by_state(c0, c7)) as agg552, min_by_union(min_by_state(c1, c7)) as agg553, min_by_union(min_by_state(c2, c7)) as agg554, min_by_union(min_by_state(c3, c7)) as agg555, min_by_union(min_by_state(c4, c7)) as agg556, min_by_union(min_by_state(c5, c7)) as agg557, min_by_union(min_by_state(c6, c7)) as agg558, min_by_union(min_by_state(c7, c7)) as agg559, min_by_union(min_by_state(c8, c7)) as agg560, min_by_union(min_by_state(c8, c7)) as agg561, min_by_union(min_by_state(c8, c7)) as agg562, min_by_union(min_by_state(c24, c7)) as agg563, min_by_union(min_by_state(c10, c7)) as agg564, min_by_union(min_by_state(c11, c7)) as agg565, min_by_union(min_by_state(c25, c7)) as agg566, min_by_union(min_by_state(c0, c8)) as agg567, min_by_union(min_by_state(c1, c8)) as agg568, min_by_union(min_by_state(c2, c8)) as agg569, min_by_union(min_by_state(c3, c8)) as agg570, min_by_union(min_by_state(c4, c8)) as agg571, min_by_union(min_by_state(c5, c8)) as agg572, min_by_union(min_by_state(c6, c8)) as agg573, min_by_union(min_by_state(c7, c8)) as agg574, min_by_union(min_by_state(c8, c8)) as agg575, min_by_union(min_by_state(c8, c8)) as agg576, min_by_union(min_by_state(c8, c8)) as agg577, min_by_union(min_by_state(c24, c8)) as agg578, min_by_union(min_by_state(c10, c8)) as agg579, min_by_union(min_by_state(c11, c8)) as agg580, min_by_union(min_by_state(c25, c8)) as agg581, min_by_union(min_by_state(c0, c8)) as agg582, min_by_union(min_by_state(c1, c8)) as agg583, min_by_union(min_by_state(c2, c8)) as agg584, min_by_union(min_by_state(c3, c8)) as agg585, min_by_union(min_by_state(c4, c8)) as agg586, min_by_union(min_by_state(c5, c8)) as agg587, min_by_union(min_by_state(c6, c8)) as agg588, min_by_union(min_by_state(c7, c8)) as agg589, min_by_union(min_by_state(c8, c8)) as agg590, min_by_union(min_by_state(c8, c8)) as agg591, min_by_union(min_by_state(c8, c8)) as agg592, min_by_union(min_by_state(c24, c8)) as agg593, min_by_union(min_by_state(c10, c8)) as agg594, min_by_union(min_by_state(c11, c8)) as agg595, min_by_union(min_by_state(c25, c8)) as agg596, min_by_union(min_by_state(c0, c8)) as agg597, min_by_union(min_by_state(c1, c8)) as agg598, min_by_union(min_by_state(c2, c8)) as agg599, min_by_union(min_by_state(c3, c8)) as agg600, min_by_union(min_by_state(c4, c8)) as agg601, min_by_union(min_by_state(c5, c8)) as agg602, min_by_union(min_by_state(c6, c8)) as agg603, min_by_union(min_by_state(c7, c8)) as agg604, min_by_union(min_by_state(c8, c8)) as agg605, min_by_union(min_by_state(c8, c8)) as agg606, min_by_union(min_by_state(c8, c8)) as agg607, min_by_union(min_by_state(c24, c8)) as agg608, min_by_union(min_by_state(c10, c8)) as agg609, min_by_union(min_by_state(c11, c8)) as agg610, min_by_union(min_by_state(c25, c8)) as agg611, min_by_union(min_by_state(c0, c24)) as agg612, min_by_union(min_by_state(c1, c24)) as agg613, min_by_union(min_by_state(c2, c24)) as agg614, min_by_union(min_by_state(c3, c24)) as agg615, min_by_union(min_by_state(c4, c24)) as agg616, min_by_union(min_by_state(c5, c24)) as agg617, min_by_union(min_by_state(c6, c24)) as agg618, min_by_union(min_by_state(c7, c24)) as agg619, min_by_union(min_by_state(c8, c24)) as agg620, min_by_union(min_by_state(c8, c24)) as agg621, min_by_union(min_by_state(c8, c24)) as agg622, min_by_union(min_by_state(c24, c24)) as agg623, min_by_union(min_by_state(c10, c24)) as agg624, min_by_union(min_by_state(c11, c24)) as agg625, min_by_union(min_by_state(c25, c24)) as agg626, min_by_union(min_by_state(c0, c10)) as agg627, min_by_union(min_by_state(c1, c10)) as agg628, min_by_union(min_by_state(c2, c10)) as agg629, min_by_union(min_by_state(c3, c10)) as agg630, min_by_union(min_by_state(c4, c10)) as agg631, min_by_union(min_by_state(c5, c10)) as agg632, min_by_union(min_by_state(c6, c10)) as agg633, min_by_union(min_by_state(c7, c10)) as agg634, min_by_union(min_by_state(c8, c10)) as agg635, min_by_union(min_by_state(c8, c10)) as agg636, min_by_union(min_by_state(c8, c10)) as agg637, min_by_union(min_by_state(c24, c10)) as agg638, min_by_union(min_by_state(c10, c10)) as agg639, min_by_union(min_by_state(c11, c10)) as agg640, min_by_union(min_by_state(c25, c10)) as agg641, min_by_union(min_by_state(c0, c11)) as agg642, min_by_union(min_by_state(c1, c11)) as agg643, min_by_union(min_by_state(c2, c11)) as agg644, min_by_union(min_by_state(c3, c11)) as agg645, min_by_union(min_by_state(c4, c11)) as agg646, min_by_union(min_by_state(c5, c11)) as agg647, min_by_union(min_by_state(c6, c11)) as agg648, min_by_union(min_by_state(c7, c11)) as agg649, min_by_union(min_by_state(c8, c11)) as agg650, min_by_union(min_by_state(c8, c11)) as agg651, min_by_union(min_by_state(c8, c11)) as agg652, min_by_union(min_by_state(c24, c11)) as agg653, min_by_union(min_by_state(c10, c11)) as agg654, min_by_union(min_by_state(c11, c11)) as agg655, min_by_union(min_by_state(c25, c11)) as agg656, variance_pop_union(variance_pop_state(c6)) as agg657, variance_pop_union(variance_pop_state(c7)) as agg658, variance_pop_union(variance_pop_state(c0)) as agg659, variance_pop_union(variance_pop_state(c1)) as agg660, variance_pop_union(variance_pop_state(c2)) as agg661, variance_pop_union(variance_pop_state(c3)) as agg662, variance_pop_union(variance_pop_state(c4)) as agg663, variance_pop_union(variance_pop_state(c5)) as agg664, avg_union(avg_state(c6)) as agg665, avg_union(avg_state(c7)) as agg666, avg_union(avg_state(c1)) as agg667, avg_union(avg_state(c2)) as agg668, avg_union(avg_state(c3)) as agg669, avg_union(avg_state(c4)) as agg670, avg_union(avg_state(c5)) as agg671, avg_union(avg_state(c8)) as agg672, avg_union(avg_state(c8)) as agg673, avg_union(avg_state(c8)) as agg674, any_value_union(any_value_state(c0)) as agg675, any_value_union(any_value_state(c1)) as agg676, any_value_union(any_value_state(c2)) as agg677, any_value_union(any_value_state(c3)) as agg678, any_value_union(any_value_state(c4)) as agg679, any_value_union(any_value_state(c5)) as agg680, any_value_union(any_value_state(c6)) as agg681, any_value_union(any_value_state(c7)) as agg682, any_value_union(any_value_state(c8)) as agg683, any_value_union(any_value_state(c8)) as agg684, any_value_union(any_value_state(c8)) as agg685, any_value_union(any_value_state(c24)) as agg686, any_value_union(any_value_state(c10)) as agg687, any_value_union(any_value_state(c11)) as agg688, any_value_union(any_value_state(c16)) as agg689, any_value_union(any_value_state(c27)) as agg690, any_value_union(any_value_state(c28)) as agg691, any_value_union(any_value_state(c25)) as agg692, any_value_union(any_value_state(c26)) as agg693, var_pop_union(var_pop_state(c6)) as agg694, var_pop_union(var_pop_state(c7)) as agg695, var_pop_union(var_pop_state(c0)) as agg696, var_pop_union(var_pop_state(c1)) as agg697, var_pop_union(var_pop_state(c2)) as agg698, var_pop_union(var_pop_state(c3)) as agg699, var_pop_union(var_pop_state(c4)) as agg700, var_pop_union(var_pop_state(c5)) as agg701, stddev_pop_union(stddev_pop_state(c6)) as agg702, stddev_pop_union(stddev_pop_state(c7)) as agg703, stddev_pop_union(stddev_pop_state(c0)) as agg704, stddev_pop_union(stddev_pop_state(c1)) as agg705, stddev_pop_union(stddev_pop_state(c2)) as agg706, stddev_pop_union(stddev_pop_state(c3)) as agg707, stddev_pop_union(stddev_pop_state(c4)) as agg708, stddev_pop_union(stddev_pop_state(c5)) as agg709, variance_samp_union(variance_samp_state(c6)) as agg710, variance_samp_union(variance_samp_state(c7)) as agg711, variance_samp_union(variance_samp_state(c0)) as agg712, variance_samp_union(variance_samp_state(c1)) as agg713, variance_samp_union(variance_samp_state(c2)) as agg714, variance_samp_union(variance_samp_state(c3)) as agg715, variance_samp_union(variance_samp_state(c4)) as agg716, variance_samp_union(variance_samp_state(c5)) as agg717, percentile_cont_union(percentile_cont_state(c10, 0.5)) as agg718, percentile_cont_union(percentile_cont_state(c11, 0.5)) as agg719, percentile_cont_union(percentile_cont_state(c6, 0.5)) as agg720, corr_union(corr_state(c6, c6)) as agg721, corr_union(corr_state(c7, c7)) as agg722, corr_union(corr_state(c0, c0)) as agg723, corr_union(corr_state(c1, c1)) as agg724, corr_union(corr_state(c2, c2)) as agg725, corr_union(corr_state(c3, c3)) as agg726, corr_union(corr_state(c4, c4)) as agg727, corr_union(corr_state(c5, c5)) as agg728, multi_distinct_sum_union(multi_distinct_sum_state(c6)) as agg729, multi_distinct_sum_union(multi_distinct_sum_state(c7)) as agg730, multi_distinct_sum_union(multi_distinct_sum_state(c0)) as agg731, multi_distinct_sum_union(multi_distinct_sum_state(c1)) as agg732, multi_distinct_sum_union(multi_distinct_sum_state(c2)) as agg733, multi_distinct_sum_union(multi_distinct_sum_state(c3)) as agg734, multi_distinct_sum_union(multi_distinct_sum_state(c4)) as agg735, multi_distinct_sum_union(multi_distinct_sum_state(c5)) as agg736, multi_distinct_sum_union(multi_distinct_sum_state(c8)) as agg737, multi_distinct_sum_union(multi_distinct_sum_state(c8)) as agg738, multi_distinct_sum_union(multi_distinct_sum_state(c8)) as agg739, var_samp_union(var_samp_state(c6)) as agg740, var_samp_union(var_samp_state(c7)) as agg741, var_samp_union(var_samp_state(c0)) as agg742, var_samp_union(var_samp_state(c1)) as agg743, var_samp_union(var_samp_state(c2)) as agg744, var_samp_union(var_samp_state(c3)) as agg745, var_samp_union(var_samp_state(c4)) as agg746, var_samp_union(var_samp_state(c5)) as agg747, bitmap_union_int_union(bitmap_union_int_state(c1)) as agg748, bitmap_union_int_union(bitmap_union_int_state(c2)) as agg749, bitmap_union_int_union(bitmap_union_int_state(c3)) as agg750, bitmap_union_int_union(bitmap_union_int_state(c4)) as agg751, variance_union(variance_state(c6)) as agg752, variance_union(variance_state(c7)) as agg753, variance_union(variance_state(c0)) as agg754, variance_union(variance_state(c1)) as agg755, variance_union(variance_state(c2)) as agg756, variance_union(variance_state(c3)) as agg757, variance_union(variance_state(c4)) as agg758, variance_union(variance_state(c5)) as agg759 from t1 group by k1; +-- result: +-- !result +function: wait_materialized_view_finish() +-- result: +None +-- !result +select k1, percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1 group by k1; +-- result: +E: (1064, 'PseudoType should not exposed to external') +-- !result +select percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1; +-- result: +E: (1064, 'PseudoType should not exposed to external') +-- !result +INSERT INTO t1 VALUES +( + '2024-01-01', -- k1 + FALSE, -- c0 + 128, -- c1 + 32100, -- c2 + 2047483647, -- c3 + 9023372036854775807, -- c4 + 100141183460469231731687303715884105727, -- c5 (example large integer) + 123450.6789, -- c6 + 123450.67, -- c7 + 1230.45678901, -- c8 + 'a', -- c9 + '2024-01-01', -- c10 + '2024-01-01 13:34:56', -- c11 + [FALSE, FALSE, FALSE], -- c15 () + [1, 1, 127], -- c16 () + [100, 100, 32767], -- c17 () + [100000, 100000, 2147483647], -- c18 () + [10000000000, 10000000000, 9223372036854775807], -- c19 () + [12345678901234567890, 12345678901234567890, 170141183460469231731687303715884105727], -- c20 () + [1.23, 4.56, 7.89], -- c21 () + [1.23, 4.56, 7.89], -- c22 () + [1.23456789, 2.34567890, 3.45678901], -- c23 () + ['abc', 'def', 'ghi'], -- c24 () + ['2024-01-01', '2024-01-02'], -- c25 () + ['2024-01-01 12:34:56', '2024-01-02 12:34:56'], -- c26 () + 'ExampleVarcharData', -- c12 + '{"key": "value"}', -- c13 (JSON data) + x'4D7956617262696E61727944617461', -- c14 (VARBINARY data in hexadecimal format) + MAP{'key1':'value1', 'key2':'value2'}, -- c27 (map) + row('val1'), -- c28 (struct>) + ['str1', 'str2', 'str3'] -- c29 () +),( + '2024-01-01', -- k1 + NULL, -- c0 + NULL, -- c1 + NULL, -- c2 + NULL, -- c3 + NULL, -- c4 + NULL, -- c5 (example large integer) + NULL, -- c6 + NULL, -- c7 + NULL, -- c8 + NULL, -- c9 + NULL, -- c10 + NULL, -- c11 + NULL, -- c15 () + NULL, -- c16 () + NULL, -- c17 () + NULL, -- c18 () + NULL, -- c19 () + NULL, -- c20 () + NULL, -- c21 () + NULL, -- c22 () + NULL, -- c23 () + NULL, -- c24 () + NULL, -- c25 () + NULL, -- c26 () + NULL, -- c12 + NULL, -- c13 (JSON data) + NULL, -- c14 (VARBINARY data in hexadecimal format) + NULL, -- c27 (map) + NULL, -- c28 (struct>) + NULL -- c29 () +); +-- result: +-- !result +function: check_hit_materialized_view("select k1, percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1 group by k1", "test_mv1") +-- result: +None +-- !result +function: check_hit_materialized_view("select percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1 group by k1") +-- result: +None +-- !result +select k1, percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1 group by k1; +-- result: +E: (1064, 'PseudoType should not exposed to external') +-- !result +select percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1; +-- result: +E: (1064, 'PseudoType should not exposed to external') +-- !result \ No newline at end of file diff --git a/test/sql/test_agg_state/T/test_agg_state_with_async_mv.sql b/test/sql/test_agg_state/T/test_agg_state_with_async_mv.sql new file mode 100644 index 0000000000000..20a2049c9d7c8 --- /dev/null +++ b/test/sql/test_agg_state/T/test_agg_state_with_async_mv.sql @@ -0,0 +1,162 @@ +-- name: test_agg_state_with_async_mv +CREATE TABLE t1 ( +k1 date, +c0 boolean, +c1 tinyint(4), +c2 smallint(6), +c3 int(11), +c4 bigint(20), +c5 largeint(40), +c6 double, +c7 float, +c8 decimal(10, 2), +c9 char(100), +c10 date, +c11 datetime, +c12 array, +c13 array, +c14 array, +c15 array, +c16 array, +c17 array, +c18 array, +c19 array, +c20 array, +c21 array, +c22 array, +c23 array, +c24 varchar(100), +c25 json, +c26 varbinary, +c27 map, +c28 struct>, +c29 array) DUPLICATE KEY(k1) +DISTRIBUTED BY HASH(k1) +PROPERTIES ( "replication_num" = "1"); + +INSERT INTO t1 VALUES +( + '2024-01-01', -- k1 + TRUE, -- c0 + 127, -- c1 + 32000, -- c2 + 2147483647, -- c3 + 9223372036854775807, -- c4 + 170141183460469231731687303715884105727, -- c5 (example large integer) + 12345.6789, -- c6 + 12345.67, -- c7 + 123.45678901, -- c8 + 'ExampleCharData', -- c9 + '2024-01-02', -- c10 + '2024-01-01 12:34:56', -- c11 + [TRUE, FALSE, TRUE], -- c15 () + [1, -1, 127], -- c16 () + [100, -100, 32767], -- c17 () + [100000, -100000, 2147483647], -- c18 () + [10000000000, -10000000000, 9223372036854775807], -- c19 () + [12345678901234567890, -12345678901234567890, 170141183460469231731687303715884105727], -- c20 () + [1.23, 4.56, 7.89], -- c21 () + [1.23, 4.56, 7.89], -- c22 () + [1.23456789, 2.34567890, 3.45678901], -- c23 () + ['abc', 'def', 'ghi'], -- c24 () + ['2024-01-01', '2024-01-02'], -- c25 () + ['2024-01-01 12:34:56', '2024-01-02 12:34:56'], -- c26 () + 'ExampleVarcharData', -- c12 + '{"key": "value"}', -- c13 (JSON data) + x'4D7956617262696E61727944617461', -- c14 (VARBINARY data in hexadecimal format) + MAP{'key1':'value1', 'key2':'value2'}, -- c27 (map) + row('val1'), -- c28 (struct>) + ['str1', 'str2', 'str3'] -- c29 () +); + +-- create sync mv +set new_planner_optimize_timeout=1000; +CREATE MATERIALIZED VIEW test_mv1 +REFRESH DEFERRED MANUAL +PROPERTIES ( + "session.cbo_cte_reuse" = "false", + "replication_num" = "1" +) +as select k1, percentile_approx_union(percentile_approx_state(c6, 0.5)) as agg14, percentile_approx_union(percentile_approx_state(c6, 0.5)) as agg15, covar_pop_union(covar_pop_state(c6, c6)) as agg16, covar_pop_union(covar_pop_state(c7, c7)) as agg17, covar_pop_union(covar_pop_state(c0, c0)) as agg18, covar_pop_union(covar_pop_state(c1, c1)) as agg19, covar_pop_union(covar_pop_state(c2, c2)) as agg20, covar_pop_union(covar_pop_state(c3, c3)) as agg21, covar_pop_union(covar_pop_state(c4, c4)) as agg22, covar_pop_union(covar_pop_state(c5, c5)) as agg23, count_union(count_state(c0)) as agg24, count_union(count_state(c1)) as agg25, count_union(count_state(c2)) as agg26, count_union(count_state(c3)) as agg27, count_union(count_state(c4)) as agg28, count_union(count_state(c5)) as agg29, count_union(count_state(c6)) as agg30, count_union(count_state(c7)) as agg31, count_union(count_state(c8)) as agg32, count_union(count_state(c8)) as agg33, count_union(count_state(c8)) as agg34, count_union(count_state(c24)) as agg35, count_union(count_state(c10)) as agg36, count_union(count_state(c11)) as agg37, count_union(count_state(c16)) as agg38, count_union(count_state(c27)) as agg39, count_union(count_state(c28)) as agg40, count_union(count_state(c25)) as agg41, count_union(count_state(c26)) as agg42, array_unique_agg_union(array_unique_agg_state(c12)) as agg43, array_unique_agg_union(array_unique_agg_state(c13)) as agg44, array_unique_agg_union(array_unique_agg_state(c14)) as agg45, array_unique_agg_union(array_unique_agg_state(c15)) as agg46, array_unique_agg_union(array_unique_agg_state(c16)) as agg47, array_unique_agg_union(array_unique_agg_state(c17)) as agg48, array_unique_agg_union(array_unique_agg_state(c18)) as agg49, array_unique_agg_union(array_unique_agg_state(c19)) as agg50, array_unique_agg_union(array_unique_agg_state(c20)) as agg51, array_unique_agg_union(array_unique_agg_state(c20)) as agg52, array_unique_agg_union(array_unique_agg_state(c20)) as agg53, array_unique_agg_union(array_unique_agg_state(c20)) as agg54, array_unique_agg_union(array_unique_agg_state(c21)) as agg55, array_unique_agg_union(array_unique_agg_state(c22)) as agg56, array_unique_agg_union(array_unique_agg_state(c23)) as agg57, percentile_disc_union(percentile_disc_state(c0, 0.5)) as agg58, percentile_disc_union(percentile_disc_state(c1, 0.5)) as agg59, percentile_disc_union(percentile_disc_state(c2, 0.5)) as agg60, percentile_disc_union(percentile_disc_state(c3, 0.5)) as agg61, percentile_disc_union(percentile_disc_state(c4, 0.5)) as agg62, percentile_disc_union(percentile_disc_state(c5, 0.5)) as agg63, percentile_disc_union(percentile_disc_state(c8, 0.5)) as agg64, percentile_disc_union(percentile_disc_state(c8, 0.5)) as agg65, percentile_disc_union(percentile_disc_state(c8, 0.5)) as agg66, percentile_disc_union(percentile_disc_state(c9, 0.5)) as agg67, percentile_disc_union(percentile_disc_state(c10, 0.5)) as agg68, percentile_disc_union(percentile_disc_state(c11, 0.5)) as agg69, percentile_disc_union(percentile_disc_state(c6, 0.5)) as agg70, percentile_disc_union(percentile_disc_state(c7, 0.5)) as agg71, multi_distinct_count_union(multi_distinct_count_state(c0)) as agg72, multi_distinct_count_union(multi_distinct_count_state(c1)) as agg73, multi_distinct_count_union(multi_distinct_count_state(c2)) as agg74, multi_distinct_count_union(multi_distinct_count_state(c3)) as agg75, multi_distinct_count_union(multi_distinct_count_state(c4)) as agg76, multi_distinct_count_union(multi_distinct_count_state(c5)) as agg77, multi_distinct_count_union(multi_distinct_count_state(c6)) as agg78, multi_distinct_count_union(multi_distinct_count_state(c7)) as agg79, multi_distinct_count_union(multi_distinct_count_state(c8)) as agg80, multi_distinct_count_union(multi_distinct_count_state(c8)) as agg81, multi_distinct_count_union(multi_distinct_count_state(c8)) as agg82, multi_distinct_count_union(multi_distinct_count_state(c9)) as agg83, multi_distinct_count_union(multi_distinct_count_state(c10)) as agg84, multi_distinct_count_union(multi_distinct_count_state(c11)) as agg85, array_agg_union(array_agg_state(c24)) as agg86, stddev_samp_union(stddev_samp_state(c6)) as agg87, stddev_samp_union(stddev_samp_state(c7)) as agg88, stddev_samp_union(stddev_samp_state(c0)) as agg89, stddev_samp_union(stddev_samp_state(c1)) as agg90, stddev_samp_union(stddev_samp_state(c2)) as agg91, stddev_samp_union(stddev_samp_state(c3)) as agg92, stddev_samp_union(stddev_samp_state(c4)) as agg93, stddev_samp_union(stddev_samp_state(c5)) as agg94, mann_whitney_u_test_union(mann_whitney_u_test_state(c6, c0, 'two-sided', 0)) as agg95, mann_whitney_u_test_union(mann_whitney_u_test_state(c6, c0, 'less')) as agg96, mann_whitney_u_test_union(mann_whitney_u_test_state(c6, c0, 'two-sided', 0)) as agg97, max_union(max_state(c0)) as agg98, max_union(max_state(c1)) as agg99, max_union(max_state(c2)) as agg100, max_union(max_state(c3)) as agg101, max_union(max_state(c4)) as agg102, max_union(max_state(c5)) as agg103, max_union(max_state(c6)) as agg104, max_union(max_state(c7)) as agg105, max_union(max_state(c8)) as agg106, max_union(max_state(c8)) as agg107, max_union(max_state(c8)) as agg108, max_union(max_state(c24)) as agg109, max_union(max_state(c10)) as agg110, max_union(max_state(c11)) as agg111, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c0, 18, 'hll_6')) as agg112, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c0, 18)) as agg113, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c0, 18, 'hll_6')) as agg114, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c1, 18, 'hll_6')) as agg115, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c1, 18)) as agg116, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c1, 18, 'hll_6')) as agg117, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c2, 18, 'hll_6')) as agg118, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c2, 18)) as agg119, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c2, 18, 'hll_6')) as agg120, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c3, 18, 'hll_6')) as agg121, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c3, 18)) as agg122, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c3, 18, 'hll_6')) as agg123, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c4, 18, 'hll_6')) as agg124, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c4, 18)) as agg125, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c4, 18, 'hll_6')) as agg126, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c5, 18, 'hll_6')) as agg127, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c5, 18)) as agg128, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c5, 18, 'hll_6')) as agg129, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c6, 18, 'hll_6')) as agg130, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c6, 18)) as agg131, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c6, 18, 'hll_6')) as agg132, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c7, 18, 'hll_6')) as agg133, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c7, 18)) as agg134, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c7, 18, 'hll_6')) as agg135, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg136, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18)) as agg137, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg138, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg139, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18)) as agg140, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg141, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg142, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18)) as agg143, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg144, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c24, 18, 'hll_6')) as agg145, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c24, 18)) as agg146, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c24, 18, 'hll_6')) as agg147, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c10, 18, 'hll_6')) as agg148, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c10, 18)) as agg149, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c10, 18, 'hll_6')) as agg150, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c11, 18, 'hll_6')) as agg151, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c11, 18)) as agg152, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c11, 18, 'hll_6')) as agg153, ndv_union(ndv_state(c0)) as agg154, ndv_union(ndv_state(c1)) as agg155, ndv_union(ndv_state(c2)) as agg156, ndv_union(ndv_state(c3)) as agg157, ndv_union(ndv_state(c4)) as agg158, ndv_union(ndv_state(c5)) as agg159, ndv_union(ndv_state(c6)) as agg160, ndv_union(ndv_state(c7)) as agg161, ndv_union(ndv_state(c8)) as agg162, ndv_union(ndv_state(c8)) as agg163, ndv_union(ndv_state(c8)) as agg164, ndv_union(ndv_state(c24)) as agg165, ndv_union(ndv_state(c10)) as agg166, ndv_union(ndv_state(c11)) as agg167, stddev_union(stddev_state(c6)) as agg168, stddev_union(stddev_state(c7)) as agg169, stddev_union(stddev_state(c0)) as agg170, stddev_union(stddev_state(c1)) as agg171, stddev_union(stddev_state(c2)) as agg172, stddev_union(stddev_state(c3)) as agg173, stddev_union(stddev_state(c4)) as agg174, stddev_union(stddev_state(c5)) as agg175, covar_samp_union(covar_samp_state(c6, c6)) as agg176, covar_samp_union(covar_samp_state(c7, c7)) as agg177, covar_samp_union(covar_samp_state(c0, c0)) as agg178, covar_samp_union(covar_samp_state(c1, c1)) as agg179, covar_samp_union(covar_samp_state(c2, c2)) as agg180, covar_samp_union(covar_samp_state(c3, c3)) as agg181, covar_samp_union(covar_samp_state(c4, c4)) as agg182, covar_samp_union(covar_samp_state(c5, c5)) as agg183, bitmap_agg_union(bitmap_agg_state(c4)) as agg184, bitmap_agg_union(bitmap_agg_state(c5)) as agg185, bitmap_agg_union(bitmap_agg_state(c3)) as agg186, bitmap_agg_union(bitmap_agg_state(c2)) as agg187, bitmap_agg_union(bitmap_agg_state(c1)) as agg188, bitmap_agg_union(bitmap_agg_state(c0)) as agg189, std_union(std_state(c6)) as agg190, std_union(std_state(c7)) as agg191, std_union(std_state(c0)) as agg192, std_union(std_state(c1)) as agg193, std_union(std_state(c2)) as agg194, std_union(std_state(c3)) as agg195, std_union(std_state(c4)) as agg196, std_union(std_state(c5)) as agg197, sum_union(sum_state(c6)) as agg198, sum_union(sum_state(c7)) as agg199, sum_union(sum_state(c1)) as agg200, sum_union(sum_state(c2)) as agg201, sum_union(sum_state(c3)) as agg202, sum_union(sum_state(c4)) as agg203, sum_union(sum_state(c5)) as agg204, sum_union(sum_state(c8)) as agg205, sum_union(sum_state(c8)) as agg206, sum_union(sum_state(c8)) as agg207, approx_count_distinct_union(approx_count_distinct_state(c0)) as agg208, approx_count_distinct_union(approx_count_distinct_state(c1)) as agg209, approx_count_distinct_union(approx_count_distinct_state(c2)) as agg210, approx_count_distinct_union(approx_count_distinct_state(c3)) as agg211, approx_count_distinct_union(approx_count_distinct_state(c4)) as agg212, approx_count_distinct_union(approx_count_distinct_state(c5)) as agg213, approx_count_distinct_union(approx_count_distinct_state(c6)) as agg214, approx_count_distinct_union(approx_count_distinct_state(c7)) as agg215, approx_count_distinct_union(approx_count_distinct_state(c8)) as agg216, approx_count_distinct_union(approx_count_distinct_state(c8)) as agg217, approx_count_distinct_union(approx_count_distinct_state(c8)) as agg218, approx_count_distinct_union(approx_count_distinct_state(c24)) as agg219, approx_count_distinct_union(approx_count_distinct_state(c10)) as agg220, approx_count_distinct_union(approx_count_distinct_state(c11)) as agg221, min_union(min_state(c0)) as agg222, min_union(min_state(c1)) as agg223, min_union(min_state(c2)) as agg224, min_union(min_state(c3)) as agg225, min_union(min_state(c4)) as agg226, min_union(min_state(c5)) as agg227, min_union(min_state(c6)) as agg228, min_union(min_state(c7)) as agg229, min_union(min_state(c8)) as agg230, min_union(min_state(c8)) as agg231, min_union(min_state(c8)) as agg232, min_union(min_state(c24)) as agg233, min_union(min_state(c10)) as agg234, min_union(min_state(c11)) as agg235, retention_union(retention_state(c12)) as agg236, max_by_union(max_by_state(c0, c0)) as agg237, max_by_union(max_by_state(c1, c0)) as agg238, max_by_union(max_by_state(c2, c0)) as agg239, max_by_union(max_by_state(c3, c0)) as agg240, max_by_union(max_by_state(c4, c0)) as agg241, max_by_union(max_by_state(c5, c0)) as agg242, max_by_union(max_by_state(c6, c0)) as agg243, max_by_union(max_by_state(c7, c0)) as agg244, max_by_union(max_by_state(c8, c0)) as agg245, max_by_union(max_by_state(c8, c0)) as agg246, max_by_union(max_by_state(c8, c0)) as agg247, max_by_union(max_by_state(c24, c0)) as agg248, max_by_union(max_by_state(c10, c0)) as agg249, max_by_union(max_by_state(c11, c0)) as agg250, max_by_union(max_by_state(c25, c0)) as agg251, max_by_union(max_by_state(c0, c1)) as agg252, max_by_union(max_by_state(c1, c1)) as agg253, max_by_union(max_by_state(c2, c1)) as agg254, max_by_union(max_by_state(c3, c1)) as agg255, max_by_union(max_by_state(c4, c1)) as agg256, max_by_union(max_by_state(c5, c1)) as agg257, max_by_union(max_by_state(c6, c1)) as agg258, max_by_union(max_by_state(c7, c1)) as agg259, max_by_union(max_by_state(c8, c1)) as agg260, max_by_union(max_by_state(c8, c1)) as agg261, max_by_union(max_by_state(c8, c1)) as agg262, max_by_union(max_by_state(c24, c1)) as agg263, max_by_union(max_by_state(c10, c1)) as agg264, max_by_union(max_by_state(c11, c1)) as agg265, max_by_union(max_by_state(c25, c1)) as agg266, max_by_union(max_by_state(c0, c2)) as agg267, max_by_union(max_by_state(c1, c2)) as agg268, max_by_union(max_by_state(c2, c2)) as agg269, max_by_union(max_by_state(c3, c2)) as agg270, max_by_union(max_by_state(c4, c2)) as agg271, max_by_union(max_by_state(c5, c2)) as agg272, max_by_union(max_by_state(c6, c2)) as agg273, max_by_union(max_by_state(c7, c2)) as agg274, max_by_union(max_by_state(c8, c2)) as agg275, max_by_union(max_by_state(c8, c2)) as agg276, max_by_union(max_by_state(c8, c2)) as agg277, max_by_union(max_by_state(c24, c2)) as agg278, max_by_union(max_by_state(c10, c2)) as agg279, max_by_union(max_by_state(c11, c2)) as agg280, max_by_union(max_by_state(c25, c2)) as agg281, max_by_union(max_by_state(c0, c3)) as agg282, max_by_union(max_by_state(c1, c3)) as agg283, max_by_union(max_by_state(c2, c3)) as agg284, max_by_union(max_by_state(c3, c3)) as agg285, max_by_union(max_by_state(c4, c3)) as agg286, max_by_union(max_by_state(c5, c3)) as agg287, max_by_union(max_by_state(c6, c3)) as agg288, max_by_union(max_by_state(c7, c3)) as agg289, max_by_union(max_by_state(c8, c3)) as agg290, max_by_union(max_by_state(c8, c3)) as agg291, max_by_union(max_by_state(c8, c3)) as agg292, max_by_union(max_by_state(c24, c3)) as agg293, max_by_union(max_by_state(c10, c3)) as agg294, max_by_union(max_by_state(c11, c3)) as agg295, max_by_union(max_by_state(c25, c3)) as agg296, max_by_union(max_by_state(c0, c4)) as agg297, max_by_union(max_by_state(c1, c4)) as agg298, max_by_union(max_by_state(c2, c4)) as agg299, max_by_union(max_by_state(c3, c4)) as agg300, max_by_union(max_by_state(c4, c4)) as agg301, max_by_union(max_by_state(c5, c4)) as agg302, max_by_union(max_by_state(c6, c4)) as agg303, max_by_union(max_by_state(c7, c4)) as agg304, max_by_union(max_by_state(c8, c4)) as agg305, max_by_union(max_by_state(c8, c4)) as agg306, max_by_union(max_by_state(c8, c4)) as agg307, max_by_union(max_by_state(c24, c4)) as agg308, max_by_union(max_by_state(c10, c4)) as agg309, max_by_union(max_by_state(c11, c4)) as agg310, max_by_union(max_by_state(c25, c4)) as agg311, max_by_union(max_by_state(c0, c5)) as agg312, max_by_union(max_by_state(c1, c5)) as agg313, max_by_union(max_by_state(c2, c5)) as agg314, max_by_union(max_by_state(c3, c5)) as agg315, max_by_union(max_by_state(c4, c5)) as agg316, max_by_union(max_by_state(c5, c5)) as agg317, max_by_union(max_by_state(c6, c5)) as agg318, max_by_union(max_by_state(c7, c5)) as agg319, max_by_union(max_by_state(c8, c5)) as agg320, max_by_union(max_by_state(c8, c5)) as agg321, max_by_union(max_by_state(c8, c5)) as agg322, max_by_union(max_by_state(c24, c5)) as agg323, max_by_union(max_by_state(c10, c5)) as agg324, max_by_union(max_by_state(c11, c5)) as agg325, max_by_union(max_by_state(c25, c5)) as agg326, max_by_union(max_by_state(c0, c6)) as agg327, max_by_union(max_by_state(c1, c6)) as agg328, max_by_union(max_by_state(c2, c6)) as agg329, max_by_union(max_by_state(c3, c6)) as agg330, max_by_union(max_by_state(c4, c6)) as agg331, max_by_union(max_by_state(c5, c6)) as agg332, max_by_union(max_by_state(c6, c6)) as agg333, max_by_union(max_by_state(c7, c6)) as agg334, max_by_union(max_by_state(c8, c6)) as agg335, max_by_union(max_by_state(c8, c6)) as agg336, max_by_union(max_by_state(c8, c6)) as agg337, max_by_union(max_by_state(c24, c6)) as agg338, max_by_union(max_by_state(c10, c6)) as agg339, max_by_union(max_by_state(c11, c6)) as agg340, max_by_union(max_by_state(c25, c6)) as agg341, max_by_union(max_by_state(c0, c7)) as agg342, max_by_union(max_by_state(c1, c7)) as agg343, max_by_union(max_by_state(c2, c7)) as agg344, max_by_union(max_by_state(c3, c7)) as agg345, max_by_union(max_by_state(c4, c7)) as agg346, max_by_union(max_by_state(c5, c7)) as agg347, max_by_union(max_by_state(c6, c7)) as agg348, max_by_union(max_by_state(c7, c7)) as agg349, max_by_union(max_by_state(c8, c7)) as agg350, max_by_union(max_by_state(c8, c7)) as agg351, max_by_union(max_by_state(c8, c7)) as agg352, max_by_union(max_by_state(c24, c7)) as agg353, max_by_union(max_by_state(c10, c7)) as agg354, max_by_union(max_by_state(c11, c7)) as agg355, max_by_union(max_by_state(c25, c7)) as agg356, max_by_union(max_by_state(c0, c8)) as agg357, max_by_union(max_by_state(c1, c8)) as agg358, max_by_union(max_by_state(c2, c8)) as agg359, max_by_union(max_by_state(c3, c8)) as agg360, max_by_union(max_by_state(c4, c8)) as agg361, max_by_union(max_by_state(c5, c8)) as agg362, max_by_union(max_by_state(c6, c8)) as agg363, max_by_union(max_by_state(c7, c8)) as agg364, max_by_union(max_by_state(c8, c8)) as agg365, max_by_union(max_by_state(c8, c8)) as agg366, max_by_union(max_by_state(c8, c8)) as agg367, max_by_union(max_by_state(c24, c8)) as agg368, max_by_union(max_by_state(c10, c8)) as agg369, max_by_union(max_by_state(c11, c8)) as agg370, max_by_union(max_by_state(c25, c8)) as agg371, max_by_union(max_by_state(c0, c8)) as agg372, max_by_union(max_by_state(c1, c8)) as agg373, max_by_union(max_by_state(c2, c8)) as agg374, max_by_union(max_by_state(c3, c8)) as agg375, max_by_union(max_by_state(c4, c8)) as agg376, max_by_union(max_by_state(c5, c8)) as agg377, max_by_union(max_by_state(c6, c8)) as agg378, max_by_union(max_by_state(c7, c8)) as agg379, max_by_union(max_by_state(c8, c8)) as agg380, max_by_union(max_by_state(c8, c8)) as agg381, max_by_union(max_by_state(c8, c8)) as agg382, max_by_union(max_by_state(c24, c8)) as agg383, max_by_union(max_by_state(c10, c8)) as agg384, max_by_union(max_by_state(c11, c8)) as agg385, max_by_union(max_by_state(c25, c8)) as agg386, max_by_union(max_by_state(c0, c8)) as agg387, max_by_union(max_by_state(c1, c8)) as agg388, max_by_union(max_by_state(c2, c8)) as agg389, max_by_union(max_by_state(c3, c8)) as agg390, max_by_union(max_by_state(c4, c8)) as agg391, max_by_union(max_by_state(c5, c8)) as agg392, max_by_union(max_by_state(c6, c8)) as agg393, max_by_union(max_by_state(c7, c8)) as agg394, max_by_union(max_by_state(c8, c8)) as agg395, max_by_union(max_by_state(c8, c8)) as agg396, max_by_union(max_by_state(c8, c8)) as agg397, max_by_union(max_by_state(c24, c8)) as agg398, max_by_union(max_by_state(c10, c8)) as agg399, max_by_union(max_by_state(c11, c8)) as agg400, max_by_union(max_by_state(c25, c8)) as agg401, max_by_union(max_by_state(c0, c24)) as agg402, max_by_union(max_by_state(c1, c24)) as agg403, max_by_union(max_by_state(c2, c24)) as agg404, max_by_union(max_by_state(c3, c24)) as agg405, max_by_union(max_by_state(c4, c24)) as agg406, max_by_union(max_by_state(c5, c24)) as agg407, max_by_union(max_by_state(c6, c24)) as agg408, max_by_union(max_by_state(c7, c24)) as agg409, max_by_union(max_by_state(c8, c24)) as agg410, max_by_union(max_by_state(c8, c24)) as agg411, max_by_union(max_by_state(c8, c24)) as agg412, max_by_union(max_by_state(c24, c24)) as agg413, max_by_union(max_by_state(c10, c24)) as agg414, max_by_union(max_by_state(c11, c24)) as agg415, max_by_union(max_by_state(c25, c24)) as agg416, max_by_union(max_by_state(c0, c10)) as agg417, max_by_union(max_by_state(c1, c10)) as agg418, max_by_union(max_by_state(c2, c10)) as agg419, max_by_union(max_by_state(c3, c10)) as agg420, max_by_union(max_by_state(c4, c10)) as agg421, max_by_union(max_by_state(c5, c10)) as agg422, max_by_union(max_by_state(c6, c10)) as agg423, max_by_union(max_by_state(c7, c10)) as agg424, max_by_union(max_by_state(c8, c10)) as agg425, max_by_union(max_by_state(c8, c10)) as agg426, max_by_union(max_by_state(c8, c10)) as agg427, max_by_union(max_by_state(c24, c10)) as agg428, max_by_union(max_by_state(c10, c10)) as agg429, max_by_union(max_by_state(c11, c10)) as agg430, max_by_union(max_by_state(c25, c10)) as agg431, max_by_union(max_by_state(c0, c11)) as agg432, max_by_union(max_by_state(c1, c11)) as agg433, max_by_union(max_by_state(c2, c11)) as agg434, max_by_union(max_by_state(c3, c11)) as agg435, max_by_union(max_by_state(c4, c11)) as agg436, max_by_union(max_by_state(c5, c11)) as agg437, max_by_union(max_by_state(c6, c11)) as agg438, max_by_union(max_by_state(c7, c11)) as agg439, max_by_union(max_by_state(c8, c11)) as agg440, max_by_union(max_by_state(c8, c11)) as agg441, max_by_union(max_by_state(c8, c11)) as agg442, max_by_union(max_by_state(c24, c11)) as agg443, max_by_union(max_by_state(c10, c11)) as agg444, max_by_union(max_by_state(c11, c11)) as agg445, max_by_union(max_by_state(c25, c11)) as agg446, min_by_union(min_by_state(c0, c0)) as agg447, min_by_union(min_by_state(c1, c0)) as agg448, min_by_union(min_by_state(c2, c0)) as agg449, min_by_union(min_by_state(c3, c0)) as agg450, min_by_union(min_by_state(c4, c0)) as agg451, min_by_union(min_by_state(c5, c0)) as agg452, min_by_union(min_by_state(c6, c0)) as agg453, min_by_union(min_by_state(c7, c0)) as agg454, min_by_union(min_by_state(c8, c0)) as agg455, min_by_union(min_by_state(c8, c0)) as agg456, min_by_union(min_by_state(c8, c0)) as agg457, min_by_union(min_by_state(c24, c0)) as agg458, min_by_union(min_by_state(c10, c0)) as agg459, min_by_union(min_by_state(c11, c0)) as agg460, min_by_union(min_by_state(c25, c0)) as agg461, min_by_union(min_by_state(c0, c1)) as agg462, min_by_union(min_by_state(c1, c1)) as agg463, min_by_union(min_by_state(c2, c1)) as agg464, min_by_union(min_by_state(c3, c1)) as agg465, min_by_union(min_by_state(c4, c1)) as agg466, min_by_union(min_by_state(c5, c1)) as agg467, min_by_union(min_by_state(c6, c1)) as agg468, min_by_union(min_by_state(c7, c1)) as agg469, min_by_union(min_by_state(c8, c1)) as agg470, min_by_union(min_by_state(c8, c1)) as agg471, min_by_union(min_by_state(c8, c1)) as agg472, min_by_union(min_by_state(c24, c1)) as agg473, min_by_union(min_by_state(c10, c1)) as agg474, min_by_union(min_by_state(c11, c1)) as agg475, min_by_union(min_by_state(c25, c1)) as agg476, min_by_union(min_by_state(c0, c2)) as agg477, min_by_union(min_by_state(c1, c2)) as agg478, min_by_union(min_by_state(c2, c2)) as agg479, min_by_union(min_by_state(c3, c2)) as agg480, min_by_union(min_by_state(c4, c2)) as agg481, min_by_union(min_by_state(c5, c2)) as agg482, min_by_union(min_by_state(c6, c2)) as agg483, min_by_union(min_by_state(c7, c2)) as agg484, min_by_union(min_by_state(c8, c2)) as agg485, min_by_union(min_by_state(c8, c2)) as agg486, min_by_union(min_by_state(c8, c2)) as agg487, min_by_union(min_by_state(c24, c2)) as agg488, min_by_union(min_by_state(c10, c2)) as agg489, min_by_union(min_by_state(c11, c2)) as agg490, min_by_union(min_by_state(c25, c2)) as agg491, min_by_union(min_by_state(c0, c3)) as agg492, min_by_union(min_by_state(c1, c3)) as agg493, min_by_union(min_by_state(c2, c3)) as agg494, min_by_union(min_by_state(c3, c3)) as agg495, min_by_union(min_by_state(c4, c3)) as agg496, min_by_union(min_by_state(c5, c3)) as agg497, min_by_union(min_by_state(c6, c3)) as agg498, min_by_union(min_by_state(c7, c3)) as agg499, min_by_union(min_by_state(c8, c3)) as agg500, min_by_union(min_by_state(c8, c3)) as agg501, min_by_union(min_by_state(c8, c3)) as agg502, min_by_union(min_by_state(c24, c3)) as agg503, min_by_union(min_by_state(c10, c3)) as agg504, min_by_union(min_by_state(c11, c3)) as agg505, min_by_union(min_by_state(c25, c3)) as agg506, min_by_union(min_by_state(c0, c4)) as agg507, min_by_union(min_by_state(c1, c4)) as agg508, min_by_union(min_by_state(c2, c4)) as agg509, min_by_union(min_by_state(c3, c4)) as agg510, min_by_union(min_by_state(c4, c4)) as agg511, min_by_union(min_by_state(c5, c4)) as agg512, min_by_union(min_by_state(c6, c4)) as agg513, min_by_union(min_by_state(c7, c4)) as agg514, min_by_union(min_by_state(c8, c4)) as agg515, min_by_union(min_by_state(c8, c4)) as agg516, min_by_union(min_by_state(c8, c4)) as agg517, min_by_union(min_by_state(c24, c4)) as agg518, min_by_union(min_by_state(c10, c4)) as agg519, min_by_union(min_by_state(c11, c4)) as agg520, min_by_union(min_by_state(c25, c4)) as agg521, min_by_union(min_by_state(c0, c5)) as agg522, min_by_union(min_by_state(c1, c5)) as agg523, min_by_union(min_by_state(c2, c5)) as agg524, min_by_union(min_by_state(c3, c5)) as agg525, min_by_union(min_by_state(c4, c5)) as agg526, min_by_union(min_by_state(c5, c5)) as agg527, min_by_union(min_by_state(c6, c5)) as agg528, min_by_union(min_by_state(c7, c5)) as agg529, min_by_union(min_by_state(c8, c5)) as agg530, min_by_union(min_by_state(c8, c5)) as agg531, min_by_union(min_by_state(c8, c5)) as agg532, min_by_union(min_by_state(c24, c5)) as agg533, min_by_union(min_by_state(c10, c5)) as agg534, min_by_union(min_by_state(c11, c5)) as agg535, min_by_union(min_by_state(c25, c5)) as agg536, min_by_union(min_by_state(c0, c6)) as agg537, min_by_union(min_by_state(c1, c6)) as agg538, min_by_union(min_by_state(c2, c6)) as agg539, min_by_union(min_by_state(c3, c6)) as agg540, min_by_union(min_by_state(c4, c6)) as agg541, min_by_union(min_by_state(c5, c6)) as agg542, min_by_union(min_by_state(c6, c6)) as agg543, min_by_union(min_by_state(c7, c6)) as agg544, min_by_union(min_by_state(c8, c6)) as agg545, min_by_union(min_by_state(c8, c6)) as agg546, min_by_union(min_by_state(c8, c6)) as agg547, min_by_union(min_by_state(c24, c6)) as agg548, min_by_union(min_by_state(c10, c6)) as agg549, min_by_union(min_by_state(c11, c6)) as agg550, min_by_union(min_by_state(c25, c6)) as agg551, min_by_union(min_by_state(c0, c7)) as agg552, min_by_union(min_by_state(c1, c7)) as agg553, min_by_union(min_by_state(c2, c7)) as agg554, min_by_union(min_by_state(c3, c7)) as agg555, min_by_union(min_by_state(c4, c7)) as agg556, min_by_union(min_by_state(c5, c7)) as agg557, min_by_union(min_by_state(c6, c7)) as agg558, min_by_union(min_by_state(c7, c7)) as agg559, min_by_union(min_by_state(c8, c7)) as agg560, min_by_union(min_by_state(c8, c7)) as agg561, min_by_union(min_by_state(c8, c7)) as agg562, min_by_union(min_by_state(c24, c7)) as agg563, min_by_union(min_by_state(c10, c7)) as agg564, min_by_union(min_by_state(c11, c7)) as agg565, min_by_union(min_by_state(c25, c7)) as agg566, min_by_union(min_by_state(c0, c8)) as agg567, min_by_union(min_by_state(c1, c8)) as agg568, min_by_union(min_by_state(c2, c8)) as agg569, min_by_union(min_by_state(c3, c8)) as agg570, min_by_union(min_by_state(c4, c8)) as agg571, min_by_union(min_by_state(c5, c8)) as agg572, min_by_union(min_by_state(c6, c8)) as agg573, min_by_union(min_by_state(c7, c8)) as agg574, min_by_union(min_by_state(c8, c8)) as agg575, min_by_union(min_by_state(c8, c8)) as agg576, min_by_union(min_by_state(c8, c8)) as agg577, min_by_union(min_by_state(c24, c8)) as agg578, min_by_union(min_by_state(c10, c8)) as agg579, min_by_union(min_by_state(c11, c8)) as agg580, min_by_union(min_by_state(c25, c8)) as agg581, min_by_union(min_by_state(c0, c8)) as agg582, min_by_union(min_by_state(c1, c8)) as agg583, min_by_union(min_by_state(c2, c8)) as agg584, min_by_union(min_by_state(c3, c8)) as agg585, min_by_union(min_by_state(c4, c8)) as agg586, min_by_union(min_by_state(c5, c8)) as agg587, min_by_union(min_by_state(c6, c8)) as agg588, min_by_union(min_by_state(c7, c8)) as agg589, min_by_union(min_by_state(c8, c8)) as agg590, min_by_union(min_by_state(c8, c8)) as agg591, min_by_union(min_by_state(c8, c8)) as agg592, min_by_union(min_by_state(c24, c8)) as agg593, min_by_union(min_by_state(c10, c8)) as agg594, min_by_union(min_by_state(c11, c8)) as agg595, min_by_union(min_by_state(c25, c8)) as agg596, min_by_union(min_by_state(c0, c8)) as agg597, min_by_union(min_by_state(c1, c8)) as agg598, min_by_union(min_by_state(c2, c8)) as agg599, min_by_union(min_by_state(c3, c8)) as agg600, min_by_union(min_by_state(c4, c8)) as agg601, min_by_union(min_by_state(c5, c8)) as agg602, min_by_union(min_by_state(c6, c8)) as agg603, min_by_union(min_by_state(c7, c8)) as agg604, min_by_union(min_by_state(c8, c8)) as agg605, min_by_union(min_by_state(c8, c8)) as agg606, min_by_union(min_by_state(c8, c8)) as agg607, min_by_union(min_by_state(c24, c8)) as agg608, min_by_union(min_by_state(c10, c8)) as agg609, min_by_union(min_by_state(c11, c8)) as agg610, min_by_union(min_by_state(c25, c8)) as agg611, min_by_union(min_by_state(c0, c24)) as agg612, min_by_union(min_by_state(c1, c24)) as agg613, min_by_union(min_by_state(c2, c24)) as agg614, min_by_union(min_by_state(c3, c24)) as agg615, min_by_union(min_by_state(c4, c24)) as agg616, min_by_union(min_by_state(c5, c24)) as agg617, min_by_union(min_by_state(c6, c24)) as agg618, min_by_union(min_by_state(c7, c24)) as agg619, min_by_union(min_by_state(c8, c24)) as agg620, min_by_union(min_by_state(c8, c24)) as agg621, min_by_union(min_by_state(c8, c24)) as agg622, min_by_union(min_by_state(c24, c24)) as agg623, min_by_union(min_by_state(c10, c24)) as agg624, min_by_union(min_by_state(c11, c24)) as agg625, min_by_union(min_by_state(c25, c24)) as agg626, min_by_union(min_by_state(c0, c10)) as agg627, min_by_union(min_by_state(c1, c10)) as agg628, min_by_union(min_by_state(c2, c10)) as agg629, min_by_union(min_by_state(c3, c10)) as agg630, min_by_union(min_by_state(c4, c10)) as agg631, min_by_union(min_by_state(c5, c10)) as agg632, min_by_union(min_by_state(c6, c10)) as agg633, min_by_union(min_by_state(c7, c10)) as agg634, min_by_union(min_by_state(c8, c10)) as agg635, min_by_union(min_by_state(c8, c10)) as agg636, min_by_union(min_by_state(c8, c10)) as agg637, min_by_union(min_by_state(c24, c10)) as agg638, min_by_union(min_by_state(c10, c10)) as agg639, min_by_union(min_by_state(c11, c10)) as agg640, min_by_union(min_by_state(c25, c10)) as agg641, min_by_union(min_by_state(c0, c11)) as agg642, min_by_union(min_by_state(c1, c11)) as agg643, min_by_union(min_by_state(c2, c11)) as agg644, min_by_union(min_by_state(c3, c11)) as agg645, min_by_union(min_by_state(c4, c11)) as agg646, min_by_union(min_by_state(c5, c11)) as agg647, min_by_union(min_by_state(c6, c11)) as agg648, min_by_union(min_by_state(c7, c11)) as agg649, min_by_union(min_by_state(c8, c11)) as agg650, min_by_union(min_by_state(c8, c11)) as agg651, min_by_union(min_by_state(c8, c11)) as agg652, min_by_union(min_by_state(c24, c11)) as agg653, min_by_union(min_by_state(c10, c11)) as agg654, min_by_union(min_by_state(c11, c11)) as agg655, min_by_union(min_by_state(c25, c11)) as agg656, variance_pop_union(variance_pop_state(c6)) as agg657, variance_pop_union(variance_pop_state(c7)) as agg658, variance_pop_union(variance_pop_state(c0)) as agg659, variance_pop_union(variance_pop_state(c1)) as agg660, variance_pop_union(variance_pop_state(c2)) as agg661, variance_pop_union(variance_pop_state(c3)) as agg662, variance_pop_union(variance_pop_state(c4)) as agg663, variance_pop_union(variance_pop_state(c5)) as agg664, avg_union(avg_state(c6)) as agg665, avg_union(avg_state(c7)) as agg666, avg_union(avg_state(c1)) as agg667, avg_union(avg_state(c2)) as agg668, avg_union(avg_state(c3)) as agg669, avg_union(avg_state(c4)) as agg670, avg_union(avg_state(c5)) as agg671, avg_union(avg_state(c8)) as agg672, avg_union(avg_state(c8)) as agg673, avg_union(avg_state(c8)) as agg674, any_value_union(any_value_state(c0)) as agg675, any_value_union(any_value_state(c1)) as agg676, any_value_union(any_value_state(c2)) as agg677, any_value_union(any_value_state(c3)) as agg678, any_value_union(any_value_state(c4)) as agg679, any_value_union(any_value_state(c5)) as agg680, any_value_union(any_value_state(c6)) as agg681, any_value_union(any_value_state(c7)) as agg682, any_value_union(any_value_state(c8)) as agg683, any_value_union(any_value_state(c8)) as agg684, any_value_union(any_value_state(c8)) as agg685, any_value_union(any_value_state(c24)) as agg686, any_value_union(any_value_state(c10)) as agg687, any_value_union(any_value_state(c11)) as agg688, any_value_union(any_value_state(c16)) as agg689, any_value_union(any_value_state(c27)) as agg690, any_value_union(any_value_state(c28)) as agg691, any_value_union(any_value_state(c25)) as agg692, any_value_union(any_value_state(c26)) as agg693, var_pop_union(var_pop_state(c6)) as agg694, var_pop_union(var_pop_state(c7)) as agg695, var_pop_union(var_pop_state(c0)) as agg696, var_pop_union(var_pop_state(c1)) as agg697, var_pop_union(var_pop_state(c2)) as agg698, var_pop_union(var_pop_state(c3)) as agg699, var_pop_union(var_pop_state(c4)) as agg700, var_pop_union(var_pop_state(c5)) as agg701, stddev_pop_union(stddev_pop_state(c6)) as agg702, stddev_pop_union(stddev_pop_state(c7)) as agg703, stddev_pop_union(stddev_pop_state(c0)) as agg704, stddev_pop_union(stddev_pop_state(c1)) as agg705, stddev_pop_union(stddev_pop_state(c2)) as agg706, stddev_pop_union(stddev_pop_state(c3)) as agg707, stddev_pop_union(stddev_pop_state(c4)) as agg708, stddev_pop_union(stddev_pop_state(c5)) as agg709, variance_samp_union(variance_samp_state(c6)) as agg710, variance_samp_union(variance_samp_state(c7)) as agg711, variance_samp_union(variance_samp_state(c0)) as agg712, variance_samp_union(variance_samp_state(c1)) as agg713, variance_samp_union(variance_samp_state(c2)) as agg714, variance_samp_union(variance_samp_state(c3)) as agg715, variance_samp_union(variance_samp_state(c4)) as agg716, variance_samp_union(variance_samp_state(c5)) as agg717, percentile_cont_union(percentile_cont_state(c10, 0.5)) as agg718, percentile_cont_union(percentile_cont_state(c11, 0.5)) as agg719, percentile_cont_union(percentile_cont_state(c6, 0.5)) as agg720, corr_union(corr_state(c6, c6)) as agg721, corr_union(corr_state(c7, c7)) as agg722, corr_union(corr_state(c0, c0)) as agg723, corr_union(corr_state(c1, c1)) as agg724, corr_union(corr_state(c2, c2)) as agg725, corr_union(corr_state(c3, c3)) as agg726, corr_union(corr_state(c4, c4)) as agg727, corr_union(corr_state(c5, c5)) as agg728, multi_distinct_sum_union(multi_distinct_sum_state(c6)) as agg729, multi_distinct_sum_union(multi_distinct_sum_state(c7)) as agg730, multi_distinct_sum_union(multi_distinct_sum_state(c0)) as agg731, multi_distinct_sum_union(multi_distinct_sum_state(c1)) as agg732, multi_distinct_sum_union(multi_distinct_sum_state(c2)) as agg733, multi_distinct_sum_union(multi_distinct_sum_state(c3)) as agg734, multi_distinct_sum_union(multi_distinct_sum_state(c4)) as agg735, multi_distinct_sum_union(multi_distinct_sum_state(c5)) as agg736, multi_distinct_sum_union(multi_distinct_sum_state(c8)) as agg737, multi_distinct_sum_union(multi_distinct_sum_state(c8)) as agg738, multi_distinct_sum_union(multi_distinct_sum_state(c8)) as agg739, var_samp_union(var_samp_state(c6)) as agg740, var_samp_union(var_samp_state(c7)) as agg741, var_samp_union(var_samp_state(c0)) as agg742, var_samp_union(var_samp_state(c1)) as agg743, var_samp_union(var_samp_state(c2)) as agg744, var_samp_union(var_samp_state(c3)) as agg745, var_samp_union(var_samp_state(c4)) as agg746, var_samp_union(var_samp_state(c5)) as agg747, bitmap_union_int_union(bitmap_union_int_state(c1)) as agg748, bitmap_union_int_union(bitmap_union_int_state(c2)) as agg749, bitmap_union_int_union(bitmap_union_int_state(c3)) as agg750, bitmap_union_int_union(bitmap_union_int_state(c4)) as agg751, variance_union(variance_state(c6)) as agg752, variance_union(variance_state(c7)) as agg753, variance_union(variance_state(c0)) as agg754, variance_union(variance_state(c1)) as agg755, variance_union(variance_state(c2)) as agg756, variance_union(variance_state(c3)) as agg757, variance_union(variance_state(c4)) as agg758, variance_union(variance_state(c5)) as agg759 from t1 group by k1; + +REFRESH MATERIALIZED VIEW test_mv1 WITH SYNC MODE; + +select k1, percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1 group by k1; + +select percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1; + +INSERT INTO t1 VALUES +( + '2024-01-01', -- k1 + FALSE, -- c0 + 128, -- c1 + 32100, -- c2 + 2047483647, -- c3 + 9023372036854775807, -- c4 + 100141183460469231731687303715884105727, -- c5 (example large integer) + 123450.6789, -- c6 + 123450.67, -- c7 + 1230.45678901, -- c8 + 'a', -- c9 + '2024-01-01', -- c10 + '2024-01-01 13:34:56', -- c11 + [FALSE, FALSE, FALSE], -- c15 () + [1, 1, 127], -- c16 () + [100, 100, 32767], -- c17 () + [100000, 100000, 2147483647], -- c18 () + [10000000000, 10000000000, 9223372036854775807], -- c19 () + [12345678901234567890, 12345678901234567890, 170141183460469231731687303715884105727], -- c20 () + [1.23, 4.56, 7.89], -- c21 () + [1.23, 4.56, 7.89], -- c22 () + [1.23456789, 2.34567890, 3.45678901], -- c23 () + ['abc', 'def', 'ghi'], -- c24 () + ['2024-01-01', '2024-01-02'], -- c25 () + ['2024-01-01 12:34:56', '2024-01-02 12:34:56'], -- c26 () + 'ExampleVarcharData', -- c12 + '{"key": "value"}', -- c13 (JSON data) + x'4D7956617262696E61727944617461', -- c14 (VARBINARY data in hexadecimal format) + MAP{'key1':'value1', 'key2':'value2'}, -- c27 (map) + row('val1'), -- c28 (struct>) + ['str1', 'str2', 'str3'] -- c29 () +),( + '2024-01-01', -- k1 + NULL, -- c0 + NULL, -- c1 + NULL, -- c2 + NULL, -- c3 + NULL, -- c4 + NULL, -- c5 (example large integer) + NULL, -- c6 + NULL, -- c7 + NULL, -- c8 + NULL, -- c9 + NULL, -- c10 + NULL, -- c11 + NULL, -- c15 () + NULL, -- c16 () + NULL, -- c17 () + NULL, -- c18 () + NULL, -- c19 () + NULL, -- c20 () + NULL, -- c21 () + NULL, -- c22 () + NULL, -- c23 () + NULL, -- c24 () + NULL, -- c25 () + NULL, -- c26 () + NULL, -- c12 + NULL, -- c13 (JSON data) + NULL, -- c14 (VARBINARY data in hexadecimal format) + NULL, -- c27 (map) + NULL, -- c28 (struct>) + NULL -- c29 () +); +REFRESH MATERIALIZED VIEW test_mv1 WITH SYNC MODE; + +function: check_hit_materialized_view("select k1, percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1 group by k1", "test_mv1") + +function: check_hit_materialized_view("select percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1 group by k1") + +select k1, percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1 group by k1; + +select percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1; \ No newline at end of file diff --git a/test/sql/test_agg_state/T/test_agg_state_with_sync_mv.sql b/test/sql/test_agg_state/T/test_agg_state_with_sync_mv.sql new file mode 100644 index 0000000000000..c8415b6c7aba9 --- /dev/null +++ b/test/sql/test_agg_state/T/test_agg_state_with_sync_mv.sql @@ -0,0 +1,153 @@ +-- name: test_agg_state_with_sync_mv +CREATE TABLE t1 ( +k1 date, +c0 boolean, +c1 tinyint(4), +c2 smallint(6), +c3 int(11), +c4 bigint(20), +c5 largeint(40), +c6 double, +c7 float, +c8 decimal(10, 2), +c9 char(100), +c10 date, +c11 datetime, +c12 array, +c13 array, +c14 array, +c15 array, +c16 array, +c17 array, +c18 array, +c19 array, +c20 array, +c21 array, +c22 array, +c23 array, +c24 varchar(100), +c25 json, +c26 varbinary, +c27 map, +c28 struct>, +c29 array) DUPLICATE KEY(k1) +DISTRIBUTED BY HASH(k1) +PROPERTIES ( "replication_num" = "1"); + +INSERT INTO t1 VALUES +( + '2024-01-01', -- k1 + TRUE, -- c0 + 127, -- c1 + 32000, -- c2 + 2147483647, -- c3 + 9223372036854775807, -- c4 + 170141183460469231731687303715884105727, -- c5 (example large integer) + 12345.6789, -- c6 + 12345.67, -- c7 + 123.45678901, -- c8 + 'ExampleCharData', -- c9 + '2024-01-02', -- c10 + '2024-01-01 12:34:56', -- c11 + [TRUE, FALSE, TRUE], -- c15 () + [1, -1, 127], -- c16 () + [100, -100, 32767], -- c17 () + [100000, -100000, 2147483647], -- c18 () + [10000000000, -10000000000, 9223372036854775807], -- c19 () + [12345678901234567890, -12345678901234567890, 170141183460469231731687303715884105727], -- c20 () + [1.23, 4.56, 7.89], -- c21 () + [1.23, 4.56, 7.89], -- c22 () + [1.23456789, 2.34567890, 3.45678901], -- c23 () + ['abc', 'def', 'ghi'], -- c24 () + ['2024-01-01', '2024-01-02'], -- c25 () + ['2024-01-01 12:34:56', '2024-01-02 12:34:56'], -- c26 () + 'ExampleVarcharData', -- c12 + '{"key": "value"}', -- c13 (JSON data) + x'4D7956617262696E61727944617461', -- c14 (VARBINARY data in hexadecimal format) + MAP{'key1':'value1', 'key2':'value2'}, -- c27 (map) + row('val1'), -- c28 (struct>) + ['str1', 'str2', 'str3'] -- c29 () +); + +-- create sync mv +CREATE MATERIALIZED VIEW test_mv1 as select k1, percentile_approx_union(percentile_approx_state(c6, 0.5)) as agg14, percentile_approx_union(percentile_approx_state(c6, 0.5)) as agg15, covar_pop_union(covar_pop_state(c6, c6)) as agg16, covar_pop_union(covar_pop_state(c7, c7)) as agg17, covar_pop_union(covar_pop_state(c0, c0)) as agg18, covar_pop_union(covar_pop_state(c1, c1)) as agg19, covar_pop_union(covar_pop_state(c2, c2)) as agg20, covar_pop_union(covar_pop_state(c3, c3)) as agg21, covar_pop_union(covar_pop_state(c4, c4)) as agg22, covar_pop_union(covar_pop_state(c5, c5)) as agg23, count_union(count_state(c0)) as agg24, count_union(count_state(c1)) as agg25, count_union(count_state(c2)) as agg26, count_union(count_state(c3)) as agg27, count_union(count_state(c4)) as agg28, count_union(count_state(c5)) as agg29, count_union(count_state(c6)) as agg30, count_union(count_state(c7)) as agg31, count_union(count_state(c8)) as agg32, count_union(count_state(c8)) as agg33, count_union(count_state(c8)) as agg34, count_union(count_state(c24)) as agg35, count_union(count_state(c10)) as agg36, count_union(count_state(c11)) as agg37, count_union(count_state(c16)) as agg38, count_union(count_state(c27)) as agg39, count_union(count_state(c28)) as agg40, count_union(count_state(c25)) as agg41, count_union(count_state(c26)) as agg42, array_unique_agg_union(array_unique_agg_state(c12)) as agg43, array_unique_agg_union(array_unique_agg_state(c13)) as agg44, array_unique_agg_union(array_unique_agg_state(c14)) as agg45, array_unique_agg_union(array_unique_agg_state(c15)) as agg46, array_unique_agg_union(array_unique_agg_state(c16)) as agg47, array_unique_agg_union(array_unique_agg_state(c17)) as agg48, array_unique_agg_union(array_unique_agg_state(c18)) as agg49, array_unique_agg_union(array_unique_agg_state(c19)) as agg50, array_unique_agg_union(array_unique_agg_state(c20)) as agg51, array_unique_agg_union(array_unique_agg_state(c20)) as agg52, array_unique_agg_union(array_unique_agg_state(c20)) as agg53, array_unique_agg_union(array_unique_agg_state(c20)) as agg54, array_unique_agg_union(array_unique_agg_state(c21)) as agg55, array_unique_agg_union(array_unique_agg_state(c22)) as agg56, array_unique_agg_union(array_unique_agg_state(c23)) as agg57, percentile_disc_union(percentile_disc_state(c0, 0.5)) as agg58, percentile_disc_union(percentile_disc_state(c1, 0.5)) as agg59, percentile_disc_union(percentile_disc_state(c2, 0.5)) as agg60, percentile_disc_union(percentile_disc_state(c3, 0.5)) as agg61, percentile_disc_union(percentile_disc_state(c4, 0.5)) as agg62, percentile_disc_union(percentile_disc_state(c5, 0.5)) as agg63, percentile_disc_union(percentile_disc_state(c8, 0.5)) as agg64, percentile_disc_union(percentile_disc_state(c8, 0.5)) as agg65, percentile_disc_union(percentile_disc_state(c8, 0.5)) as agg66, percentile_disc_union(percentile_disc_state(c9, 0.5)) as agg67, percentile_disc_union(percentile_disc_state(c10, 0.5)) as agg68, percentile_disc_union(percentile_disc_state(c11, 0.5)) as agg69, percentile_disc_union(percentile_disc_state(c6, 0.5)) as agg70, percentile_disc_union(percentile_disc_state(c7, 0.5)) as agg71, multi_distinct_count_union(multi_distinct_count_state(c0)) as agg72, multi_distinct_count_union(multi_distinct_count_state(c1)) as agg73, multi_distinct_count_union(multi_distinct_count_state(c2)) as agg74, multi_distinct_count_union(multi_distinct_count_state(c3)) as agg75, multi_distinct_count_union(multi_distinct_count_state(c4)) as agg76, multi_distinct_count_union(multi_distinct_count_state(c5)) as agg77, multi_distinct_count_union(multi_distinct_count_state(c6)) as agg78, multi_distinct_count_union(multi_distinct_count_state(c7)) as agg79, multi_distinct_count_union(multi_distinct_count_state(c8)) as agg80, multi_distinct_count_union(multi_distinct_count_state(c8)) as agg81, multi_distinct_count_union(multi_distinct_count_state(c8)) as agg82, multi_distinct_count_union(multi_distinct_count_state(c9)) as agg83, multi_distinct_count_union(multi_distinct_count_state(c10)) as agg84, multi_distinct_count_union(multi_distinct_count_state(c11)) as agg85, array_agg_union(array_agg_state(c24)) as agg86, stddev_samp_union(stddev_samp_state(c6)) as agg87, stddev_samp_union(stddev_samp_state(c7)) as agg88, stddev_samp_union(stddev_samp_state(c0)) as agg89, stddev_samp_union(stddev_samp_state(c1)) as agg90, stddev_samp_union(stddev_samp_state(c2)) as agg91, stddev_samp_union(stddev_samp_state(c3)) as agg92, stddev_samp_union(stddev_samp_state(c4)) as agg93, stddev_samp_union(stddev_samp_state(c5)) as agg94, mann_whitney_u_test_union(mann_whitney_u_test_state(c6, c0, 'two-sided', 0)) as agg95, mann_whitney_u_test_union(mann_whitney_u_test_state(c6, c0, 'less')) as agg96, mann_whitney_u_test_union(mann_whitney_u_test_state(c6, c0, 'two-sided', 0)) as agg97, max_union(max_state(c0)) as agg98, max_union(max_state(c1)) as agg99, max_union(max_state(c2)) as agg100, max_union(max_state(c3)) as agg101, max_union(max_state(c4)) as agg102, max_union(max_state(c5)) as agg103, max_union(max_state(c6)) as agg104, max_union(max_state(c7)) as agg105, max_union(max_state(c8)) as agg106, max_union(max_state(c8)) as agg107, max_union(max_state(c8)) as agg108, max_union(max_state(c24)) as agg109, max_union(max_state(c10)) as agg110, max_union(max_state(c11)) as agg111, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c0, 18, 'hll_6')) as agg112, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c0, 18)) as agg113, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c0, 18, 'hll_6')) as agg114, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c1, 18, 'hll_6')) as agg115, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c1, 18)) as agg116, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c1, 18, 'hll_6')) as agg117, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c2, 18, 'hll_6')) as agg118, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c2, 18)) as agg119, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c2, 18, 'hll_6')) as agg120, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c3, 18, 'hll_6')) as agg121, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c3, 18)) as agg122, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c3, 18, 'hll_6')) as agg123, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c4, 18, 'hll_6')) as agg124, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c4, 18)) as agg125, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c4, 18, 'hll_6')) as agg126, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c5, 18, 'hll_6')) as agg127, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c5, 18)) as agg128, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c5, 18, 'hll_6')) as agg129, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c6, 18, 'hll_6')) as agg130, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c6, 18)) as agg131, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c6, 18, 'hll_6')) as agg132, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c7, 18, 'hll_6')) as agg133, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c7, 18)) as agg134, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c7, 18, 'hll_6')) as agg135, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg136, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18)) as agg137, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg138, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg139, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18)) as agg140, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg141, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg142, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18)) as agg143, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c8, 18, 'hll_6')) as agg144, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c24, 18, 'hll_6')) as agg145, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c24, 18)) as agg146, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c24, 18, 'hll_6')) as agg147, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c10, 18, 'hll_6')) as agg148, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c10, 18)) as agg149, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c10, 18, 'hll_6')) as agg150, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c11, 18, 'hll_6')) as agg151, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c11, 18)) as agg152, ds_hll_count_distinct_union(ds_hll_count_distinct_state(c11, 18, 'hll_6')) as agg153, ndv_union(ndv_state(c0)) as agg154, ndv_union(ndv_state(c1)) as agg155, ndv_union(ndv_state(c2)) as agg156, ndv_union(ndv_state(c3)) as agg157, ndv_union(ndv_state(c4)) as agg158, ndv_union(ndv_state(c5)) as agg159, ndv_union(ndv_state(c6)) as agg160, ndv_union(ndv_state(c7)) as agg161, ndv_union(ndv_state(c8)) as agg162, ndv_union(ndv_state(c8)) as agg163, ndv_union(ndv_state(c8)) as agg164, ndv_union(ndv_state(c24)) as agg165, ndv_union(ndv_state(c10)) as agg166, ndv_union(ndv_state(c11)) as agg167, stddev_union(stddev_state(c6)) as agg168, stddev_union(stddev_state(c7)) as agg169, stddev_union(stddev_state(c0)) as agg170, stddev_union(stddev_state(c1)) as agg171, stddev_union(stddev_state(c2)) as agg172, stddev_union(stddev_state(c3)) as agg173, stddev_union(stddev_state(c4)) as agg174, stddev_union(stddev_state(c5)) as agg175, covar_samp_union(covar_samp_state(c6, c6)) as agg176, covar_samp_union(covar_samp_state(c7, c7)) as agg177, covar_samp_union(covar_samp_state(c0, c0)) as agg178, covar_samp_union(covar_samp_state(c1, c1)) as agg179, covar_samp_union(covar_samp_state(c2, c2)) as agg180, covar_samp_union(covar_samp_state(c3, c3)) as agg181, covar_samp_union(covar_samp_state(c4, c4)) as agg182, covar_samp_union(covar_samp_state(c5, c5)) as agg183, bitmap_agg_union(bitmap_agg_state(c4)) as agg184, bitmap_agg_union(bitmap_agg_state(c5)) as agg185, bitmap_agg_union(bitmap_agg_state(c3)) as agg186, bitmap_agg_union(bitmap_agg_state(c2)) as agg187, bitmap_agg_union(bitmap_agg_state(c1)) as agg188, bitmap_agg_union(bitmap_agg_state(c0)) as agg189, std_union(std_state(c6)) as agg190, std_union(std_state(c7)) as agg191, std_union(std_state(c0)) as agg192, std_union(std_state(c1)) as agg193, std_union(std_state(c2)) as agg194, std_union(std_state(c3)) as agg195, std_union(std_state(c4)) as agg196, std_union(std_state(c5)) as agg197, sum_union(sum_state(c6)) as agg198, sum_union(sum_state(c7)) as agg199, sum_union(sum_state(c1)) as agg200, sum_union(sum_state(c2)) as agg201, sum_union(sum_state(c3)) as agg202, sum_union(sum_state(c4)) as agg203, sum_union(sum_state(c5)) as agg204, sum_union(sum_state(c8)) as agg205, sum_union(sum_state(c8)) as agg206, sum_union(sum_state(c8)) as agg207, approx_count_distinct_union(approx_count_distinct_state(c0)) as agg208, approx_count_distinct_union(approx_count_distinct_state(c1)) as agg209, approx_count_distinct_union(approx_count_distinct_state(c2)) as agg210, approx_count_distinct_union(approx_count_distinct_state(c3)) as agg211, approx_count_distinct_union(approx_count_distinct_state(c4)) as agg212, approx_count_distinct_union(approx_count_distinct_state(c5)) as agg213, approx_count_distinct_union(approx_count_distinct_state(c6)) as agg214, approx_count_distinct_union(approx_count_distinct_state(c7)) as agg215, approx_count_distinct_union(approx_count_distinct_state(c8)) as agg216, approx_count_distinct_union(approx_count_distinct_state(c8)) as agg217, approx_count_distinct_union(approx_count_distinct_state(c8)) as agg218, approx_count_distinct_union(approx_count_distinct_state(c24)) as agg219, approx_count_distinct_union(approx_count_distinct_state(c10)) as agg220, approx_count_distinct_union(approx_count_distinct_state(c11)) as agg221, min_union(min_state(c0)) as agg222, min_union(min_state(c1)) as agg223, min_union(min_state(c2)) as agg224, min_union(min_state(c3)) as agg225, min_union(min_state(c4)) as agg226, min_union(min_state(c5)) as agg227, min_union(min_state(c6)) as agg228, min_union(min_state(c7)) as agg229, min_union(min_state(c8)) as agg230, min_union(min_state(c8)) as agg231, min_union(min_state(c8)) as agg232, min_union(min_state(c24)) as agg233, min_union(min_state(c10)) as agg234, min_union(min_state(c11)) as agg235, retention_union(retention_state(c12)) as agg236, max_by_union(max_by_state(c0, c0)) as agg237, max_by_union(max_by_state(c1, c0)) as agg238, max_by_union(max_by_state(c2, c0)) as agg239, max_by_union(max_by_state(c3, c0)) as agg240, max_by_union(max_by_state(c4, c0)) as agg241, max_by_union(max_by_state(c5, c0)) as agg242, max_by_union(max_by_state(c6, c0)) as agg243, max_by_union(max_by_state(c7, c0)) as agg244, max_by_union(max_by_state(c8, c0)) as agg245, max_by_union(max_by_state(c8, c0)) as agg246, max_by_union(max_by_state(c8, c0)) as agg247, max_by_union(max_by_state(c24, c0)) as agg248, max_by_union(max_by_state(c10, c0)) as agg249, max_by_union(max_by_state(c11, c0)) as agg250, max_by_union(max_by_state(c25, c0)) as agg251, max_by_union(max_by_state(c0, c1)) as agg252, max_by_union(max_by_state(c1, c1)) as agg253, max_by_union(max_by_state(c2, c1)) as agg254, max_by_union(max_by_state(c3, c1)) as agg255, max_by_union(max_by_state(c4, c1)) as agg256, max_by_union(max_by_state(c5, c1)) as agg257, max_by_union(max_by_state(c6, c1)) as agg258, max_by_union(max_by_state(c7, c1)) as agg259, max_by_union(max_by_state(c8, c1)) as agg260, max_by_union(max_by_state(c8, c1)) as agg261, max_by_union(max_by_state(c8, c1)) as agg262, max_by_union(max_by_state(c24, c1)) as agg263, max_by_union(max_by_state(c10, c1)) as agg264, max_by_union(max_by_state(c11, c1)) as agg265, max_by_union(max_by_state(c25, c1)) as agg266, max_by_union(max_by_state(c0, c2)) as agg267, max_by_union(max_by_state(c1, c2)) as agg268, max_by_union(max_by_state(c2, c2)) as agg269, max_by_union(max_by_state(c3, c2)) as agg270, max_by_union(max_by_state(c4, c2)) as agg271, max_by_union(max_by_state(c5, c2)) as agg272, max_by_union(max_by_state(c6, c2)) as agg273, max_by_union(max_by_state(c7, c2)) as agg274, max_by_union(max_by_state(c8, c2)) as agg275, max_by_union(max_by_state(c8, c2)) as agg276, max_by_union(max_by_state(c8, c2)) as agg277, max_by_union(max_by_state(c24, c2)) as agg278, max_by_union(max_by_state(c10, c2)) as agg279, max_by_union(max_by_state(c11, c2)) as agg280, max_by_union(max_by_state(c25, c2)) as agg281, max_by_union(max_by_state(c0, c3)) as agg282, max_by_union(max_by_state(c1, c3)) as agg283, max_by_union(max_by_state(c2, c3)) as agg284, max_by_union(max_by_state(c3, c3)) as agg285, max_by_union(max_by_state(c4, c3)) as agg286, max_by_union(max_by_state(c5, c3)) as agg287, max_by_union(max_by_state(c6, c3)) as agg288, max_by_union(max_by_state(c7, c3)) as agg289, max_by_union(max_by_state(c8, c3)) as agg290, max_by_union(max_by_state(c8, c3)) as agg291, max_by_union(max_by_state(c8, c3)) as agg292, max_by_union(max_by_state(c24, c3)) as agg293, max_by_union(max_by_state(c10, c3)) as agg294, max_by_union(max_by_state(c11, c3)) as agg295, max_by_union(max_by_state(c25, c3)) as agg296, max_by_union(max_by_state(c0, c4)) as agg297, max_by_union(max_by_state(c1, c4)) as agg298, max_by_union(max_by_state(c2, c4)) as agg299, max_by_union(max_by_state(c3, c4)) as agg300, max_by_union(max_by_state(c4, c4)) as agg301, max_by_union(max_by_state(c5, c4)) as agg302, max_by_union(max_by_state(c6, c4)) as agg303, max_by_union(max_by_state(c7, c4)) as agg304, max_by_union(max_by_state(c8, c4)) as agg305, max_by_union(max_by_state(c8, c4)) as agg306, max_by_union(max_by_state(c8, c4)) as agg307, max_by_union(max_by_state(c24, c4)) as agg308, max_by_union(max_by_state(c10, c4)) as agg309, max_by_union(max_by_state(c11, c4)) as agg310, max_by_union(max_by_state(c25, c4)) as agg311, max_by_union(max_by_state(c0, c5)) as agg312, max_by_union(max_by_state(c1, c5)) as agg313, max_by_union(max_by_state(c2, c5)) as agg314, max_by_union(max_by_state(c3, c5)) as agg315, max_by_union(max_by_state(c4, c5)) as agg316, max_by_union(max_by_state(c5, c5)) as agg317, max_by_union(max_by_state(c6, c5)) as agg318, max_by_union(max_by_state(c7, c5)) as agg319, max_by_union(max_by_state(c8, c5)) as agg320, max_by_union(max_by_state(c8, c5)) as agg321, max_by_union(max_by_state(c8, c5)) as agg322, max_by_union(max_by_state(c24, c5)) as agg323, max_by_union(max_by_state(c10, c5)) as agg324, max_by_union(max_by_state(c11, c5)) as agg325, max_by_union(max_by_state(c25, c5)) as agg326, max_by_union(max_by_state(c0, c6)) as agg327, max_by_union(max_by_state(c1, c6)) as agg328, max_by_union(max_by_state(c2, c6)) as agg329, max_by_union(max_by_state(c3, c6)) as agg330, max_by_union(max_by_state(c4, c6)) as agg331, max_by_union(max_by_state(c5, c6)) as agg332, max_by_union(max_by_state(c6, c6)) as agg333, max_by_union(max_by_state(c7, c6)) as agg334, max_by_union(max_by_state(c8, c6)) as agg335, max_by_union(max_by_state(c8, c6)) as agg336, max_by_union(max_by_state(c8, c6)) as agg337, max_by_union(max_by_state(c24, c6)) as agg338, max_by_union(max_by_state(c10, c6)) as agg339, max_by_union(max_by_state(c11, c6)) as agg340, max_by_union(max_by_state(c25, c6)) as agg341, max_by_union(max_by_state(c0, c7)) as agg342, max_by_union(max_by_state(c1, c7)) as agg343, max_by_union(max_by_state(c2, c7)) as agg344, max_by_union(max_by_state(c3, c7)) as agg345, max_by_union(max_by_state(c4, c7)) as agg346, max_by_union(max_by_state(c5, c7)) as agg347, max_by_union(max_by_state(c6, c7)) as agg348, max_by_union(max_by_state(c7, c7)) as agg349, max_by_union(max_by_state(c8, c7)) as agg350, max_by_union(max_by_state(c8, c7)) as agg351, max_by_union(max_by_state(c8, c7)) as agg352, max_by_union(max_by_state(c24, c7)) as agg353, max_by_union(max_by_state(c10, c7)) as agg354, max_by_union(max_by_state(c11, c7)) as agg355, max_by_union(max_by_state(c25, c7)) as agg356, max_by_union(max_by_state(c0, c8)) as agg357, max_by_union(max_by_state(c1, c8)) as agg358, max_by_union(max_by_state(c2, c8)) as agg359, max_by_union(max_by_state(c3, c8)) as agg360, max_by_union(max_by_state(c4, c8)) as agg361, max_by_union(max_by_state(c5, c8)) as agg362, max_by_union(max_by_state(c6, c8)) as agg363, max_by_union(max_by_state(c7, c8)) as agg364, max_by_union(max_by_state(c8, c8)) as agg365, max_by_union(max_by_state(c8, c8)) as agg366, max_by_union(max_by_state(c8, c8)) as agg367, max_by_union(max_by_state(c24, c8)) as agg368, max_by_union(max_by_state(c10, c8)) as agg369, max_by_union(max_by_state(c11, c8)) as agg370, max_by_union(max_by_state(c25, c8)) as agg371, max_by_union(max_by_state(c0, c8)) as agg372, max_by_union(max_by_state(c1, c8)) as agg373, max_by_union(max_by_state(c2, c8)) as agg374, max_by_union(max_by_state(c3, c8)) as agg375, max_by_union(max_by_state(c4, c8)) as agg376, max_by_union(max_by_state(c5, c8)) as agg377, max_by_union(max_by_state(c6, c8)) as agg378, max_by_union(max_by_state(c7, c8)) as agg379, max_by_union(max_by_state(c8, c8)) as agg380, max_by_union(max_by_state(c8, c8)) as agg381, max_by_union(max_by_state(c8, c8)) as agg382, max_by_union(max_by_state(c24, c8)) as agg383, max_by_union(max_by_state(c10, c8)) as agg384, max_by_union(max_by_state(c11, c8)) as agg385, max_by_union(max_by_state(c25, c8)) as agg386, max_by_union(max_by_state(c0, c8)) as agg387, max_by_union(max_by_state(c1, c8)) as agg388, max_by_union(max_by_state(c2, c8)) as agg389, max_by_union(max_by_state(c3, c8)) as agg390, max_by_union(max_by_state(c4, c8)) as agg391, max_by_union(max_by_state(c5, c8)) as agg392, max_by_union(max_by_state(c6, c8)) as agg393, max_by_union(max_by_state(c7, c8)) as agg394, max_by_union(max_by_state(c8, c8)) as agg395, max_by_union(max_by_state(c8, c8)) as agg396, max_by_union(max_by_state(c8, c8)) as agg397, max_by_union(max_by_state(c24, c8)) as agg398, max_by_union(max_by_state(c10, c8)) as agg399, max_by_union(max_by_state(c11, c8)) as agg400, max_by_union(max_by_state(c25, c8)) as agg401, max_by_union(max_by_state(c0, c24)) as agg402, max_by_union(max_by_state(c1, c24)) as agg403, max_by_union(max_by_state(c2, c24)) as agg404, max_by_union(max_by_state(c3, c24)) as agg405, max_by_union(max_by_state(c4, c24)) as agg406, max_by_union(max_by_state(c5, c24)) as agg407, max_by_union(max_by_state(c6, c24)) as agg408, max_by_union(max_by_state(c7, c24)) as agg409, max_by_union(max_by_state(c8, c24)) as agg410, max_by_union(max_by_state(c8, c24)) as agg411, max_by_union(max_by_state(c8, c24)) as agg412, max_by_union(max_by_state(c24, c24)) as agg413, max_by_union(max_by_state(c10, c24)) as agg414, max_by_union(max_by_state(c11, c24)) as agg415, max_by_union(max_by_state(c25, c24)) as agg416, max_by_union(max_by_state(c0, c10)) as agg417, max_by_union(max_by_state(c1, c10)) as agg418, max_by_union(max_by_state(c2, c10)) as agg419, max_by_union(max_by_state(c3, c10)) as agg420, max_by_union(max_by_state(c4, c10)) as agg421, max_by_union(max_by_state(c5, c10)) as agg422, max_by_union(max_by_state(c6, c10)) as agg423, max_by_union(max_by_state(c7, c10)) as agg424, max_by_union(max_by_state(c8, c10)) as agg425, max_by_union(max_by_state(c8, c10)) as agg426, max_by_union(max_by_state(c8, c10)) as agg427, max_by_union(max_by_state(c24, c10)) as agg428, max_by_union(max_by_state(c10, c10)) as agg429, max_by_union(max_by_state(c11, c10)) as agg430, max_by_union(max_by_state(c25, c10)) as agg431, max_by_union(max_by_state(c0, c11)) as agg432, max_by_union(max_by_state(c1, c11)) as agg433, max_by_union(max_by_state(c2, c11)) as agg434, max_by_union(max_by_state(c3, c11)) as agg435, max_by_union(max_by_state(c4, c11)) as agg436, max_by_union(max_by_state(c5, c11)) as agg437, max_by_union(max_by_state(c6, c11)) as agg438, max_by_union(max_by_state(c7, c11)) as agg439, max_by_union(max_by_state(c8, c11)) as agg440, max_by_union(max_by_state(c8, c11)) as agg441, max_by_union(max_by_state(c8, c11)) as agg442, max_by_union(max_by_state(c24, c11)) as agg443, max_by_union(max_by_state(c10, c11)) as agg444, max_by_union(max_by_state(c11, c11)) as agg445, max_by_union(max_by_state(c25, c11)) as agg446, min_by_union(min_by_state(c0, c0)) as agg447, min_by_union(min_by_state(c1, c0)) as agg448, min_by_union(min_by_state(c2, c0)) as agg449, min_by_union(min_by_state(c3, c0)) as agg450, min_by_union(min_by_state(c4, c0)) as agg451, min_by_union(min_by_state(c5, c0)) as agg452, min_by_union(min_by_state(c6, c0)) as agg453, min_by_union(min_by_state(c7, c0)) as agg454, min_by_union(min_by_state(c8, c0)) as agg455, min_by_union(min_by_state(c8, c0)) as agg456, min_by_union(min_by_state(c8, c0)) as agg457, min_by_union(min_by_state(c24, c0)) as agg458, min_by_union(min_by_state(c10, c0)) as agg459, min_by_union(min_by_state(c11, c0)) as agg460, min_by_union(min_by_state(c25, c0)) as agg461, min_by_union(min_by_state(c0, c1)) as agg462, min_by_union(min_by_state(c1, c1)) as agg463, min_by_union(min_by_state(c2, c1)) as agg464, min_by_union(min_by_state(c3, c1)) as agg465, min_by_union(min_by_state(c4, c1)) as agg466, min_by_union(min_by_state(c5, c1)) as agg467, min_by_union(min_by_state(c6, c1)) as agg468, min_by_union(min_by_state(c7, c1)) as agg469, min_by_union(min_by_state(c8, c1)) as agg470, min_by_union(min_by_state(c8, c1)) as agg471, min_by_union(min_by_state(c8, c1)) as agg472, min_by_union(min_by_state(c24, c1)) as agg473, min_by_union(min_by_state(c10, c1)) as agg474, min_by_union(min_by_state(c11, c1)) as agg475, min_by_union(min_by_state(c25, c1)) as agg476, min_by_union(min_by_state(c0, c2)) as agg477, min_by_union(min_by_state(c1, c2)) as agg478, min_by_union(min_by_state(c2, c2)) as agg479, min_by_union(min_by_state(c3, c2)) as agg480, min_by_union(min_by_state(c4, c2)) as agg481, min_by_union(min_by_state(c5, c2)) as agg482, min_by_union(min_by_state(c6, c2)) as agg483, min_by_union(min_by_state(c7, c2)) as agg484, min_by_union(min_by_state(c8, c2)) as agg485, min_by_union(min_by_state(c8, c2)) as agg486, min_by_union(min_by_state(c8, c2)) as agg487, min_by_union(min_by_state(c24, c2)) as agg488, min_by_union(min_by_state(c10, c2)) as agg489, min_by_union(min_by_state(c11, c2)) as agg490, min_by_union(min_by_state(c25, c2)) as agg491, min_by_union(min_by_state(c0, c3)) as agg492, min_by_union(min_by_state(c1, c3)) as agg493, min_by_union(min_by_state(c2, c3)) as agg494, min_by_union(min_by_state(c3, c3)) as agg495, min_by_union(min_by_state(c4, c3)) as agg496, min_by_union(min_by_state(c5, c3)) as agg497, min_by_union(min_by_state(c6, c3)) as agg498, min_by_union(min_by_state(c7, c3)) as agg499, min_by_union(min_by_state(c8, c3)) as agg500, min_by_union(min_by_state(c8, c3)) as agg501, min_by_union(min_by_state(c8, c3)) as agg502, min_by_union(min_by_state(c24, c3)) as agg503, min_by_union(min_by_state(c10, c3)) as agg504, min_by_union(min_by_state(c11, c3)) as agg505, min_by_union(min_by_state(c25, c3)) as agg506, min_by_union(min_by_state(c0, c4)) as agg507, min_by_union(min_by_state(c1, c4)) as agg508, min_by_union(min_by_state(c2, c4)) as agg509, min_by_union(min_by_state(c3, c4)) as agg510, min_by_union(min_by_state(c4, c4)) as agg511, min_by_union(min_by_state(c5, c4)) as agg512, min_by_union(min_by_state(c6, c4)) as agg513, min_by_union(min_by_state(c7, c4)) as agg514, min_by_union(min_by_state(c8, c4)) as agg515, min_by_union(min_by_state(c8, c4)) as agg516, min_by_union(min_by_state(c8, c4)) as agg517, min_by_union(min_by_state(c24, c4)) as agg518, min_by_union(min_by_state(c10, c4)) as agg519, min_by_union(min_by_state(c11, c4)) as agg520, min_by_union(min_by_state(c25, c4)) as agg521, min_by_union(min_by_state(c0, c5)) as agg522, min_by_union(min_by_state(c1, c5)) as agg523, min_by_union(min_by_state(c2, c5)) as agg524, min_by_union(min_by_state(c3, c5)) as agg525, min_by_union(min_by_state(c4, c5)) as agg526, min_by_union(min_by_state(c5, c5)) as agg527, min_by_union(min_by_state(c6, c5)) as agg528, min_by_union(min_by_state(c7, c5)) as agg529, min_by_union(min_by_state(c8, c5)) as agg530, min_by_union(min_by_state(c8, c5)) as agg531, min_by_union(min_by_state(c8, c5)) as agg532, min_by_union(min_by_state(c24, c5)) as agg533, min_by_union(min_by_state(c10, c5)) as agg534, min_by_union(min_by_state(c11, c5)) as agg535, min_by_union(min_by_state(c25, c5)) as agg536, min_by_union(min_by_state(c0, c6)) as agg537, min_by_union(min_by_state(c1, c6)) as agg538, min_by_union(min_by_state(c2, c6)) as agg539, min_by_union(min_by_state(c3, c6)) as agg540, min_by_union(min_by_state(c4, c6)) as agg541, min_by_union(min_by_state(c5, c6)) as agg542, min_by_union(min_by_state(c6, c6)) as agg543, min_by_union(min_by_state(c7, c6)) as agg544, min_by_union(min_by_state(c8, c6)) as agg545, min_by_union(min_by_state(c8, c6)) as agg546, min_by_union(min_by_state(c8, c6)) as agg547, min_by_union(min_by_state(c24, c6)) as agg548, min_by_union(min_by_state(c10, c6)) as agg549, min_by_union(min_by_state(c11, c6)) as agg550, min_by_union(min_by_state(c25, c6)) as agg551, min_by_union(min_by_state(c0, c7)) as agg552, min_by_union(min_by_state(c1, c7)) as agg553, min_by_union(min_by_state(c2, c7)) as agg554, min_by_union(min_by_state(c3, c7)) as agg555, min_by_union(min_by_state(c4, c7)) as agg556, min_by_union(min_by_state(c5, c7)) as agg557, min_by_union(min_by_state(c6, c7)) as agg558, min_by_union(min_by_state(c7, c7)) as agg559, min_by_union(min_by_state(c8, c7)) as agg560, min_by_union(min_by_state(c8, c7)) as agg561, min_by_union(min_by_state(c8, c7)) as agg562, min_by_union(min_by_state(c24, c7)) as agg563, min_by_union(min_by_state(c10, c7)) as agg564, min_by_union(min_by_state(c11, c7)) as agg565, min_by_union(min_by_state(c25, c7)) as agg566, min_by_union(min_by_state(c0, c8)) as agg567, min_by_union(min_by_state(c1, c8)) as agg568, min_by_union(min_by_state(c2, c8)) as agg569, min_by_union(min_by_state(c3, c8)) as agg570, min_by_union(min_by_state(c4, c8)) as agg571, min_by_union(min_by_state(c5, c8)) as agg572, min_by_union(min_by_state(c6, c8)) as agg573, min_by_union(min_by_state(c7, c8)) as agg574, min_by_union(min_by_state(c8, c8)) as agg575, min_by_union(min_by_state(c8, c8)) as agg576, min_by_union(min_by_state(c8, c8)) as agg577, min_by_union(min_by_state(c24, c8)) as agg578, min_by_union(min_by_state(c10, c8)) as agg579, min_by_union(min_by_state(c11, c8)) as agg580, min_by_union(min_by_state(c25, c8)) as agg581, min_by_union(min_by_state(c0, c8)) as agg582, min_by_union(min_by_state(c1, c8)) as agg583, min_by_union(min_by_state(c2, c8)) as agg584, min_by_union(min_by_state(c3, c8)) as agg585, min_by_union(min_by_state(c4, c8)) as agg586, min_by_union(min_by_state(c5, c8)) as agg587, min_by_union(min_by_state(c6, c8)) as agg588, min_by_union(min_by_state(c7, c8)) as agg589, min_by_union(min_by_state(c8, c8)) as agg590, min_by_union(min_by_state(c8, c8)) as agg591, min_by_union(min_by_state(c8, c8)) as agg592, min_by_union(min_by_state(c24, c8)) as agg593, min_by_union(min_by_state(c10, c8)) as agg594, min_by_union(min_by_state(c11, c8)) as agg595, min_by_union(min_by_state(c25, c8)) as agg596, min_by_union(min_by_state(c0, c8)) as agg597, min_by_union(min_by_state(c1, c8)) as agg598, min_by_union(min_by_state(c2, c8)) as agg599, min_by_union(min_by_state(c3, c8)) as agg600, min_by_union(min_by_state(c4, c8)) as agg601, min_by_union(min_by_state(c5, c8)) as agg602, min_by_union(min_by_state(c6, c8)) as agg603, min_by_union(min_by_state(c7, c8)) as agg604, min_by_union(min_by_state(c8, c8)) as agg605, min_by_union(min_by_state(c8, c8)) as agg606, min_by_union(min_by_state(c8, c8)) as agg607, min_by_union(min_by_state(c24, c8)) as agg608, min_by_union(min_by_state(c10, c8)) as agg609, min_by_union(min_by_state(c11, c8)) as agg610, min_by_union(min_by_state(c25, c8)) as agg611, min_by_union(min_by_state(c0, c24)) as agg612, min_by_union(min_by_state(c1, c24)) as agg613, min_by_union(min_by_state(c2, c24)) as agg614, min_by_union(min_by_state(c3, c24)) as agg615, min_by_union(min_by_state(c4, c24)) as agg616, min_by_union(min_by_state(c5, c24)) as agg617, min_by_union(min_by_state(c6, c24)) as agg618, min_by_union(min_by_state(c7, c24)) as agg619, min_by_union(min_by_state(c8, c24)) as agg620, min_by_union(min_by_state(c8, c24)) as agg621, min_by_union(min_by_state(c8, c24)) as agg622, min_by_union(min_by_state(c24, c24)) as agg623, min_by_union(min_by_state(c10, c24)) as agg624, min_by_union(min_by_state(c11, c24)) as agg625, min_by_union(min_by_state(c25, c24)) as agg626, min_by_union(min_by_state(c0, c10)) as agg627, min_by_union(min_by_state(c1, c10)) as agg628, min_by_union(min_by_state(c2, c10)) as agg629, min_by_union(min_by_state(c3, c10)) as agg630, min_by_union(min_by_state(c4, c10)) as agg631, min_by_union(min_by_state(c5, c10)) as agg632, min_by_union(min_by_state(c6, c10)) as agg633, min_by_union(min_by_state(c7, c10)) as agg634, min_by_union(min_by_state(c8, c10)) as agg635, min_by_union(min_by_state(c8, c10)) as agg636, min_by_union(min_by_state(c8, c10)) as agg637, min_by_union(min_by_state(c24, c10)) as agg638, min_by_union(min_by_state(c10, c10)) as agg639, min_by_union(min_by_state(c11, c10)) as agg640, min_by_union(min_by_state(c25, c10)) as agg641, min_by_union(min_by_state(c0, c11)) as agg642, min_by_union(min_by_state(c1, c11)) as agg643, min_by_union(min_by_state(c2, c11)) as agg644, min_by_union(min_by_state(c3, c11)) as agg645, min_by_union(min_by_state(c4, c11)) as agg646, min_by_union(min_by_state(c5, c11)) as agg647, min_by_union(min_by_state(c6, c11)) as agg648, min_by_union(min_by_state(c7, c11)) as agg649, min_by_union(min_by_state(c8, c11)) as agg650, min_by_union(min_by_state(c8, c11)) as agg651, min_by_union(min_by_state(c8, c11)) as agg652, min_by_union(min_by_state(c24, c11)) as agg653, min_by_union(min_by_state(c10, c11)) as agg654, min_by_union(min_by_state(c11, c11)) as agg655, min_by_union(min_by_state(c25, c11)) as agg656, variance_pop_union(variance_pop_state(c6)) as agg657, variance_pop_union(variance_pop_state(c7)) as agg658, variance_pop_union(variance_pop_state(c0)) as agg659, variance_pop_union(variance_pop_state(c1)) as agg660, variance_pop_union(variance_pop_state(c2)) as agg661, variance_pop_union(variance_pop_state(c3)) as agg662, variance_pop_union(variance_pop_state(c4)) as agg663, variance_pop_union(variance_pop_state(c5)) as agg664, avg_union(avg_state(c6)) as agg665, avg_union(avg_state(c7)) as agg666, avg_union(avg_state(c1)) as agg667, avg_union(avg_state(c2)) as agg668, avg_union(avg_state(c3)) as agg669, avg_union(avg_state(c4)) as agg670, avg_union(avg_state(c5)) as agg671, avg_union(avg_state(c8)) as agg672, avg_union(avg_state(c8)) as agg673, avg_union(avg_state(c8)) as agg674, any_value_union(any_value_state(c0)) as agg675, any_value_union(any_value_state(c1)) as agg676, any_value_union(any_value_state(c2)) as agg677, any_value_union(any_value_state(c3)) as agg678, any_value_union(any_value_state(c4)) as agg679, any_value_union(any_value_state(c5)) as agg680, any_value_union(any_value_state(c6)) as agg681, any_value_union(any_value_state(c7)) as agg682, any_value_union(any_value_state(c8)) as agg683, any_value_union(any_value_state(c8)) as agg684, any_value_union(any_value_state(c8)) as agg685, any_value_union(any_value_state(c24)) as agg686, any_value_union(any_value_state(c10)) as agg687, any_value_union(any_value_state(c11)) as agg688, any_value_union(any_value_state(c16)) as agg689, any_value_union(any_value_state(c27)) as agg690, any_value_union(any_value_state(c28)) as agg691, any_value_union(any_value_state(c25)) as agg692, any_value_union(any_value_state(c26)) as agg693, var_pop_union(var_pop_state(c6)) as agg694, var_pop_union(var_pop_state(c7)) as agg695, var_pop_union(var_pop_state(c0)) as agg696, var_pop_union(var_pop_state(c1)) as agg697, var_pop_union(var_pop_state(c2)) as agg698, var_pop_union(var_pop_state(c3)) as agg699, var_pop_union(var_pop_state(c4)) as agg700, var_pop_union(var_pop_state(c5)) as agg701, stddev_pop_union(stddev_pop_state(c6)) as agg702, stddev_pop_union(stddev_pop_state(c7)) as agg703, stddev_pop_union(stddev_pop_state(c0)) as agg704, stddev_pop_union(stddev_pop_state(c1)) as agg705, stddev_pop_union(stddev_pop_state(c2)) as agg706, stddev_pop_union(stddev_pop_state(c3)) as agg707, stddev_pop_union(stddev_pop_state(c4)) as agg708, stddev_pop_union(stddev_pop_state(c5)) as agg709, variance_samp_union(variance_samp_state(c6)) as agg710, variance_samp_union(variance_samp_state(c7)) as agg711, variance_samp_union(variance_samp_state(c0)) as agg712, variance_samp_union(variance_samp_state(c1)) as agg713, variance_samp_union(variance_samp_state(c2)) as agg714, variance_samp_union(variance_samp_state(c3)) as agg715, variance_samp_union(variance_samp_state(c4)) as agg716, variance_samp_union(variance_samp_state(c5)) as agg717, percentile_cont_union(percentile_cont_state(c10, 0.5)) as agg718, percentile_cont_union(percentile_cont_state(c11, 0.5)) as agg719, percentile_cont_union(percentile_cont_state(c6, 0.5)) as agg720, corr_union(corr_state(c6, c6)) as agg721, corr_union(corr_state(c7, c7)) as agg722, corr_union(corr_state(c0, c0)) as agg723, corr_union(corr_state(c1, c1)) as agg724, corr_union(corr_state(c2, c2)) as agg725, corr_union(corr_state(c3, c3)) as agg726, corr_union(corr_state(c4, c4)) as agg727, corr_union(corr_state(c5, c5)) as agg728, multi_distinct_sum_union(multi_distinct_sum_state(c6)) as agg729, multi_distinct_sum_union(multi_distinct_sum_state(c7)) as agg730, multi_distinct_sum_union(multi_distinct_sum_state(c0)) as agg731, multi_distinct_sum_union(multi_distinct_sum_state(c1)) as agg732, multi_distinct_sum_union(multi_distinct_sum_state(c2)) as agg733, multi_distinct_sum_union(multi_distinct_sum_state(c3)) as agg734, multi_distinct_sum_union(multi_distinct_sum_state(c4)) as agg735, multi_distinct_sum_union(multi_distinct_sum_state(c5)) as agg736, multi_distinct_sum_union(multi_distinct_sum_state(c8)) as agg737, multi_distinct_sum_union(multi_distinct_sum_state(c8)) as agg738, multi_distinct_sum_union(multi_distinct_sum_state(c8)) as agg739, var_samp_union(var_samp_state(c6)) as agg740, var_samp_union(var_samp_state(c7)) as agg741, var_samp_union(var_samp_state(c0)) as agg742, var_samp_union(var_samp_state(c1)) as agg743, var_samp_union(var_samp_state(c2)) as agg744, var_samp_union(var_samp_state(c3)) as agg745, var_samp_union(var_samp_state(c4)) as agg746, var_samp_union(var_samp_state(c5)) as agg747, bitmap_union_int_union(bitmap_union_int_state(c1)) as agg748, bitmap_union_int_union(bitmap_union_int_state(c2)) as agg749, bitmap_union_int_union(bitmap_union_int_state(c3)) as agg750, bitmap_union_int_union(bitmap_union_int_state(c4)) as agg751, variance_union(variance_state(c6)) as agg752, variance_union(variance_state(c7)) as agg753, variance_union(variance_state(c0)) as agg754, variance_union(variance_state(c1)) as agg755, variance_union(variance_state(c2)) as agg756, variance_union(variance_state(c3)) as agg757, variance_union(variance_state(c4)) as agg758, variance_union(variance_state(c5)) as agg759 from t1 group by k1; +function: wait_materialized_view_finish() + +select k1, percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1 group by k1; + +select percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1; + +INSERT INTO t1 VALUES +( + '2024-01-01', -- k1 + FALSE, -- c0 + 128, -- c1 + 32100, -- c2 + 2047483647, -- c3 + 9023372036854775807, -- c4 + 100141183460469231731687303715884105727, -- c5 (example large integer) + 123450.6789, -- c6 + 123450.67, -- c7 + 1230.45678901, -- c8 + 'a', -- c9 + '2024-01-01', -- c10 + '2024-01-01 13:34:56', -- c11 + [FALSE, FALSE, FALSE], -- c15 () + [1, 1, 127], -- c16 () + [100, 100, 32767], -- c17 () + [100000, 100000, 2147483647], -- c18 () + [10000000000, 10000000000, 9223372036854775807], -- c19 () + [12345678901234567890, 12345678901234567890, 170141183460469231731687303715884105727], -- c20 () + [1.23, 4.56, 7.89], -- c21 () + [1.23, 4.56, 7.89], -- c22 () + [1.23456789, 2.34567890, 3.45678901], -- c23 () + ['abc', 'def', 'ghi'], -- c24 () + ['2024-01-01', '2024-01-02'], -- c25 () + ['2024-01-01 12:34:56', '2024-01-02 12:34:56'], -- c26 () + 'ExampleVarcharData', -- c12 + '{"key": "value"}', -- c13 (JSON data) + x'4D7956617262696E61727944617461', -- c14 (VARBINARY data in hexadecimal format) + MAP{'key1':'value1', 'key2':'value2'}, -- c27 (map) + row('val1'), -- c28 (struct>) + ['str1', 'str2', 'str3'] -- c29 () +),( + '2024-01-01', -- k1 + NULL, -- c0 + NULL, -- c1 + NULL, -- c2 + NULL, -- c3 + NULL, -- c4 + NULL, -- c5 (example large integer) + NULL, -- c6 + NULL, -- c7 + NULL, -- c8 + NULL, -- c9 + NULL, -- c10 + NULL, -- c11 + NULL, -- c15 () + NULL, -- c16 () + NULL, -- c17 () + NULL, -- c18 () + NULL, -- c19 () + NULL, -- c20 () + NULL, -- c21 () + NULL, -- c22 () + NULL, -- c23 () + NULL, -- c24 () + NULL, -- c25 () + NULL, -- c26 () + NULL, -- c12 + NULL, -- c13 (JSON data) + NULL, -- c14 (VARBINARY data in hexadecimal format) + NULL, -- c27 (map) + NULL, -- c28 (struct>) + NULL -- c29 () +); + +function: check_hit_materialized_view("select k1, percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1 group by k1", "test_mv1") + +function: check_hit_materialized_view("select percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1 group by k1") + +select k1, percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1 group by k1; + +select percentile_approx(c6, 0.5) as agg14, percentile_approx(c6, 0.5) as agg15, covar_pop(c6, c6) as agg16, covar_pop(c7, c7) as agg17, covar_pop(c0, c0) as agg18, covar_pop(c1, c1) as agg19, covar_pop(c2, c2) as agg20, covar_pop(c3, c3) as agg21, covar_pop(c4, c4) as agg22, covar_pop(c5, c5) as agg23, count(c0) as agg24, count(c1) as agg25, count(c2) as agg26, count(c3) as agg27, count(c4) as agg28, count(c5) as agg29, count(c6) as agg30, count(c7) as agg31, count(c8) as agg32, count(c8) as agg33, count(c8) as agg34, count(c24) as agg35, count(c10) as agg36, count(c11) as agg37, count(c16) as agg38, count(c27) as agg39, count(c28) as agg40, count(c25) as agg41, count(c26) as agg42, array_unique_agg(c12) as agg43, array_unique_agg(c13) as agg44, array_unique_agg(c14) as agg45, array_unique_agg(c15) as agg46, array_unique_agg(c16) as agg47, array_unique_agg(c17) as agg48, array_unique_agg(c18) as agg49, array_unique_agg(c19) as agg50, array_unique_agg(c20) as agg51, array_unique_agg(c20) as agg52, array_unique_agg(c20) as agg53, array_unique_agg(c20) as agg54, array_unique_agg(c21) as agg55, array_unique_agg(c22) as agg56, array_unique_agg(c23) as agg57, percentile_disc(c0, 0.5) as agg58, percentile_disc(c1, 0.5) as agg59, percentile_disc(c2, 0.5) as agg60, percentile_disc(c3, 0.5) as agg61, percentile_disc(c4, 0.5) as agg62, percentile_disc(c5, 0.5) as agg63, percentile_disc(c8, 0.5) as agg64, percentile_disc(c8, 0.5) as agg65, percentile_disc(c8, 0.5) as agg66, percentile_disc(c9, 0.5) as agg67, percentile_disc(c10, 0.5) as agg68, percentile_disc(c11, 0.5) as agg69, percentile_disc(c6, 0.5) as agg70, percentile_disc(c7, 0.5) as agg71, multi_distinct_count(c0) as agg72, multi_distinct_count(c1) as agg73, multi_distinct_count(c2) as agg74, multi_distinct_count(c3) as agg75, multi_distinct_count(c4) as agg76, multi_distinct_count(c5) as agg77, multi_distinct_count(c6) as agg78, multi_distinct_count(c7) as agg79, multi_distinct_count(c8) as agg80, multi_distinct_count(c8) as agg81, multi_distinct_count(c8) as agg82, multi_distinct_count(c9) as agg83, multi_distinct_count(c10) as agg84, multi_distinct_count(c11) as agg85, array_agg(c24) as agg86, stddev_samp(c6) as agg87, stddev_samp(c7) as agg88, stddev_samp(c0) as agg89, stddev_samp(c1) as agg90, stddev_samp(c2) as agg91, stddev_samp(c3) as agg92, stddev_samp(c4) as agg93, stddev_samp(c5) as agg94, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg95, mann_whitney_u_test(c6, c0, 'less') as agg96, mann_whitney_u_test(c6, c0, 'two-sided', 0) as agg97, max(c0) as agg98, max(c1) as agg99, max(c2) as agg100, max(c3) as agg101, max(c4) as agg102, max(c5) as agg103, max(c6) as agg104, max(c7) as agg105, max(c8) as agg106, max(c8) as agg107, max(c8) as agg108, max(c24) as agg109, max(c10) as agg110, max(c11) as agg111, ds_hll_count_distinct(c0, 18, 'hll_6') as agg112, ds_hll_count_distinct(c0, 18) as agg113, ds_hll_count_distinct(c0, 18, 'hll_6') as agg114, ds_hll_count_distinct(c1, 18, 'hll_6') as agg115, ds_hll_count_distinct(c1, 18) as agg116, ds_hll_count_distinct(c1, 18, 'hll_6') as agg117, ds_hll_count_distinct(c2, 18, 'hll_6') as agg118, ds_hll_count_distinct(c2, 18) as agg119, ds_hll_count_distinct(c2, 18, 'hll_6') as agg120, ds_hll_count_distinct(c3, 18, 'hll_6') as agg121, ds_hll_count_distinct(c3, 18) as agg122, ds_hll_count_distinct(c3, 18, 'hll_6') as agg123, ds_hll_count_distinct(c4, 18, 'hll_6') as agg124, ds_hll_count_distinct(c4, 18) as agg125, ds_hll_count_distinct(c4, 18, 'hll_6') as agg126, ds_hll_count_distinct(c5, 18, 'hll_6') as agg127, ds_hll_count_distinct(c5, 18) as agg128, ds_hll_count_distinct(c5, 18, 'hll_6') as agg129, ds_hll_count_distinct(c6, 18, 'hll_6') as agg130, ds_hll_count_distinct(c6, 18) as agg131, ds_hll_count_distinct(c6, 18, 'hll_6') as agg132, ds_hll_count_distinct(c7, 18, 'hll_6') as agg133, ds_hll_count_distinct(c7, 18) as agg134, ds_hll_count_distinct(c7, 18, 'hll_6') as agg135, ds_hll_count_distinct(c8, 18, 'hll_6') as agg136, ds_hll_count_distinct(c8, 18) as agg137, ds_hll_count_distinct(c8, 18, 'hll_6') as agg138, ds_hll_count_distinct(c8, 18, 'hll_6') as agg139, ds_hll_count_distinct(c8, 18) as agg140, ds_hll_count_distinct(c8, 18, 'hll_6') as agg141, ds_hll_count_distinct(c8, 18, 'hll_6') as agg142, ds_hll_count_distinct(c8, 18) as agg143, ds_hll_count_distinct(c8, 18, 'hll_6') as agg144, ds_hll_count_distinct(c24, 18, 'hll_6') as agg145, ds_hll_count_distinct(c24, 18) as agg146, ds_hll_count_distinct(c24, 18, 'hll_6') as agg147, ds_hll_count_distinct(c10, 18, 'hll_6') as agg148, ds_hll_count_distinct(c10, 18) as agg149, ds_hll_count_distinct(c10, 18, 'hll_6') as agg150, ds_hll_count_distinct(c11, 18, 'hll_6') as agg151, ds_hll_count_distinct(c11, 18) as agg152, ds_hll_count_distinct(c11, 18, 'hll_6') as agg153, ndv(c0) as agg154, ndv(c1) as agg155, ndv(c2) as agg156, ndv(c3) as agg157, ndv(c4) as agg158, ndv(c5) as agg159, ndv(c6) as agg160, ndv(c7) as agg161, ndv(c8) as agg162, ndv(c8) as agg163, ndv(c8) as agg164, ndv(c24) as agg165, ndv(c10) as agg166, ndv(c11) as agg167, stddev(c6) as agg168, stddev(c7) as agg169, stddev(c0) as agg170, stddev(c1) as agg171, stddev(c2) as agg172, stddev(c3) as agg173, stddev(c4) as agg174, stddev(c5) as agg175, covar_samp(c6, c6) as agg176, covar_samp(c7, c7) as agg177, covar_samp(c0, c0) as agg178, covar_samp(c1, c1) as agg179, covar_samp(c2, c2) as agg180, covar_samp(c3, c3) as agg181, covar_samp(c4, c4) as agg182, covar_samp(c5, c5) as agg183, bitmap_agg(c4) as agg184, bitmap_agg(c5) as agg185, bitmap_agg(c3) as agg186, bitmap_agg(c2) as agg187, bitmap_agg(c1) as agg188, bitmap_agg(c0) as agg189, std(c6) as agg190, std(c7) as agg191, std(c0) as agg192, std(c1) as agg193, std(c2) as agg194, std(c3) as agg195, std(c4) as agg196, std(c5) as agg197, sum(c6) as agg198, sum(c7) as agg199, sum(c1) as agg200, sum(c2) as agg201, sum(c3) as agg202, sum(c4) as agg203, sum(c5) as agg204, sum(c8) as agg205, sum(c8) as agg206, sum(c8) as agg207, approx_count_distinct(c0) as agg208, approx_count_distinct(c1) as agg209, approx_count_distinct(c2) as agg210, approx_count_distinct(c3) as agg211, approx_count_distinct(c4) as agg212, approx_count_distinct(c5) as agg213, approx_count_distinct(c6) as agg214, approx_count_distinct(c7) as agg215, approx_count_distinct(c8) as agg216, approx_count_distinct(c8) as agg217, approx_count_distinct(c8) as agg218, approx_count_distinct(c24) as agg219, approx_count_distinct(c10) as agg220, approx_count_distinct(c11) as agg221, min(c0) as agg222, min(c1) as agg223, min(c2) as agg224, min(c3) as agg225, min(c4) as agg226, min(c5) as agg227, min(c6) as agg228, min(c7) as agg229, min(c8) as agg230, min(c8) as agg231, min(c8) as agg232, min(c24) as agg233, min(c10) as agg234, min(c11) as agg235, retention(c12) as agg236, max_by(c0, c0) as agg237, max_by(c1, c0) as agg238, max_by(c2, c0) as agg239, max_by(c3, c0) as agg240, max_by(c4, c0) as agg241, max_by(c5, c0) as agg242, max_by(c6, c0) as agg243, max_by(c7, c0) as agg244, max_by(c8, c0) as agg245, max_by(c8, c0) as agg246, max_by(c8, c0) as agg247, max_by(c24, c0) as agg248, max_by(c10, c0) as agg249, max_by(c11, c0) as agg250, max_by(c25, c0) as agg251, max_by(c0, c1) as agg252, max_by(c1, c1) as agg253, max_by(c2, c1) as agg254, max_by(c3, c1) as agg255, max_by(c4, c1) as agg256, max_by(c5, c1) as agg257, max_by(c6, c1) as agg258, max_by(c7, c1) as agg259, max_by(c8, c1) as agg260, max_by(c8, c1) as agg261, max_by(c8, c1) as agg262, max_by(c24, c1) as agg263, max_by(c10, c1) as agg264, max_by(c11, c1) as agg265, max_by(c25, c1) as agg266, max_by(c0, c2) as agg267, max_by(c1, c2) as agg268, max_by(c2, c2) as agg269, max_by(c3, c2) as agg270, max_by(c4, c2) as agg271, max_by(c5, c2) as agg272, max_by(c6, c2) as agg273, max_by(c7, c2) as agg274, max_by(c8, c2) as agg275, max_by(c8, c2) as agg276, max_by(c8, c2) as agg277, max_by(c24, c2) as agg278, max_by(c10, c2) as agg279, max_by(c11, c2) as agg280, max_by(c25, c2) as agg281, max_by(c0, c3) as agg282, max_by(c1, c3) as agg283, max_by(c2, c3) as agg284, max_by(c3, c3) as agg285, max_by(c4, c3) as agg286, max_by(c5, c3) as agg287, max_by(c6, c3) as agg288, max_by(c7, c3) as agg289, max_by(c8, c3) as agg290, max_by(c8, c3) as agg291, max_by(c8, c3) as agg292, max_by(c24, c3) as agg293, max_by(c10, c3) as agg294, max_by(c11, c3) as agg295, max_by(c25, c3) as agg296, max_by(c0, c4) as agg297, max_by(c1, c4) as agg298, max_by(c2, c4) as agg299, max_by(c3, c4) as agg300, max_by(c4, c4) as agg301, max_by(c5, c4) as agg302, max_by(c6, c4) as agg303, max_by(c7, c4) as agg304, max_by(c8, c4) as agg305, max_by(c8, c4) as agg306, max_by(c8, c4) as agg307, max_by(c24, c4) as agg308, max_by(c10, c4) as agg309, max_by(c11, c4) as agg310, max_by(c25, c4) as agg311, max_by(c0, c5) as agg312, max_by(c1, c5) as agg313, max_by(c2, c5) as agg314, max_by(c3, c5) as agg315, max_by(c4, c5) as agg316, max_by(c5, c5) as agg317, max_by(c6, c5) as agg318, max_by(c7, c5) as agg319, max_by(c8, c5) as agg320, max_by(c8, c5) as agg321, max_by(c8, c5) as agg322, max_by(c24, c5) as agg323, max_by(c10, c5) as agg324, max_by(c11, c5) as agg325, max_by(c25, c5) as agg326, max_by(c0, c6) as agg327, max_by(c1, c6) as agg328, max_by(c2, c6) as agg329, max_by(c3, c6) as agg330, max_by(c4, c6) as agg331, max_by(c5, c6) as agg332, max_by(c6, c6) as agg333, max_by(c7, c6) as agg334, max_by(c8, c6) as agg335, max_by(c8, c6) as agg336, max_by(c8, c6) as agg337, max_by(c24, c6) as agg338, max_by(c10, c6) as agg339, max_by(c11, c6) as agg340, max_by(c25, c6) as agg341, max_by(c0, c7) as agg342, max_by(c1, c7) as agg343, max_by(c2, c7) as agg344, max_by(c3, c7) as agg345, max_by(c4, c7) as agg346, max_by(c5, c7) as agg347, max_by(c6, c7) as agg348, max_by(c7, c7) as agg349, max_by(c8, c7) as agg350, max_by(c8, c7) as agg351, max_by(c8, c7) as agg352, max_by(c24, c7) as agg353, max_by(c10, c7) as agg354, max_by(c11, c7) as agg355, max_by(c25, c7) as agg356, max_by(c0, c8) as agg357, max_by(c1, c8) as agg358, max_by(c2, c8) as agg359, max_by(c3, c8) as agg360, max_by(c4, c8) as agg361, max_by(c5, c8) as agg362, max_by(c6, c8) as agg363, max_by(c7, c8) as agg364, max_by(c8, c8) as agg365, max_by(c8, c8) as agg366, max_by(c8, c8) as agg367, max_by(c24, c8) as agg368, max_by(c10, c8) as agg369, max_by(c11, c8) as agg370, max_by(c25, c8) as agg371, max_by(c0, c8) as agg372, max_by(c1, c8) as agg373, max_by(c2, c8) as agg374, max_by(c3, c8) as agg375, max_by(c4, c8) as agg376, max_by(c5, c8) as agg377, max_by(c6, c8) as agg378, max_by(c7, c8) as agg379, max_by(c8, c8) as agg380, max_by(c8, c8) as agg381, max_by(c8, c8) as agg382, max_by(c24, c8) as agg383, max_by(c10, c8) as agg384, max_by(c11, c8) as agg385, max_by(c25, c8) as agg386, max_by(c0, c8) as agg387, max_by(c1, c8) as agg388, max_by(c2, c8) as agg389, max_by(c3, c8) as agg390, max_by(c4, c8) as agg391, max_by(c5, c8) as agg392, max_by(c6, c8) as agg393, max_by(c7, c8) as agg394, max_by(c8, c8) as agg395, max_by(c8, c8) as agg396, max_by(c8, c8) as agg397, max_by(c24, c8) as agg398, max_by(c10, c8) as agg399, max_by(c11, c8) as agg400, max_by(c25, c8) as agg401, max_by(c0, c24) as agg402, max_by(c1, c24) as agg403, max_by(c2, c24) as agg404, max_by(c3, c24) as agg405, max_by(c4, c24) as agg406, max_by(c5, c24) as agg407, max_by(c6, c24) as agg408, max_by(c7, c24) as agg409, max_by(c8, c24) as agg410, max_by(c8, c24) as agg411, max_by(c8, c24) as agg412, max_by(c24, c24) as agg413, max_by(c10, c24) as agg414, max_by(c11, c24) as agg415, max_by(c25, c24) as agg416, max_by(c0, c10) as agg417, max_by(c1, c10) as agg418, max_by(c2, c10) as agg419, max_by(c3, c10) as agg420, max_by(c4, c10) as agg421, max_by(c5, c10) as agg422, max_by(c6, c10) as agg423, max_by(c7, c10) as agg424, max_by(c8, c10) as agg425, max_by(c8, c10) as agg426, max_by(c8, c10) as agg427, max_by(c24, c10) as agg428, max_by(c10, c10) as agg429, max_by(c11, c10) as agg430, max_by(c25, c10) as agg431, max_by(c0, c11) as agg432, max_by(c1, c11) as agg433, max_by(c2, c11) as agg434, max_by(c3, c11) as agg435, max_by(c4, c11) as agg436, max_by(c5, c11) as agg437, max_by(c6, c11) as agg438, max_by(c7, c11) as agg439, max_by(c8, c11) as agg440, max_by(c8, c11) as agg441, max_by(c8, c11) as agg442, max_by(c24, c11) as agg443, max_by(c10, c11) as agg444, max_by(c11, c11) as agg445, max_by(c25, c11) as agg446, min_by(c0, c0) as agg447, min_by(c1, c0) as agg448, min_by(c2, c0) as agg449, min_by(c3, c0) as agg450, min_by(c4, c0) as agg451, min_by(c5, c0) as agg452, min_by(c6, c0) as agg453, min_by(c7, c0) as agg454, min_by(c8, c0) as agg455, min_by(c8, c0) as agg456, min_by(c8, c0) as agg457, min_by(c24, c0) as agg458, min_by(c10, c0) as agg459, min_by(c11, c0) as agg460, min_by(c25, c0) as agg461, min_by(c0, c1) as agg462, min_by(c1, c1) as agg463, min_by(c2, c1) as agg464, min_by(c3, c1) as agg465, min_by(c4, c1) as agg466, min_by(c5, c1) as agg467, min_by(c6, c1) as agg468, min_by(c7, c1) as agg469, min_by(c8, c1) as agg470, min_by(c8, c1) as agg471, min_by(c8, c1) as agg472, min_by(c24, c1) as agg473, min_by(c10, c1) as agg474, min_by(c11, c1) as agg475, min_by(c25, c1) as agg476, min_by(c0, c2) as agg477, min_by(c1, c2) as agg478, min_by(c2, c2) as agg479, min_by(c3, c2) as agg480, min_by(c4, c2) as agg481, min_by(c5, c2) as agg482, min_by(c6, c2) as agg483, min_by(c7, c2) as agg484, min_by(c8, c2) as agg485, min_by(c8, c2) as agg486, min_by(c8, c2) as agg487, min_by(c24, c2) as agg488, min_by(c10, c2) as agg489, min_by(c11, c2) as agg490, min_by(c25, c2) as agg491, min_by(c0, c3) as agg492, min_by(c1, c3) as agg493, min_by(c2, c3) as agg494, min_by(c3, c3) as agg495, min_by(c4, c3) as agg496, min_by(c5, c3) as agg497, min_by(c6, c3) as agg498, min_by(c7, c3) as agg499, min_by(c8, c3) as agg500, min_by(c8, c3) as agg501, min_by(c8, c3) as agg502, min_by(c24, c3) as agg503, min_by(c10, c3) as agg504, min_by(c11, c3) as agg505, min_by(c25, c3) as agg506, min_by(c0, c4) as agg507, min_by(c1, c4) as agg508, min_by(c2, c4) as agg509, min_by(c3, c4) as agg510, min_by(c4, c4) as agg511, min_by(c5, c4) as agg512, min_by(c6, c4) as agg513, min_by(c7, c4) as agg514, min_by(c8, c4) as agg515, min_by(c8, c4) as agg516, min_by(c8, c4) as agg517, min_by(c24, c4) as agg518, min_by(c10, c4) as agg519, min_by(c11, c4) as agg520, min_by(c25, c4) as agg521, min_by(c0, c5) as agg522, min_by(c1, c5) as agg523, min_by(c2, c5) as agg524, min_by(c3, c5) as agg525, min_by(c4, c5) as agg526, min_by(c5, c5) as agg527, min_by(c6, c5) as agg528, min_by(c7, c5) as agg529, min_by(c8, c5) as agg530, min_by(c8, c5) as agg531, min_by(c8, c5) as agg532, min_by(c24, c5) as agg533, min_by(c10, c5) as agg534, min_by(c11, c5) as agg535, min_by(c25, c5) as agg536, min_by(c0, c6) as agg537, min_by(c1, c6) as agg538, min_by(c2, c6) as agg539, min_by(c3, c6) as agg540, min_by(c4, c6) as agg541, min_by(c5, c6) as agg542, min_by(c6, c6) as agg543, min_by(c7, c6) as agg544, min_by(c8, c6) as agg545, min_by(c8, c6) as agg546, min_by(c8, c6) as agg547, min_by(c24, c6) as agg548, min_by(c10, c6) as agg549, min_by(c11, c6) as agg550, min_by(c25, c6) as agg551, min_by(c0, c7) as agg552, min_by(c1, c7) as agg553, min_by(c2, c7) as agg554, min_by(c3, c7) as agg555, min_by(c4, c7) as agg556, min_by(c5, c7) as agg557, min_by(c6, c7) as agg558, min_by(c7, c7) as agg559, min_by(c8, c7) as agg560, min_by(c8, c7) as agg561, min_by(c8, c7) as agg562, min_by(c24, c7) as agg563, min_by(c10, c7) as agg564, min_by(c11, c7) as agg565, min_by(c25, c7) as agg566, min_by(c0, c8) as agg567, min_by(c1, c8) as agg568, min_by(c2, c8) as agg569, min_by(c3, c8) as agg570, min_by(c4, c8) as agg571, min_by(c5, c8) as agg572, min_by(c6, c8) as agg573, min_by(c7, c8) as agg574, min_by(c8, c8) as agg575, min_by(c8, c8) as agg576, min_by(c8, c8) as agg577, min_by(c24, c8) as agg578, min_by(c10, c8) as agg579, min_by(c11, c8) as agg580, min_by(c25, c8) as agg581, min_by(c0, c8) as agg582, min_by(c1, c8) as agg583, min_by(c2, c8) as agg584, min_by(c3, c8) as agg585, min_by(c4, c8) as agg586, min_by(c5, c8) as agg587, min_by(c6, c8) as agg588, min_by(c7, c8) as agg589, min_by(c8, c8) as agg590, min_by(c8, c8) as agg591, min_by(c8, c8) as agg592, min_by(c24, c8) as agg593, min_by(c10, c8) as agg594, min_by(c11, c8) as agg595, min_by(c25, c8) as agg596, min_by(c0, c8) as agg597, min_by(c1, c8) as agg598, min_by(c2, c8) as agg599, min_by(c3, c8) as agg600, min_by(c4, c8) as agg601, min_by(c5, c8) as agg602, min_by(c6, c8) as agg603, min_by(c7, c8) as agg604, min_by(c8, c8) as agg605, min_by(c8, c8) as agg606, min_by(c8, c8) as agg607, min_by(c24, c8) as agg608, min_by(c10, c8) as agg609, min_by(c11, c8) as agg610, min_by(c25, c8) as agg611, min_by(c0, c24) as agg612, min_by(c1, c24) as agg613, min_by(c2, c24) as agg614, min_by(c3, c24) as agg615, min_by(c4, c24) as agg616, min_by(c5, c24) as agg617, min_by(c6, c24) as agg618, min_by(c7, c24) as agg619, min_by(c8, c24) as agg620, min_by(c8, c24) as agg621, min_by(c8, c24) as agg622, min_by(c24, c24) as agg623, min_by(c10, c24) as agg624, min_by(c11, c24) as agg625, min_by(c25, c24) as agg626, min_by(c0, c10) as agg627, min_by(c1, c10) as agg628, min_by(c2, c10) as agg629, min_by(c3, c10) as agg630, min_by(c4, c10) as agg631, min_by(c5, c10) as agg632, min_by(c6, c10) as agg633, min_by(c7, c10) as agg634, min_by(c8, c10) as agg635, min_by(c8, c10) as agg636, min_by(c8, c10) as agg637, min_by(c24, c10) as agg638, min_by(c10, c10) as agg639, min_by(c11, c10) as agg640, min_by(c25, c10) as agg641, min_by(c0, c11) as agg642, min_by(c1, c11) as agg643, min_by(c2, c11) as agg644, min_by(c3, c11) as agg645, min_by(c4, c11) as agg646, min_by(c5, c11) as agg647, min_by(c6, c11) as agg648, min_by(c7, c11) as agg649, min_by(c8, c11) as agg650, min_by(c8, c11) as agg651, min_by(c8, c11) as agg652, min_by(c24, c11) as agg653, min_by(c10, c11) as agg654, min_by(c11, c11) as agg655, min_by(c25, c11) as agg656, variance_pop(c6) as agg657, variance_pop(c7) as agg658, variance_pop(c0) as agg659, variance_pop(c1) as agg660, variance_pop(c2) as agg661, variance_pop(c3) as agg662, variance_pop(c4) as agg663, variance_pop(c5) as agg664, avg(c6) as agg665, avg(c7) as agg666, avg(c1) as agg667, avg(c2) as agg668, avg(c3) as agg669, avg(c4) as agg670, avg(c5) as agg671, avg(c8) as agg672, avg(c8) as agg673, avg(c8) as agg674, any_value(c0) as agg675, any_value(c1) as agg676, any_value(c2) as agg677, any_value(c3) as agg678, any_value(c4) as agg679, any_value(c5) as agg680, any_value(c6) as agg681, any_value(c7) as agg682, any_value(c8) as agg683, any_value(c8) as agg684, any_value(c8) as agg685, any_value(c24) as agg686, any_value(c10) as agg687, any_value(c11) as agg688, any_value(c16) as agg689, any_value(c27) as agg690, any_value(c28) as agg691, any_value(c25) as agg692, any_value(c26) as agg693, var_pop(c6) as agg694, var_pop(c7) as agg695, var_pop(c0) as agg696, var_pop(c1) as agg697, var_pop(c2) as agg698, var_pop(c3) as agg699, var_pop(c4) as agg700, var_pop(c5) as agg701, stddev_pop(c6) as agg702, stddev_pop(c7) as agg703, stddev_pop(c0) as agg704, stddev_pop(c1) as agg705, stddev_pop(c2) as agg706, stddev_pop(c3) as agg707, stddev_pop(c4) as agg708, stddev_pop(c5) as agg709, variance_samp(c6) as agg710, variance_samp(c7) as agg711, variance_samp(c0) as agg712, variance_samp(c1) as agg713, variance_samp(c2) as agg714, variance_samp(c3) as agg715, variance_samp(c4) as agg716, variance_samp(c5) as agg717, percentile_cont(c10, 0.5) as agg718, percentile_cont(c11, 0.5) as agg719, percentile_cont(c6, 0.5) as agg720, corr(c6, c6) as agg721, corr(c7, c7) as agg722, corr(c0, c0) as agg723, corr(c1, c1) as agg724, corr(c2, c2) as agg725, corr(c3, c3) as agg726, corr(c4, c4) as agg727, corr(c5, c5) as agg728, multi_distinct_sum(c6) as agg729, multi_distinct_sum(c7) as agg730, multi_distinct_sum(c0) as agg731, multi_distinct_sum(c1) as agg732, multi_distinct_sum(c2) as agg733, multi_distinct_sum(c3) as agg734, multi_distinct_sum(c4) as agg735, multi_distinct_sum(c5) as agg736, multi_distinct_sum(c8) as agg737, multi_distinct_sum(c8) as agg738, multi_distinct_sum(c8) as agg739, var_samp(c6) as agg740, var_samp(c7) as agg741, var_samp(c0) as agg742, var_samp(c1) as agg743, var_samp(c2) as agg744, var_samp(c3) as agg745, var_samp(c4) as agg746, var_samp(c5) as agg747, bitmap_union_int(c1) as agg748, bitmap_union_int(c2) as agg749, bitmap_union_int(c3) as agg750, bitmap_union_int(c4) as agg751, variance(c6) as agg752, variance(c7) as agg753, variance(c0) as agg754, variance(c1) as agg755, variance(c2) as agg756, variance(c3) as agg757, variance(c4) as agg758, variance(c5) as agg759 from t1; \ No newline at end of file