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

Set column names in result schema when plan has Values root

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • CBO

    Description

      The query

      select b1, count(a1) count1 from (select a1, b1 from t1) s where 1=0 group by b1;
      

      should have a result with column names

      b1	count1
      

      but it is

      $f0	$f1
      

      Attachments

        Issue Links

          Activity

            People

              kkasa Krisztian Kasa
              kkasa Krisztian Kasa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m