You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kelvin Jiang (Jira)" <ji...@apache.org> on 2022/11/02 17:33:00 UTC

[jira] [Created] (SPARK-41000) Make CommandResult extend Command

Kelvin Jiang created SPARK-41000:
------------------------------------

             Summary: Make CommandResult extend Command
                 Key: SPARK-41000
                 URL: https://issues.apache.org/jira/browse/SPARK-41000
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.4.0
            Reporter: Kelvin Jiang


CommandResult is the logical plan node that stores the results from a command. We want this to still be considered a command, rather than e.g. a query, so extending the trait Command would allow it to pass various checks for commands (such as [this one|https://github.com/apache/spark/blob/f4ff2d16483f7da2c7ab73c7cfec75bb9e91064d/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/CTESubstitution.scala#L54-L57]).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org