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

Jens Geyer edited comment on THRIFT-2189 at 1/28/15 9:11 PM:
-------------------------------------------------------------

Have you compared against THRIFT-409? The wire format of union is deliberately 
chosen to be the exact same as struct. The field that is actually set, well, it 
is the field that is actually set. Implicitly. No need for a flag, at least not 
on the wire. 

If you have a test case that is not working, please share it with us. 

If all runs fine, but you have a proposal how to make things faster in memory, 
that would be awesome.


was (Author: jensg):
Have you compared against THRIFT-409? The wire format of union is deliberately 
chosen to be the exact same as struct. The field that is actually set, well, it 
is the field that is actually set. Implicitly. No need for a flag.

> Go does not support "union" type
> --------------------------------
>
>                 Key: THRIFT-2189
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2189
>             Project: Thrift
>          Issue Type: Bug
>          Components: Go - Compiler
>            Reporter: Jack L
>            Assignee: Jens Geyer
>             Fix For: 1.0
>
>
> Go thrift compiler does not support union types



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

Reply via email to