Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-14719

ASTNode rootNode is not maintained properly when changing child/parent relation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      When I run some query like:

      set hive.cbo.enable=false;
      select * from A where exists (select * from B where B.k1=A.k1 and B.k2=A.k2);
      

      It gets error like:

      FAILED: SemanticException Line 0:-1 Invalid table alias or column reference 'sq_1': (possible column names are: _table_or_col b) k2) sq_corr_1)) (tok, (. (tok_table_or_col sq_1) sq_corr_1))
      

      Attachments

        1. HIVE-14719.2.patch
          6 kB
          Rui Li
        2. HIVE-14719.1.patch
          1 kB
          Rui Li

        Activity

          People

            lirui Rui Li
            lirui Rui Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: