Skip to content

Commit e1a47fc

Browse files
committed
fix java test
Signed-off-by: Achal Shah <achals@gmail.com>
1 parent 37e32e4 commit e1a47fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/storage/connectors/redis/src/main/java/feast/storage/connectors/redis/retriever/EntityKeySerializerV2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private List<Byte> encodeInteger(Integer value) {
129129
private List<Byte> encodeLong(Long value) {
130130
ByteBuffer buffer = ByteBuffer.allocate(Long.BYTES);
131131
buffer.order(ByteOrder.LITTLE_ENDIAN);
132-
buffer.putInt(value);
132+
buffer.putLong(value);
133133

134134
return Arrays.asList(ArrayUtils.toObject(buffer.array()));
135135
}

0 commit comments

Comments
 (0)