Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1412

CREATE VIEW AS SELECT produces incorrect results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.0
    • Impala 2.1
    • None

    Description

      The following queries should return identical results, but this is not the case.

      This query returns 11000 rows:

      use functional;
      SELECT
      tinyint_col,
      tinyint_col AS tinyint_col_2,
      bigint_col
      FROM alltypesagg;
      

      This query returns 9000 rows:

      use functional;
      create VIEW tmp_view AS SELECT
      tinyint_col,
      tinyint_col AS tinyint_col_2,
      bigint_col
      FROM alltypesagg;
      SELECT * FROM tmp_view;
      

      Attachments

        Activity

          People

            dtsirogiannis Dimitris Tsirogiannis
            tarasbob Taras Bobrovytsky
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: