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 5097F18296 for ; Mon, 26 Oct 2015 20:01:26 +0000 (UTC) Received: (qmail 44644 invoked by uid 500); 26 Oct 2015 20:01:26 -0000 Delivered-To: apmail-drill-dev-archive@drill.apache.org Received: (qmail 44578 invoked by uid 500); 26 Oct 2015 20:01:25 -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 44561 invoked by uid 99); 26 Oct 2015 20:01:25 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Oct 2015 20:01:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 256C2C284F for ; Mon, 26 Oct 2015 20:01:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.981 X-Spam-Level: ** X-Spam-Status: No, score=2.981 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=dremio_com.20150623.gappssmtp.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id UC_xYULAfmY2 for ; Mon, 26 Oct 2015 20:01:20 +0000 (UTC) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 1678220751 for ; Mon, 26 Oct 2015 20:01:20 +0000 (UTC) Received: by wikq8 with SMTP id q8so181167721wik.1 for ; Mon, 26 Oct 2015 13:01:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dremio_com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=WaqtGIx1aARZl6eWNpVmYR/+mfaTtj5vOR7A4Si+qm0=; b=KGJhWEP6kfBu+oipg/hIJ6bYiKOQUm7QeOS5kSXDQ0FbGUJvahcTU8JnpJjNbscwRM A6bBItWyW+reER1hofJ4Raw2k2uxtM4t70/AY92dU0gnQ62qK3eUIRMZPniJJ1NdClNj 2MFW/Sg2TXqAe0Txx26LVNqMw5Zx1TUTQhIbgKydgeLDbdDLMxPw8OG45p4NaLoCjwDy GVlTj5E4tSLa/66uFHyXURpzHnSVHFt9N9dRTAtv8yiTzxv66Ce54uc7Fr/tfgEekYmG xLPWb2WhTZEmPbTeuIgDWhcUVU24BsRTaTd9lzMmDMM15DpNVgsHWxlwoYLpsBNKtWFy DeJw== 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:date :message-id:subject:from:to:content-type; bh=WaqtGIx1aARZl6eWNpVmYR/+mfaTtj5vOR7A4Si+qm0=; b=h0NZHLKvF6dz6ygl5J9/jQfYpf4Nqb1Y/csOjzgi1NleOcL1C2glwLbdD7RarKAUYn +btblUKTVsc5zU8pby2rIs6Gua7XcbCNhz4gsG3e5GkzYMO6Lx+jHnwtJqOjZ/3Zo3zH etO9+9Z7BJcteSQ1ehWhArITdAXHstBILzpybotxz6LCxOzia04Z8njKcxwA4Al68xaK ii/WrWWBxxKZPSz+Dv2+CEMO0ChPQiMgJlWAS73Be1T4oNjZx+dp3yi8xM8TaqiN5wh9 6gUdJyjA0KzhPRRVj+Lr+H3tD/KowbnTrBhMSKadaA6ksAnQLH6gFANbdY+QYkA20XEP Iy3w== X-Gm-Message-State: ALoCoQk0lO6vOGY/Zxrj1MntxtRP8I4WIM5EpluSpOZey3VL8nfvvAyAPihPh554eNKR7nQoif2i MIME-Version: 1.0 X-Received: by 10.28.87.208 with SMTP id l199mr2167492wmb.43.1445889678573; Mon, 26 Oct 2015 13:01:18 -0700 (PDT) Received: by 10.27.205.137 with HTTP; Mon, 26 Oct 2015 13:01:18 -0700 (PDT) In-Reply-To: References: Date: Mon, 26 Oct 2015 13:01:18 -0700 Message-ID: Subject: Re: Clarification around MapR test framework data generation From: Jacques Nadeau To: dev@drill.apache.org Content-Type: multipart/alternative; boundary=001a11443378ad21ed0523076c3d --001a11443378ad21ed0523076c3d Content-Type: text/plain; charset=UTF-8 Got it. Seems like something we should get fixed since datagen substantially increases completion time. Thanks for the clarification. I'll think about potential solutions. -- Jacques Nadeau CTO and Co-Founder, Dremio On Sun, Oct 25, 2015 at 7:11 PM, rahul challapalli < challapallirahul@gmail.com> wrote: > Jacques, > > Unfortunately you are not missing anything. There was no drop table support > when these tests were added. So we can only delete them from a script. With > the drop table support in-place you can certainly modify the tests and add > a drop table statement at the end. > > We also have some suites which have CTAS statements in the data gen > scripts. So the script drops and creates the tables required. This is to > avoid running some long running CTAS statements in every single test of the > suite. We at MapR run the data gen step for every single run ( as we still > want to run those CTAS statements). > > - Rahul > > On Sun, Oct 25, 2015 at 4:29 PM, Jacques Nadeau > wrote: > > > Hey All, > > > > I continue to try to get the test framework up and running. It looks like > > I'm close but I'm seeing something strange. Once I've run the test suite > > once with -d (generate data), I would expect multiple runs to be > successful > > without having to use -d. However, I've noticed with the ctas flatten > tests > > that they are generating new tables that are not ever getting deleted. I > > realized that there is a gen task > > in resources/Functional/ctas/ctas_flatten/100000rows/ctas_flatten.json > that > > is used to the delete tables. This seems to mean that the only way to > > successfully complete a test would be to run the generation step on every > > single run. What am I missing? > > > > thanks, > > Jacques > > > > -- > > Jacques Nadeau > > CTO and Co-Founder, Dremio > > > --001a11443378ad21ed0523076c3d--