Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
chenlx0 committed Jan 7, 2020
1 parent a3ec48b commit d1b57a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions expression/builtin_json_vec.go
Original file line number Diff line number Diff line change
Expand Up @@ -892,8 +892,7 @@ func (b *builtinJSONContainsPathSig) vecEvalInt(input *chunk.Chunk, result *chun
result.MergeNulls(jsonBuf, typeBuf)
i64s := result.Int64s()
for i := 0; i < n; i++ {
if jsonBuf.IsNull(i) || typeBuf.IsNull(i) {
result.SetNull(i, true)
if result.IsNull(i) {
continue
}
containType := strings.ToLower(typeBuf.GetString(i))
Expand Down

0 comments on commit d1b57a7

Please sign in to comment.