Skip to content

Commit

Permalink
[apache#2188] improvement(catalogs): fix incorrect static field refer…
Browse files Browse the repository at this point in the history
…ence for HadoopCatalogOperations (apache#2336)

### What changes were proposed in this pull request?
- fix incorrect static field reference for HadoopCatalogOperations

### Why are the changes needed?
Fix: apache#2188 

### Does this PR introduce _any_ user-facing change?
N/A

### How was this patch tested?
No
  • Loading branch information
YxAc authored Feb 26, 2024
1 parent 32cd234 commit ffdf84b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.datastrato.gravitino.NameIdentifier;
import com.datastrato.gravitino.Namespace;
import com.datastrato.gravitino.StringIdentifier;
import com.datastrato.gravitino.catalog.BasePropertiesMetadata;
import com.datastrato.gravitino.catalog.CatalogOperations;
import com.datastrato.gravitino.catalog.PropertiesMetadata;
import com.datastrato.gravitino.exceptions.AlreadyExistsException;
Expand Down Expand Up @@ -514,7 +515,7 @@ public void close() throws IOException {}
private Map<String, String> addManagedFlagToProperties(Map<String, String> properties) {
return ImmutableMap.<String, String>builder()
.putAll(properties)
.put(HadoopSchemaPropertiesMetadata.GRAVITINO_MANAGED_ENTITY, Boolean.TRUE.toString())
.put(BasePropertiesMetadata.GRAVITINO_MANAGED_ENTITY, Boolean.TRUE.toString())
.build();
}

Expand Down

0 comments on commit ffdf84b

Please sign in to comment.