[
https://issues.apache.org/jira/browse/ASTERIXDB-1601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15429912#comment-15429912
]
Yingyi Bu commented on ASTERIXDB-1601:
--------------------------------------
Oops, it seems that we never tested those... I didn't know we support those
and they are indeed allowed by the parser...
I think we should probably disable those for now.
> CREATE TYPE failure as NPE (unsupported/untested feature?)
> ----------------------------------------------------------
>
> Key: ASTERIXDB-1601
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-1601
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: AsterixDB, Documentation, Error Reporting, Translator -
> AQL
> Environment: OSX and master
> Reporter: Michael J. Carey
> Assignee: Till
> Priority: Critical
> Labels: soon
>
> I just tried something that I'd long forgotten about that's documented in the
> reference manual but basically never used - and it doesn't work. I am
> thinking we should disable this (and other things like it), perhaps? Here's
> what I did:
> DROP DATAVERSE TinySocial2;
> CREATE DATAVERSE TinySocial2;
> USE TinySocial2;
> CREATE TYPE MyUserTupleType AS CLOSED {
> id: uuid, alias: string?, name: string
> };
> CREATE TYPE RenamedType AS MyUserTupleType;
> Here's what I got:
> Internal error. Please check instance logs for further details.
> [NullPointerException]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)