mirror of https://github.com/apache/druid.git
Change LookupExtractionFn cache key to be unique
This commit is contained in:
parent
acc1a215c7
commit
7abe999418
|
@ -30,8 +30,8 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo;
|
|||
@JsonSubTypes.Type(name = "searchQuery", value = SearchQuerySpecDimExtractionFn.class),
|
||||
@JsonSubTypes.Type(name = "javascript", value = JavascriptExtractionFn.class),
|
||||
@JsonSubTypes.Type(name = "timeFormat", value = TimeFormatExtractionFn.class),
|
||||
@JsonSubTypes.Type(name = "lookup", value = LookupExtractionFn.class),
|
||||
@JsonSubTypes.Type(name = "identity", value = IdentityExtractionFn.class)
|
||||
@JsonSubTypes.Type(name = "identity", value = IdentityExtractionFn.class),
|
||||
@JsonSubTypes.Type(name = "lookup", value = LookupExtractionFn.class)
|
||||
})
|
||||
/**
|
||||
* An ExtractionFn is a function that can be used to transform the values of a column (typically a dimension)
|
||||
|
|
|
@ -33,7 +33,7 @@ import java.io.IOException;
|
|||
|
||||
public class LookupExtractionFn extends FunctionalExtraction
|
||||
{
|
||||
private static final byte CACHE_TYPE_ID = 0x5;
|
||||
private static final byte CACHE_TYPE_ID = 0x7;
|
||||
|
||||
private final LookupExtractor lookup;
|
||||
|
||||
|
|
Loading…
Reference in New Issue