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

Aditya Kishore commented on DRILL-3364:
---------------------------------------

Are you able to run the new unit test successfully? I am getting the following 
exception

{noformat}
Running 
org.apache.drill.hbase.TestHBaseFilterPushDown#testFilterPushDownCompositeRowKey
Running query:
SELECT
 CONVERT_FROM(BYTE_SUBSTR(row_key, 1, 8), 'date_epoch_be') d
, CONVERT_FROM(BYTE_SUBSTR(row_key, 1, 8), 'bigint_be') ts
, CONVERT_FROM(BYTE_SUBSTR(row_key, 9, 8), 'bigint_be') id
, CONVERT_FROM(tableName.f.`USD`, 'int_be') price
 FROM hbase.`TestTableComposite` tableName
 WHERE
 CONVERT_FROM(row_key, 'date_epoch_be') < DATE '2015-06-18' AND
 CONVERT_FROM(BYTE_SUBSTR(row_key, 1, 8), 'date_epoch_be') > DATE '2015-06-13'
org.objectweb.asm.tree.analysis.AnalyzerException: Error at instruction 682: 
Expected an object reference, but found .
        at org.objectweb.asm.tree.analysis.Analyzer.analyze(Analyzer.java:294)
        at 
org.objectweb.asm.util.CheckMethodAdapter$1.visitEnd(CheckMethodAdapter.java:450)
        at org.objectweb.asm.MethodVisitor.visitEnd(MethodVisitor.java:877)
        at 
org.objectweb.asm.util.CheckMethodAdapter.visitEnd(CheckMethodAdapter.java:1028)
        at org.objectweb.asm.MethodVisitor.visitEnd(MethodVisitor.java:877)
        at 
org.apache.drill.exec.compile.CheckMethodVisitorFsm.visitEnd(CheckMethodVisitorFsm.java:114)
        at org.objectweb.asm.MethodVisitor.visitEnd(MethodVisitor.java:877)
        at 
org.apache.drill.exec.compile.CheckMethodVisitorFsm.visitEnd(CheckMethodVisitorFsm.java:114)
        at org.objectweb.asm.MethodVisitor.visitEnd(MethodVisitor.java:877)
        at org.objectweb.asm.MethodVisitor.visitEnd(MethodVisitor.java:877)
        at 
org.apache.drill.exec.compile.bytecode.InstructionModifier.visitEnd(InstructionModifier.java:508)
        at org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:837)
        at 
org.apache.drill.exec.compile.bytecode.ScalarReplacementNode.visitEnd(ScalarReplacementNode.java:87)
        at org.objectweb.asm.MethodVisitor.visitEnd(MethodVisitor.java:877)
        at 
org.apache.drill.exec.compile.bytecode.AloadPopRemover.visitEnd(AloadPopRemover.java:136)
        at org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:837)
        at org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:726)
        at org.objectweb.asm.tree.ClassNode.accept(ClassNode.java:412)
        at 
org.apache.drill.exec.compile.MergeAdapter.getMergedClass(MergeAdapter.java:223)
        at 
org.apache.drill.exec.compile.ClassTransformer.getImplementationClass(ClassTransformer.java:265)
        at 
org.apache.drill.exec.compile.CodeCompiler$Loader.load(CodeCompiler.java:80)
        at 
org.apache.drill.exec.compile.CodeCompiler$Loader.load(CodeCompiler.java:76)
        at 
com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3599)
        at 
com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2379)
        at 
com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2342)
        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2257)
        at com.google.common.cache.LocalCache.get(LocalCache.java:4000)
        at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4004)
        at 
com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4874)
        at 
org.apache.drill.exec.compile.CodeCompiler.getImplementationClass(CodeCompiler.java:65)
        at 
org.apache.drill.exec.compile.CodeCompiler.getImplementationClass(CodeCompiler.java:58)
        at 
org.apache.drill.exec.ops.FragmentContext.getImplementationClass(FragmentContext.java:299)
        at 
org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.setupNewSchema(ProjectRecordBatch.java:442)
        at 
org.apache.drill.exec.record.AbstractSingleRecordBatch.innerNext(AbstractSingleRecordBatch.java:78)
        at 
org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.innerNext(ProjectRecordBatch.java:129)
        at 
org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:147)
        at 
org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.next(IteratorValidatorBatchIterator.java:118)
        at 
org.apache.drill.exec.physical.impl.BaseRootExec.next(BaseRootExec.java:83)
        at 
org.apache.drill.exec.physical.impl.ScreenCreator$ScreenRoot.innerNext(ScreenCreator.java:79)
        at 
org.apache.drill.exec.physical.impl.BaseRootExec.next(BaseRootExec.java:73)
        at 
org.apache.drill.exec.work.fragment.FragmentExecutor$1.run(FragmentExecutor.java:258)
        at 
org.apache.drill.exec.work.fragment.FragmentExecutor$1.run(FragmentExecutor.java:252)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1556)
        at 
org.apache.drill.exec.work.fragment.FragmentExecutor.run(FragmentExecutor.java:252)
        at 
org.apache.drill.common.SelfCleaningRunnable.run(SelfCleaningRunnable.java:38)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.objectweb.asm.tree.analysis.AnalyzerException: Expected an 
object reference, but found .
        at 
org.objectweb.asm.tree.analysis.BasicVerifier.copyOperation(BasicVerifier.java:80)
        at 
org.objectweb.asm.tree.analysis.BasicVerifier.copyOperation(BasicVerifier.java:47)
        at org.objectweb.asm.tree.analysis.Frame.execute(Frame.java:276)
        at org.objectweb.asm.tree.analysis.Analyzer.analyze(Analyzer.java:199)
        ... 49 more
{noformat}

> Prune scan range if the filter is on the leading field with byte comparable 
> encoding
> ------------------------------------------------------------------------------------
>
>                 Key: DRILL-3364
>                 URL: https://issues.apache.org/jira/browse/DRILL-3364
>             Project: Apache Drill
>          Issue Type: Sub-task
>          Components: Storage - HBase
>            Reporter: Aditya Kishore
>            Assignee: Smidth Panchamia
>             Fix For: 1.2.0
>
>         Attachments: composite.jun26.diff
>
>




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

Reply via email to