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

Analysis error: IllegalArgumentException: targetType=SMALLINT type=INT

    XMLWordPrintableJSON

Details

    Description

      Please see below

      [home:21000] > use functional;
      Query: use functional
      
      [home:21000] > explain SELECT 1
      FROM alltypestiny a1
      INNER JOIN alltypestiny a3 ON a3.smallint_col = a1.int_col
      INNER JOIN alltypes a4 ON a4.smallint_col = a3.smallint_col;
      Query: explain SELECT 1
      FROM alltypestiny a1
      INNER JOIN alltypestiny a3 ON a3.smallint_col = a1.int_col
      INNER JOIN alltypes a4 ON a4.smallint_col = a3.smallint_col
      ERROR: IllegalStateException: Failed analysis after expr substitution.
      CAUSED BY: IllegalArgumentException: targetType=SMALLINT type=INT
      

      The version is git hash 649687694890b0fac0bacc9817a176452a752ebd.

      Attachments

        Activity

          People

            dtsirogiannis Dimitris Tsirogiannis
            caseyc casey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: