Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-1873

CTAS in parquet format writes incorrect boolean value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0, 0.8.0
    • None
    • None

    Description

      CTAS statement below is writing False instead of True.

      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)
      

      Attachments

        Activity

          People

            amansinha100 Aman Sinha
            amansinha100 Aman Sinha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: