Hello Phoenix/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

Reply via email to