František Kučera <franta-hg@frantovo.cz> [Thu, 03 Dec 2020 22:31:03 +0100] rev 2
convert YAML to relations
Expected structure is:
map:
key = relation name
value = sequence of maps (records) where:
key = attribute name
value = attribute value
Example:
--------
fruit:
- id: 1
name: cherry
- id: 2
name: apple
- id: 3
name: plum
empty:
# this relation has no attributes and will be ignored
sparse:
- a: aaa
b: bbb
c: ccc
- a: AAA
b: BBB
- c: C
d: D
e: E
a: A
f: F
- c: CCC
--------
Not yet supported:
--------
my_relation_with_metadata:
attribute-metadata:
- name: a
type: string
- name: b
type: boolean
record:
- a: a
- b: true
--------