Skip to content

Commit e09020e

Browse files
committed
[Kernel] refactored table_property_enablement_key (#5245): Fixed google formatting.
Signed-off-by: Julian Klein <[email protected]>
1 parent 8b242d0 commit e09020e

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

kernel/kernel-api/src/main/java/io/delta/kernel/internal/TransactionBuilderImpl.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,7 @@ protected TransactionImpl buildTransactionInternal(
258258
Map<String, String> tablePropertiesWithDomainMetadataEnabled =
259259
new HashMap<>(tableProperties.orElse(emptyMap()));
260260
tablePropertiesWithDomainMetadataEnabled.put(
261-
TableFeatures
262-
.getTableFeature("domain_metadata_w_feature")
263-
.getTablePropertyElementKey(),
261+
TableFeatures.getTableFeature("domain_metadata_w_feature").getTablePropertyElementKey(),
264262
"supported");
265263
tableProperties = Optional.of(tablePropertiesWithDomainMetadataEnabled);
266264
}

unity/src/main/java/io/delta/unity/UCCatalogManagedClient.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,9 @@ private Map<String, String> getRequiredTablePropertiesForCreate(String ucTableId
225225
final Map<String, String> requiredProperties = new HashMap<>();
226226

227227
requiredProperties.put(
228-
TableFeatures
229-
.getTableFeature("catalog_managed_r_w_feature_preview")
230-
.getTablePropertyElementKey(),
231-
TableFeatures.SET_TABLE_FEATURE_SUPPORTED_VALUE);
228+
TableFeatures.getTableFeature("catalog_managed_r_w_feature_preview")
229+
.getTablePropertyElementKey(),
230+
TableFeatures.SET_TABLE_FEATURE_SUPPORTED_VALUE);
232231
requiredProperties.put(UC_TABLE_ID_KEY, ucTableId);
233232

234233
return requiredProperties;

0 commit comments

Comments
 (0)