Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change OneRowRelation to class
  • Loading branch information
tedyu committed Mar 17, 2016
commit e565c62aa825745a663ffeb659db33b90d1ddbd7
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ case class Repartition(numPartitions: Int, shuffle: Boolean, child: LogicalPlan)
/**
* A relation with one row. This is used in "SELECT ..." without a from clause.
*/
case object OneRowRelation extends LeafNode {
case class OneRowRelation() extends LeafNode {
override def maxRows: Option[Long] = Some(1)
override def output: Seq[Attribute] = Nil

Expand Down