[ https://issues.apache.org/jira/browse/PHOENIX-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shuxiong Ye updated PHOENIX-2158: --------------------------------- Description: See PHOENIX-1664 We will have these functions, but with individual arguments, and below will be the explanation about the function. position(string, substring): Location of specified substring. Note that result starts from 1. e.g. position('1', '123') will be 1, and 0 will indicates subtring is not found in string. trimb(string, bytes): Remove the longest string containing only the bytes in bytes from the start and end of string substr(string, startInt[, lengthInt]): substr for BINARY was: See PHOENIX-1664 We will have these functions, but with individual arguments, and below will be the explanation about the function. > 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 > We will have these functions, but with individual arguments, and below will > be the explanation about the function. > position(string, substring): Location of specified substring. Note that > result starts from 1. e.g. position('1', '123') will be 1, and 0 will > indicates subtring is not found in string. > trimb(string, bytes): Remove the longest string containing only the bytes in > bytes from the start and end of string > substr(string, startInt[, lengthInt]): substr for BINARY -- This message was sent by Atlassian JIRA (v6.3.4#6332)