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

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

                Author: ASF GitHub Bot
            Created on: 31/Oct/19 01:11
            Start Date: 31/Oct/19 01:11
    Worklog Time Spent: 10m 
      Work Description: maguro commented on issue #8814: [BEAM-7526] Fix 
toBeamValue logic in BigQueryUtils
URL: https://github.com/apache/beam/pull/8814#issuecomment-548175660
 
 
   This breaks my code.  BigQuery returns an array whose elements are not 
organized this way.  The elements are simple maps, if array of records, or 
array of base types.  Should I file a ticket?
 
----------------------------------------------------------------
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: 336562)
    Time Spent: 1h 10m  (was: 1h)

> beam_PostCommit_SQL suite is failing since June 7.
> --------------------------------------------------
>
>                 Key: BEAM-7526
>                 URL: https://issues.apache.org/jira/browse/BEAM-7526
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql
>            Reporter: Valentyn Tymofieiev
>            Priority: Major
>             Fix For: Not applicable
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Error Message
> java.lang.UnsupportedOperationException: Converting BigQuery type 'class 
> com.google.api.client.util.ArrayMap' to 'FieldType{typeName=STRING, 
> nullable=false, logicalType=null, collectionElementType=null, 
> mapKeyType=null, mapValueType=null, rowSchema=null, metadata={}}' is not 
> supported
> Stacktrace
> java.lang.UnsupportedOperationException: Converting BigQuery type 'class 
> com.google.api.client.util.ArrayMap' to 'FieldType{typeName=STRING, 
> nullable=false, logicalType=null, collectionElementType=null, 
> mapKeyType=null, mapValueType=null, rowSchema=null, metadata={}}' is not 
> supported
>       at 
> org.apache.beam.sdk.io.gcp.bigquery.BigQueryUtils.toBeamValue(BigQueryUtils.java:457)
>       at 
> org.apache.beam.sdk.io.gcp.bigquery.BigQueryUtils.lambda$toBeamValue$11(BigQueryUtils.java:447)
>       at 
> java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
>       at 
> java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
> ...



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

Reply via email to