Skip to content

Commit

Permalink
revise log infos
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenjun7J committed Feb 6, 2025
1 parent 4656202 commit 91da794
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion be/src/exprs/string_functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,6 @@ StatusOr<ColumnPtr> StringFunctions::field(FunctionContext* context, const Colum
result.append(0);
return result.build(true);
} else if (state != nullptr) {
LOG(WARNING) << "state:" << state->all_const << " " << state->list_all_const << std::endl;
if (state->all_const) {
const auto list_col = context->get_constant_column(0);
const auto list_val = ColumnHelper::get_const_value<Type>(list_col);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ private static Function getAdjustedAnalyzedFunction(ConnectContext session,
(targetType.isStringType() && argumentTypes[i].isStringType())) {
targetType = Type.getAssignmentCompatibleType(targetType, argumentTypes[i], false);
if (targetType.isInvalid()) {
throw new SemanticException("Parameter's type is not invalid");
throw new SemanticException("Parameter's type is invalid");
}
} else {
targetType = Type.DOUBLE;
Expand Down

0 comments on commit 91da794

Please sign in to comment.