HybridRow/experimental/java/test-data/PerfCounterSchema.json
Jason Hunter ce112dcdf1
Release 1.1.0-preview 3 (#6)
Release roll-up snapshot of C#/C++ codebase at version 1.1.0-preview.
This release matches the current shipping nugets.
2021-05-05 17:18:35 -07:00

73 lines
1.9 KiB
JSON

// Performance Counter demo schema that utilizes tuples.
{
"schemas": [
{
"name": "Coord",
"id": 2,
"type": "schema",
"properties": [
{ "path": "lat", "type": { "type": "int64", "storage": "fixed" } },
{ "path": "lng", "type": { "type": "int64", "storage": "fixed" } }
]
},
{
"name": "Counters",
"id": 1,
"type": "schema",
"partitionkeys": [{ "path": "name" }],
"properties": [
{ "path": "name", "type": { "type": "utf8", "storage": "variable" } },
{
"path": "value",
"type": {
"type": "tuple",
"immutable": true,
"items": [{ "type": "utf8", "nullable": false }, { "type": "int64", "nullable": false }]
}
},
{
"path": "minmeanmax",
"type": {
"type": "tuple",
"immutable": true,
"items": [
{ "type": "utf8", "nullable": false },
{
"type": "tuple",
"nullable": false,
"items": [
{ "type": "int64", "nullable": false },
{ "type": "int64", "nullable": false },
{ "type": "int64", "nullable": false }
]
}
]
}
},
{
"path": "coord",
"type": {
"type": "tuple",
"immutable": true,
"items": [{ "type": "utf8", "nullable": false }, { "type": "schema", "name": "Coord", "nullable": false }]
}
}
]
},
{
"name": "CounterSet",
"id": 3,
"type": "schema",
"properties": [
{
"path": "history",
"type": {
"type": "array",
"items": { "type": "schema", "name": "Counters", "nullable": false }
}
}
]
}
]
}