Created
May 21, 2020 15:41
-
-
Save indrekj/c2c1d271c97267a691a57427fa2c2831 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_parallel", | |
"spec": { | |
"dataSchema": { | |
"dataSource": "visitor_events-sessions-test1", | |
"timestampSpec": { | |
"column": "timestamp", | |
"format": "auto" | |
}, | |
"dimensionsSpec": { | |
"dimensions": ["site_id", "environment_name"] | |
}, | |
"metricsSpec": [ | |
{ "type": "doubleSum", "name": "count", "fieldName": "count" }, | |
{ "type": "thetaSketch", "name": "visitor_id_sketch", "fieldName": "visitor_id" } | |
], | |
"granularitySpec": { | |
"segmentGranularity": "day", | |
"queryGranularity": "hour", | |
"intervals": [ | |
"2020-05-19/2020-05-21" | |
] | |
} | |
}, | |
"ioConfig": { | |
"type": "index_parallel", | |
"inputSource": { | |
"type": "druid", | |
"dataSource": "visitor_events-sessions-v2", | |
"interval": "2020-05-01/2020-06-01" | |
} | |
}, | |
"tuningConfig": { | |
"type": "index_parallel" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment