Last active
January 21, 2016 18:40
-
-
Save l15k4/93eeb47382598ef4cd45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type" : "index", | |
"spec" : { | |
"dataSchema" : { | |
"dataSource" : "foo", | |
"parser" : { | |
"type" : "string", | |
"parseSpec":{ | |
"format" : "tsv", | |
"timestampSpec" : { | |
"column" : "time" | |
}, | |
"columns" : ["time","gwid","country","purchase","section", "price"], | |
"dimensionsSpec" : { | |
"dimensions" : ["time","gwid","country","purchase","section"] | |
} | |
} | |
}, | |
"metricsSpec" : [ | |
{ | |
"type" : "count", | |
"name" : "count" | |
}, | |
{ | |
"type" : "doubleSum", | |
"name" : "priceSum", | |
"fieldName" : "price" | |
} | |
], | |
"granularitySpec" : { | |
"type" : "uniform", | |
"segmentGranularity" : "HOUR", | |
"queryGranularity" : "NONE", | |
"intervals" : [ "2016-01-19/2016-01-30" ] | |
} | |
}, | |
"ioConfig" : { | |
"type" : "index", | |
"firehose" : { | |
"type" : "local", | |
"baseDir" : "/tmp/test/", | |
"filter" : "*" | |
} | |
}, | |
"tuningConfig" : { | |
"type" : "index", | |
"targetPartitionSize" : -1, | |
"rowFlushBoundary" : 0, | |
"numShards": 1 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment