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 732E5200BA0 for ; Fri, 30 Sep 2016 01:18:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 71A7F160AE3; Thu, 29 Sep 2016 23:18:22 +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 AA597160AE4 for ; Fri, 30 Sep 2016 01:18:21 +0200 (CEST) Received: (qmail 96796 invoked by uid 500); 29 Sep 2016 23:18:20 -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 96694 invoked by uid 99); 29 Sep 2016 23:18:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2016 23:18:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6FDB42C0B05 for ; Thu, 29 Sep 2016 23:18:20 +0000 (UTC) Date: Thu, 29 Sep 2016 23:18:20 +0000 (UTC) From: "Sergey Shelukhin (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-14863) Decimal to int conversion produces incorrect data MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 29 Sep 2016 23:18:22 -0000 Sergey Shelukhin created HIVE-14863: --------------------------------------- Summary: Decimal to int conversion produces incorrect data Key: HIVE-14863 URL: https://issues.apache.org/jira/browse/HIVE-14863 Project: Hive Issue Type: Bug Reporter: Sergey Shelukhin {noformat} > select cast(cast ('111111111111111' as decimal(38,0)) as int); OK 307163591 {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)