Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9B770200D37 for ; Thu, 26 Oct 2017 06:13:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 96E3D160BDA; Thu, 26 Oct 2017 04:13:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E44F9160BE0 for ; Thu, 26 Oct 2017 06:13:08 +0200 (CEST) Received: (qmail 42775 invoked by uid 500); 26 Oct 2017 04:13:08 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 42766 invoked by uid 99); 26 Oct 2017 04:13:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2017 04:13:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 6AA781808A5 for ; Thu, 26 Oct 2017 04:13:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.201 X-Spam-Level: X-Spam-Status: No, score=-99.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Hb78XkKqp_e1 for ; Thu, 26 Oct 2017 04:13:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 65E995FD89 for ; Thu, 26 Oct 2017 04:13:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 862A9E0E05 for ; Thu, 26 Oct 2017 04:13:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 995BE212FF for ; Thu, 26 Oct 2017 04:13:01 +0000 (UTC) Date: Thu, 26 Oct 2017 04:13:01 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-5896) Handle vector creation in HbaseRecordReader to avoid NullableInt vectors later MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 26 Oct 2017 04:13:09 -0000 [ https://issues.apache.org/jira/browse/DRILL-5896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16219951#comment-16219951 ] ASF GitHub Bot commented on DRILL-5896: --------------------------------------- Github user prasadns14 commented on a diff in the pull request: https://github.com/apache/drill/pull/1005#discussion_r147042347 --- Diff: contrib/storage-hbase/src/main/java/org/apache/drill/exec/store/hbase/HBaseRecordReader.java --- @@ -75,6 +75,8 @@ private TableName hbaseTableName; private Scan hbaseScan; + private Scan hbaseScan1; + Set completeFamilies; --- End diff -- Fixed > Handle vector creation in HbaseRecordReader to avoid NullableInt vectors later > ------------------------------------------------------------------------------ > > Key: DRILL-5896 > URL: https://issues.apache.org/jira/browse/DRILL-5896 > Project: Apache Drill > Issue Type: Bug > Components: Storage - HBase > Affects Versions: 1.11.0 > Reporter: Prasad Nagaraj Subramanya > Assignee: Prasad Nagaraj Subramanya > Fix For: 1.12.0 > > > When a hbase query projects both a column family and a column in the column family, the vector for the column is not created in the HbaseRecordReader. > So, in cases where scan batch is empty we create a NullableInt vector for this column. We need to handle column creation in the reader. -- This message was sent by Atlassian JIRA (v6.4.14#64029)