Return-Path: X-Original-To: apmail-drill-dev-archive@www.apache.org Delivered-To: apmail-drill-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 79DD9194FD for ; Tue, 15 Mar 2016 16:04:28 +0000 (UTC) Received: (qmail 54721 invoked by uid 500); 15 Mar 2016 16:04:28 -0000 Delivered-To: apmail-drill-dev-archive@drill.apache.org Received: (qmail 54667 invoked by uid 500); 15 Mar 2016 16:04:28 -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 54655 invoked by uid 99); 15 Mar 2016 16:04:28 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Mar 2016 16:04:28 +0000 Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 7F8951A0046 for ; Tue, 15 Mar 2016 16:04:27 +0000 (UTC) Received: by mail-wm0-f44.google.com with SMTP id l68so151781740wml.0 for ; Tue, 15 Mar 2016 09:04:27 -0700 (PDT) X-Gm-Message-State: AD7BkJJN34WB0UnqTUKE4YAQYi63/aiHUZFFSQ28zj3mRCuUc1yswfSAkbeo9bFqmrZM1cQFzjaO3yKpm9qnTz/a MIME-Version: 1.0 X-Received: by 10.194.109.161 with SMTP id ht1mr30717427wjb.43.1458057866369; Tue, 15 Mar 2016 09:04:26 -0700 (PDT) Received: by 10.194.125.177 with HTTP; Tue, 15 Mar 2016 09:04:26 -0700 (PDT) In-Reply-To: <56E6571A.2000009@dremio.com> References: <56E6571A.2000009@dremio.com> Date: Tue, 15 Mar 2016 09:04:26 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Getting back on Calcite master: only a few steps left From: Aman Sinha To: dev Content-Type: multipart/alternative; boundary=089e0102fc42300786052e188da5 --089e0102fc42300786052e188da5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I'll add a test for CALCITE-1108. For 1105 I am not yet sure but will look through the old drill commits to see what test was added there. On Sun, Mar 13, 2016 at 11:15 PM, Minji Kim wrote: > I will add more test cases to CALCITE-1148 in addition to the ones alread= y > there. I noticed a few more problems while testing the patch against dri= ll > master. I am still working through these issues, so I will add more test > cases as I find/fix them. -Minji > > > On 3/13/16 10:54 PM, Jacques Nadeau wrote: > >> Hey All, >> >> I've been working on rebasing and tracking all the necessary commits tha= t >> are on the Drill Calcite fork so that we can get back onto master. The >> current working branch is here: [1]. It includes the following commits >> >> [CALCITE-1148] Fix RelTrait conversion (e.g. distribution, collation), >> added test cases. (Minji Kim) #77def4a >> [CALCITE-991] Create separate FunctionCategories for table functions and >> macros (Julien Le Dem) #b1c203d >> [CALCITE-1149] Derive AVG=E2=80=99s return type by a customizable policy= (Sudheesh >> Katkam) #18882cd >> [CALCITE-1151] Overriding the SqlSpecialOperator#createCall method given >> the usage by CompoundIdentifierConverter (Sudheesh Katkam) #2320c7f >> [CALCITE-1108] Don't use 'SumEmptyIsZero' (SUM0) window aggregate until >> CALCITE-777 is fixed. (Aman Sinha) #13466fa >> [CALCITE-1107] Make SqlSumEmptyIsZeroAggFunction constructor public. >> (Jinfeng Ni) #b6c3178 >> [CALCITE-1106] Expose Constructor for ProjectJoinTransposeRule. (Aman >> Sinha) #d169c37 >> [CALCITE-1105] Add return type-inference strategy for arithmetic operato= rs >> when one of the arguments is ANY type. (Aman Sinha) #df818c9 >> [CALCITE-1150] Add DynamicRecordType and the concept of unresolved star >> (Jinfeng Ni) #29c7771 >> [CALCITE-1152] Small ANY type fixes (Mehant Baid) #31efdda >> [CALCITE-528] Ensure uniquification is done in a case aware way accordin= g >> to type system and catalog policies. (Jacques Nadeau) #5a3d854 >> >> Many commits, listed below, don't have tests right now so I'd like to ge= t >> people to raise their hand and work on tests for each of the commits. >> >> [CALCITE-991] Create separate FunctionCategories for table functions and >> macros (Julien Le Dem) #b1c203d >> [CALCITE-1149] Derive AVG=E2=80=99s return type by a customizable policy= (Sudheesh >> Katkam) #18882cd >> [CALCITE-1151] Overriding the SqlSpecialOperator#createCall method given >> the usage by CompoundIdentifierConverter (Sudheesh Katkam) #2320c7f >> [CALCITE-1108] Don't use 'SumEmptyIsZero' (SUM0) window aggregate until >> CALCITE-777 is fixed. (Aman Sinha) #13466fa >> [CALCITE-1105] Add return type-inference strategy for arithmetic operato= rs >> when one of the arguments is ANY type. (Aman Sinha) #df818c9 >> [CALCITE-1150] Add DynamicRecordType and the concept of unresolved star >> (Jinfeng Ni) #29c7771 >> [CALCITE-1152] Small ANY type fixes (Mehant Baid) #31efdda >> [CALCITE-528] Ensure uniquification is done in a case aware way accordin= g >> to type system and catalog policies. (Jacques Nadeau) #5a3d854 >> >> Also note that there are currently 15 tests failing in this Calcite bran= ch >> that I haven't yet tracked down. >> >> org.apache.calcite.test.SqlToRelConverterTest (10 tests) >> org.apache.calcite.test.JdbcTest (2 tests) >> org.apache.calcite.test.RelOptRulesTest.txt (1 test) >> org.apache.calcite.test.SqlValidatorTest.txt (1 test) >> org.apache.calcite.rel.rel2sql.RelToSqlConverterTest (1 test) >> >> Note that I also reworked the Schema changes items so that they don't ha= ve >> any impact on code paths unless the system returns a DynamicRecordType. >> Once we get these changes looking good, we can move to making small >> modifications in the Drill codebase to use this new record type. >> >> Can people raise their hands to confirm they will be able to write tests >> cases for issues they own? >> >> thanks, >> Jacques >> >> [1] https://github.com/jacques-n/incubator-calcite/tree/calcite-drill-2 >> >> -- >> Jacques Nadeau >> CTO and Co-Founder, Dremio >> >> > --089e0102fc42300786052e188da5--