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

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

                Author: ASF GitHub Bot
            Created on: 09/Nov/19 00:01
            Start Date: 09/Nov/19 00:01
    Worklog Time Spent: 10m 
      Work Description: 11moon11 commented on pull request #9892: [BEAM-8427] 
[SQL] buildIOWrite for MongoDb Table
URL: https://github.com/apache/beam/pull/9892#discussion_r344410953
 
 

 ##########
 File path: sdks/java/core/src/main/java/org/apache/beam/sdk/util/RowJson.java
 ##########
 @@ -351,6 +351,9 @@ private void writeValue(JsonGenerator gen, FieldType type, 
Object value) throws
         case ROW:
           writeRow((Row) value, type.getRowSchema(), gen);
           break;
+        case LOGICAL_TYPE:
+          writeValue(gen, type.getLogicalType().getBaseType(), value);
+          break;
 
 Review comment:
   Added `makeLogicalTypeTestCase`.
 
----------------------------------------------------------------
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: 340827)
    Time Spent: 6.5h  (was: 6h 20m)

> [SQL] Add support for MongoDB source
> ------------------------------------
>
>                 Key: BEAM-8427
>                 URL: https://issues.apache.org/jira/browse/BEAM-8427
>             Project: Beam
>          Issue Type: New Feature
>          Components: dsl-sql
>            Reporter: Kirill Kozlov
>            Assignee: Kirill Kozlov
>            Priority: Major
>          Time Spent: 6.5h
>  Remaining Estimate: 0h
>
> In progress:
>  * Create a MongoDB table and table provider.
>  * Implement buildIOReader
>  * Support primitive types
> Still needs to be done:
>  * Implement buildIOWrite
>  * improve getTableStatistics



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

Reply via email to