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

Expression Not In Group By Key error is sometimes masked

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.6.0
    • Query Processor
    • None
    • Reviewed

    Description

      Depending on the order of expressions, the error message for a expression not in group key is not displayed; instead it is null.

      hive> select concat(value, concat(value)) from src group by concat(value);
      FAILED: Error in semantic analysis: null
      
      hive> select concat(concat(value), value) from src group by concat(value);
      FAILED: Error in semantic analysis: line 1:29 Expression Not In Group By Key value
      
      

      Attachments

        1. HIVE-1184.1.patch
          7 kB
          Paul Yang
        2. HIVE-1184.2.patch
          8 kB
          Paul Yang

        Activity

          People

            pauly Paul Yang
            pauly Paul Yang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: