[jira] [Updated] (DRILL-4299) Query that involves convert_from succeeds, exception is found in drillbit.log

2016-01-21 Thread Victoria Markman (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-4299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Victoria Markman updated DRILL-4299:

Attachment: drillbit.log

> Query that involves convert_from succeeds, exception is found in drillbit.log
> -
>
> Key: DRILL-4299
> URL: https://issues.apache.org/jira/browse/DRILL-4299
> Project: Apache Drill
>  Issue Type: Bug
>  Components: Execution - Codegen
>Reporter: Victoria Markman
> Attachments: data, drillbit.log
>
>
> Here is example of the exception, please refer to drillbit.log that is 
> attached.
> {code}
> 2016-01-22 00:16:12,065 [295e8b32-e2e1-6966-2b13-389cd724ac73:foreman] INFO  
> o.a.drill.exec.work.foreman.Foreman - Query text for query id 
> 295e8b32-e2e1-6966-2b13-389cd724ac73: select c_row, c_float4, 
> convert_from(convert_to(c_float4, 'FLOAT'), 'FLOAT') from data
> 2016-01-22 00:16:12,166 [295e8b32-e2e1-6966-2b13-389cd724ac73:foreman] INFO  
> o.a.d.exec.store.parquet.Metadata - Took 0 ms to get file statuses
> 2016-01-22 00:16:12,173 [295e8b32-e2e1-6966-2b13-389cd724ac73:foreman] INFO  
> o.a.d.exec.store.parquet.Metadata - Fetch parquet metadata: Executed 1 out of 
> 1 using 1 threads. Time: 6ms total, 6.100645ms avg, 6ms max.
> 2016-01-22 00:16:12,173 [295e8b32-e2e1-6966-2b13-389cd724ac73:foreman] INFO  
> o.a.d.exec.store.parquet.Metadata - Fetch parquet metadata: Executed 1 out of 
> 1 using 1 threads. Earliest start: 1.338000 μs, Latest start: 1.338000 μs, 
> Average start: 1.338000 μs .
> 2016-01-22 00:16:12,173 [295e8b32-e2e1-6966-2b13-389cd724ac73:foreman] INFO  
> o.a.d.exec.store.parquet.Metadata - Took 6 ms to read file metadata
> 2016-01-22 00:16:12,229 [295e8b32-e2e1-6966-2b13-389cd724ac73:frag:0:0] INFO  
> o.a.d.e.w.fragment.FragmentExecutor - 
> 295e8b32-e2e1-6966-2b13-389cd724ac73:0:0: State change requested 
> AWAITING_ALLOCATION --> RUNNING
> 2016-01-22 00:16:12,229 [295e8b32-e2e1-6966-2b13-389cd724ac73:frag:0:0] INFO  
> o.a.d.e.w.f.FragmentStatusReporter - 
> 295e8b32-e2e1-6966-2b13-389cd724ac73:0:0: State to report: RUNNING
> 2016-01-22 00:16:12,300 [295e8b32-e2e1-6966-2b13-389cd724ac73:frag:0:0] ERROR 
> o.a.drill.exec.compile.MergeAdapter - Failure while merging classes.
> java.lang.RuntimeException: Error at instruction 147: Expected an object 
> reference, but found . doEval(II)V
> 0 R I I . . . . . . . . . . . . . . . . . . . . . .  :  :L0
> 1 R I I . . . . . . . . . . . . . . . . . . . . . .  :  : LINENUMBER 
> 60 L0
> 2 R I I . . . . . . . . . . . . . . . . . . . . . .  :  : ICONST_0
> 3 R I I . . . . . . . . . . . . . . . . . . . . . .  : I  : ISTORE 3
> 4 R I I I . . . . . . . . . . . . . . . . . . . . .  :  : FCONST_0
> 5 R I I I . . . . . . . . . . . . . . . . . . . . .  : F  : FSTORE 4
> 6 R I I I F . . . . . . . . . . . . . . . . . . . .  :  :L1
> 7 R I I I F . . . . . . . . . . . . . . . . . . . .  :  : LINENUMBER 
> 62 L1
> 8 R I I I F . . . . . . . . . . . . . . . . . . . .  :  : ALOAD 0
> 9 R I I I F . . . . . . . . . . . . . . . . . . . .  : R  : GETFIELD 
> org/apache/drill/exec/test/generated/ProjectorGen11.vv1 : 
> Lorg/apache/drill/exec/vector/NullableFloat4Vector;
> 00010 R I I I F . . . . . . . . . . . . . . . . . . . .  : R  : 
> INVOKEVIRTUAL org/apache/drill/exec/vector/NullableFloat4Vector.getAccessor 
> ()Lorg/apache/drill/exec/vector/NullableFloat4Vector$Accessor;
> 00011 R I I I F . . . . . . . . . . . . . . . . . . . .  : R  : ILOAD 1
> 00012 R I I I F . . . . . . . . . . . . . . . . . . . .  : R I  : 
> INVOKEVIRTUAL 
> org/apache/drill/exec/vector/NullableFloat4Vector$Accessor.isSet (I)I
> 00013 R I I I F . . . . . . . . . . . . . . . . . . . .  : I  : ISTORE 3
> 00014 R I I I F . . . . . . . . . . . . . . . . . . . .  :  :L2
> 00015 R I I I F . . . . . . . . . . . . . . . . . . . .  :  : LINENUMBER 
> 63 L2
> 00016 R I I I F . . . . . . . . . . . . . . . . . . . .  :  : ILOAD 3
> 00017 R I I I F . . . . . . . . . . . . . . . . . . . .  : I  : ICONST_1
> 00018 R I I I F . . . . . . . . . . . . . . . . . . . .  : I I  : 
> IF_ICMPNE L3
> 00019 R I I I F . . . . . . . . . . . . . . . . . . . .  :  :L4
> 00020 ?  : LINENUMBER 64 L4
> 00021 ?  : ALOAD 0
> 00022 ?  : GETFIELD 
> org/apache/drill/exec/test/generated/ProjectorGen11.vv1 : 
> Lorg/apache/drill/exec/vector/NullableFloat4Vector;
> 00023 ?  : INVOKEVIRTUAL 
> org/apache/drill/exec/vector/NullableFloat4Vector.getAccessor 
> ()Lorg/apache/drill/exec/vector/NullableFloat4Vector$Accessor;
> 00024 ?  : ILOAD 1
> 00025 ?

[jira] [Updated] (DRILL-4299) Query that involves convert_from succeeds, exception is found in drillbit.log

2016-01-21 Thread Victoria Markman (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-4299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Victoria Markman updated DRILL-4299:

Attachment: data

> Query that involves convert_from succeeds, exception is found in drillbit.log
> -
>
> Key: DRILL-4299
> URL: https://issues.apache.org/jira/browse/DRILL-4299
> Project: Apache Drill
>  Issue Type: Bug
>  Components: Execution - Codegen
>Reporter: Victoria Markman
> Attachments: data, drillbit.log
>
>
> Here is example of the exception, please refer to drillbit.log that is 
> attached.
> {code}
> 2016-01-22 00:16:12,065 [295e8b32-e2e1-6966-2b13-389cd724ac73:foreman] INFO  
> o.a.drill.exec.work.foreman.Foreman - Query text for query id 
> 295e8b32-e2e1-6966-2b13-389cd724ac73: select c_row, c_float4, 
> convert_from(convert_to(c_float4, 'FLOAT'), 'FLOAT') from data
> 2016-01-22 00:16:12,166 [295e8b32-e2e1-6966-2b13-389cd724ac73:foreman] INFO  
> o.a.d.exec.store.parquet.Metadata - Took 0 ms to get file statuses
> 2016-01-22 00:16:12,173 [295e8b32-e2e1-6966-2b13-389cd724ac73:foreman] INFO  
> o.a.d.exec.store.parquet.Metadata - Fetch parquet metadata: Executed 1 out of 
> 1 using 1 threads. Time: 6ms total, 6.100645ms avg, 6ms max.
> 2016-01-22 00:16:12,173 [295e8b32-e2e1-6966-2b13-389cd724ac73:foreman] INFO  
> o.a.d.exec.store.parquet.Metadata - Fetch parquet metadata: Executed 1 out of 
> 1 using 1 threads. Earliest start: 1.338000 μs, Latest start: 1.338000 μs, 
> Average start: 1.338000 μs .
> 2016-01-22 00:16:12,173 [295e8b32-e2e1-6966-2b13-389cd724ac73:foreman] INFO  
> o.a.d.exec.store.parquet.Metadata - Took 6 ms to read file metadata
> 2016-01-22 00:16:12,229 [295e8b32-e2e1-6966-2b13-389cd724ac73:frag:0:0] INFO  
> o.a.d.e.w.fragment.FragmentExecutor - 
> 295e8b32-e2e1-6966-2b13-389cd724ac73:0:0: State change requested 
> AWAITING_ALLOCATION --> RUNNING
> 2016-01-22 00:16:12,229 [295e8b32-e2e1-6966-2b13-389cd724ac73:frag:0:0] INFO  
> o.a.d.e.w.f.FragmentStatusReporter - 
> 295e8b32-e2e1-6966-2b13-389cd724ac73:0:0: State to report: RUNNING
> 2016-01-22 00:16:12,300 [295e8b32-e2e1-6966-2b13-389cd724ac73:frag:0:0] ERROR 
> o.a.drill.exec.compile.MergeAdapter - Failure while merging classes.
> java.lang.RuntimeException: Error at instruction 147: Expected an object 
> reference, but found . doEval(II)V
> 0 R I I . . . . . . . . . . . . . . . . . . . . . .  :  :L0
> 1 R I I . . . . . . . . . . . . . . . . . . . . . .  :  : LINENUMBER 
> 60 L0
> 2 R I I . . . . . . . . . . . . . . . . . . . . . .  :  : ICONST_0
> 3 R I I . . . . . . . . . . . . . . . . . . . . . .  : I  : ISTORE 3
> 4 R I I I . . . . . . . . . . . . . . . . . . . . .  :  : FCONST_0
> 5 R I I I . . . . . . . . . . . . . . . . . . . . .  : F  : FSTORE 4
> 6 R I I I F . . . . . . . . . . . . . . . . . . . .  :  :L1
> 7 R I I I F . . . . . . . . . . . . . . . . . . . .  :  : LINENUMBER 
> 62 L1
> 8 R I I I F . . . . . . . . . . . . . . . . . . . .  :  : ALOAD 0
> 9 R I I I F . . . . . . . . . . . . . . . . . . . .  : R  : GETFIELD 
> org/apache/drill/exec/test/generated/ProjectorGen11.vv1 : 
> Lorg/apache/drill/exec/vector/NullableFloat4Vector;
> 00010 R I I I F . . . . . . . . . . . . . . . . . . . .  : R  : 
> INVOKEVIRTUAL org/apache/drill/exec/vector/NullableFloat4Vector.getAccessor 
> ()Lorg/apache/drill/exec/vector/NullableFloat4Vector$Accessor;
> 00011 R I I I F . . . . . . . . . . . . . . . . . . . .  : R  : ILOAD 1
> 00012 R I I I F . . . . . . . . . . . . . . . . . . . .  : R I  : 
> INVOKEVIRTUAL 
> org/apache/drill/exec/vector/NullableFloat4Vector$Accessor.isSet (I)I
> 00013 R I I I F . . . . . . . . . . . . . . . . . . . .  : I  : ISTORE 3
> 00014 R I I I F . . . . . . . . . . . . . . . . . . . .  :  :L2
> 00015 R I I I F . . . . . . . . . . . . . . . . . . . .  :  : LINENUMBER 
> 63 L2
> 00016 R I I I F . . . . . . . . . . . . . . . . . . . .  :  : ILOAD 3
> 00017 R I I I F . . . . . . . . . . . . . . . . . . . .  : I  : ICONST_1
> 00018 R I I I F . . . . . . . . . . . . . . . . . . . .  : I I  : 
> IF_ICMPNE L3
> 00019 R I I I F . . . . . . . . . . . . . . . . . . . .  :  :L4
> 00020 ?  : LINENUMBER 64 L4
> 00021 ?  : ALOAD 0
> 00022 ?  : GETFIELD 
> org/apache/drill/exec/test/generated/ProjectorGen11.vv1 : 
> Lorg/apache/drill/exec/vector/NullableFloat4Vector;
> 00023 ?  : INVOKEVIRTUAL 
> org/apache/drill/exec/vector/NullableFloat4Vector.getAccessor 
> ()Lorg/apache/drill/exec/vector/NullableFloat4Vector$Accessor;
> 00024 ?  : ILOAD 1
> 00025 ?  :