Fix test failures - store columns listed in 'constraint' in order.
Move 'getColumnModifier' to PDatum.