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

GetTablesOperation pull all the tables meta irrespective of auth.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 4.0.0-alpha-1
    • HiveServer2
    • None
    • hive-3,java-8,sqlstdauth/ranger auth enabled.

    Description

      GetTablesOperation pull all the tables meta irrespective of auth.
      dbvisualizer and other ui based jdbc client pull tableemta similar to following operation:

      ResultSet res = con.getMetaData().getTables("", "", "%", new String[] { "TABLE", "VIEW" });
      

      https://github.com/rajkrrsingh/HiveServer2JDBCSample/blob/master/src/main/java/TestConnection.java#L20

      Attachments

        1. HIVE-20499.patch
          5 kB
          Rajkumar Singh

        Activity

          People

            Rajkumar Singh Rajkumar Singh
            Rajkumar Singh Rajkumar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: