You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Victoria Markman (JIRA)" <ji...@apache.org> on 2016/01/22 01:38:40 UTC

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

     [ 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
> 00000 R I I . . . . . . . . . . . . . . . . . . . . . .  :  :    L0
> 00001 R I I . . . . . . . . . . . . . . . . . . . . . .  :  :     LINENUMBER 60 L0
> 00002 R I I . . . . . . . . . . . . . . . . . . . . . .  :  :     ICONST_0
> 00003 R I I . . . . . . . . . . . . . . . . . . . . . .  : I  :     ISTORE 3
> 00004 R I I I . . . . . . . . . . . . . . . . . . . . .  :  :     FCONST_0
> 00005 R I I I . . . . . . . . . . . . . . . . . . . . .  : F  :     FSTORE 4
> 00006 R I I I F . . . . . . . . . . . . . . . . . . . .  :  :    L1
> 00007 R I I I F . . . . . . . . . . . . . . . . . . . .  :  :     LINENUMBER 62 L1
> 00008 R I I I F . . . . . . . . . . . . . . . . . . . .  :  :     ALOAD 0
> 00009 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 ?                              :     INVOKEVIRTUAL org/apache/drill/exec/vector/NullableFloat4Vector$Accessor.get (I)F
> 00026 ?                              :     FSTORE 4
> 00027 R I I I F . . . . . . . . . . . . . . . . . . . .  :  :    L3
> 00028 R I I I F . . . . . . . . . . . . . . . . . . . .  :  :     LINENUMBER 68 L3
> 00029 R I I I F . . . . . . . . . . . . . . . . . . . .  :  :     ICONST_0
> 00030 R I I I F . . . . . . . . . . . . . . . . . . . .  : I  :     ISTORE 5
> 00031 R I I I F I . . . . . . . . . . . . . . . . . . .  :  :     ICONST_0
> 00032 R I I I F I . . . . . . . . . . . . . . . . . . .  : I  :     ISTORE 6
> 00033 R I I I F I I . . . . . . . . . . . . . . . . . .  :  :     ICONST_0
> 00034 R I I I F I I . . . . . . . . . . . . . . . . . .  : I  :     ISTORE 7
> 00035 R I I I F I I I . . . . . . . . . . . . . . . . .  :  :     ACONST_NULL
> 00036 R I I I F I I I . . . . . . . . . . . . . . . . .  : R  :     ASTORE 8
> 00037 R I I I F I I I R . . . . . . . . . . . . . . . .  :  :    L5
> 00038 R I I I F I I I R . . . . . . . . . . . . . . . .  :  :     LINENUMBER 70 L5
> 00039 R I I I F I I I R . . . . . . . . . . . . . . . .  :  :     ILOAD 3
> 00040 R I I I F I I I R . . . . . . . . . . . . . . . .  : I  :     ICONST_0
> 00041 R I I I F I I I R . . . . . . . . . . . . . . . .  : I I  :     IF_ICMPNE L6
> 00042 R I I I F I I I R . . . . . . . . . . . . . . . .  :  :    L7
> 00043 ?                              :     LINENUMBER 71 L7
> 00044 ?                              :     ICONST_0
> 00045 ?                              :     ISTORE 5
> 00046 ?                              :    L8
> 00047 ?                              :     LINENUMBER 70 L8
> 00048 ?                              :     GOTO L9
> 00049 R I I I F I I I R . . . . . . . . . . . . . . . .  :  :    L6
> ...
> ...
> {code}
> To reproduce:
> 1. Either execute ./run.sh -s Functional/convert -g smoke -d (all tests are prorated as passed)
> or
> 2. Run this query against data file attached: "select c_row, c_float4, convert_from(convert_to(c_float4, 'FLOAT'), 'FLOAT') from data"
> Found in latest 1.5.0 master:
> {code}
> Generated by Git-Commit-Id-Plugin
> #Thu Jan 21 20:57:10 UTC 2016
> git.commit.id.abbrev=3d0b4b0
> git.commit.user.email=adeneche@gmail.com
> git.commit.message.full=DRILL-4270\: Create a separate WindowFramer that supports the FRAME clause\n\nseparate DefaultFrameTemplate into 2 implementations\: one that supports custom frames (aggregations, first_value, last_value) and one that doesn't\n\nthis closes \#322\n
> git.commit.id=3d0b4b02521f12e3871d6060c8f9bfce73b218a0
> git.commit.message.short=DRILL-4270\: Create a separate WindowFramer that supports the FRAME clause
> git.commit.user.name=adeneche
> git.build.user.name=Unknown
> git.commit.id.describe=0.9.0-571-g3d0b4b0-dirty
> git.build.user.email=Unknown
> git.branch=master
> git.commit.time=21.01.2016 @ 20\:23\:04 UTC
> git.build.time=21.01.2016 @ 20\:57\:10 UTC
> git.remote.origin.url=https\://github.com/apache/drill
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)