beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (BEAM-3437) Support schema in PCollections
Date Tue, 03 Apr 2018 22:03:00 GMT


ASF GitHub Bot logged work on BEAM-3437:

                Author: ASF GitHub Bot
            Created on: 03/Apr/18 22:02
            Start Date: 03/Apr/18 22:02
    Worklog Time Spent: 10m 
      Work Description: reuvenlax commented on a change in pull request #4964: [BEAM-3437]
Introduce Schema class, and use it in BeamSQL

 File path: sdks/java/extensions/sql/src/test/java/org/apache/beam/sdk/extensions/sql/
 @@ -80,11 +81,11 @@ public void testSelectArrayValue() {
   public void testProjectArrayField() {
     PCollection<Row> input = pCollectionOf2Elements();
-    RowType resultType =
+    Schema resultType =
-            .withArrayField("f_stringArr", SqlTypeCoders.VARCHAR)
+            .withArrayField("f_stringArr", SqlTypeName.VARCHAR)
 Review comment:
   This builder will be removed

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 87301)
    Time Spent: 6h 10m  (was: 6h)

> Support schema in PCollections
> ------------------------------
>                 Key: BEAM-3437
>                 URL:
>             Project: Beam
>          Issue Type: Wish
>          Components: beam-model
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>          Time Spent: 6h 10m
>  Remaining Estimate: 0h
> As discussed with some people in the team, it would be great to add schema support in
{{PCollections}}. It will allow us:
> 1. To expect some data type in {{PTransforms}}
> 2. Improve some runners with additional features (I'm thinking about Spark runner with
data frames for instance).
> A technical draft document has been created: 
> I also started a PoC on a branch, I will update this Jira with a "discussion" PR.

This message was sent by Atlassian JIRA

View raw message