MultiInstanceRelation

MultiInstanceRelation is a contact of logical operators which a single instance might appear multiple times in a logical query plan.

package org.apache.spark.sql.catalyst.analysis

trait MultiInstanceRelation {
  def newInstance(): LogicalPlan
}

When ResolveReferences logical evaluation is executed, every MultiInstanceRelation in a logical query plan is requested to produce a new version of itself with globally unique expression ids.

Table 1. MultiInstanceRelations
MultiInstanceRelation Description

ContinuousExecutionRelation

Used in Spark Structured Streaming

DataSourceV2Relation

ExternalRDD

HiveTableRelation

InMemoryRelation

LocalRelation

LogicalRDD

LogicalRelation

Range

View

StreamingExecutionRelation

Used in Spark Structured Streaming

StreamingRelation

Used in Spark Structured Streaming

StreamingRelationV2

Used in Spark Structured Streaming

results matching ""

    No results matching ""