phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karan Singhal (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (PHOENIX-2234) [Pherf] Add attribute to dataSequence column attribute to support encoding sequence in different formats e.g. base62
Date Fri, 20 Nov 2015 17:47:11 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-2234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Karan Singhal reassigned PHOENIX-2234:
--------------------------------------

    Assignee: Karan Singhal

> [Pherf] Add attribute to dataSequence column attribute to support encoding sequence in
different formats e.g. base62
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-2234
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2234
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Jan Fernando
>            Assignee: Karan Singhal
>
> It would be really useful to be able to specify an encoding format for the generated
sequence value for a Pherf <column> in the <datamapping> section. Pherf would
still generate an integer as it does now, but before appending it to the column it would encode
per the configured format.
> For example:
>         <column>
>             <type>CHAR</type>
>             <userDefined>true</userDefined>
>             <dataSequence encoding="Base62">SEQUENTIAL</dataSequence>
>             <length>10</length>
>             <prefix>ABCDEFGH</prefix>
>             <name>MY_PHERF_GENERATED_ID</name>
>         </column>
> So for the 100th sequence Pherf would end up generating like: ABCDEFGH	1c



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

Mime
View raw message