[Feature](vec)(quantile_state): support quantile state in vectorized engine (#16562)
* [Feature](vectorized)(quantile_state): support vectorized quantile state functions 1. now quantile column only support not nullable 2. add up some regression test cases 3. set default enable_quantile_state_type = true --------- Co-authored-by: spaces-x <weixiang06@meituan.com>
This commit is contained in:
@ -638,6 +638,9 @@ public class CreateFunctionStmt extends DdlStmt {
|
||||
case BITMAP:
|
||||
typeBuilder.setId(Types.PGenericType.TypeId.BITMAP);
|
||||
break;
|
||||
case QUANTILE_STATE:
|
||||
typeBuilder.setId(Types.PGenericType.TypeId.QUANTILE_STATE);
|
||||
break;
|
||||
case DATE:
|
||||
typeBuilder.setId(Types.PGenericType.TypeId.DATE);
|
||||
break;
|
||||
|
||||
@ -872,7 +872,6 @@ public class FunctionCallExpr extends Expr {
|
||||
if (!getChild(1).isConstant()) {
|
||||
throw new AnalysisException(fnName + "function's second argument should be constant");
|
||||
}
|
||||
throw new AnalysisException(fnName + "not support on vectorized engine now.");
|
||||
}
|
||||
|
||||
if ((fnName.getFunction().equalsIgnoreCase("HLL_UNION_AGG")
|
||||
|
||||
Reference in New Issue
Block a user