Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expression:implement vectorized evaluation for builtinExtractDurationSig #13489

Merged
merged 15 commits into from
Dec 20, 2019
Prev Previous commit
Next Next commit
fix bug
  • Loading branch information
icditwang committed Nov 20, 2019
commit 7a91f3f6d84c7933620cca164f71d99603829c53
2 changes: 1 addition & 1 deletion expression/builtin_time_vec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ var vecBuiltinTimeCases = map[string][]vecExprBenchCase{
ast.MakeTime: {},
ast.Extract: {
{retEvalType: types.ETInt, childrenTypes: []types.EvalType{types.ETString, types.ETDuration},
constants: []*Constant{&Constant{Value: types.NewStringDatum("test"), RetType: types.NewFieldType(mysql.TypeString)}},
constants: []*Constant{&Constant{Value: types.NewStringDatum("SECOND"), RetType: types.NewFieldType(mysql.TypeString)}},
},
},
ast.PeriodAdd: {
Expand Down