mchades commented on code in PR #10998:
URL: https://github.com/apache/gravitino/pull/10998#discussion_r3263397354


##########
catalogs/hive-metastore-common/src/test/java/org/apache/gravitino/hive/client/TestHive2HMS.java:
##########
@@ -134,6 +135,11 @@ void runHiveClientTest() throws Exception {
       List<String> allTables = hiveClient.getAllTables(catalogName, dbName);
       Assertions.assertTrue(allTables.contains(tableName), "Table should be in 
the list");
 
+      List<String> managedTables =
+          hiveClient.listTablesByType(catalogName, dbName, "*", 
TableType.MANAGED_TABLE.name());
+      Assertions.assertTrue(
+          managedTables.contains(tableName), "Managed table list should 
contain the table");
+

Review Comment:
   There is already an integration test covering this case; please refer to 
`CatalogHiveViewIT#testListViewsDoesNotIncludeTables`.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to