Pascal GILLET created BEAM-12471:
------------------------------------
Summary: NumberFormatException in BeamTableUtils#autoCastField
Key: BEAM-12471
URL: https://issues.apache.org/jira/browse/BEAM-12471
Project: Beam
Issue Type: Bug
Components: beam-community
Affects Versions: 2.29.0
Environment: Java SDK
Reporter: Pascal GILLET
Fix For: 2.30.0
{{NumberFormatExceptions}} are thrown in method {{autoCastField}} of class
{{org.apache.beam.sdk.extensions.sql.impl.schema.BeamTableUtils}} if the
{{rawObj}} param is an empty (or blank) string, for numeric fields (BYTE,
INT16, INT32, and FLOAT).
Empty strings were (surprisingly) already covered for INT64 and DOUBLE types
only.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)