You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Thomas D'Silva (JIRA)" <ji...@apache.org> on 2019/07/19 23:18:00 UTC

[jira] [Created] (PHOENIX-5404) Move check to client side to see if there are any child views that need to be dropped while receating a table/view

Thomas D'Silva created PHOENIX-5404:
---------------------------------------

             Summary: Move check to client side to see if there are any child views that need to be dropped while receating a table/view
                 Key: PHOENIX-5404
                 URL: https://issues.apache.org/jira/browse/PHOENIX-5404
             Project: Phoenix
          Issue Type: Sub-task
            Reporter: Thomas D'Silva


Remove  {{ViewUtil.dropChildViews(env, tenantIdBytes, schemaName, tableName);}} call in MetdataEndpointImpl.createTable

While creating a table or view we need to ensure that are not any child views that haven't been clean up by the DropChildView task yet. Move this check to the client (issue a scan against SYSTEM.CHILD_LINK to see if a single linking row exists).



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)