You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Anton Kedin (JIRA)" <ji...@apache.org> on 2018/02/07 00:08:00 UTC

[jira] [Closed] (BEAM-2721) Augment BeamRecordType to do slicing and concatenation.

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

Anton Kedin closed BEAM-2721.
-----------------------------

Assuming this closed. Summary of things completed:
 * removed BeamRecordSqlType;
 * replaced references to java.sql.Types with corresponding Coders;
 * added @AutoValue and factory methods to BeamRecordType and BeamRecord;
 * added BeamRecordType.Field;
 * added java8 stream collectors to BeamRecordType and BeamRecord;
 * replaced iterative BeamRecordType and BeamRecord construction with fluid stream-based construction, or factory method calls;

> Augment BeamRecordType to do slicing and concatenation.
> -------------------------------------------------------
>
>                 Key: BEAM-2721
>                 URL: https://issues.apache.org/jira/browse/BEAM-2721
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql
>            Reporter: Robert Bradshaw
>            Assignee: Anton Kedin
>            Priority: Major
>             Fix For: Not applicable
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Currently in several places we cast to BeamSqlRecordType, extract the field type ints, do the slicing, and then reconstruct a new BeamSqlRecordType. If BeamRecordType had polymorphic methods to slice/concat this would be cleaner and more flexible. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)