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 6AD0C200BA6 for ; Tue, 13 Sep 2016 01:42:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6948B160AB8; Mon, 12 Sep 2016 23:42:25 +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 B46F3160AC8 for ; Tue, 13 Sep 2016 01:42:24 +0200 (CEST) Received: (qmail 97155 invoked by uid 500); 12 Sep 2016 23:42:24 -0000 Mailing-List: contact notifications-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 notifications@asterixdb.apache.org Received: (qmail 97146 invoked by uid 99); 12 Sep 2016 23:42:23 -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; Mon, 12 Sep 2016 23:42:23 +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 6EAC4180502 for ; Mon, 12 Sep 2016 23:42:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.646 X-Spam-Level: X-Spam-Status: No, score=-4.646 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 13BV_WG3pnSf for ; Mon, 12 Sep 2016 23:42:21 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id 04E895FAE3 for ; Mon, 12 Sep 2016 23:42:20 +0000 (UTC) Received: (qmail 97050 invoked by uid 99); 12 Sep 2016 23:42:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2016 23:42:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7335E2C1B79 for ; Mon, 12 Sep 2016 23:42:20 +0000 (UTC) Date: Mon, 12 Sep 2016 23:42:20 +0000 (UTC) From: "Michael J. Carey (JIRA)" To: notifications@asterixdb.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (ASTERIXDB-1539) Create aliases for builtin types in SQL++ MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 12 Sep 2016 23:42:25 -0000 [ https://issues.apache.org/jira/browse/ASTERIXDB-1539?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D= 15485646#comment-15485646 ]=20 Michael J. Carey edited comment on ASTERIXDB-1539 at 9/12/16 11:42 PM: ----------------------------------------------------------------------- Q: Do we really need this for DP? This seems like syntactic sugar, as I t= hink more carefully about it? (Since we're not exposing CREATE TYPE or CREA= TE DATASET - and when we do, I doubt we'd be trying to 'hide' the existing = AQL names?) was (Author: dtabass): Q: Do we really need this for DP? This seems like syntactic sugar, as I t= hink more carefully about it? > Create aliases for builtin types in SQL++ > ----------------------------------------- > > Key: ASTERIXDB-1539 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1539 > Project: Apache AsterixDB > Issue Type: Improvement > Components: AsterixDB > Reporter: Yingyi Bu > Assignee: Yingyi Bu > Labels: soon > > Create SQL standard aliases for builtin types: > Boolean > Int8 -> TINYINT > Int16 -> SMALLINT > Int32 -> INT > Int64 -> BIGINT > Float -> REAL > Double -> DOUBLE > String -> STRING > Binary -> BINARY > Point -> POINT > Line -> LINE > Rectangle -> BOX > Circle -> CIRCLE > Polygon -> POLYGON > Date -> DATE > Time -> TIME > Datetime -> TIMESTAMP > Duration/Year-month-duration/Day-time-duration -> DURATION/YEAR_MONT= H_DURATION/DAY_TIME_DURATION > Interval -> INTERVAL > UUID -> UUID > Record -> RECORD > OrderedList =E2=80=94> ARRAY > UnorderedList --> MULTISET > Here is the PostgreSQL reference: > https://www.postgresql.org/docs/9.5/static/datatype.html > Sub-tasks: > 1. Check the difference between SQL array and JSON array; > 2. Think about suitable aliases for Duration/Year-month-duration/Day-time= -duration. -- This message was sent by Atlassian JIRA (v6.3.4#6332)