mirror of https://github.com/apache/nifi.git
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:
|
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…
Reference in New Issue