You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ismaël Mejía (Jira)" <ji...@apache.org> on 2021/06/10 09:30:00 UTC

[jira] [Work started] (BEAM-12471) NumberFormatException in BeamTableUtils#autoCastField

     [ https://issues.apache.org/jira/browse/BEAM-12471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on BEAM-12471 started by Pascal GILLET.
--------------------------------------------
> 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
>            Assignee: Pascal GILLET
>            Priority: P2
>              Labels: pull-request-available
>             Fix For: 2.32.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {{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)