You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Vikash Talanki (JIRA)" <ji...@apache.org> on 2019/07/24 07:08:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16891644#comment-16891644 ]
Vikash Talanki commented on PHOENIX-2158:
-----------------------------------------
Hi [~jamestaylor],
I am Vikash Talanki. I am interested in working for Apache Phoenix and would like to start contributing by implementing this Jira fix. I have gone through almost all links provided and have few questions before starting the work
# Do I need to get this Jira assigned to me before working on this? if yes, can you please assign.
# What should be the exact method signature of position ? In the above description, the name is position(string,substring) but example is kind of position(substring,string).
# Want to confirm the name of trim function for Binary/VarBinary. is it 'trimb'?
# Since I am doing it for the first time, Can I attach a patch for any one of the functions(but not all three) I chose to implement and get feedback on that?
> 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
> 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)