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

Having an ability to put nullable field information when creating an enforced index

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      It would be nice if we have an ability to put nullable field ("?") information when creating an enforced type index to indicate whether the field is nullable or not.

      The current syntax
      create index fbSendTimeIdx on FacebookMessages(send-time:datetime) type btree enforced;

      The proposed syntax(nullable field)
      create index fbSendTimeIdx on FacebookMessages(send-time:datetime?) type btree enforced;

      or

      (non-nullable field)
      create index fbSendTimeIdx on FacebookMessages(send-time:datetime) type btree enforced;

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dtabass Michael J. Carey
            wangsaeu Taewoo Kim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment