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

CREATE VIEW followup: extend metastore get_tables API to allow filtering by table type (view, external table, etc.)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.6.0
    • None
    • Metastore
    • None

    Description

      e.g. to get tables which start with x, excluding views:

      get_tables_by_type('default', 'x.*', 'EXTERNAL_TABLE|MANAGED_TABLE');

      Besides direct use, this can also be used to simplify the JDBC getTables() API, which allows filtering by type.

      Attachments

        Issue Links

          Activity

            People

              pauly Paul Yang
              jvs John Sichi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: