[ https://issues.apache.org/jira/browse/PHOENIX-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14350494#comment-14350494 ]
Jesse Yates commented on PHOENIX-1241: -------------------------------------- Yeah, byte[] was nice in a general sense, but most ppl want to store strings so we definitely saw cases where deserialization of the byte[] led to a garbled tag/annotation :-/ Here you could "cheat" and just say that, for instance if the byte[] is prefixed by 0x00,0x00 the next info is the type info, followed up the info; otherwise, the byte[] is just stored as a string. Or something like that. > 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)