You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Aman Sinha (JIRA)" <ji...@apache.org> on 2014/12/17 21:37:13 UTC

[jira] [Resolved] (DRILL-1873) CTAS in parquet format writes incorrect boolean value

     [ https://issues.apache.org/jira/browse/DRILL-1873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aman Sinha resolved DRILL-1873.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 0.8.0
                   0.7.0

Fixed in both 0.7 and master branches.  
0.7 commit #: 19def88de
master branch commit #: d2c582918

> CTAS in parquet format writes incorrect boolean value
> -----------------------------------------------------
>
>                 Key: DRILL-1873
>                 URL: https://issues.apache.org/jira/browse/DRILL-1873
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Aman Sinha
>            Assignee: Aman Sinha
>             Fix For: 0.7.0, 0.8.0
>
>         Attachments: 0001-DRILL-1873-Fix-boolean-type-writing-in-parquet-recor.patch
>
>
> CTAS statement below is writing False instead of True.  
> {code}
> 0: jdbc:drill:zk=local> create table foo10 as select true from cp.`tpch/region.parquet`;
> +------------+---------------------------+
> |  Fragment  | Number of records written |
> +------------+---------------------------+
> | 0_0        | 5                         |
> +------------+---------------------------+
> 1 row selected (0.218 seconds)
> 0: jdbc:drill:zk=local> select * from foo10;
> +------------+
> |   EXPR$0   |
> +------------+
> | false      |
> | false      |
> | false      |
> | false      |
> | false      |
> +------------+
> 5 rows selected (0.055 seconds)
> {code}



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