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 2017/11/28 22:52:00 UTC
[jira] [Commented] (BEAM-2721) Augment BeamRecordType to do slicing
and concatenation.
[ https://issues.apache.org/jira/browse/BEAM-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16269621#comment-16269621 ]
Anton Kedin commented on BEAM-2721:
-----------------------------------
Looks like type ints are not actually used by themselves, only to map between calcite/java/beam types and coders.
> 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
>
> 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
(v6.4.14#64029)