[ 
https://issues.apache.org/jira/browse/PHOENIX-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14350670#comment-14350670
 ] 

James Taylor commented on PHOENIX-1241:
---------------------------------------

If metics aren't typed, then I'd go back to the solution I proposed above to 
declare a metric name in the SYSTEM.STATS table and convert it as it's 
upserted. The "inferring type based on byte[]" is not viable IMHO.

I'll file an HTrace JIRA too - I think it's valuable to type metrics. After 
all, it's mostly numeric data, so why take the number->string->number hit?

> Add typing to trace annotations
> -------------------------------
>
>                 Key: PHOENIX-1241
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1241
>             Project: Phoenix
>          Issue Type: Sub-task
>    Affects Versions: 5.0.0, 4.1.1
>            Reporter: Jesse Yates
>             Fix For: 5.0.0, 4.1.1
>
>
> Currently traces only support storing string valued annotations - this works 
> for known trace sources. However, phoenix will have trace annotations with 
> specific types. We can improve the storage format to know about these custom 
> types, rather than just storing strings, making the query interface more 
> powerful.
> See PHOENIX-1226 for more discussion



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

Reply via email to