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

Andrew Pilloud updated BEAM-3751:
---------------------------------
    Fix Version/s: 2.5.0
         Assignee: Reuven Lax
       Resolution: Fixed
           Status: Resolved  (was: Open)

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

> enforce data validation in org.apache.beam.sdk.values.Row
> ---------------------------------------------------------
>
>                 Key: BEAM-3751
>                 URL: https://issues.apache.org/jira/browse/BEAM-3751
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql, sdk-java-core
>    Affects Versions: 2.3.0
>            Reporter: Mingmin Xu
>            Assignee: Reuven Lax
>            Priority: P3
>              Labels: Clarified
>             Fix For: 2.5.0
>
>
> It doesn't verify data when creating a {{Row}} record, below lines have 
> type-mismatch but it can pass without error.
> {code:java}
> RowType subStrRowType = RowSqlType.builder()
>         .withIntegerField("f_int")
>         .withBigIntField("f_bigint")
>         .build();
> Row subStrRow = Row.withRowType(subStrRowType).addValues(2, "s").build();
> {code}
> CC: [~kedin] [~kenn] [~xumingming]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to