chamikaramj commented on pull request #14811:
URL: https://github.com/apache/beam/pull/14811#issuecomment-894507220


   You mean since transaction is passed in as a side input here, right ? 
https://github.com/apache/beam/blob/243128a8fc52798e1b58b0cf1a271d95ee7aa241/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/BatchSpannerRead.java#L65
   
   I'm not sure if creating a different transaction fo splitting is OK but if 
that's allowed you can just create a transaction within the splitRestriction() 
call.
   
   If that's not allowed probably cleaner to hold off this PR till 
https://issues.apache.org/jira/browse/BEAM-12522 is resolved.
   
   cc: @lukecwik 


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