From issues-return-49751-archive-asf-public=cust-asf.ponee.io@drill.apache.org Wed Feb 14 14:29:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1EC55180656 for ; Wed, 14 Feb 2018 14:29:03 +0100 (CET) Received: (qmail 76906 invoked by uid 500); 14 Feb 2018 13:29:03 -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 76897 invoked by uid 99); 14 Feb 2018 13:29:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2018 13:29:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C8E631A0699 for ; Wed, 14 Feb 2018 13:29:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -101.511 X-Spam-Level: X-Spam-Status: No, score=-101.511 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id KAKDUhAPWIu3 for ; Wed, 14 Feb 2018 13:29:02 +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 618AD5F568 for ; Wed, 14 Feb 2018 13:29:01 +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 5DBB9E00EA for ; Wed, 14 Feb 2018 13:29:00 +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 1F27621E80 for ; Wed, 14 Feb 2018 13:29:00 +0000 (UTC) Date: Wed, 14 Feb 2018 13:29:00 +0000 (UTC) From: "Engin Sozer (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-4120) dir0 does not work when the directory structure contains Avro files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-4120?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1636= 4017#comment-16364017 ]=20 Engin Sozer commented on DRILL-4120: ------------------------------------ Similarly, we can not get filename in the select statement. So the followin= g wouldn't work: {code:java} SELECT fqn, filepath, filename, suffix FROM dfs.`/tmpd/test.avro` LIMIT 1; {code} > dir0 does not work when the directory structure contains Avro files > ------------------------------------------------------------------- > > Key: DRILL-4120 > URL: https://issues.apache.org/jira/browse/DRILL-4120 > Project: Apache Drill > Issue Type: Bug > Components: Query Planning & Optimization > Affects Versions: 1.3.0 > Reporter: Stef=C3=A1n Baxter > Assignee: Bhallamudi Venkata Siva Kamesh > Priority: Major > Fix For: Future > > Attachments: 0001-DRILL-4120-Support-reading-directories-having-a= vro-f.patch > > > Any select statment containing dirN fails if the target directory structu= re contains Avro files. > Steps to test: > 1. create a simple directory structure > 2. copy an avro file into each directory > 3. execute a query containing dir0 > outcome: > Error: VALIDATION ERROR: From line 1, column 117 to line 1, column 120: C= olumn 'dir0' not found in any table -- This message was sent by Atlassian JIRA (v7.6.3#76005)