Repository navigation
Merge main to branch - #18325
Merged
ouyuanning merged 4 commits intoAug 26, 2024
Merged
Merge main to branch#18325ouyuanning merged 4 commits into
ouyuanning merged 4 commits into
Conversation
…gin#18320) support stats calculation for decimal and timestamp column Approved by: @aunjgr
…xorigin#18321) 对于ap query,过去有个逻辑是在运行时动态决定并发度。但是这样会导致ap pipeline必须频繁打断。 现在先移除这个逻辑,方便后续重构ap pipeline Approved by: @ouyuanning, @triump2020, @m-schen
1. 将go版本从1.22.3升级到1.23.0 2. 升级golangci-lint版本以支持go 1.23.0,并更新其配置文件 3. 修复sca中printf相关问题。 3.1. 修复某些错误的调用,例如:`logutil.Infof` --> `logutil.Info` 3.2. 防止在生成error是错误的将message作为`fmt.Sprintf`函数的format,从而导致生成不可预期的字符串,具体如下 - 将moerr包中`NewXxxx(ctx context.Context, msg string, args ...any)`的相关函数修改为`NewXxxxf(ctx context.Context, msg string, args ...any)`以及`NewXxxx(ctx context.Context, msg string)` - 将moerr包中`NewXxxxNoCtx(msg string, args ...any)`的相关函数修改为`NewXxxxNoCtxf(msg string, args ...any)`以及`NewXxxxNoCtx(msg string)` 5. go在1.22之后修复了forrange中loopvar的问题,现已不需要在循环中覆盖,故删除相关的代码matrixorigin@8bc380f 6. 删除了某些重复的判断matrixorigin@8bc380f 7. 修复了nilness相关的问题,具体可参考ref 8. 修复了部分shadow的问题,但是有一些无法确定,故没有修改,且在sca中暂时disable 9. 修复了一些因为错误使用`fmt.Sprintf`导致的错误的bvt result matrixorigin@a8ad671 matrixorigin@76c748b 10. 目前govet中disable的检查项有`fieldalignment`,`shadow`,`unusedwrite` Ref: 1. https://go.dev/blog/loopvar-preview 2. https://staticcheck.dev/docs/checks#S1009 3. https://staticcheck.dev/docs/checks#S1008 5. https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/nilness Approved by: @daviszhen, @reusee, @zhangxu19830126, @badboynt1, @triump2020, @xzxiong, @m-schen, @jiangxinmeng1, @aptend, @qingxinhome, @fengttt, @aressu1985, @XuPeng-SH, @w-zr, @ouyuanning, @volgariver6, @LeftHandCold, @sukki37, @iamlinjunhong, @aunjgr
ouyuanning
requested review from
LeftHandCold,
XuPeng-SH,
aptend,
aressu1985,
aunjgr,
badboynt1,
daviszhen,
fengttt,
iamlinjunhong,
jiangxinmeng1,
m-schen,
qingxinhome,
reusee,
triump2020,
volgariver6,
w-zr,
xzxiong and
zhangxu19830126
as code owners
August 26, 2024 01:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
Which issue(s) this PR fixes:
issue #
What this PR does / why we need it: