Return-Path: X-Original-To: apmail-incubator-general-archive@www.apache.org Delivered-To: apmail-incubator-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 18A5E11430 for ; Thu, 1 May 2014 22:45:25 +0000 (UTC) Received: (qmail 11707 invoked by uid 500); 1 May 2014 22:45:05 -0000 Delivered-To: apmail-incubator-general-archive@incubator.apache.org Received: (qmail 11393 invoked by uid 500); 1 May 2014 22:45:04 -0000 Mailing-List: contact general-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@incubator.apache.org Delivered-To: mailing list general@incubator.apache.org Received: (qmail 11385 invoked by uid 99); 1 May 2014 22:45:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2014 22:45:04 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ted.dunning@gmail.com designates 209.85.213.179 as permitted sender) Received: from [209.85.213.179] (HELO mail-ig0-f179.google.com) (209.85.213.179) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2014 22:45:00 +0000 Received: by mail-ig0-f179.google.com with SMTP id hn18so1098753igb.6 for ; Thu, 01 May 2014 15:44:37 -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 :content-type; bh=pP9TC0ItSrSjrzW3nqIMBk7Y1nvlyNKhtdnK7ZmN5pU=; b=GVzmaDkDewIGtd+flv2PIPTudMiEk8hWuhzOmntUhWnMGmu6cdg/yHVld8/0LqPwIf JpKaRrrjCwTRMtSRY8cR/y/zJ5vFZVFTgitsKotu0eIKDeXLAy+JAX8EHSncEfXfINaD EhhlW1OxiebvUTfeKqZMxXXjf5aybfAScWbah5PYlpOI2Mxca2LAyj/RLMfr+akb4TYh IfakdPZXKUpkusgcNTTpzlUcHlEahX190lPFNsyaJVty7RSivlYEk3R1goxQIMHeinyj jBxCGxEjtyMcJclXkNmRz9p7a1Jz80NAvInsIAb+HUZLX3wQuYU1YMDlEe+9pCHUfVV6 9t0Q== X-Received: by 10.50.43.165 with SMTP id x5mr193793igl.46.1398984277636; Thu, 01 May 2014 15:44:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.252.40 with HTTP; Thu, 1 May 2014 15:44:07 -0700 (PDT) In-Reply-To: <30B3CF4EC62B4D46BDA4DD14D8396F08929D5D37@ex01> References: <30B3CF4EC62B4D46BDA4DD14D8396F08929D5A87@ex01> <30B3CF4EC62B4D46BDA4DD14D8396F08929D5D37@ex01> From: Ted Dunning Date: Fri, 2 May 2014 00:44:07 +0200 Message-ID: Subject: Re: [PROPOSAL] Optiq To: "general@incubator.apache.org" Content-Type: multipart/alternative; boundary=089e0122aee0ea3e4204f85e6820 X-Virus-Checked: Checked by ClamAV on apache.org --089e0122aee0ea3e4204f85e6820 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, May 1, 2014 at 10:19 PM, Kasper S=C3=B8rensen < kasper.sorensen@humaninference.com> wrote: > - Can you explain or link to more information about the type inference yo= u > mention? > The type inferencing is used by Drill. The problem is that strong typing is normally required to parse SQL statements. If you don't even yet know what columns exist, parsing a query is difficult for normal SQL parsers. Generating good code for such situations has to be delayed until type information is available. See http://tnachen.wordpress.com/2013/11/05/lifetime-of-a-query-in-drill-alpha-= release/ https://docs.google.com/document/d/1QTL8warUYS2KjldQrGUse7zp8eA72VKtLOHwfXy= 6c7I/edit --089e0122aee0ea3e4204f85e6820--