Skip to content

Commit

Permalink
Revert "Print actual decimal type on type mismatch" (#5939)
Browse files Browse the repository at this point in the history
  • Loading branch information
resetius authored Jun 25, 2024
1 parent a3ca010 commit 2a2ef85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/library/yql/core/type_ann/type_ann_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2749,7 +2749,7 @@ namespace NTypeAnnImpl {
if (!(*dataTypeOne == *dataTypeTwo)) {
ctx.Expr.AddError(TIssue(
ctx.Expr.GetPosition(input->Pos()),
TStringBuilder() << "Cannot calculate with different decimals:" << *dataTypeOne << " != " << *dataTypeTwo
TStringBuilder() << "Cannot calculate with different decimals."
));

return IGraphTransformer::TStatus::Error;
Expand Down

0 comments on commit 2a2ef85

Please sign in to comment.