chamikaramj commented on code in PR #31470: URL: https://github.com/apache/beam/pull/31470#discussion_r1626661530
########## sdks/java/managed/src/main/java/org/apache/beam/sdk/managed/Managed.java: ########## @@ -194,7 +199,28 @@ public PCollectionRowTuple expand(PCollectionRowTuple input) { SchemaTransform underlyingTransform = new ManagedSchemaTransformProvider(getSupportedIdentifiers()).from(managedConfig); - return input.apply(underlyingTransform); + return inputTuple.apply(underlyingTransform); + } + + @VisibleForTesting + static PCollectionRowTuple resolveInput(PInput input) { Review Comment: I think we should think of ways to get rid of the `getSinglePCollection()` call in the future but this is already a very good improvement. -- 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: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org