Github user gatorsmile commented on the issue:

    https://github.com/apache/spark/pull/16233
  
    Could you also add a test case for verifying the error behaviors?
    
    For example, in the definition of a nested view, how Analyzer behaves when 
the dependent databases, views, or views are dropped. 
    
    ```
    |- view1 (defaultDatabase = db1)
      |- operator
        |- table2 (defaultDatabase = db1)
        |- view2 (defaultDatabase = db2)
           |- view3 (defaultDatabase = db3)
           |- table3 (defaultDatabase = db5)
      |- view4 (defaultDatabase = db4)
    ```
    
    In the following cases, what kind of errors we got when resolving `view1`
    - What happened when `db2` is dropped?
    - What happened when `view2` is dropped?
    - What happened when `view3` is dropped?
    - What happened when `table3` is dropped?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to