From f69bbfd39c8a4ccb984c6434704fb7a13bc0ae32 Mon Sep 17 00:00:00 2001 From: Zeeshan Siddiqui Date: Wed, 27 Mar 2019 14:50:16 -0700 Subject: [PATCH] Fix grammar in exception message. --- .../Transforms/ColumnConcatenatingEstimator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.ML.Data/Transforms/ColumnConcatenatingEstimator.cs b/src/Microsoft.ML.Data/Transforms/ColumnConcatenatingEstimator.cs index c78a5e38c3..8d7aa80763 100644 --- a/src/Microsoft.ML.Data/Transforms/ColumnConcatenatingEstimator.cs +++ b/src/Microsoft.ML.Data/Transforms/ColumnConcatenatingEstimator.cs @@ -87,12 +87,12 @@ private SchemaShape.Column CheckInputsAndMakeColumn( // Appending keys makes no real sense anyway. if (col.IsKey) { - throw _host.Except($"Column '{sources[i]}' is key." + + throw _host.Except($"Column '{sources[i]}' is key. " + $"Concatenation of keys is unsupported."); } if (!col.ItemType.Equals(itemType)) { - throw _host.Except($"Column '{sources[i]}' has values of {col.ItemType}" + + throw _host.Except($"Column '{sources[i]}' has values of {col.ItemType}, " + $"which is not the same as earlier observed type of {itemType}."); } varVector |= col.Kind == SchemaShape.Column.VectorKind.VariableVector;