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

resource_control: support dynamic calibrate resource #43098

Merged
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 30 additions & 30 deletions DEPS.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -4131,8 +4131,8 @@ def go_deps():
name = "com_github_tikv_pd_client",
build_file_proto_mode = "disable_global",
importpath = "github.com/tikv/pd/client",
sum = "h1:bzlSSzw+6qTwPs8pMcPI1bt27TAOhSdAEwdPCz6eBlg=",
version = "v0.0.0-20230329114254-1948c247c2b1",
sum = "h1:mfdNoKrFuzI9u6qprPhvq6vP1AA1K/p5/NqMHQ015mY=",
version = "v0.0.0-20230418032119-e15b2116ae9b",
)
go_repository(
name = "com_github_timakin_bodyclose",
Expand Down Expand Up @@ -4514,8 +4514,8 @@ def go_deps():
name = "com_google_cloud_go_aiplatform",
build_file_proto_mode = "disable",
importpath = "cloud.google.com/go/aiplatform",
sum = "h1:SSvjkfGgdnYXUXk4BskjbncCFV2xNeMgy2URurDkWJo=",
version = "v1.36.1",
sum = "h1:zTw+suCVchgZyO+k847wjzdVjWmrAuehxdvcZvJwfGg=",
version = "v1.37.0",
)
go_repository(
name = "com_google_cloud_go_analytics",
Expand Down Expand Up @@ -4557,8 +4557,8 @@ def go_deps():
name = "com_google_cloud_go_appengine",
build_file_proto_mode = "disable",
importpath = "cloud.google.com/go/appengine",
sum = "h1:45lfdgM1FQvUzyyXam4tdWEd30CyhY+dj5LomXXT7uI=",
version = "v1.7.0",
sum = "h1:aBGDKmRIaRRoWJ2tAoN0oVSHoWLhtO9aj/NvUyP4aYs=",
version = "v1.7.1",
)
go_repository(
name = "com_google_cloud_go_area120",
Expand All @@ -4571,15 +4571,15 @@ def go_deps():
name = "com_google_cloud_go_artifactregistry",
build_file_proto_mode = "disable",
importpath = "cloud.google.com/go/artifactregistry",
sum = "h1:FC97zES/c+uaqCml0cjshrXWbapwr7VG1+7aYFX6K9A=",
version = "v1.12.0",
sum = "h1:o1Q80vqEB6Qp8WLEH3b8FBLNUCrGQ4k5RFj0sn/sgO8=",
version = "v1.13.0",
)
go_repository(
name = "com_google_cloud_go_asset",
build_file_proto_mode = "disable",
importpath = "cloud.google.com/go/asset",
sum = "h1:KWmYlYNI6KfdE7jRD/wMUpdF2xWsF23JqGlfxMNI0JU=",
version = "v1.12.0",
sum = "h1:YAsssO08BqZ6mncbb6FPlj9h6ACS7bJQUOlzciSfbNk=",
version = "v1.13.0",
)
go_repository(
name = "com_google_cloud_go_assuredworkloads",
Expand Down Expand Up @@ -4621,8 +4621,8 @@ def go_deps():
name = "com_google_cloud_go_bigquery",
build_file_proto_mode = "disable_global",
importpath = "cloud.google.com/go/bigquery",
sum = "h1:yE+MpeFaRX9L3rYJrIxl1zCDnTU2kyTA2FkrFd6kVT8=",
version = "v1.49.0",
sum = "h1:RscMV6LbnAmhAzD893Lv9nXXy2WCaJmbxYPWDLbGqNQ=",
version = "v1.50.0",
)
go_repository(
name = "com_google_cloud_go_billing",
Expand Down Expand Up @@ -4699,8 +4699,8 @@ def go_deps():
name = "com_google_cloud_go_container",
build_file_proto_mode = "disable",
importpath = "cloud.google.com/go/container",
sum = "h1:tZ9vJ5VsYN7X89e5axoqt8l2/fgbPoL+CmwjtXZxeJk=",
version = "v1.14.0",
sum = "h1:NKlY/wCDapfVZlbVVaeuu2UZZED5Dy1z4Zx1KhEzm8c=",
version = "v1.15.0",
)
go_repository(
name = "com_google_cloud_go_containeranalysis",
Expand Down Expand Up @@ -4770,8 +4770,8 @@ def go_deps():
name = "com_google_cloud_go_datastore",
build_file_proto_mode = "disable_global",
importpath = "cloud.google.com/go/datastore",
sum = "h1:4siQRf4zTiAVt/oeH4GureGkApgb2vtPQAtOmhpqQwE=",
version = "v1.10.0",
sum = "h1:iF6I/HaLs3Ado8uRKMvZRvF/ZLkWaWE9i8AiHzbC774=",
version = "v1.11.0",
)
go_repository(
name = "com_google_cloud_go_datastream",
Expand Down Expand Up @@ -4862,8 +4862,8 @@ def go_deps():
name = "com_google_cloud_go_functions",
build_file_proto_mode = "disable",
importpath = "cloud.google.com/go/functions",
sum = "h1:TtRl25/oNsZyH3e4WfMRSMmFvmHC3YyQZuWaOpKI9+0=",
version = "v1.12.0",
sum = "h1:pPDqtsXG2g9HeOQLoquLbmvmb82Y4Ezdo1GXuotFoWg=",
version = "v1.13.0",
)
go_repository(
name = "com_google_cloud_go_gaming",
Expand Down Expand Up @@ -4926,8 +4926,8 @@ def go_deps():
name = "com_google_cloud_go_iap",
build_file_proto_mode = "disable",
importpath = "cloud.google.com/go/iap",
sum = "h1:TOaCMv5lejwDrlTqJS6ROJoHUxnZzfsC8vA4FhwXek4=",
version = "v1.7.0",
sum = "h1:PxVHFuMxmSZyfntKXHXhd8bo82WJ+LcATenq7HLdVnU=",
version = "v1.7.1",
)
go_repository(
name = "com_google_cloud_go_ids",
Expand All @@ -4947,8 +4947,8 @@ def go_deps():
name = "com_google_cloud_go_kms",
build_file_proto_mode = "disable",
importpath = "cloud.google.com/go/kms",
sum = "h1:Imrtp8792uqNP9bdfPrjtUkjjqOMBcAJ2bdFaAnLhnk=",
version = "v1.10.0",
sum = "h1:7hm1bRqGCA1GBRQUrp831TwJ9TWhP+tvLuP497CQS2g=",
version = "v1.10.1",
)
go_repository(
name = "com_google_cloud_go_language",
Expand Down Expand Up @@ -5159,8 +5159,8 @@ def go_deps():
name = "com_google_cloud_go_resourcemanager",
build_file_proto_mode = "disable",
importpath = "cloud.google.com/go/resourcemanager",
sum = "h1:dgNGSzrfOgpn6S3y/3wX006hr7asIziVEYInDCmiZsY=",
version = "v1.6.0",
sum = "h1:NRM0p+RJkaQF9Ee9JMnUV9BQ2QBIOq/v8M+Pbv/wmCs=",
version = "v1.7.0",
)
go_repository(
name = "com_google_cloud_go_resourcesettings",
Expand Down Expand Up @@ -5250,8 +5250,8 @@ def go_deps():
name = "com_google_cloud_go_spanner",
build_file_proto_mode = "disable",
importpath = "cloud.google.com/go/spanner",
sum = "h1:fba7k2apz4aI0BE59/kbeaJ78dPOXSz2PSuBIfe7SBM=",
version = "v1.44.0",
sum = "h1:7VdjZ8zj4sHbDw55atp5dfY6kn1j9sam9DRNpPQhqR4=",
version = "v1.45.0",
)
go_repository(
name = "com_google_cloud_go_speech",
Expand Down Expand Up @@ -5314,8 +5314,8 @@ def go_deps():
name = "com_google_cloud_go_video",
build_file_proto_mode = "disable",
importpath = "cloud.google.com/go/video",
sum = "h1:5gfvakKt13QSIYB3RL9Fu8bNQ3L5BFHjItHm/0ivaJQ=",
version = "v1.14.0",
sum = "h1:upIbnGI0ZgACm58HPjAeBMleW3sl5cT84AbYQ8PWOgM=",
version = "v1.15.0",
)
go_repository(
name = "com_google_cloud_go_videointelligence",
Expand Down Expand Up @@ -5884,8 +5884,8 @@ def go_deps():
name = "org_golang_google_genproto",
build_file_proto_mode = "disable_global",
importpath = "google.golang.org/genproto",
sum = "h1:sLpv7bNL1AsX3fdnWh9WVh7ejIzXdOc1RRHGeAmeStU=",
version = "v0.0.0-20230403163135-c38d8f061ccd",
sum = "h1:KpwkzHKEF7B9Zxg18WzOa7djJ+Ha5DzthMyZYQfEn2A=",
version = "v0.0.0-20230410155749-daa745c078e1",
)
go_repository(
name = "org_golang_google_grpc",
Expand Down
1 change: 1 addition & 0 deletions executor/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ go_library(
"//parser/ast",
"//parser/auth",
"//parser/charset",
"//parser/duration",
"//parser/format",
"//parser/model",
"//parser/mysql",
Expand Down
1 change: 1 addition & 0 deletions executor/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,7 @@ func (b *executorBuilder) buildSimple(v *plannercore.Simple) Executor {
return &calibrateResourceExec{
baseExecutor: newBaseExecutor(b.ctx, v.Schema(), 0),
workloadType: s.Tp,
optionList: s.DynamicCalibrateResourceOptionList,
}
case *ast.LoadDataActionStmt:
return &LoadDataActionExec{
Expand Down
Loading