Michael J. Carey created ASTERIXDB-1601:
-------------------------------------------

             Summary: 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


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)

Reply via email to