Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C86CA200C7F for ; Wed, 24 May 2017 20:15:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C71C3160BB6; Wed, 24 May 2017 18:15:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1A164160BA5 for ; Wed, 24 May 2017 20:15:08 +0200 (CEST) Received: (qmail 57957 invoked by uid 500); 24 May 2017 18:15:08 -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 57945 invoked by uid 99); 24 May 2017 18:15:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 May 2017 18:15:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id D4076C0FD6 for ; Wed, 24 May 2017 18:15:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 8E_oQu7WTTLS for ; Wed, 24 May 2017 18:15:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 6C99C5F3FE for ; Wed, 24 May 2017 18:15:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 815F1E0D49 for ; Wed, 24 May 2017 18:15:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 459CF21B5B for ; Wed, 24 May 2017 18:15:04 +0000 (UTC) Date: Wed, 24 May 2017 18:15:04 +0000 (UTC) From: "Lucian Poth (JIRA)" To: dev@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-5535) Paging Problem with Querying Directories MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 24 May 2017 18:15:10 -0000 Lucian Poth created DRILL-5535: ---------------------------------- Summary: Paging Problem with Querying Directories Key: DRILL-5535 URL: https://issues.apache.org/jira/browse/DRILL-5535 Project: Apache Drill Issue Type: Bug Components: Functions - Drill Affects Versions: 1.10.0 Environment: Debian 8 Hadoop with Kerberos security Reporter: Lucian Poth Problem comes with the following Drill query: "SELECT * FROM <> WHERE (dir0='Test1' AND dir1='TestDataSourceID1') OR (dir0='Test2' AND dir1='TestDataSourceID2') LIMIT 2 OFFSET 0" If this call gets run twice it is randomly set which file will be in the result. So if a query is created which should page my result I won't be able to tell which source was used for the result. Due two the fact that if file1 contains the columns a, b, c and column b, c, d I also will get a problem with the result as the first results will for example contain the columns a, b, c and the second half of the results will contain a, b, c, d with a filled with null. As in the example on your webpage (https://drill.apache.org/docs/querying-directories/) where you query specific columns and order the result without any paging I am wondering if this problem only occurs while using the star in the query. -- This message was sent by Atlassian JIRA (v6.3.15#6346)