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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14249328#comment-14249328 ] 

Jason Altekruse commented on DRILL-1873:
----------------------------------------

+ LGTM

> 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
>         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)