Github user naveenmadhire commented on the pull request:
https://github.com/apache/phoenix/pull/47#issuecomment-84472511
@gabrielreid I wrote the required test cases in InstrFunctionIT.java. All
ASC test cases are working fine. But for DESC I am getting inverted value as
output. For expected value 5 the select statement is giving -6. I confirmed
that INSTR function is returning the correct value both for DESC and ASC
however the output of select is returning different values for DESC. Is there
anything else which I need to handle for DESC scenarios.
Interestingly, all the testcases of InstrFunctionTest are working fine.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---