Skip to content

Instantly share code, notes, and snippets.

@gregglind
Last active January 24, 2017 23:20
Show Gist options
  • Save gregglind/dcc4afd2671b40106711bc5bc8a98f90 to your computer and use it in GitHub Desktop.
Save gregglind/dcc4afd2671b40106711bc5bc8a98f90 to your computer and use it in GitHub Desktop.
Parquet Schemas For Shield Studies
message shield-study-addon {
required int64 version;
required binary study_name (UTF8);
required binary branch (UTF8);
required binary addon_version (UTF8);
required binary shield_version (UTF8);
optional boolean testing;
required group data {
required binary type (UTF8);
required group attributes (MAP) {
repeated group key_value {
required binary key (UTF8);
required binary value (UTF8);
}
}
}
}
WILL DO THIS:
"shieldStudyAddonFULL": {
"version": 3,
"study_name": "fake-study-1",
"branch": "medium-råre",
"addon_version": "0.1.1",
"shield_version": "1.2.3",
"testing": true,
"data": {
"type": "shield-study-addon",
"attributes": {
"unvtq": "sD",
"gWqZ": "mcR8ILH",
"B": "1DaPq",
"JLJ": "3fs"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment