Hive
  1. Hive
  2. HIVE-2884

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Not A Problem
    • Affects Version/s: 0.7.1
    • Fix Version/s: None
    • Component/s: SQL
    • Labels:
      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Mauro Cazzari
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development