Rajat Khandelwal created LENS-302:
-------------------------------------

             Summary: Provide ignoreIfExists option for creation of 
cube/dimension/dimtable/fact
                 Key: LENS-302
                 URL: https://issues.apache.org/jira/browse/LENS-302
             Project: Apache Lens
          Issue Type: Bug
          Components: client, cube, server
            Reporter: Rajat Khandelwal


In createDatabase, this option is present. For entities, issuing create twice 
results in failure for the second time. 

In create database command, the default value for ignoreIfExists is false. 
Which means creating an existing dimension gives this:

{noformat}
AlreadyExistsException(message:Database default already exists)
{noformat}

The other value of the option results:

{noformat}
lens-shell>create database --db default --ignore true
Create database default successful
lens-shell>create database --db default --ignore true
Create database default successful
lens-shell>create database --db default --ignore true
Create database default successful
{noformat}





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

Reply via email to