beam-commits mailing list archives

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

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

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
URL: https://github.com/apache/beam/pull/4964#discussion_r178975184
 
 

 ##########
 File path: sdks/java/extensions/sql/src/test/java/org/apache/beam/sdk/extensions/sql/BeamSqlArrayTest.java
 ##########
 @@ -80,11 +81,11 @@ public void testSelectArrayValue() {
   public void testProjectArrayField() {
     PCollection<Row> input = pCollectionOf2Elements();
 
-    RowType resultType =
+    Schema resultType =
         RowSqlType
             .builder()
             .withIntegerField("f_int")
-            .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:
users@infra.apache.org


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

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

> Support schema in PCollections
> ------------------------------
>
>                 Key: BEAM-3437
>                 URL: https://issues.apache.org/jira/browse/BEAM-3437
>             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: 
> https://docs.google.com/document/d/1tnG2DPHZYbsomvihIpXruUmQ12pHGK0QIvXS1FOTgRc/edit?disco=AAAABhykQIs&ts=5a203b46&usp=comment_email_document
> I also started a PoC on a branch, I will update this Jira with a "discussion" PR.



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

Mime
View raw message