Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-45421][SQL] Catch AnalysisException over InlineCTE
### What changes were proposed in this pull request? We are catching exceptions for `CheckAnalysis` and attach inlined plan. However, if `InlineCTE` itself throws we can also catch but attach original plan. ### Why are the changes needed? Attach original plan if `InlineCTE` throws. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Existing UT ### Was this patch authored or co-authored using generative AI tooling? NO Closes #43227 from amaliujia/inline_cte_plan. Authored-by: Rui Wang <rui.wang@databricks.com> Signed-off-by: Wenchen Fan <wenchen@databricks.com>
- Loading branch information