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 DA78F200C4D for ; Wed, 22 Mar 2017 01:45:50 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D915D160B90; Wed, 22 Mar 2017 00:45:50 +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 2C675160B81 for ; Wed, 22 Mar 2017 01:45:50 +0100 (CET) Received: (qmail 8715 invoked by uid 500); 22 Mar 2017 00:45:49 -0000 Mailing-List: contact dev-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 dev@drill.apache.org Received: (qmail 8704 invoked by uid 99); 22 Mar 2017 00:45:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Mar 2017 00:45:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id CFCDAC00D5 for ; Wed, 22 Mar 2017 00:45:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.349 X-Spam-Level: X-Spam-Status: No, score=-99.349 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Bzaxqw6skvBG for ; Wed, 22 Mar 2017 00:45:44 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id DF89260CF9 for ; Wed, 22 Mar 2017 00:45:43 +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 E6E65E0059 for ; Wed, 22 Mar 2017 00:45:41 +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 95C0C24D35 for ; Wed, 22 Mar 2017 00:45:41 +0000 (UTC) Date: Wed, 22 Mar 2017 00:45:41 +0000 (UTC) From: "Robert Hou (JIRA)" To: dev@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-5374) Parquet filter pushdown does not prune partition with nulls when predicate uses float column MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 22 Mar 2017 00:45:51 -0000 Robert Hou created DRILL-5374: --------------------------------- Summary: Parquet filter pushdown does not prune partition with nulls when predicate uses float column Key: DRILL-5374 URL: https://issues.apache.org/jira/browse/DRILL-5374 Project: Apache Drill Issue Type: Bug Components: Query Planning & Optimization Affects Versions: 1.9.0 Reporter: Robert Hou Assignee: Jinfeng Ni Drill does not prune enough partitions for this query when filter pushdown is used with metadata caching. The float column is being compared with a double value. {code} 0: jdbc:drill:zk=10.10.100.186:5181/drill/rho> select count(*) from orders_parts_metadata where float_id < 1100.0; {code} To reproduce the problem, put the attached files into a directory. Then {code} create the metadata: refresh table metadata dfs.`path_to_directory`; {code} For example, if you put the files in /drill/testdata/filter/orders_parts_metadata, then run this sql command {code} refresh table metadata dfs.`/drill/testdata/filter/orders_parts_metadata`; {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)