benWize commented on a change in pull request #16609:
URL: https://github.com/apache/beam/pull/16609#discussion_r821119851



##########
File path: 
examples/java/src/main/java/org/apache/beam/examples/complete/AutoComplete.java
##########
@@ -467,7 +467,6 @@ public void processElement(ProcessContext c) {
 
   public static void runAutocompletePipeline(Options options) throws 
IOException {
 
-    options.setBigQuerySchema(FormatForBigquery.getSchema());

Review comment:
       The property bigQuerySchema fails to serialize and deserialize for 
portable runners as part of PipelineOptions. 
   Stacktrace snippet
   `Failed to serialize PipelineOptions
   java.lang.IllegalArgumentException: Failed to serialize PipelineOptions
        at 
org.apache.beam.runners.core.construction.SerializablePipelineOptions.serializeToJson(SerializablePipelineOptions.java:70)`
   `Caused by: com.fasterxml.jackson.databind.JsonMappingException: Unexpected 
IOException (of type java.io.IOException): Failed to serialize and deserialize 
property 'bigQuerySchema' with value 'GenericData{classInfo=[fields], `




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to