Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
5dfbd08b
Commit
5dfbd08b
authored
May 25, 2018
by
Barbara Eckman
Committed by
Madhan Neethiraj
May 25, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2694: added Avro schema typedef and support for Avro schema evolution
Signed-off-by:
Madhan Neethiraj
<
madhan@apache.org
>
parent
9aca852b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
220 additions
and
0 deletions
+220
-0
1090-avro_model.json
addons/models/1000-Hadoop/1090-avro_model.json
+220
-0
No files found.
addons/models/1000-Hadoop/1090-avro_model.json
0 → 100644
View file @
5dfbd08b
{
"enumDefs"
:
[],
"structDefs"
:
[],
"classificationDefs"
:
[],
"entityDefs"
:
[
{
"name"
:
"avro_type"
,
"description"
:
"Atlas Type representing Abstract Avro Type"
,
"superTypes"
:
[
"DataSet"
,
"Asset"
],
"typeVersion"
:
"1.0"
,
"attributeDefs"
:
[
]
},
{
"name"
:
"avro_field"
,
"description"
:
"Atlas Type representing an Avro Field"
,
"superTypes"
:
[
"avro_type"
],
"typeVersion"
:
"1.0"
,
"attributeDefs"
:
[
{
"name"
:
"type"
,
"typeName"
:
"array<avro_type>"
,
"cardinality"
:
"LIST"
,
"isIndexable"
:
true
,
"isOptional"
:
false
,
"isUnique"
:
false
},
{
"name"
:
"doc"
,
"typeName"
:
"string"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
true
,
"isOptional"
:
true
,
"isUnique"
:
false
},
{
"name"
:
"default"
,
"typeName"
:
"string"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
false
,
"isOptional"
:
true
,
"isUnique"
:
false
}
]
},
{
"name"
:
"avro_record"
,
"description"
:
"Atlas Type representing Abstract Avro Schema"
,
"superTypes"
:
[
"avro_type"
],
"typeVersion"
:
"1.0"
,
"attributeDefs"
:
[
{
"name"
:
"type"
,
"typeName"
:
"string"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
true
,
"isOptional"
:
false
,
"isUnique"
:
false
},
{
"name"
:
"doc"
,
"typeName"
:
"string"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
true
,
"isOptional"
:
true
,
"isUnique"
:
false
},
{
"name"
:
"fields"
,
"typeName"
:
"array<avro_field>"
,
"cardinality"
:
"LIST"
,
"isIndexable"
:
true
,
"isOptional"
:
true
,
"isUnique"
:
false
,
"constraints"
:
[
{
"type"
:
"ownedRef"
}
]
},
{
"name"
:
"avro_notation"
,
"typeName"
:
"string"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
false
,
"isOptional"
:
true
,
"isUnique"
:
false
},
{
"name"
:
"versionId"
,
"typeName"
:
"int"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
true
,
"isOptional"
:
true
,
"isUnique"
:
false
},
{
"name"
:
"isLatest"
,
"typeName"
:
"string"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
true
,
"isOptional"
:
true
,
"isUnique"
:
false
},
{
"name"
:
"avroClass"
,
"typeName"
:
"string"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
true
,
"isOptional"
:
true
,
"isUnique"
:
false
}
]
},
{
"name"
:
"avro_schema"
,
"description"
:
"Atlas Type representing Abstract Top-level Avro Schema"
,
"superTypes"
:
[
"avro_record"
],
"typeVersion"
:
"1.0"
,
"attributeDefs"
:
[
{
"name"
:
"namespace"
,
"typeName"
:
"string"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
true
,
"isOptional"
:
false
,
"isUnique"
:
false
},
{
"name"
:
"associatedEntities"
,
"typeName"
:
"array<DataSet>"
,
"cardinality"
:
"LIST"
,
"isIndexable"
:
false
,
"isOptional"
:
true
,
"isUnique"
:
false
}
]
},
{
"name"
:
"avro_primitive"
,
"description"
:
"Atlas Type representing an Avro primitive datatype"
,
"superTypes"
:
[
"avro_type"
],
"typeVersion"
:
"1.0"
,
"attributeDefs"
:
[
]
},
{
"name"
:
"avro_fixed"
,
"description"
:
"Atlas Type representing an Avro fixed datatype"
,
"superTypes"
:
[
"avro_type"
],
"typeVersion"
:
"1.0"
,
"attributeDefs"
:
[
]
},
{
"name"
:
"avro_enum"
,
"description"
:
"Atlas Type representing an Avro ENUM datatype"
,
"superTypes"
:
[
"avro_type"
],
"typeVersion"
:
"1.0"
,
"attributeDefs"
:
[
{
"name"
:
"type"
,
"typeName"
:
"string"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
true
,
"isOptional"
:
false
,
"isUnique"
:
false
},
{
"name"
:
"symbols"
,
"typeName"
:
"array<string>"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
false
,
"isOptional"
:
false
,
"isUnique"
:
false
}
]
},
{
"name"
:
"avro_collection"
,
"description"
:
"Atlas Type representing an Avro Array datatype"
,
"superTypes"
:
[
"avro_type"
],
"typeVersion"
:
"1.0"
,
"attributeDefs"
:
[
{
"name"
:
"type"
,
"typeName"
:
"string"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
true
,
"isOptional"
:
false
,
"isUnique"
:
false
},
{
"name"
:
"items"
,
"typeName"
:
"array<string>"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
false
,
"isOptional"
:
false
,
"isUnique"
:
false
}
]
}
]
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment