You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Xu Mingmin (JIRA)" <ji...@apache.org> on 2018/02/27 07:52:00 UTC
[jira] [Created] (BEAM-3751) enforce data validation in
org.apache.beam.sdk.values.Row
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)