mirror of
https://github.com/microsoft/HybridRow.git
synced 2025-06-07 17:00:05 +01:00
Release roll-up snapshot of C#/C++ codebase at version 1.1.0-preview. This release matches the current shipping nugets.
73 lines
1.9 KiB
JSON
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 }
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|