ihuzenko commented on a change in pull request #1844: DRILL-7326: Support 
repeated lists for CTAS parquet format
URL: https://github.com/apache/drill/pull/1844#discussion_r315680376
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRecordWriter.java
 ##########
 @@ -292,7 +293,12 @@ private Type getType(MaterializedField field) {
         }
         return new GroupType(dataMode == DataMode.REPEATED ? 
Repetition.REPEATED : Repetition.OPTIONAL, field.getName(), types);
       case LIST:
-        throw new UnsupportedOperationException("Unsupported type " + 
minorType);
+        MaterializedField elementField = field.getChildren().iterator().next();
 
 Review comment:
   yes, good idea, thanks:)

----------------------------------------------------------------
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

Reply via email to