Skip to content

Commit

Permalink
druid: simplify default analysis types (#142)
Browse files Browse the repository at this point in the history
Removes the `cardinality` and `size` analysis types from
the default list for segment metadata. These types can
cause a lot of overhead for the query.
  • Loading branch information
brharrington committed May 8, 2019
1 parent 3830b04 commit edc3039
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ object DruidClient {
intervals: List[String] = null,
toInclude: Option[ToInclude] = None,
merge: Boolean = true,
analysisTypes: List[String] = List("cardinality", "size", "aggregators"),
analysisTypes: List[String] = List("aggregators"),
lenientAggregatorMerge: Boolean = false
) {
val queryType: String = "segmentMetadata"
Expand Down

0 comments on commit edc3039

Please sign in to comment.