Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6C6F6186EE for ; Tue, 23 Jun 2015 20:29:43 +0000 (UTC) Received: (qmail 62219 invoked by uid 500); 23 Jun 2015 20:29:43 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 62092 invoked by uid 500); 23 Jun 2015 20:29:43 -0000 Mailing-List: contact issues-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 issues@drill.apache.org Received: (qmail 61924 invoked by uid 99); 23 Jun 2015 20:29:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2015 20:29:43 +0000 Date: Tue, 23 Jun 2015 20:29:42 +0000 (UTC) From: "Victoria Markman (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-3345) TestWindowFrame fails to properly check cases involving multiple batches MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-3345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Victoria Markman updated DRILL-3345: ------------------------------------ Labels: window_function (was: ) > TestWindowFrame fails to properly check cases involving multiple batches > ------------------------------------------------------------------------ > > Key: DRILL-3345 > URL: https://issues.apache.org/jira/browse/DRILL-3345 > Project: Apache Drill > Issue Type: Bug > Affects Versions: 1.1.0 > Reporter: Deneche A. Hakim > Assignee: Deneche A. Hakim > Priority: Critical > Labels: window_function > Fix For: 1.1.0 > > > as part of adding unit tests to TestWindowFrame, I added a debug option to MSorter to force the batches passed downstream to be of a specific size. This was supposed to help test edge cases involving multiple data batches while controlling precisely when a partition and/or window frame ends in a batch. > Turns out the change to MSorter was incomplete and all cases end up processing one single big batch of data. > The purpose of this JIRA issue is to fix this, add some check to detect when the batches are no longer split correctly and make sure all unit tests are passing. -- This message was sent by Atlassian JIRA (v6.3.4#6332)