Skip to content

Commit

Permalink
Fix extract partitionId
Browse files Browse the repository at this point in the history
  • Loading branch information
oyeliseiev-ua committed Feb 21, 2024
1 parent e5247e9 commit 2d8e380
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static String offset(ResultSet rs) throws SQLException {
}

public static Integer partitionId(ResultSet rs) throws SQLException {
return rs.getInt(METADATA_COLUMNS[1]) - 1;
return rs.getInt(METADATA_COLUMNS[1]);
}

private static String bytesToHex(byte[] bytes) {
Expand Down

0 comments on commit 2d8e380

Please sign in to comment.