mirror of https://github.com/apache/druid.git
fix stupidness with spatial indexing
This commit is contained in:
parent
c58a316437
commit
66225d698f
|
@ -566,10 +566,6 @@ public class IncrementalIndexStorageAdapter implements StorageAdapter
|
|||
@Override
|
||||
public ValueMatcher makeValueMatcher(final String dimension, final Bound bound)
|
||||
{
|
||||
if (!dimension.endsWith(".geo")) {
|
||||
return new BooleanValueMatcher(false);
|
||||
}
|
||||
|
||||
Integer dimIndexObject = index.getDimensionIndex(dimension.toLowerCase());
|
||||
if (dimIndexObject == null) {
|
||||
return new BooleanValueMatcher(false);
|
||||
|
|
|
@ -786,7 +786,7 @@ public class RealtimePlumber implements Plumber
|
|||
public boolean apply(final DataSegment segment)
|
||||
{
|
||||
return
|
||||
schema.getDataSource().equals(segment.getDataSource())
|
||||
schema.getDataSource().equalsIgnoreCase(segment.getDataSource())
|
||||
&& config.getShardSpec().getPartitionNum() == segment.getShardSpec().getPartitionNum()
|
||||
&& Iterables.any(
|
||||
sinks.keySet(), new Predicate<Long>()
|
||||
|
|
Loading…
Reference in New Issue