TheNeuralBit commented on a change in pull request #16558:
URL: https://github.com/apache/beam/pull/16558#discussion_r805106404



##########
File path: model/pipeline/src/main/proto/schema.proto
##########
@@ -31,6 +31,11 @@ option go_package = 
"github.com/apache/beam/sdks/v2/go/pkg/beam/model/pipeline_v
 option java_package = "org.apache.beam.model.pipeline.v1";
 option java_outer_classname = "SchemaApi";
 
+message SchemaCoderPayload {
+  Schema schema = 1;
+  map<string, bytes> sdk_information = 2;

Review comment:
       In Python there are still a variety of user types that could have 
schemas inferred: NamedTuples (all we support now), dataclasses, TypedDict, 
proto types (we want this for internal users). So I'm eager to have a 
convenient way to reconstruct the original type rather than always shunting to 
NamedTuple




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