mirror of
https://github.com/apache/nifi.git
synced 2025-02-17 15:36:36 +00:00
NIFI-2968 This closes #1377. Improved message when ExecuteSQL hits unsupported SQL types
This commit is contained in:
parent
2d58497c2e
commit
71e2061b5d
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user