[ 
https://issues.apache.org/jira/browse/PHOENIX-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648116#comment-14648116
 ] 

Shuxiong Ye commented on PHOENIX-2158:
--------------------------------------

Hi [~jamestaylor],
function POSITION's API is position(substring in string), which need "substring 
in string" as a parameter.
In order to detect "substring in string" as a parameter, I think we should add 
one more parser node, and add it to compiling sql phase.

So how to implement this? Please point out some related class which are related 
to compiling sql and generating syntax tree.

function SUBSTRING and TRIM also need new parser nodes.

Thanks.

> Implement position/substring/trim build-in function for BINARY VARBINARY
> ------------------------------------------------------------------------
>
>                 Key: PHOENIX-2158
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2158
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Shuxiong Ye
>            Assignee: Shuxiong Ye
>
> See PHOENIX-1664



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to