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 D4E58200BA6 for ; Tue, 18 Oct 2016 18:00:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D3531160AE5; Tue, 18 Oct 2016 16:00:04 +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 F0281160ACE for ; Tue, 18 Oct 2016 18:00:03 +0200 (CEST) Received: (qmail 22819 invoked by uid 500); 18 Oct 2016 16:00:03 -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 22755 invoked by uid 99); 18 Oct 2016 16:00:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2016 16:00:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id B5F78185870 for ; Tue, 18 Oct 2016 16:00:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-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: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id VyUtNzInlQgd for ; Tue, 18 Oct 2016 15:59:59 +0000 (UTC) Received: from mail-yw0-f181.google.com (mail-yw0-f181.google.com [209.85.161.181]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id A51145FAD8 for ; Tue, 18 Oct 2016 15:59:58 +0000 (UTC) Received: by mail-yw0-f181.google.com with SMTP id w3so141996880ywg.1 for ; Tue, 18 Oct 2016 08:59:58 -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=ZheV+y3pCHYyYgH8VnqITbV1ltrG65lc9MGZrJgN+R4=; b=D0Zx/T6sKm3TIgIXj6mNO0d1mcor/AsC+55tJmyJ72pK98GYl6xNkGJtlZ44UfYUpn 7wzHp7JX6fTBdRKMtazki4bUmdnDW+mmEg93LxJMSxr3lvlJF9qU/PnpOvJr+A0dAuAH OGBCX8l7RdaHAWdwHjdRtBpIBJXS5ilJsgBwJf4Qf963TE88oDSNcxibLEOPM3NYFuZ2 K+QehyjW3BirLWTzAGBRN+vDDBNsVPKaOQvJ05uzpl1TbFoNYWXhkVwZwx3dr9OKks10 aRWSOOH/YTKo6I06GbQUuv/K3Jlgjbh0JHXXFft6qBn1yALpq9Yy9MBSswlG4AToL7r7 9OBw== 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=ZheV+y3pCHYyYgH8VnqITbV1ltrG65lc9MGZrJgN+R4=; b=bHRADtaZuhlijJkMxl7eZCS+0EeaNu2mGh153jBwXU0ALp4BHY/Mhx6p+ms6gLLolp UkB/xVG9pHRLEt2trybaifT5He1Xm/rEd+6yQS2y2l3Zu1QI3IidsxKpvrgXv/a0FvSa i/W44tSHRmssvHvtAuJFSangUk3T63QhpAhYV5eVfJSSgpUj78Dv3xWhOukyA3HJkS7m W0QiQhIoRaCDxUMc/l8/7P9GuZ+6xfM+02tfWTKqBXPs8Tqr/RQ7/jJdlzu9aBmSE9VA 2YUPcU99a7PEX5/aiNuPNpl9JGkShMx1jLvCGv1GdBgaV2iUdG59TfLRIncW5f+tKqDk LgiA== X-Gm-Message-State: AA6/9RkUNC9glLLpyEvUIcTRc1DD04L8q4tg3X6vcQAZBxa3jUe6wpJkrYZmSYD9nmTO+f03waoe9JXB/NRh/A== X-Received: by 10.129.51.142 with SMTP id z136mr1269535ywz.352.1476806391689; Tue, 18 Oct 2016 08:59:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.41.67 with HTTP; Tue, 18 Oct 2016 08:59:51 -0700 (PDT) In-Reply-To: References: From: Yingyi Bu Date: Tue, 18 Oct 2016 08:59:51 -0700 Message-ID: Subject: Re: type name changes To: dev@asterixdb.apache.org Content-Type: multipart/alternative; boundary=001a1142259660f5e4053f25c866 archived-at: Tue, 18 Oct 2016 16:00:05 -0000 --001a1142259660f5e4053f25c866 Content-Type: text/plain; charset=UTF-8 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 > > > > >> > > > > > > > > > > > > > > > > > > > > --001a1142259660f5e4053f25c866--