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 C9804200C17 for ; Thu, 26 Jan 2017 15:51:12 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C633F160B33; Thu, 26 Jan 2017 14:51:12 +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 1CC69160B40 for ; Thu, 26 Jan 2017 15:51:11 +0100 (CET) Received: (qmail 7876 invoked by uid 500); 26 Jan 2017 14:51:11 -0000 Mailing-List: contact dev-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.incubator.apache.org Delivered-To: mailing list dev@impala.incubator.apache.org Received: (qmail 7760 invoked by uid 99); 26 Jan 2017 14:51:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jan 2017 14:51:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 6B00EC1914 for ; Thu, 26 Jan 2017 14:51:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.48 X-Spam-Level: ** X-Spam-Status: No, score=2.48 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudera-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 1i8esBY3Jlmd for ; Thu, 26 Jan 2017 14:51:08 +0000 (UTC) Received: from mail-oi0-f53.google.com (mail-oi0-f53.google.com [209.85.218.53]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 65ADE5F47A for ; Thu, 26 Jan 2017 14:51:07 +0000 (UTC) Received: by mail-oi0-f53.google.com with SMTP id j15so139265474oih.2 for ; Thu, 26 Jan 2017 06:51:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudera-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=//gL9zK2gdmHbPsFT6eQ9ambpjMmPfASVMQNv5781oE=; b=l1KKI4DlDipsECaRUM221XqG/i9txBl82KEZ7sVCidX/Vg8l70MBTZxVIxn7bSVyHg qRXG/JY+BO5B3orp0aT+BWwKjsOw7HdIkEC/8wvxxVddj11UKyC4qn3NdmURBX59RU4Q u1ad4z7Ob4NBvGBHYgRENaNVLLQQVxsT7tDqwXTLBc+EZ8UugzZGuGIVQ7aPygQVJu9a m3GrXToQtn+1x2FtA7RB4tefG5RFJ5ORoy1b7aQUEoxTKMVknHm/F80gGgdCcUEJm9xc 1pyDDJHmkBmO+P5x59zeZJ6FAQtSJJI5v0i6BY7pC08AhfPHcqwqjoijYnfHh2L0SYwc W3tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=//gL9zK2gdmHbPsFT6eQ9ambpjMmPfASVMQNv5781oE=; b=tFGWuEujjg9W1OtVE7D50nWgZVWWfreDdy/zWKpw8gl6ZoRNbM7PHpbNvJVWa2fHK9 hnGzQXgXxgSyki2JPi6lzeQxfIgaqK9G8ylSQMQb67+WbV9+mJipA0GdfIM/jjIAnff+ FlHMxcHlHc+ws65Xvxwznntnx9yvxHvVI0wr55wRvXHa6OaY+IR4UX6lNfuLhCKsX+/F E4cWLu9e5DWGBmqOz0ELoJTrT4IvPnR5NNim8B2PAIrJqnLUmrtMBpHe4Y56dWdlKUR5 XCI/ufWYLb9A83VcXWZRuzls137OLZiPuIQf/wEaKKc1hTuE52Hu4Z00arwbw8+IB2b3 dJNw== X-Gm-Message-State: AIkVDXJgiwgF1M5p10b95lob3cZljnP0t4mAnt7Q0BqJu3cjqEexHxkp/K3H5JVOb/b6L4Mpb6uoPe/zYTQj7EyJ X-Received: by 10.202.245.138 with SMTP id t132mr2132942oih.78.1485442265204; Thu, 26 Jan 2017 06:51:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.22.176 with HTTP; Thu, 26 Jan 2017 06:50:24 -0800 (PST) In-Reply-To: References: From: Lars Volker Date: Thu, 26 Jan 2017 15:50:24 +0100 Message-ID: Subject: Re: Do we have a table in 'functional' with negative int/float values? To: dev@impala.incubator.apache.org Cc: dev@impala.apache.org Content-Type: multipart/alternative; boundary=001a113de9568d76ce0547007a92 archived-at: Thu, 26 Jan 2017 14:51:13 -0000 --001a113de9568d76ce0547007a92 Content-Type: text/plain; charset=UTF-8 Good to know, thanks for your reply. On Wed, Jan 25, 2017 at 5:42 AM, Alex Behm wrote: > I don't think we have a test table in 'functional' with negative values. > > As far as I can tell, the table 'functional.overflow' is a text table that > contains values that are larger/smaller than the maximum/minimum type > declare for that column. > When overflowing during a text scan, Impala will materialize the max value > for that column (based on the column type in the schema), whereas Hive will > return NULL or -Infinity. > So I'd say the behavior you are seeing is expected. > > Alex > > On Tue, Jan 24, 2017 at 4:14 PM, Lars Volker wrote: > > > Hi all, > > > > while writing tests for IMPALA-3909 I tried to find a test table in > > 'functional' that has non-pathologic negative integer and float values > but > > couldn't find one. Does anyone know of a table with negative values in > it? > > > > I did find functional.overflow, but Hive returns NULL when querying it. > Is > > that expected or a Hive bug? > > > > Thanks a lot, Lars > > > --001a113de9568d76ce0547007a92--