Skip to main content

normalize_joins

Function normalize_joins 

Source
pub fn normalize_joins(expression: Expression) -> Expression
Expand description

Normalize join syntax by removing unnecessary keywords.

  • Remove INNER keyword (it’s the default for joins with ON clause)
  • Remove OUTER keyword (only LEFT/RIGHT/FULL matter)
  • Add CROSS keyword to joins without any join type
  • Add TRUE to joins without ON or USING clause