olehborysevych commented on code in PR #29507:
URL: https://github.com/apache/beam/pull/29507#discussion_r1411084978


##########
learning/prompts/documentation-lookup/06_basic_schema.md:
##########
@@ -0,0 +1,26 @@
+Prompt:
+What are schemas in Apache Beam
+Response:
+
+ A [Schema in Apache 
Beam](https://beam.apache.org/documentation/programming-guide/#schemas) is a 
language-independent type definition for a PCollection. Schema defines elements 
of that PCollection as an ordered list of named fields.
+
+In many cases, the element type in a PCollection has a structure that can be 
introspected. Some examples are JSON, Protocol Buffer, Avro, and database row 
objects. All of these formats can be converted to Beam Schemas
+
+In order to take advantage of schemas, your PCollections must have a schema 
attached to it. Often, the source itself will attach a schema to the 
PCollection.

Review Comment:
   Done



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