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

When "distinct" is used in from of STDDEV, the statement fails with a Java exception error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 0.7.1
    • None
    • SQL
    • None

    Description

      Given the following statement:

      select distinct STDDEV_SAMP(TXT_1.`age`) as AgeAlias,
      STDDEV_SAMP(TXT_1.`weight`) as WeightAlias
      from `CLASS` TXT_1;

      Hive generates a Java SQL exception error upon execution. If the "distinct" is removed, the statement runs fine.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mcazzari Mauro Cazzari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: