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 B900E200B35 for ; Tue, 21 Jun 2016 02:38:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B7927160A65; Tue, 21 Jun 2016 00:38:09 +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 0B27D160A55 for ; Tue, 21 Jun 2016 02:38:08 +0200 (CEST) Received: (qmail 26227 invoked by uid 500); 21 Jun 2016 00:38:08 -0000 Mailing-List: contact dev-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list dev@hawq.incubator.apache.org Received: (qmail 26214 invoked by uid 99); 21 Jun 2016 00:38:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2016 00:38:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4BB0418028E for ; Tue, 21 Jun 2016 00:38:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.701 X-Spam-Level: X-Spam-Status: No, score=-0.701 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id GfWKwvaoRMTB for ; Tue, 21 Jun 2016 00:38:05 +0000 (UTC) Received: from mail-ob0-f176.google.com (mail-ob0-f176.google.com [209.85.214.176]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 1EA8F5FB27 for ; Tue, 21 Jun 2016 00:38:05 +0000 (UTC) Received: by mail-ob0-f176.google.com with SMTP id c3so1076148obc.2 for ; Mon, 20 Jun 2016 17:38:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=6XTAG90w4y0Lb2y0P0eo8eiaiZMKlvNjPLJzjb8Vkx0=; b=RFcofBTdnrPrGaTMTZEL8q6JBc0VA4hnGgg+kipHqRHu0JlahLcXesZuEtLxFLwQwU vnYr/7/vJ5qybGBpA19fSgSBDQWM+tLsM/nsea4c8p2UMyhWEBrpKhv8FGoc9UPr4w2H PkEW01qz2E7smF+xuaqE3GQC3hy08Y5hvS9dNrwPmfBbV73k21NBQWAkFHoLUhjhKvGK qB1+Rqnvg/pJEX09oaOKoOnOMaaiam/Ko3qJ8N8BDos0c2HJ7KEueqxStimigQOx3jVz ZHOLvLtEI87IDXJ56XDAPVFbU48OnuETLBe2aUmY7Qc3xVZI5mPqf1AWntf6eAqvufxb NhKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=6XTAG90w4y0Lb2y0P0eo8eiaiZMKlvNjPLJzjb8Vkx0=; b=LcctXTko9W1GcuTs+wEtc3iU7RpQUtVT5a1519wWiF6Lybtu+6GdYI/6u/Mp83Ag2O CEd53h8zXThNzzt7cS5xvUZKvQmTHlXtGhMN0ODdjoY9i/TCZreIbL2Leu0b0WXwwWas d9+xb0gUrYQDhrdDFHgV1O6ZmqksoI/HL0hYoyopudaMkWrp+9zNjzIhMhrhp8yQ/4W+ Vqd2IYJGvyT4pZDDQsAj3NNXZUhf8S4vsKmAfwynPpGxrSFxEpdXMdUp+/iPRTJP088D Utp6HwyT9zlGroKdLi9Us89nZWGxPu3SeBKiCYLFTRwDrJGFmQDmYaZmAn75O9uOfbPu 5+pA== X-Gm-Message-State: ALyK8tLegUjlfkzrVxZGsUS9egor8YpajSNfAkQlI6bO21LXCLDsZfp25l6SOogEpDaWH13xgUJcHugGB+aZwg== X-Received: by 10.157.6.3 with SMTP id 3mr12116070otn.143.1466469484102; Mon, 20 Jun 2016 17:38:04 -0700 (PDT) MIME-Version: 1.0 Sender: shaposhnik@gmail.com Received: by 10.182.81.138 with HTTP; Mon, 20 Jun 2016 17:38:03 -0700 (PDT) In-Reply-To: References: From: Roman Shaposhnik Date: Mon, 20 Jun 2016 17:38:03 -0700 X-Google-Sender-Auth: bwiICheQzDV08if1_ae0tZZsAvI Message-ID: Subject: Re: Support orc format To: dev@hawq.incubator.apache.org Content-Type: text/plain; charset=UTF-8 archived-at: Tue, 21 Jun 2016 00:38:09 -0000 On Fri, Jun 17, 2016 at 3:02 AM, Ming Li wrote: > Hi Guys, > > ORC (Optimized Row Columnar) is a very popular open source format adopted > in some major components in Hadoop eco-system. It is also used by a lot of > users. The advantages of supporting ORC storage in HAWQ are in two folds: > firstly, it makes HAWQ more Hadoop native which interacts with other > components more easily; secondly, ORC stores some meta info for query > optimization, thus, it might potentially outperform two native formats > (i.e., AO, Parquet) if it is available. > > Since there are lots of popular formats available in HDFS community, and > more advanced formats are emerging frequently. It is good option for HAWQ > to design a general framework that supports pluggable c/c++ formats such as > ORC, as well as native format such as AO and Parquet. In designing this > framework, we also need to support data stored in different file systems: > HDFS, local disk, amazon S3, etc. Thus, it is better to offer a framework > to support pluggable formats and pluggable file systems. > > We are proposing support ORC in JIRA ( > https://issues.apache.org/jira/browse/HAWQ-786). Please see the design spec > in the JIRA. > > Your comments are appreciated! This sounds reasonable, but I'd like to understand the trade-offs between supporting something like ORC in PXF vs. implementing it natively in C/C++. Is there any hard performance/etc. data that you could share to illuminated the tradeoffs between these two approaches? Thanks, Roman.