@Deprecated
  public static int getBucketNumberOld(Object[] bucketFields, ObjectInspector[] bucketFieldInspectors, int totalBuckets) {
    return getBucketNumber(getBucketHashCodeOld(bucketFields, bucketFieldInspectors), totalBuckets);
  }
Computes the bucket number to which the bucketFields belong to
@param bucketFields  the bucketed fields of the row
@param bucketFieldInspectors  the ObjectInspectors for each of the bucketed fields
@param totalBuckets the number of buckets in the table
@return the bucket number
serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorUtils.java