Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import com.google.common.primitives.Longs;
import org.apache.druid.common.config.NullHandling;
import org.apache.druid.java.util.common.ISE;
import org.apache.druid.java.util.common.logger.Logger;
import org.apache.druid.query.aggregation.Aggregator;
import org.apache.druid.segment.BaseObjectColumnValueSelector;

Expand All @@ -31,8 +30,6 @@

public class FixedBucketsHistogramAggregator implements Aggregator
{
private static final Logger LOG = new Logger(FixedBucketsHistogramAggregator.class);

public static final String TYPE_NAME = "fixedBucketsHistogram";

public static final Comparator COMPARATOR = new Comparator()
Expand Down Expand Up @@ -77,7 +74,6 @@ public void aggregate()
histogram.incrementMissing();
}
} else if (val instanceof String) {
LOG.info((String) val);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes for a good review tip!

histogram.combineHistogram(FixedBucketsHistogram.fromBase64((String) val));
} else if (val instanceof FixedBucketsHistogram) {
histogram.combineHistogram((FixedBucketsHistogram) val);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import org.apache.druid.common.config.NullHandling;
import org.apache.druid.data.input.InputRow;
import org.apache.druid.data.input.Rows;
import org.apache.druid.java.util.common.logger.Logger;
import org.apache.druid.java.util.common.parsers.ParseException;
import org.apache.druid.query.aggregation.AggregatorFactory;
import org.apache.druid.segment.GenericColumnSerializer;
Expand All @@ -41,8 +40,6 @@

public class FixedBucketsHistogramSerde extends ComplexMetricSerde
{
private static final Logger LOG = new Logger(FixedBucketsHistogramSerde.class);

private static Ordering<FixedBucketsHistogram> comparator = new Ordering<FixedBucketsHistogram>()
{
@Override
Expand Down