You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Puneet Gupta (JIRA)" <ji...@apache.org> on 2016/07/02 03:07:11 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 ]

Puneet Gupta updated LENS-302:
------------------------------
    Fix Version/s:     (was: 2.6)
                   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
>             Fix For: 2.7
>
>
> 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)