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

Queries with UNION fails with data type mis-match for limit 0

    XMLWordPrintableJSON

Details

    Description

      git.commit.id.abbrev=fb09973

      The following queries returns different data types between with and without limit 0:

      SELECT c1 FROM `union_01.parquet` UNION SELECT c2 FROM `union_02.parquet`

      limit 0: [INTEGER]
      regular: [BIGINT]

      SELECT c2 FROM `union_01.parquet` UNION SELECT c8 FROM `union_02.parquet`

      limit 0: [BIGINT]
      regular: [DOUBLE]

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: