Skip to content

Commit

Permalink
add to catalog properties
Browse files Browse the repository at this point in the history
  • Loading branch information
FANNG1 committed Mar 14, 2024
1 parent 5579f32 commit 3165267
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import static com.datastrato.gravitino.catalog.hive.HiveCatalogPropertiesMeta.PRINCIPAL;

import com.datastrato.gravitino.Catalog;
import com.datastrato.gravitino.catalog.BaseCatalog;
import com.datastrato.gravitino.catalog.PropertyEntry;
import com.google.common.collect.Maps;
import java.util.Map;
Expand Down Expand Up @@ -67,9 +68,10 @@ void testPropertyMeta() {

Map<String, PropertyEntry<?>> propertyEntryMap =
hiveCatalogOperations.catalogPropertiesMetadata().propertyEntries();
Assertions.assertEquals(11, propertyEntryMap.size());
Assertions.assertEquals(12, propertyEntryMap.size());
Assertions.assertTrue(propertyEntryMap.containsKey(METASTORE_URIS));
Assertions.assertTrue(propertyEntryMap.containsKey(Catalog.PROPERTY_PACKAGE));
Assertions.assertTrue(propertyEntryMap.containsKey(BaseCatalog.CATALOG_OPERATION_IMPL));
Assertions.assertTrue(propertyEntryMap.containsKey(CLIENT_POOL_SIZE));
Assertions.assertTrue(propertyEntryMap.containsKey(IMPERSONATION_ENABLE));

Expand Down

0 comments on commit 3165267

Please sign in to comment.