Details
-
Bug
-
Status: Resolved
-
P1
-
Resolution: Fixed
-
2.33.0
-
None
Description
The bug in org.apache.beam.sdk.io.jdbc.JdbcUtil#validateLogicalTypeLength
if (length >= maxLimit) { throw new RuntimeException( String.format( "Length of Schema.Field[%s] data exceeds database column capacity", field.getName())); }
Should be
if (length > maxLimit) {
How to reproduce:
- Create column with type VARCHAR(4).
- Try to insert "Test"
ER: Success
AR: Error "Length of Schema.Field[%s] data exceeds database column capacity"
Attachments
Issue Links
- links to