fix(rust): Add column length check to row encoding (#28248)