diff --git a/src/Interpreters/InterpreterCreateQuery.cpp b/src/Interpreters/InterpreterCreateQuery.cpp index 14c51b29d45..d57a14a61dc 100644 --- a/src/Interpreters/InterpreterCreateQuery.cpp +++ b/src/Interpreters/InterpreterCreateQuery.cpp @@ -79,6 +79,7 @@ namespace ErrorCodes extern const int ILLEGAL_COLUMN; extern const int LOGICAL_ERROR; extern const int PATH_ACCESS_DENIED; + extern const int NOT_IMPLEMENTED; } namespace fs = std::filesystem; diff --git a/tests/testflows/rbac/tests/privileges/attach/attach_table.py b/tests/testflows/rbac/tests/privileges/attach/attach_table.py index b13762fd43c..604e5a119e8 100644 --- a/tests/testflows/rbac/tests/privileges/attach/attach_table.py +++ b/tests/testflows/rbac/tests/privileges/attach/attach_table.py @@ -53,7 +53,7 @@ def privilege_check(grant_target_name, user_name, node=None): with Then("I attempt to attach a table"): node.query(f"ATTACH TABLE {table_name} (x Int8) ENGINE = Memory", settings = [("user", user_name)], - exitcode=80, message="DB::Exception: UUID must be specified") + exitcode=80, message="DB::Exception: Incorrect ATTACH TABLE query") finally: with Finally("I drop the table"):