henrib commented on code in PR #4601:
URL: https://github.com/apache/hive/pull/4601#discussion_r1297355354


##########
ql/src/test/org/apache/hadoop/hive/ql/security/authorization/plugin/metastore/TestHiveMetaStoreAuthorizer.java:
##########
@@ -411,4 +418,93 @@ public void testU_DropDataConnector_authorizedUser() {
       fail("testU_DropDataConnector_authorizedUser() failed with " + e);
     }
   }
+
+  /**
+   * Fake tables to test.
+   */
+  private static class TestTable {
+    private final String dbName;
+    private final String tableName;
+
+    private TestTable(String dbName, String tableName) {
+      this.dbName = dbName;
+      this.tableName = tableName;
+    }
+
+    @Override
+    public String toString() {
+      return dbName + "." + tableName;
+    }
+
+    public String getDbName() {
+      return dbName;
+    }
+
+    public String getTableName() {
+      return tableName;
+    }
+  }
+
+
+  private static List<TestTable> createTables(int dbs, int tbls) {
+    List<TestTable> tables  = new ArrayList<>(dbs * tbls);
+    for(int d = 0; d < dbs; ++d) {
+      for(int t = 0; t < tbls; ++t) {
+        String dbname = String.format("db%05x", d);
+        String tblName = String.format("tbl%05x", t);
+        tables.add(new TestTable(dbname, tblName));
+      }
+    }
+    return tables;
+  }
+
+  private static final int NUM_DB = 2;
+  private static final int NUM_TBL = 50;
+  @Ignore
+  public void testIndexedTableLookup0() {

Review Comment:
   Removed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to