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
Three primary traits type:
convention is a type of trait. They are used to represent a single data source. More Calcite - Convention