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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.4.0
    • 0.6.0
    • Query Processor
    • None
    • Cent OS 5.3

    • 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

        1. HIVE-763.1.patch
          7 kB
          John Sichi

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: