ShreelekhyaG opened a new pull request #4251: URL: https://github.com/apache/carbondata/pull/4251
### Why is this PR needed? MV created in beeline not hitting in sql/shell and vice versa if both beeline and sql/shell are running in parallel. Currently, If the view catalog for a particular session is already initialized then the schemas are not reloaded each time. So when mv is created in another session and queried from the currently open session, mv is not hit. ### What changes were proposed in this PR? Reload mv catalog every time to `getSchemas `from the path. Register the schema if not present in the catalog and deregister the schema if it's dropped. ### Does this PR introduce any user interface change? - No ### Is any new testcase added? - No, tested in cluster -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@carbondata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org