[Improvement] In `HiveConnectorAdapter.java` field `propertyMetadata` is hidden
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 935
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 315
Description
### What would you like to be improved?
`propertyMetadata` is hidden in `buildInternalConnectorConfig`
```java
Map> catalogPropertyMeta =
Maps.uniqueIndex(
propertyMetadata.getCatalogPropertyMeta(),
propertyMetadata -> propertyMetadata.getName().replace("_", "."));
```
### How should we improve?
rename local variable?
Contributor guide
Research direction
Open HiveConnectorAdapter.java and inspect buildInternalConnectorConfig. Compare the local catalogPropertyMeta name with the surrounding propertyMetadata field, then rename the local variable to remove the hiding while preserving behavior. Done means the local variable no longer obscures the field and the method remains unchanged in function.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100