You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2016/01/23 21:35:39 UTC
[jira] [Updated] (PHOENIX-2158) Implement position/substring/trim
build-in function for BINARY VARBINARY
[ https://issues.apache.org/jira/browse/PHOENIX-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Taylor updated PHOENIX-2158:
----------------------------------
Assignee: (was: Shuxiong Ye)
> 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
>
> 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)