NIFI-2968 This closes #1377. Improved message when ExecuteSQL hits unsupported SQL types

This commit is contained in:
Pierre Villard 2016-12-30 15:20:00 +01:00 committed by joewitt
parent 2d58497c2e
commit 71e2061b5d
1 changed files with 2 additions and 1 deletions

View File

@ -347,7 +347,8 @@ public class JdbcCommon {
default:
throw new IllegalArgumentException("createSchema: Unknown SQL type " + meta.getColumnType(i) + " cannot be converted to Avro type");
throw new IllegalArgumentException("createSchema: Unknown SQL type " + meta.getColumnType(i) + " / " + meta.getColumnTypeName(i)
+ " (table: " + tableName + ", column: " + columnName + ") cannot be converted to Avro type");
}
}