[Fix](inverted index) make parser mode coarse grained by default (#24949)
This commit is contained in:
@ -52,7 +52,7 @@ public class InvertedIndexUtil {
|
||||
public static String getInvertedIndexParserMode(Map<String, String> properties) {
|
||||
String mode = properties == null ? null : properties.get(INVERTED_INDEX_PARSER_MODE_KEY);
|
||||
// default is "none" if not set
|
||||
return mode != null ? mode : INVERTED_INDEX_PARSER_FINE_GRANULARITY;
|
||||
return mode != null ? mode : INVERTED_INDEX_PARSER_COARSE_GRANULARITY;
|
||||
}
|
||||
|
||||
public static Map<String, String> getInvertedIndexCharFilter(Map<String, String> properties) {
|
||||
|
||||
@ -197,7 +197,7 @@ public class ExpressionTranslator extends DefaultExpressionVisitor<Expr, PlanTra
|
||||
@Override
|
||||
public Expr visitMatch(Match match, PlanTranslatorContext context) {
|
||||
String invertedIndexParser = InvertedIndexUtil.INVERTED_INDEX_PARSER_UNKNOWN;
|
||||
String invertedIndexParserMode = InvertedIndexUtil.INVERTED_INDEX_PARSER_FINE_GRANULARITY;
|
||||
String invertedIndexParserMode = InvertedIndexUtil.INVERTED_INDEX_PARSER_COARSE_GRANULARITY;
|
||||
Map<String, String> invertedIndexCharFilter = new HashMap<>();
|
||||
SlotRef left = (SlotRef) match.left().accept(this, context);
|
||||
OlapTable olapTbl = Optional.ofNullable(getOlapTableFromSlotDesc(left.getDesc()))
|
||||
|
||||
Reference in New Issue
Block a user