siddharthteotia commented on a change in pull request #7214:
URL: https://github.com/apache/pinot/pull/7214#discussion_r681397920
##########
File path:
pinot-core/src/test/java/org/apache/pinot/queries/TextSearchQueriesTest.java
##########
@@ -253,6 +253,9 @@ public void testTextSearch()
"SELECT INT_COL, QUERY_LOG_TEXT_COL FROM MyTable WHERE
TEXT_MATCH(QUERY_LOG_TEXT_COL, '\"SELECT dimensionCol2\"') LIMIT 50000";
testTextSearchSelectQueryHelper(query, 11787, false, null);
+ query = "SELECT INT_COL, QUERY_LOG_TEXT_COL FROM MyTable WHERE
QUERY_LOG_TEXT_COL LIKE '\"SELECT dimensionCol2\"' LIMIT 50000";
Review comment:
So this syntax is same as Lucene query syntax to keep
TextMatchFilterOperator happy. Does SQL LIKE also have a concept of phrase
queries using double quotes ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]