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

Better usability for SHOW COMPACTIONS

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • Transactions
    • None

    Description

      Currently on a test cluster the output of 'SHOW COMPACTIONS' has 117k rows. This makes it basically useless to work with.

      For better usability, we should support syntax like 'SHOW COMPACTIONS IN <database>' or maybe 'SHOW COMPACTIONS ON <table>' (particular syntax to be chosen for consistency with other operations I suppose).

      Alternatively (or maybe in addition) it seems like it would be nice to expose the same data in a queryable table (eg in information_schema or a system namespace) so that I could do things like: SELECT dbname, state, count from compactions group by 1,2;

      Attachments

        1. HIVE-21443.03.patch
          74 kB
          Peter Vary
        2. HIVE-21443.02.patch
          74 kB
          Peter Vary
        3. HIVE-21443.addendum.patch
          40 kB
          Gopal Vijayaraghavan
        4. HIVE-21443.patch
          34 kB
          Peter Vary

        Activity

          People

            pvary Peter Vary
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: