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

DSL SQL: Use standard java exceptions instead of custom ones

Details

    Description

      Remove the Beam SQL exception type and use the standard Java one with the same purpose.

      Beam SQL exception types:

      org.apache.beam.dsls.sql.exception.BeamSqlUnsupportedException
      org.apache.beam.dsls.sql.schema.UnsupportedDataTypeException
      org.apache.beam.dsls.sql.exception.InvalidFieldException
      org.apache.beam.dsls.sql.exception.BeamInvalidOperatorException
      

      Suggested alternatives depending on the context of where/why exception is being thrown:

      java.lang.UnsupportedOperationException
      java.lang.IllegalArgumentException
      java.lang.IllegalStateException
      

      Attachments

        Issue Links

          Activity

            People

              xumingming James Xu
              lcwik Luke Cwik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: