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 E677318011 for ; Fri, 26 Jun 2015 15:48:05 +0000 (UTC) Received: (qmail 44260 invoked by uid 500); 26 Jun 2015 15:48:05 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 44182 invoked by uid 500); 26 Jun 2015 15:48:05 -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 44030 invoked by uid 99); 26 Jun 2015 15:48:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jun 2015 15:48:05 +0000 Date: Fri, 26 Jun 2015 15:48:05 +0000 (UTC) From: "Jacques Nadeau (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-3393) Quotes not being recognized in tab delimited (tsv) 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-3393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Nadeau updated DRILL-3393: ---------------------------------- Fix Version/s: 1.2.0 > Quotes not being recognized in tab delimited (tsv) files > -------------------------------------------------------- > > Key: DRILL-3393 > URL: https://issues.apache.org/jira/browse/DRILL-3393 > Project: Apache Drill > Issue Type: Bug > Components: Storage - Text & CSV > Affects Versions: 1.0.0 > Reporter: Chi Lang > Assignee: Steven Phillips > Priority: Minor > Fix For: 1.2.0 > > > Drill doesn't seem to recognise quotes in tsv, while working fine for csv files. > For example, given the following files > test.tsv > ------- > foobar bar > "aa" "bc" > ------- > test.csv > ---------- > foobar,bar > "aa","bc" > ---------- > I get these results: > 0: jdbc:drill:zk=local> select columns[0], columns[1] from dfs.`test.csv`; > +---------+---------+ > | EXPR$0 | EXPR$1 | > +---------+---------+ > | foobar | bar | > | aa | bc | > +---------+---------+ > 2 rows selected (0.259 seconds) > 0: jdbc:drill:zk=local> select columns[0], columns[1] from dfs.`test.tsv`; > +----------+---------+ > | EXPR$0 | EXPR$1 | > +----------+---------+ > | foobar | bar | > | aa" "bc | null | > +----------+---------+ > 2 rows selected (0.122 seconds) -- This message was sent by Atlassian JIRA (v6.3.4#6332)