Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3CA42183B3 for ; Thu, 16 Jul 2015 15:10:10 +0000 (UTC) Received: (qmail 93425 invoked by uid 500); 16 Jul 2015 15:10:09 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 93361 invoked by uid 500); 16 Jul 2015 15:10:09 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 93298 invoked by uid 99); 16 Jul 2015 15:10:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jul 2015 15:10:09 +0000 Date: Thu, 16 Jul 2015 15:10:09 +0000 (UTC) From: "Jesus Camacho Rodriguez (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-11282) CBO (Calcite Return Path): Inferring Hive type char/varchar of length zero which is not allowed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jesus Camacho Rodriguez created HIVE-11282: ---------------------------------------------- Summary: CBO (Calcite Return Path): Inferring Hive type char/v= archar of length zero which is not allowed Key: HIVE-11282 URL: https://issues.apache.org/jira/browse/HIVE-11282 Project: Hive Issue Type: Sub-task Reporter: Jesus Camacho Rodriguez Assignee: Jesus Camacho Rodriguez When RT is on, we try to infer the Hive type from the Calcite type for the = value '=E2=80=99 e.g. in udf3.q, and we end up with char (length=3D0) as a = result. The min length of char/varchar in Hive is 1, thus an Exception is t= hrown. -- This message was sent by Atlassian JIRA (v6.3.4#6332)