phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-4195) PHOENIX-4195 Deleting view rows with extended PKs through the base table silently fails
Date Fri, 08 Jun 2018 17:50:00 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-4195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16506325#comment-16506325
] 

James Taylor commented on PHOENIX-4195:
---------------------------------------

Thinking about this more, we should disallow this functionality completely. Updates to views
need to come through the view. We've tried to make this clear in our limitations section here:
[http://phoenix.apache.org/views.html#Limitations.] So functionally, you're breaking that
contract by attempting to delete view rows through a base table or view with children. We
should just disallow this IMHO when we have the information cached in our PTable. Other stuff
(like indexes on views) will break if we allow this.

> PHOENIX-4195 Deleting view rows with extended PKs through the base table silently fails
> ---------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-4195
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4195
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Thomas D'Silva
>            Assignee: Geoffrey Jacoby
>            Priority: Major
>         Attachments: test.diff
>
>
> The attached test fails.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message