[ 
https://issues.apache.org/jira/browse/BEAM-7274?focusedWorklogId=351598&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-351598
 ]

ASF GitHub Bot logged work on BEAM-7274:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 30/Nov/19 23:58
            Start Date: 30/Nov/19 23:58
    Worklog Time Spent: 10m 
      Work Description: reuvenlax commented on pull request #10247: [BEAM-7274] 
In preparation for protocol-buffer schemas, add OneOf and Enumeration logical 
types
URL: https://github.com/apache/beam/pull/10247#discussion_r352310964
 
 

 ##########
 File path: sdks/java/core/src/main/java/org/apache/beam/sdk/values/Row.java
 ##########
 @@ -208,6 +210,26 @@ public Boolean getBoolean(String fieldName) {
     return getMap(getSchema().indexOf(fieldName));
   }
 
+  /** Helper method to get an enum field value. */
+  public EnumerationValue getEnumValue(String fieldValue) {
 
 Review comment:
   IMO unions are pretty basic. However removed these methods for now, as it's 
not difficult to simply access as a logical type.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 351598)
    Time Spent: 12h 40m  (was: 12.5h)

> Protobuf Beam Schema support
> ----------------------------
>
>                 Key: BEAM-7274
>                 URL: https://issues.apache.org/jira/browse/BEAM-7274
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Alex Van Boxel
>            Assignee: Alex Van Boxel
>            Priority: Minor
>          Time Spent: 12h 40m
>  Remaining Estimate: 0h
>
> Add support for the new Beam Schema to the Protobuf extension.



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

Reply via email to