You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Michael J. Carey (Jira)" <ji...@apache.org> on 2019/12/26 23:19:00 UTC

[jira] [Commented] (ASTERIXDB-2566) Missing type functions for use in SQL++

    [ https://issues.apache.org/jira/browse/ASTERIXDB-2566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17003808#comment-17003808 ] 

Michael J. Carey commented on ASTERIXDB-2566:
---------------------------------------------

Perhaps Glenn Galvizo at UCI can do these as part of the work he's doing related to types and functions...  :-)

> Missing type functions for use in SQL++
> ---------------------------------------
>
>                 Key: ASTERIXDB-2566
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2566
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: DOC - Documentation, FUN - Functions, SQL - Translator SQL++
>    Affects Versions: 0.9.4.1
>            Reporter: Michael J. Carey
>            Assignee: Till Westmann
>            Priority: Major
>             Fix For: 0.9.4.2
>
>
> (Initially reported by AsterixDB user Nick Digeronimo)
> The AsterixDB docs seem to be missing type identification functions for some types. For example, there is no "is_date" function. In fact, there are a number of missing type checks for types date, datetime, time, duration, and possibly more. A generic "get_type" method might be helpful to solve this problem.
> The type functions are listed on the AsterixDB help page: [https://asterixdb.apache.org/docs/0.9.4/sqlpp/builtins.html#TypeFunctions]
> We should have an is_XXX function for each of the supported primitive types plus each of the structured types.
> We should also have the suggested get_type function (name TBD), e.g., which would take a value in and return the string name of its type.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)