Arun Kumaran Sabtharishi created PHOENIX-2050: -------------------------------------------------
Summary: Dropping a view checks whether it has child views which has to be done only when a table is dropped Key: PHOENIX-2050 URL: https://issues.apache.org/jira/browse/PHOENIX-2050 Project: Phoenix Issue Type: Bug Affects Versions: 4.3.1 Reporter: Arun Kumaran Sabtharishi Fix For: 4.3.1 Whenever a view is dropped, MetaDataEndPointImpl.findChildViews() checks whether it has child views or not. This is doing a full scan in all the rows in SYSTEM.CATALOG which reduces performance. When the number of rows is very high, it causes timeout. The check has to be done only for the tables. -- This message was sent by Atlassian JIRA (v6.3.4#6332)