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

distribute by and sort by ignored in the case of select *

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.3.0
    • Query Processor
    • None
    • Reviewed
    • Fixed select star with cluster by, distribute by and sort by.

    Description

      create table tab1(col1 string, col2 string)

      select * from tab1 distribute by col1 sort by col2

      is different from:

      select col1, col2 from tab1 distribute by col1 sort by col2

      Attachments

        1. HIVE-171-1.patch
          27 kB
          Zheng Shao

        Activity

          People

            zshao Zheng Shao
            rsm Raghotham Murthy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: