Github user marmbrus commented on a diff in the pull request:

    https://github.com/apache/spark/pull/956#discussion_r13521013
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/LogicalPlan.scala
 ---
    @@ -101,7 +101,7 @@ abstract class LeafNode extends LogicalPlan with 
trees.LeafNode[LogicalPlan] {
      */
     abstract class Command extends LeafNode {
       self: Product =>
    -  def output = Seq.empty
    +  def output: Seq[Attribute] = Seq.empty // TODO: Is Seq.empty the right 
thing to do?
    --- End diff --
    
    We should probably just remove this from command and actually set the 
output correctly for its subclasses.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to