From a2fcac76a04357a81b226ee195fb9c63af5b8cc3 Mon Sep 17 00:00:00 2001 From: Hao Wen <19355821+wenhaocs@users.noreply.github.com> Date: Fri, 23 Dec 2022 14:48:40 +0800 Subject: [PATCH] change to log error --- src/meta/MetaServiceUtils.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/meta/MetaServiceUtils.cpp b/src/meta/MetaServiceUtils.cpp index 32abe693676..3452739b07d 100644 --- a/src/meta/MetaServiceUtils.cpp +++ b/src/meta/MetaServiceUtils.cpp @@ -100,10 +100,10 @@ nebula::cpp2::ErrorCode MetaServiceUtils::alterColumnDefs(std::vectorget_type(), col.get_type())) { - LOG(WARNING) << "Update colume type " << colName << " from " - << apache::thrift::util::enumNameSafe(it->get_type().get_type()) << " to " - << apache::thrift::util::enumNameSafe(col.get_type().get_type()) - << " is not allowed!"; + LOG(ERROR) << "Update colume type " << colName << " from " + << apache::thrift::util::enumNameSafe(it->get_type().get_type()) << " to " + << apache::thrift::util::enumNameSafe(col.get_type().get_type()) + << " is not allowed!"; return nebula::cpp2::ErrorCode::E_UNSUPPORTED; } *it = col;