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

Alex Levenson commented on PARQUET-275:
---------------------------------------

Yeah so, the way I'd rather deal with that is for us to stop returning thrift 
objects, and instead return something with a schema that matches the 
projection. In the case of maps + sets, we would instead return lists.

Returning sets that can blow up when used as a set doesn't seem great, but yes 
it could work. The more we do things like this though the more I feel that it'd 
be better to return a different kind of object other than thrift.

> It should not be possible to project away columns of a key in a map in 
> parquet-thrift
> -------------------------------------------------------------------------------------
>
>                 Key: PARQUET-275
>                 URL: https://issues.apache.org/jira/browse/PARQUET-275
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-mr
>            Reporter: Alex Levenson
>            Assignee: Alex Levenson
>
> That wouldn't make much sense when re-assembling the map, there could be 
> unexpected key collisions



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

Reply via email to