You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Steven Phillips (JIRA)" <ji...@apache.org> on 2014/12/10 08:06:12 UTC
[jira] [Commented] (DRILL-1835) Sort where record contains maps
produces incorrect results
[ https://issues.apache.org/jira/browse/DRILL-1835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14240744#comment-14240744 ]
Steven Phillips commented on DRILL-1835:
----------------------------------------
My fix is to use makeTransferPair() to create the sub vectors in the schema batches in the sort and join operators.
> Sort where record contains maps produces incorrect results
> ----------------------------------------------------------
>
> Key: DRILL-1835
> URL: https://issues.apache.org/jira/browse/DRILL-1835
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Steven Phillips
> Attachments: DRILL-1835.patch
>
>
> the maps all come back empty:
> select * from `complex.parquet` order by amount;
> trans_id date time amount user_info marketing_info trans_info
> 2 2013-06-09 15:31:45 20.25 {} {} {}
> 4 2013-07-21 08:01:13 34.2 {} {} {}
> 0 2013-07-26 04:56:59 80.5 {} {} {}
> 1 2013-05-16 07:31:54 100.4 {} {} {}
> 3 2013-07-19 11:24:22 500.75 {} {} {}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)