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

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

                Author: ASF GitHub Bot
            Created on: 14/Aug/20 17:23
            Start Date: 14/Aug/20 17:23
    Worklog Time Spent: 10m 
      Work Description: apilloud commented on a change in pull request #12389:
URL: https://github.com/apache/beam/pull/12389#discussion_r470756034



##########
File path: 
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryUtils.java
##########
@@ -263,6 +267,18 @@ private static FieldType fromTableFieldSchemaType(
                 "SqlTimestampWithLocalTzType", FieldType.STRING, "", 
FieldType.DATETIME) {});
       case "STRUCT":
       case "RECORD":
+        // check if record represents a map entry

Review comment:
       This is something that is going to need more discussion. I have two 
concerns:
   1. The ZetaSQL dialect doesn't support map types, so this will break that 
use case.
   2. The user might have a row matching this struct that isn't suppose to be a 
map.
   




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


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

    Worklog Id:     (was: 470776)
    Time Spent: 2h 20m  (was: 2h 10m)

> Support Maps in BigQuery
> ------------------------
>
>                 Key: BEAM-10587
>                 URL: https://issues.apache.org/jira/browse/BEAM-10587
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-gcp
>            Reporter: Ryan Worley
>            Assignee: Ryan Worley
>            Priority: P2
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> Maps are currently not supported when converting a Beam Schema to a BigQuery 
> TableFieldSchema.  This improvement will convert Maps to repeated records 
> with 'key' and 'value' fields.



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

Reply via email to