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

analyze table compute stats for columns should collect basic stats as well

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Statistics
    • None

    Description

      Currently user need to run following two statements to collect stats:

      analyze table T compute statistics;
      analyze table T compute statistics for columns;
      

      Its little confusing for users that they need to collect both stats. Since basic stats are cheap to compute, we should collect them even in case of column stats, so that by running single statement users can get all stats. This leaves with the possibility of fast basic stats collection with first statement which will be good to have.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ashutoshc Ashutosh Chauhan
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: