You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by GitBox <gi...@apache.org> on 2022/04/04 22:12:02 UTC

[GitHub] [phoenix] Rodolffo opened a new pull request, #1412: PHOENIX-1291 Add ILIKE optimization for initial literal part

Rodolffo opened a new pull request, #1412:
URL: https://github.com/apache/phoenix/pull/1412

   For optimizing the ILIKE queries, during the optimization phase, a set of ranges (2^n to be precise) are created for limiting results, if the pattern starts with a string literal, as such:
   'abc%' will generate 'abc', 'Abc', 'aBc', 'abC', 'ABc', 'AbC', 'aBC', and 'ABC'.
   
   I'm not completely sure if this solution is valid, and I'd like to do a few performance tests on how it performs which I'll share here, but in the meanwhile I'd appreaciate any feedback and suggestions. I mostly followed James Taylor's comments and the discussion in https://issues.apache.org/jira/browse/PHOENIX-1273, which the original ticket refers to.


-- 
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: issues-unsubscribe@phoenix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [phoenix] Rodolffo commented on pull request #1412: PHOENIX-1291 Add ILIKE optimization for initial literal part

Posted by GitBox <gi...@apache.org>.
Rodolffo commented on PR #1412:
URL: https://github.com/apache/phoenix/pull/1412#issuecomment-1088500641

   Also the number of ranges generated grows exponentially as the prefix size is larger, so it may make sense to introduce a reasonable limit on prefix size generated.


-- 
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: issues-unsubscribe@phoenix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [phoenix] rudolfzundel-seon commented on pull request #1412: PHOENIX-1291 Add ILIKE optimization for initial literal part

Posted by GitBox <gi...@apache.org>.
rudolfzundel-seon commented on PR #1412:
URL: https://github.com/apache/phoenix/pull/1412#issuecomment-1088494853

   Also the number of ranges generated grows exponentially as the prefix size is larger, so it may make sense to introduce a reasonable limit on prefix size generated.


-- 
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: issues-unsubscribe@phoenix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org