Skip to content

Commit 9b91b95

Browse files
authored
Merge cc85c10 into afab5f3
2 parents afab5f3 + cc85c10 commit 9b91b95

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ydb/library/yql/core/type_ann/type_ann_core.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2749,7 +2749,9 @@ namespace NTypeAnnImpl {
27492749
if (!(*dataTypeOne == *dataTypeTwo)) {
27502750
ctx.Expr.AddError(TIssue(
27512751
ctx.Expr.GetPosition(input->Pos()),
2752-
TStringBuilder() << "Cannot calculate with different decimals."
2752+
TStringBuilder() << "Cannot calculate with different decimals: "
2753+
<< static_cast<const TTypeAnnotationNode&>(*dataType[0]) << " != "
2754+
<< static_cast<const TTypeAnnotationNode&>(*dataType[1])
27532755
));
27542756

27552757
return IGraphTransformer::TStatus::Error;

0 commit comments

Comments
 (0)