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/16 03:49:13 UTC

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

Aman Sinha created DRILL-1873:
---------------------------------

             Summary: 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


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)