You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Vikash Talanki (JIRA)" <ji...@apache.org> on 2019/08/06 03:27:00 UTC
[jira] [Updated] (PHOENIX-2158) Implement position/substring/trim
built-in function for BINARY VARBINARY
[ https://issues.apache.org/jira/browse/PHOENIX-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vikash Talanki updated PHOENIX-2158:
------------------------------------
Summary: Implement position/substring/trim built-in function for BINARY VARBINARY (was: Implement position/substring/trim build-in function for BINARY VARBINARY)
> Implement position/substring/trim built-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: Vikash Talanki
> Priority: Major
>
> 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
(v7.6.14#76016)