From a53fad6a0b8f6e5846b711a11ba5e48fb89be545 Mon Sep 17 00:00:00 2001 From: Andrew Werner Date: Thu, 28 Apr 2022 01:08:17 -0400 Subject: [PATCH] sql/sem/tree: enforce that tree does not depend on catalog Release note: None --- pkg/sql/sem/tree/BUILD.bazel | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/sql/sem/tree/BUILD.bazel b/pkg/sql/sem/tree/BUILD.bazel index 471d112a6c8b..18261937a2cd 100644 --- a/pkg/sql/sem/tree/BUILD.bazel +++ b/pkg/sql/sem/tree/BUILD.bazel @@ -285,4 +285,7 @@ disallowed_imports_test( "//pkg/sql/sessiondata", "//pkg/security", ], + disallowed_prefixes = [ + "pkg/sql/catalog", + ], )