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 4A8DD200BA6 for ; Tue, 18 Oct 2016 18:05:41 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 48EDC160AE5; Tue, 18 Oct 2016 16:05:41 +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 668B7160ACE for ; Tue, 18 Oct 2016 18:05:40 +0200 (CEST) Received: (qmail 41809 invoked by uid 500); 18 Oct 2016 16:05:39 -0000 Mailing-List: contact dev-help@asterixdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.apache.org Delivered-To: mailing list dev@asterixdb.apache.org Received: (qmail 41777 invoked by uid 99); 18 Oct 2016 16:05:38 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2016 16:05:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 18DE81A0126 for ; Tue, 18 Oct 2016 16:05:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id oEn8kMfRDuSr for ; Tue, 18 Oct 2016 16:05:34 +0000 (UTC) Received: from mail-vk0-f54.google.com (mail-vk0-f54.google.com [209.85.213.54]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 368D45FB32 for ; Tue, 18 Oct 2016 16:05:34 +0000 (UTC) Received: by mail-vk0-f54.google.com with SMTP id 83so200826433vkd.0 for ; Tue, 18 Oct 2016 09:05:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=mJcebdiQtmxJeClgATlywjksMpDicTqLTtVsFBglCF4=; b=TKCneKzVojlunzCAAj04ZqNZI/jMPQglsmDHFLYPNbCes49QW58XMbINBEccaV+pwd ScCI9nIBa/TMS/NTH6AgDmYUuoOdjWBzCLlFV5AhO2hK5lO3Gxw61uRXFYSSoLubEuer lwVTtM343hXtZBaglCUkq1NuoJ4xOdgqAqJzWNPGNyCgIO7g9vhB2OysGwCgzxe1jp0/ vsHcW98P7m2c9VA5tE1xVCtYekIe7VuvcULFO30MZFKnpJ+eqDXCZW+SA+1DFopKtpb3 lfXoeL6X56GluCpp4sLkWzvs4P1XUFqhzugkCr0QyCxpzlUonUim6U6vzzoSId8Z9ux0 ZkjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=mJcebdiQtmxJeClgATlywjksMpDicTqLTtVsFBglCF4=; b=LPGotYLlw3sddILNwZtU2Pxa29jJCkuJ6rkOKr3zYsrW4HBWv7Mw1Tqk7szFpJTuII JPYKmSIlcDVIxsHb/IkyV5P/11nVfeL8GLkq+MS58edu29XmMyVFbACS4sZ5VT0/9drX cbcySWB0EDqUojwhbuyygDPJnRc8mtey6+4imlvL7O/PJUZx5/Gkz2meRLq2Hyh8ki1P WU3rQj2vve1QuOI3m5Ju4Nfu7J4ozHKW/WM7Y+LkSgtpnNBbbXJNhu8KoGDQpoREkZp0 Rz+f7UuunDqH41waX9U0TWq2fogGrCWp3e43EQ33YNeUcIN7ogKQ6Yr5VIu/1rGP0f/n VEow== X-Gm-Message-State: AA6/9RkMPH1g50YMd3yfNUoLQoPyj8zPyT6UOeEO9BjVOMov/8vzOdcCMWvPR710VYNiF1Telj9QkSmSnbEWZg== X-Received: by 10.31.232.199 with SMTP id f190mr1408269vkh.96.1476806733440; Tue, 18 Oct 2016 09:05:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.85.213 with HTTP; Tue, 18 Oct 2016 09:05:03 -0700 (PDT) In-Reply-To: References: From: Taewoo Kim Date: Tue, 18 Oct 2016 09:05:03 -0700 Message-ID: Subject: Re: type name changes To: dev@asterixdb.apache.org Content-Type: multipart/alternative; boundary=94eb2c094852bfad85053f25dc50 archived-at: Tue, 18 Oct 2016 16:05:41 -0000 --94eb2c094852bfad85053f25dc50 Content-Type: text/plain; charset=UTF-8 I understood that other SQL based systems have int and bigint. What we used was "int" for "int64". I'm just worried about the backward compatibility. If we change the definition (before:int for int64, after:int for integer (int32)) and outside users that Mike mentioned did not have numbers greater than INT32 range, I think it's OK. Best, Taewoo On Tue, Oct 18, 2016 at 8:59 AM, Yingyi Bu wrote: > Taewoo, > > >> So, can we use "int" for "bigint" to be consistent? > That's not what other SQL systems do. We probably don't want to create > new conventions (or surprises) in this area. > > Just FYI. > Hive: > > https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types# > LanguageManualTypes-NumericTypes > > > > Postgres: > > https://www.postgresql.org/docs/9.6/static/datatype-numeric.html > > > > MySQL: > > http://dev.mysql.com/doc/refman/5.7/en/integer-types.html > > > > MSSQL: > > https://msdn.microsoft.com/en-us/library/ms187745.aspx > > > Best, > Yingyi > > > > On Tue, Oct 18, 2016 at 8:52 AM, Taewoo Kim wrote: > > > So, can we use "int" for "bigint" to be consistent? > > > > Best, > > Taewoo > > > > On Tue, Oct 18, 2016 at 7:34 AM, Yingyi Bu wrote: > > > > > >>Actually I think Taewoo is right about having supported int as an > int64 > > > >>synonym in ADM. > > > > > > Ahh, just checked an old version and you're right! > > > > > > >> But I think the revised 101 examples used int, no? > > > Yes, they use int. > > > > > > >> We should just check so we know if we need to warn them when > > > >> we release.... > > > > > > Yes. Datasets created by their old DDLs should still work. > > > But this will impact their new DDLs. > > > > > > Best, > > > Yingyi > > > > > > > > > > > > On Tue, Oct 18, 2016 at 12:49 AM, Mike Carey > wrote: > > > > > > > Actually I think Taewoo is right about having supported int as an > int64 > > > > synonym in ADM. However, apparently this change didn't break any > > tests, > > > so > > > > we probably didn't have anything whose outputs were changed. But I > > think > > > > the revised 101 examples used int, no? Not sure if any of our users > > had > > > > followed that transition - can Ian ask SDSC and Condor for copies of > > > their > > > > current ADMs? We should just check so we know if we need to warn > them > > > when > > > > we release.... > > > > > > > > On Oct 17, 2016 11:49 PM, "Yingyi Bu" wrote: > > > > > > > > > This is the change that changes "record" to "object". > > > > > https://asterix-gerrit.ics.uci.edu/#/c/1295/ > > > > > > > > > > The existing record functions will still work. > > > > > If anyone thinks that the change breaks the current use case, > please > > > let > > > > me > > > > > know. > > > > > > > > > > Best, > > > > > Yingyi > > > > > > > > > > > > > > > > > > > > On Mon, Oct 17, 2016 at 10:26 PM, Yingyi Bu > > > wrote: > > > > > > > > > > > >> We used int for the abbreviation > > > > > > >> for INT64 (I assume that is now bigint?) type. Now, INT is an > > > > > > abbreviation > > > > > > >> for INT32? > > > > > > > > > > > > We didn't have "int" as a type name. > > > > > > A constant integer value by default was an int64. That's > > unchanged. > > > > > > Now, a constant integer value by default is a bigint. > > > > > > > > > > > > >> Aren't INT32 type displaying i32 as suffix? > > > > > > Other than type names, nothing is changed. I think we stopped > using > > > > > suffix > > > > > > quite a while ago. > > > > > > > > > > > > Best, > > > > > > Yingyi > > > > > > > > > > > > > > > > > > On Mon, Oct 17, 2016 at 10:14 PM, Taewoo Kim > > > > > wrote: > > > > > > > > > > > >> I checked the newly changed documentation. We used int for the > > > > > >> abbreviation > > > > > >> for INT64 (I assume that is now bigint?) type. Now, INT is an > > > > > abbreviation > > > > > >> for INT32? I thought we converted the default type to INT64 > > > (bigint). > > > > > >> Aren't INT32 type displaying i32 as suffix? > > > > > >> > > > > > >> ---------- Forwarded message ---------- > > > > > >> From: Yingyi Bu > > > > > >> Date: Mon, Oct 17, 2016 at 9:55 PM > > > > > >> Subject: type name changes > > > > > >> To: users@asterixdb.apache.org > > > > > >> > > > > > >> > > > > > >> Hi users, > > > > > >> > > > > > >> Recently, we did some name changes for builtin types to better > > align > > > > > with > > > > > >> SQL's types: > > > > > >> https://ci.apache.org/projects/asterixdb/datamodel.html > > > > > >> > > > > > >> There will be a further name change that changes "record" to > > > "object", > > > > > to > > > > > >> better align with JSON. > > > > > >> The purpose of renaming those builtin types is to lower the > usage > > > bar > > > > > for > > > > > >> users who are using either SQL or JSON. > > > > > >> > > > > > >> Note that all the old type names should still work as it used to > > be. > > > > > >> However, it is better to move to new names for future use cases. > > > > > >> > > > > > >> Best, > > > > > >> Yingyi > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > --94eb2c094852bfad85053f25dc50--