Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-1601

CREATE TYPE failure as NPE (unsupported/untested feature?)

    XMLWordPrintableJSON

Details

    Description

      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]

      Attachments

        Activity

          People

            tillw Till Westmann
            dtabass Michael J. Carey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: