Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-12471

NumberFormatException in BeamTableUtils#autoCastField

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              pgillet Pascal GILLET
              pgillet Pascal GILLET
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m