static int encodeBucketId(Configuration conf, int bucketId, int statementId) {
    return BucketCodec.V1.encode(new AcidOutputFormat.Options(conf).bucket(bucketId)
        .statementId(statementId));
  }
The cumulative number of rows in all files of the logical bucket that precede the file
represented by {@link #getRecordReader()}
ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcRawRecordMerger.java