the generator expression
when true, each output row is implicitly joined with the input tuple that produced it.
when true, each input row will be output at least once, even if the output of the
given generator
is empty. outer
has no effect when join
is false.
the output attributes of this node, which constructed in analysis phase, and we can not change it, as the parent node bound with it already.
Overridden by concrete implementations of SparkPlan.
Returns the result of this query as an RDD[Row] by delegating to doExecute after adding query plan information to created RDDs for visualization.
Returns the result of this query as an RDD[Row] by delegating to doExecute after adding query plan information to created RDDs for visualization. Concrete implementations of SparkPlan should override doExecute instead.
Runs this query returning the result as an array.
Runs this query returning the result as an array.
Runs this query returning the first n
rows as an array.
Runs this query returning the first n
rows as an array.
This is modeled after RDD.take but never runs any job locally on the driver.
the generator expression
when true, each output row is implicitly joined with the input tuple that produced it.
Overridden make copy also propogates sqlContext to copied plan.
Overridden make copy also propogates sqlContext to copied plan.
when true, each input row will be output at least once, even if the output of the
given generator
is empty.
when true, each input row will be output at least once, even if the output of the
given generator
is empty. outer
has no effect when join
is false.
the output attributes of this node, which constructed in analysis phase, and we can not change it, as the parent node bound with it already.
the output attributes of this node, which constructed in analysis phase, and we can not change it, as the parent node bound with it already.
Specifies how data is ordered in each partition.
Specifies how data is ordered in each partition.
Specifies how data is partitioned across different nodes in the cluster.
Specifies how data is partitioned across different nodes in the cluster.
Specifies any partition requirements on the input data for this operator.
Specifies any partition requirements on the input data for this operator.
Specifies sort order for each partition requirements on the input data for this operator.
Specifies sort order for each partition requirements on the input data for this operator.
A handle to the SQL Context that was used to create this plan.
A handle to the SQL Context that was used to create this plan. Since many operators need access to the sqlContext for RDD operations or configuration this field is automatically populated by the query planning infrastructure.
:: DeveloperApi :: Applies a Generator to a stream of input rows, combining the output of each into a new stream of rows. This operation is similar to a
flatMap
in functional programming with one important additional feature, which allows the input rows to be joined with their output.the generator expression
when true, each output row is implicitly joined with the input tuple that produced it.
when true, each input row will be output at least once, even if the output of the given
generator
is empty.outer
has no effect whenjoin
is false.the output attributes of this node, which constructed in analysis phase, and we can not change it, as the parent node bound with it already.