Skip to content

Commit d6156ad

Browse files
smokestacklightninandrewfulton9
authored andcommitted
Remove ZetaSQL from workspace
1 parent 9ab66ad commit d6156ad

4 files changed

Lines changed: 6 additions & 726 deletions

File tree

.bazelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# Needed to work with ZetaSQL dependency.
2+
# Zetasql is removed.
3+
# This is a candidate for removal
24
build --cxxopt="-std=c++17"
35

46
# Needed to avoid zetasql proto error.
7+
# Zetasql is removed.
8+
# This is a candidate for removal
59
build --protocopt=--experimental_allow_proto3_optional
610

711
# icu@: In create_linking_context: in call to create_linking_context(),

WORKSPACE

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,6 @@ http_archive(
7171
],
7272
)
7373

74-
# Needed by abseil-py by zetasql.
75-
http_archive(
76-
name = "six_archive",
77-
build_file = "//third_party:six.BUILD",
78-
sha256 = "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a",
79-
strip_prefix = "six-1.10.0",
80-
urls = [
81-
"http://mirror.bazel.build/pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz",
82-
"https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz",
83-
],
84-
)
85-
8674
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
8775

8876
protobuf_deps()
@@ -218,46 +206,6 @@ load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") #, "go_repository")
218206

219207
gazelle_dependencies()
220208

221-
################################################################################
222-
# ZetaSQL #
223-
################################################################################
224-
225-
ZETASQL_COMMIT = "a516c6b26d183efc4f56293256bba92e243b7a61" # 11/01/2024
226-
227-
http_archive(
228-
name = "com_google_zetasql",
229-
patch_args = ["-p1"],
230-
patches = ["//third_party:zetasql.patch"],
231-
sha256 = "1afc2210d4aad371eff0a6bfdd8417ba99e02183a35dff167af2fa6097643f26",
232-
strip_prefix = "zetasql-%s" % ZETASQL_COMMIT,
233-
urls = ["https://github.com/google/zetasql/archive/%s.tar.gz" % ZETASQL_COMMIT],
234-
)
235-
236-
load("@com_google_zetasql//bazel:zetasql_deps_step_1.bzl", "zetasql_deps_step_1")
237-
238-
zetasql_deps_step_1()
239-
240-
load("@com_google_zetasql//bazel:zetasql_deps_step_2.bzl", "zetasql_deps_step_2")
241-
242-
zetasql_deps_step_2(
243-
analyzer_deps = True,
244-
evaluator_deps = True,
245-
java_deps = False,
246-
testing_deps = False,
247-
tools_deps = False,
248-
)
249-
250-
# No need to run zetasql_deps_step_3 and zetasql_deps_step_4 since all necessary dependencies are
251-
# already installed.
252-
253-
# load("@com_google_zetasql//bazel:zetasql_deps_step_3.bzl", "zetasql_deps_step_3")
254-
255-
# zetasql_deps_step_3()
256-
257-
# load("@com_google_zetasql//bazel:zetasql_deps_step_4.bzl", "zetasql_deps_step_4")
258-
259-
# zetasql_deps_step_4()
260-
261209
_PLATFORMS_VERSION = "0.0.6"
262210

263211
http_archive(

third_party/farmhash.BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ cc_library(
1919
"//conditions:default": [],
2020
}),
2121
# Required by ZetaSQL.
22+
# ZetaSQL is removed
23+
# This is a candidate for deletion
2224
defines = ["NAMESPACE_FOR_HASH_FUNCTIONS=farmhash"],
2325
includes = ["src/."],
2426
visibility = ["//visibility:public"],

0 commit comments

Comments
 (0)