aprochko commented on issue #35755:
URL: https://github.com/apache/beam/issues/35755#issuecomment-3141210404

   thanks for the response @Abacn 
   
   it has different names, I just simplified, the full code is
   
                WriteResult resultTrinity = trinityRecords
                                .apply("Extract Trinity Values", 
Values.create())
                                .apply("Write Trinity to BigQuery",
                                BigQueryIO.<EventImpl>write()
                                                .to(new 
TrinityDynamicDestinationsFunction(
                                                                
trackingDataImportConfiguration.getProjectId(),
                                                                "events",
                                                                "trinity"
                                                ))
                                                .withFormatFunction(new 
MapTrinityEventToTableRowFunction())
                                                
.withCreateDisposition(CREATE_IF_NEEDED)
                                                
.withTriggeringFrequency(Duration.standardSeconds(60))
                                                .withAutoSharding()
                                                
.withMethod(BigQueryIO.Write.Method.STORAGE_WRITE_API)
                                                
.withWriteDisposition(BigQueryIO.Write.WriteDisposition.WRITE_APPEND)
                                                
.withPropagateSuccessfulStorageApiWrites(true)
                                                .withMaxRetryJobs(3)
   
   
                WriteResult resultLandmarks = landmarkRecords
                                .apply("Extract Landmark Values", 
Values.create())
                                .apply("Write Landmarks to BigQuery",
                                BigQueryIO.<Landmark>write()
                                                .to(new 
LandmarkDynamicDestinationsFunction(
                                                                
trackingDataImportConfiguration.getProjectId(),
                                                                "events",
                                                                "landmarks"
                                                ))
                                                .withFormatFunction(new 
MapLandmarkToTableRowFunction())
                                                
.withCreateDisposition(CREATE_IF_NEEDED)
                                                
.withTriggeringFrequency(Duration.standardSeconds(60))
                                                .withAutoSharding()
                                                
.withMethod(BigQueryIO.Write.Method.STORAGE_WRITE_API)
                                                
.withWriteDisposition(BigQueryIO.Write.WriteDisposition.WRITE_APPEND)
                                                
.withPropagateSuccessfulStorageApiWrites(true)
                                                .withMaxRetryJobs(3)
                );
   
   No common objects, no common objects. Inside the write it looks like:
   
   <img width="308" height="784" alt="Image" 
src="https://github.com/user-attachments/assets/c0e9012e-5e32-4083-9bf1-63e386a6391c";
 />
   
   But the (sub)step name is also combined aka: Write Landmarks to 
BigQuery/StorageApiLoads/rewindowIntoGlobal


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