Michael J. Carey created ASTERIXDB-2566:
-------------------------------------------
Summary: 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
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|[http://example.com].|http://example.com]./]
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
(v7.6.3#76005)