vvysotskyi commented on a change in pull request #1723: DRILL-7063: Seperate
metadata cache file into summary, file metadata
URL: https://github.com/apache/drill/pull/1723#discussion_r272542334
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/metadata/Metadata_V3.java
##########
@@ -163,6 +174,15 @@ public String getDrillVersion() {
return drillVersion;
}
+ @JsonIgnore
+ public ConcurrentHashMap<Metadata_V3.ColumnTypeMetadata_v3.Key,
Metadata_V3.ColumnTypeMetadata_v3> getColumnTypeInfoMap() {
+ return this.columnTypeInfo;
+ }
+
+ @Override
+ public List<? extends MetadataBase.ColumnTypeMetadata>
getColumnTypeInfoList() {
+ return new ArrayList(this.columnTypeInfo.values());
Review comment:
Please use generics to avoid warnings in IDE
```suggestion
return new ArrayList<>(this.columnTypeInfo.values());
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services