@Deprecated
  public static int getBucketHashCodeOld(Object[] bucketFields, ObjectInspector[] bucketFieldInspectors) {
    int hashCode = 0;
    for (int i = 0; i < bucketFields.length; i++) {
      int fieldHash = ObjectInspectorUtils.hashCode(bucketFields[i], bucketFieldInspectors[i]);
      hashCode = 31 * hashCode + fieldHash;
    }
    return hashCode;
  }
Computes the hash code for the given bucketed fields
@param bucketFields
@param bucketFieldInspectors
@return
serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorUtils.java