I have two bigquery tables.
Table A
c_id count_c_id p_id
Table B
id c_name p_type c_id
Based on columns in Table A, I need to find details from Table B using DF pipelines.
PCollection<TableRow> tableRowBQ = pipeline.apply(BigQueryIO.Read
.named("Read").fromQuery("select c_id,count_c_id,p_id from TableA"));
My requirement is based on c_id return by this query I should be able to get c_name from TableB using pcollection. I am not able to find any example of pcollection for iterating field from one table and fetch data from another table using that field.
Example shared by Google Team as a reference. https://github.com/GoogleCloudPlatform/DataflowSDK-examples/blob/master-1.x/src/main/java/com/google/cloud/dataflow/examples/cookbook/JoinExamples.java.