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

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

                Author: ASF GitHub Bot
            Created on: 16/Jul/18 22:54
            Start Date: 16/Jul/18 22:54
    Worklog Time Spent: 10m 
      Work Description: apilloud commented on a change in pull request #5956: 
[BEAM-4794] Move SQL and SQL Nexmark to the schema framework
URL: https://github.com/apache/beam/pull/5956#discussion_r202842034
 
 

 ##########
 File path: 
sdks/java/nexmark/src/main/java/org/apache/beam/sdk/nexmark/model/Auction.java
 ##########
 @@ -46,8 +53,8 @@ public void encode(Auction value, OutputStream outStream)
           STRING_CODER.encode(value.description, outStream);
           LONG_CODER.encode(value.initialBid, outStream);
           LONG_CODER.encode(value.reserve, outStream);
-          LONG_CODER.encode(value.dateTime, outStream);
-          LONG_CODER.encode(value.expires, outStream);
+          INSTANT_CODER.encode(value.dateTime.toInstant(), outStream);
 
 Review comment:
   Thanks for cleaning this up!

----------------------------------------------------------------
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:
[email protected]


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

    Worklog Id:     (was: 123839)
    Time Spent: 0.5h  (was: 20m)

> Move Nexmark and SQL to use the new Schema framework
> ----------------------------------------------------
>
>                 Key: BEAM-4794
>                 URL: https://issues.apache.org/jira/browse/BEAM-4794
>             Project: Beam
>          Issue Type: Sub-task
>          Components: dsl-sql
>            Reporter: Reuven Lax
>            Assignee: Reuven Lax
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> This will allow SQL to accept user types. It will also allow the deletion of 
> a lot of code.



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

Reply via email to