Skip to content

Commit 66debdc

Browse files
authored
ImportInto: add import sdk for cloud (#61016)
ref #61264
1 parent 07f4eda commit 66debdc

File tree

6 files changed

+1163
-1
lines changed

6 files changed

+1163
-1
lines changed

pkg/executor/importer/BUILD.bazel

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ go_library(
44
name = "importer",
55
srcs = [
66
"chunk_process.go",
7+
"cloud_sdk.go",
78
"engine_process.go",
89
"import.go",
910
"job.go",
@@ -91,6 +92,7 @@ go_test(
9192
timeout = "short",
9293
srcs = [
9394
"chunk_process_testkit_test.go",
95+
"cloud_sdk_test.go",
9496
"import_test.go",
9597
"importer_testkit_test.go",
9698
"job_test.go",
@@ -102,7 +104,7 @@ go_test(
102104
embed = [":importer"],
103105
flaky = True,
104106
race = "on",
105-
shard_count = 26,
107+
shard_count = 36,
106108
deps = [
107109
"//br/pkg/errors",
108110
"//br/pkg/mock",
@@ -149,6 +151,9 @@ go_test(
149151
"//pkg/util/mock",
150152
"//pkg/util/promutil",
151153
"//pkg/util/syncutil",
154+
"//pkg/util/table-filter",
155+
"@com_github_data_dog_go_sqlmock//:go-sqlmock",
156+
"@com_github_fsouza_fake_gcs_server//fakestorage",
152157
"@com_github_google_uuid//:uuid",
153158
"@com_github_johannesboyne_gofakes3//:gofakes3",
154159
"@com_github_johannesboyne_gofakes3//backend/s3mem",
@@ -158,6 +163,7 @@ go_test(
158163
"@com_github_pingcap_kvproto//pkg/metapb",
159164
"@com_github_prometheus_client_golang//prometheus",
160165
"@com_github_stretchr_testify//require",
166+
"@com_github_stretchr_testify//suite",
161167
"@com_github_tikv_client_go_v2//tikv",
162168
"@com_github_tikv_client_go_v2//util",
163169
"@com_github_tikv_pd_client//:client",

0 commit comments

Comments
 (0)