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 37F37200B54 for ; Thu, 14 Jul 2016 03:20:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 34EB9160A6E; Thu, 14 Jul 2016 01:20:07 +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 7F62C160A6A for ; Thu, 14 Jul 2016 03:20:06 +0200 (CEST) Received: (qmail 54819 invoked by uid 500); 14 Jul 2016 01:20:05 -0000 Mailing-List: contact dev-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.incubator.apache.org Delivered-To: mailing list dev@impala.incubator.apache.org Received: (qmail 54807 invoked by uid 99); 14 Jul 2016 01:20:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2016 01:20:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id E6455C06F1 for ; Thu, 14 Jul 2016 01:20:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.721 X-Spam-Level: X-Spam-Status: No, score=-0.721 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudera-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 2WCitMxntV9X for ; Thu, 14 Jul 2016 01:20:02 +0000 (UTC) Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id D1F8A60D59 for ; Thu, 14 Jul 2016 01:20:01 +0000 (UTC) Received: by mail-wm0-f51.google.com with SMTP id i5so92778152wmg.0 for ; Wed, 13 Jul 2016 18:20:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudera-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=ID0441WpLHaU9M3TIztVxAOBUihidOwn+Z55RV+Nubk=; b=1Ls8e5b0I6E8g9kQUDiH8fTlKrNAC8Xsn5CjHkOlU6ii9/DgDyme9X4mfPTXwXfwtB E9jDOAxUXKN3CrqtuHrh1MAWgl3pdYtEJ5Ozy1X0drdQ15U2fFvvOiBI3mGj2dY+LXbm W5Z6vD1umF1bcZbB7x3ugaOS+Xe8zvmN0epyYlziI1RnzLl1bJIJ6V+TMwPYTufC/dUS 2WWSEf2Eu8u1fDpUaUL1RRaAf7LUkObP2pqrwjUSINFX/WxB5nxd8xmAsTha1TONBBHR xy20lr1B2L7nGau3ejI4TswqqkQbHWyV2lZRHbj5xTuv5AoCCsO66xeGxTigg3QQeIxu 5NQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=ID0441WpLHaU9M3TIztVxAOBUihidOwn+Z55RV+Nubk=; b=hHk6YynlmD0mtcNN7GNOsig9/lZ0OBXWlLqGSwwydRAluRmCk7xGKxq7tUieyhOh7k qQDy70XpTLRpH5enEpgSYkjCmyvKy9yKa/bDTcaoVdfZMQIPy40HqwkTMpfvstO8P4lI 2Kv5PTqlRHEPt/vn/6rDbHeHP5hBipKGeymJA6oHJu1guxT2N6tL5ZpFnbFPPKK5yaKD c+EnCUnAbCyRRmuNMmWiv9YbY7iYxdIUSnkKSLxlR5JXGZMkS4whEGeiQ7oQPHYYlL/Z jcbNLmydizPVFbFZqmkZwCScadUYxYDaApWmAJevujUnKdqghLnTC3IIrWR6GPfvlNc7 F7NA== X-Gm-Message-State: ALyK8tK7ri3YUJkPP845GfcXuI3C2n8HgIMi6NjjB5EXD7djsD+mpF+nt8zmpM0SI8ztlsObcGj3qhftBt6Cdhzt X-Received: by 10.194.126.198 with SMTP id na6mr3354496wjb.31.1468459201324; Wed, 13 Jul 2016 18:20:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.58.80 with HTTP; Wed, 13 Jul 2016 18:19:21 -0700 (PDT) In-Reply-To: References: From: Jim Apple Date: Wed, 13 Jul 2016 18:19:21 -0700 Message-ID: Subject: Re: IMPALA-2428 Support multiple-character string as the field delimiter To: dev@impala.incubator.apache.org Content-Type: text/plain; charset=UTF-8 archived-at: Thu, 14 Jul 2016 01:20:07 -0000 Can you please put your design here, rather than just telling us where you pasted it? On Tue, Jul 12, 2016 at 4:33 AM, Yuanhao Luo wrote: > Hello, everyone. To fix IMPALA-2428 , I have push a commit to gerrit. > I have illustrated my design in detail in IMPALA-2428 and there are also some test logs. Please read them carefully. > > > The key point is that there are four constrains on multi-byte field terminator as below: > > Field terminator can't be an empty string > > Line terminators can't be the first byte of field terminator. > > Escape character can't be the first byte of field terminator. > > Terminators can't not contain '\0' for text file. > > As suggested by Jim Apple, I start this discussion in mailing list to do a design review. > Are there any problems in my design?