File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed
Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : " aws.jikkou.io/v1"
3+ kind : " AwsGlueSchema"
4+ metadata :
5+ name : " PersonAvro"
6+ labels :
7+ glue.aws.amazon.com/registry-name : Test
8+ annotations :
9+ glue.aws.amazon.com/normalize-schema : true
10+ spec :
11+ compatibility : " BACKWARD"
12+ dataFormat : " AVRO"
13+ schemaDefinition : |
14+ {
15+ "namespace": "example",
16+ "type": "record",
17+ "name": "Person",
18+ "fields": [
19+ {
20+ "name": "id",
21+ "type": "int",
22+ "doc": "The person's unique ID (required)"
23+ },
24+ {
25+ "name": "firstname",
26+ "type": "string",
27+ "doc": "The person's legal firstname (required)"
28+ },
29+ {
30+ "name": "lastname",
31+ "type": "string",
32+ "doc": " The person's legal lastname (required)"
33+ },
34+ {
35+ "name": "age",
36+ "type": [ "null", "int"],
37+ "default": null,
38+ "doc": "The person's age (optional)"
39+ },
40+ {
41+ "name": "height",
42+ "type": [ "null", "int"],
43+ "default": null,
44+ "doc": "The person's height measures in centimeters (optional)"
45+ },
46+ {
47+ "name": "any",
48+ "type": [ "null", "int"],
49+ "default": null,
50+ "doc": "The person's height measures in centimeters (optional)"
51+ }
52+ ]
53+ }
You can’t perform that action at this time.
0 commit comments