Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"schemaName": "steps",
"dimensionFieldSpecs": [
{
"name": "userId",
"dataType": "INT"
},
{
"name": "userName",
"dataType": "STRING"
},
{
"name": "country",
"dataType": "STRING"
},
{
"name": "gender",
"dataType": "STRING"
}
],
"metricFieldSpecs": [
{
"name": "steps",
"dataType": "INT"
}
],
"dateTimeFieldSpecs": [{
"name": "loggedAt",
"dataType": "LONG",
"format" : "1:MILLISECONDS:EPOCH",
"granularity": "1:MILLISECONDS"
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment