Taewoo Kim created ASTERIXDB-1496:
-------------------------------------

             Summary: Having an ability to put nullable field information when 
creating an enforced index
                 Key: ASTERIXDB-1496
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1496
             Project: Apache AsterixDB
          Issue Type: Improvement
            Reporter: Taewoo Kim


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;





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to