vvysotskyi commented on a change in pull request #1754: DRILL-7098: File
Metadata Metastore Plugin
URL: https://github.com/apache/drill/pull/1754#discussion_r277232692
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/BaseParquetMetadataProvider.java
##########
@@ -190,12 +191,12 @@ public TableMetadata getTableMetadata() {
if (this.schema == null) {
schema = new TupleSchema();
- fields.forEach((schemaPath, majorType) ->
SchemaPathUtils.addColumnMetadata(schema, schemaPath, majorType));
+ fields.forEach((schemaPath, majorType) ->
MetadataUtils.addColumnMetadata(schema, schemaPath, majorType));
} else {
// merges specified schema with schema from table
fields.forEach((schemaPath, majorType) -> {
if (SchemaPathUtils.getColumnMetadata(schemaPath, schema) == null) {
- SchemaPathUtils.addColumnMetadata(schema, schemaPath, majorType);
+ MetadataUtils.addColumnMetadata(schema, schemaPath, majorType);
Review comment:
```suggestion
MetadataUtils.addColumnMetadata(schema, schemaPath, majorType);
```
----------------------------------------------------------------
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