ihuzenko commented on a change in pull request #1829: DRILL-7096: Develop
vector for canonical Map<K,V>
URL: https://github.com/apache/drill/pull/1829#discussion_r317173399
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/store/avro/AvroRecordReader.java
##########
@@ -207,8 +209,11 @@ private void process(final Object value, final Schema
schema, final String field
final GenericArray<?> array = (GenericArray<?>) value;
Schema elementSchema = array.getSchema().getElementType();
Type elementType = elementSchema.getType();
- if (elementType == Schema.Type.RECORD || elementType ==
Schema.Type.MAP){
+ if (elementType == Schema.Type.RECORD){
Review comment:
```suggestion
if (elementType == Schema.Type.RECORD) {
```
----------------------------------------------------------------
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