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 05020188A1 for ; Fri, 26 Feb 2016 23:52:19 +0000 (UTC) Received: (qmail 39273 invoked by uid 500); 26 Feb 2016 23:52:18 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 39245 invoked by uid 500); 26 Feb 2016 23:52:18 -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 39230 invoked by uid 99); 26 Feb 2016 23:52:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2016 23:52:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3AA842C1F58 for ; Fri, 26 Feb 2016 23:52:18 +0000 (UTC) Date: Fri, 26 Feb 2016 23:52:18 +0000 (UTC) From: "Jason Altekruse (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-4451) Improve operator unit tests to allow for direct inspection of the sequence of result batches MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jason Altekruse created DRILL-4451: -------------------------------------- Summary: Improve operator unit tests to allow for direct inspection of the sequence of result batches Key: DRILL-4451 URL: https://issues.apache.org/jira/browse/DRILL-4451 Project: Apache Drill Issue Type: Test Components: Tools, Build & Test Reporter: Jason Altekruse Assignee: Jason Altekruse The first version of the operator test framework allows for comparison of the result set with a baseline, but does not give a way to specify the expected batch boundaries. All of the batches are combined together before they are compared (sharing code with the existing test infrastructure for complete SQL queries). The framework should also include a way to directly inspect SV2 and SV4 batches that are produced by operators like filter and sort. These structures are used to store a view into the incoming data (an SV2 is a bitmask for everything that matched the filter and an SV4 is used to represent cross-batch pointers to reflect the sorted order of a series of batches without rewriting them). Currently the test just follows the pointers to iterate over the values as they would appear after a rewrite of the data (by the SelectionVectorRemover operator). -- This message was sent by Atlassian JIRA (v6.3.4#6332)