You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by su...@apache.org on 2019/01/09 17:29:34 UTC
[incubator-pinot] branch pinot-text-search updated: Minor fixes to
get compilation going
This is an automated email from the ASF dual-hosted git repository.
sunithabeeram pushed a commit to branch pinot-text-search
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
The following commit(s) were added to refs/heads/pinot-text-search by this push:
new 14a8871 Minor fixes to get compilation going
14a8871 is described below
commit 14a8871e5d095e067cd6f4163b1461da90ac838c
Author: Sunitha Beeram <sb...@linkedin.com>
AuthorDate: Wed Jan 9 09:28:43 2019 -0800
Minor fixes to get compilation going
---
.../main/antlr4/com/linkedin/pinot/pql/parsers/PQL2.g4 | 2 +-
.../core/operator/filter/TextMatchFilterOperator.java | 2 +-
.../java/com/linkedin/pinot/tools/TextInvertedIndex.java | 15 +++++++++++++++
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/pinot-common/src/main/antlr4/com/linkedin/pinot/pql/parsers/PQL2.g4 b/pinot-common/src/main/antlr4/com/linkedin/pinot/pql/parsers/PQL2.g4
index 62aaf11..ff0d189 100644
--- a/pinot-common/src/main/antlr4/com/linkedin/pinot/pql/parsers/PQL2.g4
+++ b/pinot-common/src/main/antlr4/com/linkedin/pinot/pql/parsers/PQL2.g4
@@ -93,7 +93,7 @@ regexpLikeClause:
REGEXP_LIKE '(' expression ',' literal ')';
textMatchClause:
- TEXT_MATCH '(' expression ',' literal ',' literal)';
+ TEXT_MATCH '(' expression ',' literal ',' literal ')';
booleanOperator: OR | AND;
diff --git a/pinot-core/src/main/java/com/linkedin/pinot/core/operator/filter/TextMatchFilterOperator.java b/pinot-core/src/main/java/com/linkedin/pinot/core/operator/filter/TextMatchFilterOperator.java
index 70fce75..930c669 100644
--- a/pinot-core/src/main/java/com/linkedin/pinot/core/operator/filter/TextMatchFilterOperator.java
+++ b/pinot-core/src/main/java/com/linkedin/pinot/core/operator/filter/TextMatchFilterOperator.java
@@ -31,7 +31,7 @@ import java.util.List;
public class TextMatchFilterOperator extends BaseFilterOperator {
private static final Logger LOGGER = LoggerFactory.getLogger(TextMatchFilterOperator.class);
- private static final String OPERATOR_NAME = "BitmapBasedFilterOperator";
+ private static final String OPERATOR_NAME = "TextMatchFilterOperator";
private final PredicateEvaluator _predicateEvaluator;
private final DataSource _dataSource;
diff --git a/pinot-tools/src/main/java/com/linkedin/pinot/tools/TextInvertedIndex.java b/pinot-tools/src/main/java/com/linkedin/pinot/tools/TextInvertedIndex.java
index f4fc23b..81d9222 100644
--- a/pinot-tools/src/main/java/com/linkedin/pinot/tools/TextInvertedIndex.java
+++ b/pinot-tools/src/main/java/com/linkedin/pinot/tools/TextInvertedIndex.java
@@ -1,3 +1,18 @@
+/**
+ * Copyright (C) 2014-2018 LinkedIn Corp. (pinot-core@linkedin.com)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package com.linkedin.pinot.tools;
import com.google.common.base.Splitter;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org