You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[#3702]refactor(API): Refactoring SupportsCatalogs.listCatalogs() method to return String[] (#3741)
### What changes were proposed in this pull request?
Currently, the SupportsCatalogs.listCatalogs() method returns an array
of NameIdentifier to represents the catalogs. Actually a String[] will
be more clear and easier to use.
### Why are the changes needed?
To make the API more clear to use.
Fix: #3702
### Does this PR introduce _any_ user-facing change?
Almost not; Just return type changed, will be more simple.
### How was this patch tested?
Yes, many test cases cover this API.
Copy file name to clipboardexpand all lines: catalogs/catalog-hive/src/test/java/com/datastrato/gravitino/catalog/hive/integration/test/CatalogHiveIT.java
Copy file name to clipboardexpand all lines: catalogs/catalog-kafka/src/test/java/com/datastrato/gravitino/catalog/kafka/integration/test/CatalogKafkaIT.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -108,8 +108,8 @@ public static void shutdown() {
Copy file name to clipboardexpand all lines: flink-connector/src/main/java/com/datastrato/gravitino/flink/connector/catalog/GravitinoCatalogManager.java
Copy file name to clipboardexpand all lines: trino-connector/src/main/java/com/datastrato/gravitino/trino/connector/catalog/CatalogConnectorManager.java
0 commit comments