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 703F42009F3 for ; Sat, 21 May 2016 01:28:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6EBA8160A2B; Fri, 20 May 2016 23:28:24 +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 B888C160A25 for ; Sat, 21 May 2016 01:28:23 +0200 (CEST) Received: (qmail 4187 invoked by uid 500); 20 May 2016 23:28:22 -0000 Mailing-List: contact dev-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 dev@drill.apache.org Received: (qmail 4174 invoked by uid 99); 20 May 2016 23:28:22 -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; Fri, 20 May 2016 23:28:22 +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 2F9A4C0A65 for ; Fri, 20 May 2016 23:28:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 T2dAa6eFL6BN for ; Fri, 20 May 2016 23:28:21 +0000 (UTC) Received: from mail-io0-f175.google.com (mail-io0-f175.google.com [209.85.223.175]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 95A3B5F295 for ; Fri, 20 May 2016 23:28:20 +0000 (UTC) Received: by mail-io0-f175.google.com with SMTP id 190so161532263iow.1 for ; Fri, 20 May 2016 16:28:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=YOS+Mr2Q56xoejXCirwEs4D9hHD+8Fz2flsNr/jBhC4=; b=tlsVpfcE06GVpyHzoRkMWjGpXnVX8oXKyGhOoT3k5Ks4ecwJB0QGjylF14e/yEE4HH SkS7XWhx3IRflgORRcGz4lSXby9nedADMUaclRUxIE5LOEJTqvKYlASO4A2nYFXgp+70 4asWwv6YN82XFAftaQd9EQMfook7eloj4OH2nQcHyuF3vzjJtj0Ni75HHssvidv5Wqt+ umePWXN+9Y8kUsfGt6cyhiTDmuWL2hAFOSgOQRP5NrMNgpjuD3unNcTu0g0VrYS0iWIq kPHuMmg+I+O57rFiDFYyUQSD6KODouOF3WeW1W8Ue5WBwXS+WVMsk4JaGNJrvsF/wZFi 0hZw== 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=YOS+Mr2Q56xoejXCirwEs4D9hHD+8Fz2flsNr/jBhC4=; b=Icle69bHH14H3q1yDzaddCxnZTm1vBE7xMgenpqPcD2ITl9IOes2PJhNPkYW1piWqv uAJX/GRS20+8ECnB5pYmZVdDAAvjIYe/N95wLWfYrxNGxtRRubcgyzn8pqkvj40oV3DS FEyfxRGDl1exLlMD1AWDCrLPeog5k8geLLhHQ5wU2GgY2Wsd/8HHpjzW1D+HcNseKyYd O7izwYsL+h13vmIdbRKRlOE5fmt54DgG7PCteJzmwUmk+EaV0cHqOg4gdedCVfQfQUjg B5hBlUIUu/DyPvtcavhi0Vrh8spSWDLhIeJafPgN0Z/lC/VwJ7qI4aJeGZF4h7CL6jRA w9DQ== X-Gm-Message-State: AOPr4FVP4sxcobGdRLtpQ3xnRpxPvUwemJ/xjhes3ORA6sBbjH3OVn+UVuAi8kf+2ezN5CKUm2M+BLdw+8nthw== X-Received: by 10.107.165.12 with SMTP id o12mr5665305ioe.56.1463786899469; Fri, 20 May 2016 16:28:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.40.5 with HTTP; Fri, 20 May 2016 16:28:00 -0700 (PDT) In-Reply-To: References: From: Hanifi GUNES Date: Fri, 20 May 2016 16:28:00 -0700 Message-ID: Subject: Re: How are Vectorization and Columnar execution implemented in Drill To: dev Content-Type: multipart/alternative; boundary=001a1141f3402b7e6b05334e728e archived-at: Fri, 20 May 2016 23:28:24 -0000 --001a1141f3402b7e6b05334e728e Content-Type: text/plain; charset=UTF-8 Not sure if you have a more specific question but Drill basically relies on an abstraction that we call Value Vectors. Take a look at [1]. The whole execution relies on these columnar structs so no row-wise materialization is done. 1: https://drill.apache.org/docs/value-vectors/ -Hanifi 2016-05-18 20:34 GMT-07:00 Yijie Shen : > Hi folks, > > I'm new to Drill and find > "Drill also provides an execution layer that performs SQL processing > directly on columnar data without row materialization" and "vectorization > in Drill allows the CPU to operate on vectors" on > https://drill.apache.org/architecture/ page. > > I'm really curious about how these are implemented in Drill, after some > search in the current code base, I could only find parquet files could be > read in as vectors, how are these vectors handled then in `vectorized` > manner? Could someone nicely point out where I can find more > information/code on this? > > Thanks in advance. > > Yijie > --001a1141f3402b7e6b05334e728e--