Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-666

Show Tables should only list tables in the current database

    XMLWordPrintableJSON

Details

    Description

      Currently the show tables functionality lists all the tables in all the databases/schemas. It should only list the tables in the user's current database/schema

      drill> use INFORMATION_SCHEMA;
      drill> show tables;

      ------------------------+

      TABLE_SCHEMA TABLE_NAME

      ------------------------+

      hive.default t1
      hive.default students
      hive.default empty_test
      hive t1
      hive students
      hive empty_test
      INFORMATION_SCHEMA VIEWS
      INFORMATION_SCHEMA COLUMNS
      INFORMATION_SCHEMA TABLES
      INFORMATION_SCHEMA CATALOGS
      INFORMATION_SCHEMA SCHEMATA

      ------------------------+

      Attachments

        1. DRILL-666-1.patch
          6 kB
          Venki Korukanti

        Activity

          People

            vkorukanti Venki Korukanti
            rkins Rahul Kumar Challapalli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: