Skip to content

Commit

Permalink
Improving error message (#5444)
Browse files Browse the repository at this point in the history
* better error fix

* revisions

Co-authored-by: Keren Fuentes <kedejesu@microsoft.com>
  • Loading branch information
Lynx1820 and Keren Fuentes authored Oct 27, 2020
1 parent f5aa7da commit ea374c1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ private SchemaShape.Column CheckInputsAndMakeColumn(
}
if (!col.ItemType.Equals(itemType))
{
throw _host.Except($"Column '{sources[i]}' has values of {col.ItemType}, " +
$"which is not the same as earlier observed type of {itemType}.");
throw _host.Except($"Concatenated columns should have the same type. Column '{sources[i]}' has type of {col.ItemType}, " +
$"but expected column type is {itemType}.");
}
varVector |= col.Kind == SchemaShape.Column.VectorKind.VariableVector;
isNormalized &= col.IsNormalized();
Expand Down

0 comments on commit ea374c1

Please sign in to comment.