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

getSchema returns invalid column names, getThriftSchema does not return old style string schemas

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.6.0
    • Component/s: Query Processor
    • Labels:
      None
    • Environment:

      Cent OS 5.3

    • Hadoop Flags:
      Incompatible change, Reviewed

      Description

      SELECT AVG(total) as avg,STDDEV(total) as stddevr FROM (SELECT COUNT(phrase) as total FROM TABLE GROUP BY phrase) t2

      getSchema and getThriftSchema both return

      col0: double
      col1 : double

      expected results

      avg : double
      stddevr : double

      col0 & col1 are useless column names.

        Attachments

          Activity

            People

            • Assignee:
              jvs John Sichi
              Reporter:
              scottingitup Scott
            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: