code: func validRangePartitionType(col *table.Column) bool {
  	switch col.FieldType.EvalType() {
  	case types.ETInt:
  		return true
  	default:
  		return false
  	}
  }
docs: // validRangePartitionType checks the type supported by the range partitioning key.