beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-2444) DSL SQL: Use standard java exceptions instead of custom ones
Date Thu, 15 Jun 2017 21:23:00 GMT

    [ https://issues.apache.org/jira/browse/BEAM-2444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16051082#comment-16051082
] 

ASF GitHub Bot commented on BEAM-2444:
--------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/beam/pull/3365


> DSL SQL: Use standard java exceptions instead of custom ones
> ------------------------------------------------------------
>
>                 Key: BEAM-2444
>                 URL: https://issues.apache.org/jira/browse/BEAM-2444
>             Project: Beam
>          Issue Type: Improvement
>          Components: dsl-sql
>            Reporter: Luke Cwik
>            Assignee: James Xu
>            Priority: Minor
>              Labels: dsl_sql_merge
>
> Remove the Beam SQL exception type and use the standard Java one with the same purpose.
> Beam SQL exception types:
> {code}
> 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
> {code}
> Suggested alternatives depending on the context of where/why exception is being thrown:
> {code}
> java.lang.UnsupportedOperationException
> java.lang.IllegalArgumentException
> java.lang.IllegalStateException
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message