Skip to content

Commit

Permalink
This is an automated cherry-pick of pingcap#53874
Browse files Browse the repository at this point in the history
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
  • Loading branch information
xzhangxian1008 authored and ti-chi-bot committed Aug 27, 2024
1 parent e0cf097 commit 792e57c
Show file tree
Hide file tree
Showing 3 changed files with 840 additions and 0 deletions.
39 changes: 39 additions & 0 deletions pkg/executor/internal/vecgroupchecker/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

go_library(
name = "vecgroupchecker",
srcs = ["vec_group_checker.go"],
importpath = "github.com/pingcap/tidb/pkg/executor/internal/vecgroupchecker",
visibility = ["//pkg/executor:__subpackages__"],
deps = [
"//pkg/expression",
"//pkg/types",
"//pkg/util/chunk",
"//pkg/util/codec",
],
)

go_test(
name = "vecgroupchecker_test",
timeout = "short",
srcs = [
"main_test.go",
"vec_group_checker_test.go",
],
embed = [":vecgroupchecker"],
flaky = True,
shard_count = 4,
deps = [
"//pkg/config",
"//pkg/expression",
"//pkg/meta/autoid",
"//pkg/parser/mysql",
"//pkg/testkit/testsetup",
"//pkg/types",
"//pkg/util/chunk",
"//pkg/util/mock",
"@com_github_stretchr_testify//require",
"@com_github_tikv_client_go_v2//tikv",
"@org_uber_go_goleak//:goleak",
],
)
Loading

0 comments on commit 792e57c

Please sign in to comment.