dd88eff820
### What changes were proposed in this pull request? When write test about command, when `checkAnswer`, Always got error as below ``` [info] AttributeSet(partition#607) was not empty The analyzed logical plan has missing inputs: [info] ShowPartitionsCommand `ns`.`tbl`, [partition#607] (QueryTest.scala:224) [info] org.scalatest.exceptions.TestFailedException: [info] at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472) [info] at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471) ``` For Command DDL plan, we can define `producedAttributes` as it's `outputSet` and it's reasonable ### Why are the changes needed? Add default `producedAttributes` for Command LogicalPlan ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Not need Closes #31342 from AngersZhuuuu/SPARK-34241. Authored-by: Angerszhuuuu <angers.zhu@gmail.com> Signed-off-by: Wenchen Fan <wenchen@databricks.com> |
||
---|---|---|
.. | ||
benchmarks | ||
src | ||
pom.xml |