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 C54A9200BB6 for ; Fri, 4 Nov 2016 11:06:02 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C3F17160AE9; Fri, 4 Nov 2016 10:06:02 +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 3FB97160AE8 for ; Fri, 4 Nov 2016 11:06:02 +0100 (CET) Received: (qmail 70915 invoked by uid 500); 4 Nov 2016 10:06:00 -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 70650 invoked by uid 99); 4 Nov 2016 10:06:00 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2016 10:06:00 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 79F6E2C2AB9 for ; Fri, 4 Nov 2016 10:06:00 +0000 (UTC) Date: Fri, 4 Nov 2016 10:06:00 +0000 (UTC) From: "Khurram Faraaz (JIRA)" To: dev@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-5003) need a better error message MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 04 Nov 2016 10:06:02 -0000 Khurram Faraaz created DRILL-5003: ------------------------------------- Summary: need a better error message Key: DRILL-5003 URL: https://issues.apache.org/jira/browse/DRILL-5003 Project: Apache Drill Issue Type: Bug Components: Query Planning & Optimization Affects Versions: 1.9.0 Reporter: Khurram Faraaz Priority: Minor We need a better error message, Drill 1.9.0 returns an AssertionError. {noformat} 0: jdbc:drill:schema=dfs.tmp> SELECT * . . . . . . . . . . . . . . > FROM ( . . . . . . . . . . . . . . > select * from `t_alltype.parquet` t1, `t_alltype.parquet` t2 . . . . . . . . . . . . . . > WHERE EXISTS(t1.c4 = t2.c4) OR (t1.c4 IS NULL AND t2.c4 IS NULL) . . . . . . . . . . . . . . > ); Error: SYSTEM ERROR: AssertionError: Internal error: not a query: `t1`.`c4` = `t2`.`c4` [Error Id: 91e7af43-27a7-4577-802a-643705aeaf4f on centos-01.qa.lab:31010] (state=,code=0) {noformat} {noformat} 0: jdbc:drill:schema=dfs.tmp> SELECT * . . . . . . . . . . . . . . > FROM ( . . . . . . . . . . . . . . > select * from `t_alltype.parquet` t1, `t_alltype.parquet` t2 . . . . . . . . . . . . . . > WHERE EXISTS(t1.c4 = t2.c4 OR (t1.c4 IS NULL AND t2.c4 IS NULL)) . . . . . . . . . . . . . . > ); Error: SYSTEM ERROR: AssertionError: Internal error: not a query: `t1`.`c4` = `t2`.`c4` OR `t1`.`c4` IS NULL AND `t2`.`c4` IS NULL {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)