[ 
https://issues.apache.org/jira/browse/DRILL-6206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16666261#comment-16666261
 ] 

Paul Rogers commented on DRILL-6206:
------------------------------------

Took a look at this one. We have tests in {{TestRepeatedListAccessors}} that 
verify that the row set mechanism handles repeated lists.

As it turns out, while Drill does claim support for repeated lists, the reality 
is that it works where it works, and is not supported where it does not work.

The description seems to be from a run of {{TestRecordBatchSizer}}. Ran those 
tests and they passed. The stack trace refers to a test method that does not 
appear in master: {{TestRecordBatchSizer.testSizerRepeatedList}}. Perhaps 
attach that code to this bug?

> BasicTypeHelper.getSize does not support repeated list
> ------------------------------------------------------
>
>                 Key: DRILL-6206
>                 URL: https://issues.apache.org/jira/browse/DRILL-6206
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow
>    Affects Versions: 1.12.0
>            Reporter: Padma Penumarthy
>            Priority: Major
>
> Fails with the following exception.
> java.lang.UnsupportedOperationException: Unable to get size for minor type 
> [LIST] and mode [REPEATED]
> at 
> org.apache.drill.exec.expr.BasicTypeHelper.getSize(BasicTypeHelper.java:163)
>  at 
> org.apache.drill.exec.record.TupleSchema$PrimitiveColumnMetadata.<init>(TupleSchema.java:178)
>  at org.apache.drill.exec.record.TupleSchema.fromField(TupleSchema.java:341)
>  at org.apache.drill.exec.record.TupleSchema.add(TupleSchema.java:390)
>  at org.apache.drill.test.rowSet.SchemaBuilder.add(SchemaBuilder.java:163)
>  at org.apache.drill.test.rowSet.SchemaBuilder.add(SchemaBuilder.java:183)
>  at 
> org.apache.drill.test.rowSet.SchemaBuilder.addArray(SchemaBuilder.java:211)
>  at 
> org.apache.drill.exec.record.TestRecordBatchSizer.testSizerRepeatedList(TestRecordBatchSizer.java:631)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at java.lang.reflect.Method.invoke(Method.java:497)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at java.lang.reflect.Method.invoke(Method.java:497)
>  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>  at java.lang.Thread.run(Thread.java:745)
> Process finished with exit code 255



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to