Files
tidb/parser/model/BUILD.bazel
YangKeao 26dab31068 ttl: support float number and store ttl_job_interval in info schema (#40509)
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2023-01-12 16:42:34 +08:00

38 lines
794 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "model",
srcs = [
"ddl.go",
"flags.go",
"model.go",
],
importpath = "github.com/pingcap/tidb/parser/model",
visibility = ["//visibility:public"],
deps = [
"//parser/auth",
"//parser/charset",
"//parser/mysql",
"//parser/terror",
"//parser/types",
"@com_github_pingcap_errors//:errors",
],
)
go_test(
name = "model_test",
timeout = "short",
srcs = [
"ddl_test.go",
"model_test.go",
],
embed = [":model"],
flaky = True,
deps = [
"//parser/charset",
"//parser/mysql",
"//parser/types",
"@com_github_stretchr_testify//require",
],
)