Xu Mingmin created BEAM-3751:
--------------------------------

             Summary: 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: Xu Mingmin


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
(v7.6.3#76005)

Reply via email to