chamikaramj opened a new issue, #33864:
URL: https://github.com/apache/beam/issues/33864

   ### What happened?
   
   I'm trying out a Managed BQ read pipeline and seems like it's failing to 
attach the config row preventing Dataflow upgrade.
   
   ```
   WARNING: Could not attach the config row for transform BigQueryIO.TypedRead: 
java.lang.ClassCastException: class [B cannot be cast to class java.lang.String 
([B and java.lang.String are in module java.base of loader 'bootstrap')
   ```
   
   Pipeline is given below.
   
   ```
       String table =
           String.format(
               "%s.%s.%s",
               options.as(GcpOptions.class).getProject(), BIG_QUERY_DATASET_ID, 
options.getTable());
       Pipeline pipeline = Pipeline.create(options);
       Map<String, Object> readConfig =
           ImmutableMap.of("query", String.format("SELECT * FROM `%s`", table));
       // read and validate
       PCollection<Row> outputRows =
           pipeline
               .apply(Managed.read(Managed.BIGQUERY).withConfig(readConfig))
               .getSinglePCollection();
       pipeline.run().waitUntilFinish();
   ```
   
   Ahmed, any idea what's going on ?
   
   ### Issue Priority
   
   Priority: 1 (data loss / total loss of function)
   
   ### Issue Components
   
   - [ ] Component: Python SDK
   - [x] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [ ] Component: Beam YAML
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Infrastructure
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


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