[ https://issues.apache.org/jira/browse/HIVE-20499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajkumar Singh updated HIVE-20499: ---------------------------------- Description: GetTablesOperation pull all the tables meta irrespective of auth. dbvisualizer and other ui based jdbc client pull tableemta similar to following operation: {code} ResultSet res = con.getMetaData().getTables("", "", "%", new String[] { "TABLE", "VIEW" }); {code} https://github.com/rajkrrsingh/HiveServer2JDBCSample/blob/master/src/main/java/TestConnection.java#L20 was: GetTablesOperation pull all the tables meta irrespective of auth. Steps to reproduce: {code} ResultSet res = con.getMetaData().getTables("", "", "%", new String[] { "TABLE", "VIEW" }); {code} https://github.com/rajkrrsingh/HiveServer2JDBCSample/blob/master/src/main/java/TestConnection.java#L20 > GetTablesOperation pull all the tables meta irrespective of auth. > ----------------------------------------------------------------- > > Key: HIVE-20499 > URL: https://issues.apache.org/jira/browse/HIVE-20499 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Affects Versions: 3.1.0 > Environment: hive-3,java-8,sqlstdaut/ranger auth enabled. > Reporter: Rajkumar Singh > Assignee: Rajkumar Singh > Priority: Major > > GetTablesOperation pull all the tables meta irrespective of auth. > dbvisualizer and other ui based jdbc client pull tableemta similar to > following operation: > {code} > ResultSet res = con.getMetaData().getTables("", "", "%", new String[] { > "TABLE", "VIEW" }); > {code} > https://github.com/rajkrrsingh/HiveServer2JDBCSample/blob/master/src/main/java/TestConnection.java#L20 -- This message was sent by Atlassian JIRA (v7.6.3#76005)