[ https://issues.apache.org/jira/browse/LENS-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amareshwari Sriramadasu updated LENS-302: ----------------------------------------- Fix Version/s: 2.6 > 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: Improvement > Components: client, cube, server > Reporter: Rajat Khandelwal > Fix For: 2.6 > > > 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)