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 661709649 for ; Thu, 20 Oct 2011 00:23:32 +0000 (UTC) Received: (qmail 64393 invoked by uid 500); 20 Oct 2011 00:23:32 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 64366 invoked by uid 500); 20 Oct 2011 00:23:32 -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 64353 invoked by uid 500); 20 Oct 2011 00:23:32 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 64341 invoked by uid 99); 20 Oct 2011 00:23:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2011 00:23:32 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2011 00:23:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DF08F312E2F for ; Thu, 20 Oct 2011 00:23:10 +0000 (UTC) Date: Thu, 20 Oct 2011 00:23:10 +0000 (UTC) From: "Jonathan Chang (Commented) (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <410742685.13309.1319070190915.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1585974719.6819.1318954031226.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2509) Literal bigint 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/HIVE-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131209#comment-13131209 ] Jonathan Chang commented on HIVE-2509: -------------------------------------- To put it another way, once you have complex types (arrays, maps, struct and the like) you either need strong typing (a la C++, Java, etc.) or full-on duck typing (a la Python). I don't think any language has successfully maintained a middle ground (what Hive is trying to do right now). > Literal bigint > -------------- > > Key: HIVE-2509 > URL: https://issues.apache.org/jira/browse/HIVE-2509 > Project: Hive > Issue Type: New Feature > Reporter: Jonathan Chang > Assignee: Jonathan Chang > Attachments: D15.1.patch, D15.1.patch > > > Typing bigints is a pain because you have to write CAST(0 AS BIGINT). We should let people type 0L instead. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira