[ 
https://issues.apache.org/jira/browse/SPARK-41000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kelvin Jiang updated SPARK-41000:
---------------------------------
    Description: 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 we should extend the trait Command which 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]).
  (was: 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]).)

> 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
>            Priority: Major
>
> 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 we should extend the trait Command which 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to