Trait

Card Puncher Data Processing

Calcite - Traits (Relational expression validation)

About

Traits represents a trait of a relational expression that does not alter the execution. They are used to validate the plan output.

They implements the RelTrait interface and

Type

Three primary traits type:

  • Convention
  • Recollation
  • RelDistribution

Conventions

convention is a type of trait. They are used to represent a single data source. More Calcite - Convention





Discover More
Card Puncher Data Processing
Calcite - Optimizer (RelOptCluster)

The optimizer is a program that takes a relational expression (query plan) and rewrites it with optimization rules. The output is still a relational expression and is generally called the physical plan....



Share this page:
Follow us:
Task Runner