Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8BA5D10A64 for ; Thu, 18 Dec 2014 23:05:13 +0000 (UTC) Received: (qmail 88020 invoked by uid 500); 18 Dec 2014 23:05:13 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 87989 invoked by uid 500); 18 Dec 2014 23:05:13 -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 87972 invoked by uid 99); 18 Dec 2014 23:05:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2014 23:05:13 +0000 Date: Thu, 18 Dec 2014 23:05:13 +0000 (UTC) From: "Jason Altekruse (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-1871) JSON reader cannot read compressed files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-1871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14252492#comment-14252492 ] Jason Altekruse commented on DRILL-1871: ---------------------------------------- Just a note, this currently relies on the default list of available decompressors from Hadoop. This does not seems to currently include support to decompress .zip files, may want to see if this can be enabled. > JSON reader cannot read compressed files > ----------------------------------------- > > Key: DRILL-1871 > URL: https://issues.apache.org/jira/browse/DRILL-1871 > Project: Apache Drill > Issue Type: Bug > Components: Storage - JSON > Reporter: Parth Chandra > Assignee: Parth Chandra > Attachments: 1871-17-dec-14.patch, DRILL-1871-compressed-json.patch > > > GZip a json file and then try to query it. Gives the following error : > ERROR [HY000] [MapR][Drill] (1040) Drill failed to execute the query: SELECT * FROM `dfs`.`part-m-0001.json.gz` > [30024]Query execution error. Details:[ > Query stopped., Illegal character ((CTRL-CHAR, code 31)): only regular white space (\r, \n, \t) is allowed between tokens > at [Source: org.apache.drill.exec.vector.complex.fn.JsonReader@6a375274; line: 0, column: 2] [ d83909cd-89b7-43a2-aebc-5ebba74570db on vmx0754:31010 ] > ] > The JSON reader is supposed to be able to handle compressed files. -- This message was sent by Atlassian JIRA (v6.3.4#6332)