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 A1C4917226 for ; Mon, 2 Feb 2015 18:14:34 +0000 (UTC) Received: (qmail 39351 invoked by uid 500); 2 Feb 2015 18:14:35 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 39321 invoked by uid 500); 2 Feb 2015 18:14:35 -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 39311 invoked by uid 99); 2 Feb 2015 18:14:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2015 18:14:35 +0000 Date: Mon, 2 Feb 2015 18:14:35 +0000 (UTC) From: "Andries Engelbrecht (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-2140) RPC Error querying JSON with empty nested maps MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Andries Engelbrecht created DRILL-2140: ------------------------------------------ Summary: RPC Error querying JSON with empty nested maps Key: DRILL-2140 URL: https://issues.apache.org/jira/browse/DRILL-2140 Project: Apache Drill Issue Type: Bug Components: Execution - RPC Affects Versions: 0.7.0 Environment: Centos 4 node MapR cluster Reporter: Andries Engelbrecht Assignee: Jacques Nadeau When querying large number of documents in multiple directories with multiple JSON files in each, and some documents have no top level map that is used for a predicate, Drill produces a RPC error in the log. Query select t.retweeted_status.`user`.name as name, count(t.retweeted_status.favorited) as rt_count from `./nfl` t where t.retweeted_status.`user`.name is not null group by t.retweeted_status.`user`.name order by count(t.retweeted_status.favorited) desc limit 10; Screen Error Query failed: Query failed: Failure while running fragment., index: 0, length: 1 (expected: range(0, 0)) [ b96e3bfa-74c9-4b78-886b-9a2c3fc4ea9b on se-node13.se.lab:31010 ] [ b96e3bfa-74c9-4b78-886b-9a2c3fc4ea9b on se-node13.se.lab:31010 ] Drillbit log attached -- This message was sent by Atlassian JIRA (v6.3.4#6332)