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 0A9D318902 for ; Fri, 8 Jan 2016 02:28:40 +0000 (UTC) Received: (qmail 9859 invoked by uid 500); 8 Jan 2016 02:28:40 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 9799 invoked by uid 500); 8 Jan 2016 02:28:39 -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 9784 invoked by uid 99); 8 Jan 2016 02:28:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2016 02:28:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C56C82C14F4 for ; Fri, 8 Jan 2016 02:28:39 +0000 (UTC) Date: Fri, 8 Jan 2016 02:28:39 +0000 (UTC) From: "Alfie You (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (DRILL-4248) CONVERT_FROM/BYTE_SUBSTR does not work with long string match in WHERE block 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-4248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alfie You closed DRILL-4248. ---------------------------- Resolution: Not A Problem > CONVERT_FROM/BYTE_SUBSTR does not work with long string match in WHERE block > ---------------------------------------------------------------------------- > > Key: DRILL-4248 > URL: https://issues.apache.org/jira/browse/DRILL-4248 > Project: Apache Drill > Issue Type: Bug > Components: Client - CLI, Functions - Drill > Affects Versions: 1.2.0 > Reporter: Alfie You > > I use SQLLINE to make a HBASE query on CLI. > My query like this works: > ... WHERE CONVERT_FROM(BYTE_SUBSTR(row_key, 26, 10), 'UTF8') like '100004643%'... > But query like this report error: > ... WHERE CONVERT_FROM(BYTE_SUBSTR(row_key, 26, 10), 'UTF8') like '1000046436'... > Error: SYSTEM ERROR: NegativeArraySizeException > Fragment 0:0 > [Error Id: 63a1ed6f-22ce-4cc8-a5c1-4fef420bf5b7 on :] (state=,code=0) > What I see is if the string after like have more than 10 chars, it will report the error. -- This message was sent by Atlassian JIRA (v6.3.4#6332)