Checks a join's key columns, in order, stopping at the first failing step: 1–2. there are left and right key columns; 3. as many on each side; 4. each pair's columns exist in their inputs and have compatible types, reported for every pair at once. Shared with Difference, which joins its inputs the same way.

  • Parameters

    • leftSchema: Schema
    • rightSchema: Schema
    • leftColumns: readonly string[]
    • rightColumns: readonly string[]
    • Optionalerrors: string[]

    Returns boolean