You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by Ted Yu <yu...@gmail.com> on 2015/06/11 20:51:59 UTC
Re: Table Delete in Apache Hbase
Looks like the questions would be better answered on Phoenix mailing list.
On Thu, Jun 11, 2015 at 11:47 AM, Arun Kumaran Sabtharishi <
arun1087@gmail.com> wrote:
> Hello Hbase users and developers,
>
> I have a few questions regarding how table table delete works in hbase.
>
> *What I know:*
> If a hbase table is deleted(after disabling), the SYSTEM.CATALOG entries
> related to that table will be deleted.
>
> If a view is created using phoenix (assuming there are other views which
> are not related to each other) and the view that has been created is
> deleted, the SYSTEM.CATALOG entries related to the view will be deleted.
> Okay. Sounds good!
>
> *What I want to know:*
> Does the 'delete view' checks whether the other views(which were already
> existing) are going to be affected(doing a scan)?
>
> If table T1 and views V1, V2 and V3 already exists.
>
> Create a view Vx which is not dependent/related to any of V1, V2 and V3.
>
> Delete Vx.
>
> Does the delete Vx checks SYSTEM.CATALOG for V1, V2 and V3? In other words,
> does it do a scan to check whether the V1, V2 and V3 are dependent/related
> to Vx?
>
> Thanks,
> Arun
>