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 A757F200C0A for ; Sat, 14 Jan 2017 02:39:30 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A5F8B160B4D; Sat, 14 Jan 2017 01:39:30 +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 EF798160B3F for ; Sat, 14 Jan 2017 02:39:29 +0100 (CET) Received: (qmail 69438 invoked by uid 500); 14 Jan 2017 01:39:29 -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 69425 invoked by uid 99); 14 Jan 2017 01:39:29 -0000 Received: from Unknown (HELO jira-lw-us.apache.org) (207.244.88.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Jan 2017 01:39:29 +0000 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 8045725287 for ; Sat, 14 Jan 2017 01:39:26 +0000 (UTC) Date: Sat, 14 Jan 2017 01:39:26 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-4996) Parquet Date auto-correction is not working in auto-partitioned parquet files generated by drill-1.6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 14 Jan 2017 01:39:30 -0000 [ https://issues.apache.org/jira/browse/DRILL-4996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15822616#comment-15822616 ] ASF GitHub Bot commented on DRILL-4996: --------------------------------------- Github user parthchandra commented on the issue: https://github.com/apache/drill/pull/687 +1 > Parquet Date auto-correction is not working in auto-partitioned parquet files generated by drill-1.6 > ---------------------------------------------------------------------------------------------------- > > Key: DRILL-4996 > URL: https://issues.apache.org/jira/browse/DRILL-4996 > Project: Apache Drill > Issue Type: Bug > Components: Storage - Parquet > Reporter: Rahul Challapalli > Assignee: Vitalii Diravka > Priority: Critical > Labels: ready-to-commit > Attachments: item.tgz > > > git.commit.id.abbrev=4ee1d4c > Below are the steps I followed to generate the data : > {code} > 1. Generate a parquet file with date column using hive1.2 > 2. Use drill 1.6 to create auto-partitioned parquet files partitioned on the date column > {code} > Now the below query returns wrong results : > {code} > select i_rec_start_date, i_size from dfs.`/drill/testdata/parquet_date/auto_partition/item_multipart_autorefresh` group by i_rec_start_date, i_size; > +-------------------+--------------+ > | i_rec_start_date | i_size | > +-------------------+--------------+ > | null | large | > | 366-11-08 | extra large | > | 366-11-08 | medium | > | null | medium | > | 366-11-08 | petite | > | 364-11-07 | medium | > | null | petite | > | 365-11-07 | medium | > | 368-11-07 | economy | > | 365-11-07 | large | > | 365-11-07 | small | > | 366-11-08 | small | > | 365-11-07 | extra large | > | 364-11-07 | N/A | > | 366-11-08 | economy | > | 366-11-08 | large | > | 364-11-07 | small | > | null | small | > | 364-11-07 | large | > | 364-11-07 | extra large | > | 368-11-07 | N/A | > | 368-11-07 | extra large | > | 368-11-07 | large | > | 365-11-07 | petite | > | null | N/A | > | 365-11-07 | economy | > | 364-11-07 | economy | > | 364-11-07 | petite | > | 365-11-07 | N/A | > | 368-11-07 | medium | > | null | extra large | > | 368-11-07 | small | > | 368-11-07 | petite | > | 366-11-08 | N/A | > +-------------------+--------------+ > 34 rows selected (0.691 seconds) > {code} > However I tried generating the auto-partitioned parquet files using Drill 1.2 and then the above query returned the right results. > I attached the required data sets. -- This message was sent by Atlassian JIRA (v6.3.4#6332)