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



##########
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:
       For these examples, the schema is added directly to the transform 
https://github.com/apache/beam/blob/46155767ecf0694d86257e9c3a8b5fd5bbc0afbb/examples/java/src/main/java/org/apache/beam/examples/complete/AutoComplete.java#L515
 using `FormatForBigquery.getSchema()`, not sure why was added to options if it 
wasn't used from there.




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