You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Shawn Feldman (JIRA)" <ji...@apache.org> on 2015/09/16 19:07:46 UTC
[jira] [Closed] (USERGRID-1016) Remove UUID field encoding in our
ES fields
[ https://issues.apache.org/jira/browse/USERGRID-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shawn Feldman closed USERGRID-1016.
-----------------------------------
> Remove UUID field encoding in our ES fields
> -------------------------------------------
>
> Key: USERGRID-1016
> URL: https://issues.apache.org/jira/browse/USERGRID-1016
> Project: Usergrid
> Issue Type: Story
> Reporter: Todd Nine
> Assignee: Shawn Feldman
>
> We shouldn't encode a UUID as a specific UUID field type, since we're encoding it as a string. To keep our index tuples simple, and support both queries, we should store it as a string type. We should support the following formats.
> {code}
> select * where myUuid = 'aaa65d8a-16a6-11e5-86ea-7b4f7ff44431'
> {code}
> As well as
> {code}
> select * where myUuid = aaa65d8a-16a6-11e5-86ea-7b4f7ff44431
> {code}
> Notice the addition of single quotes in the first query, vs the parsing as a UUID type in the second query. This will enable users to use both versions, but does not affect performance.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)