xushiyan commented on code in PR #8758: URL: https://github.com/apache/hudi/pull/8758#discussion_r1233511601
########## hudi-common/src/main/java/org/apache/hudi/metadata/HoodieMetadataPayload.java: ########## @@ -147,6 +154,16 @@ public class HoodieMetadataPayload implements HoodieRecordPayload<HoodieMetadata private static final Conversions.DecimalConversion AVRO_DECIMAL_CONVERSION = new Conversions.DecimalConversion(); + // HoodieMetadata record index payload field ids + public static final String RECORD_INDEX_FIELD_PARTITION = "partition"; + public static final String RECORD_INDEX_FIELD_FILEID_HIGH_BITS = "fileIdHighBits"; + public static final String RECORD_INDEX_FIELD_FILEID_LOW_BITS = "fileIdLowBits"; + public static final String RECORD_INDEX_FIELD_FILE_INDEX = "fileIndex"; + public static final String RECORD_INDEX_FIELD_INSTANT_TIME = "instantTime"; + + // FileIndex value saved in record index record when the fileId has no index (old format of base filename) + private static final int RECORD_INDEX_MISSING_FILEINDEX = -1; Review Comment: fixed -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
