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

Count(*) function returns as optional instead of required

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0
    • Execution - Data Types
    • None

    Description

      git.commit.id.abbrev=c8a7840

      I have the following CTAS query:
      create table test as select count as col1 from cp.`tpch/orders.parquet`;

      The schema of the test table shows col1 as optional:
      message root {
      optional int64 col1;
      }

      Attachments

        Activity

          People

            seanhychu Sean Hsuan-Yi Chu
            knguyen Krystal
            Krystal Krystal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: