Calcite doesn't treat Explain statement as DDL, so Explain statement isn't
a top level statement and will not have any namespace.

But Explain will experience validated and that cause NPE.

Q1: If Explain statement should not be validated, will we throw a more
user-friendly exception?

Q2: If Explain statement should be validated, what should Calcite behave
when converting it to relation?

Reply via email to