reuvenlax opened a new pull request, #41534: URL: https://github.com/apache/beam/pull/41534
n StorageApiWriteUnshardedRecords.WriteRecordsDoFnImpl.createDestinationState, tryCreateTable previously captured () -> dynamicDestinations.getSchema(destination) and () -> dynamicDestinations.getTableConstraints(destination) lazily. When buffered records are flushed during @FinishBundle, invoking tryCreateTable called ProcessContext.sideInput(...) outside of @ProcessElement, where side inputs are not guaranteed to be available. Eagerly resolve tableSchema and tableConstraints inside createDestinationState (while ProcessContext / OnTimerContext is active) whenever createDisposition != CREATE_NEVER. -- 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]
