ChethanUK commented on a change in pull request #7214:
URL: https://github.com/apache/pinot/pull/7214#discussion_r678917439
##########
File path:
pinot-core/src/test/java/org/apache/pinot/queries/TextSearchQueriesTest.java
##########
@@ -345,7 +373,11 @@ public void testTextSearch()
"SELECT INT_COL, SKILLS_TEXT_COL FROM MyTable WHERE
TEXT_MATCH(SKILLS_TEXT_COL, '\"Machine learning\"') LIMIT 50000";
testTextSearchSelectQueryHelper(query, expected.size(), false, expected);
- query = "SELECT COUNT(*) FROM MyTable WHERE TEXT_MATCH(SKILLS_TEXT_COL,
'\"Machine learning\"') LIMIT 50000";
+ query =
+ "SELECT INT_COL, SKILLS_TEXT_COL FROM MyTable WHERE SKILLS_TEXT_COL
LIKE '\"Machine learning\"' LIMIT 50000";
Review comment:
I normally use something like `WHERE Customer LIKE '%UK%'`
So this format is also supported right?
--
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]