You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Raju Bairishetti (JIRA)" <ji...@apache.org> on 2017/05/21 12:01:04 UTC

[jira] [Updated] (LENS-302) Provide ignoreIfExists option for creation of cube/dimension/dimtable/fact

     [ https://issues.apache.org/jira/browse/LENS-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raju Bairishetti updated LENS-302:
----------------------------------
    Fix Version/s:     (was: 2.7)

> 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
>              Labels: newbie
>
> 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.15#6346)