From 689eb95ffe2746efc44e56f332b7f0d64974414f Mon Sep 17 00:00:00 2001 From: Will Dey Date: Wed, 4 Sep 2024 19:39:59 -0400 Subject: [PATCH] Do not insert null values --- .../cassandra/io/sstable/metadata/MetadataSerializer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/cassandra/io/sstable/metadata/MetadataSerializer.java b/src/java/org/apache/cassandra/io/sstable/metadata/MetadataSerializer.java index 6120bafc4b..031df92e50 100644 --- a/src/java/org/apache/cassandra/io/sstable/metadata/MetadataSerializer.java +++ b/src/java/org/apache/cassandra/io/sstable/metadata/MetadataSerializer.java @@ -122,8 +122,8 @@ public Map deserialize(Descriptor descriptor, F { in.seek(offset); component = type.serializer.deserialize(descriptor.version, in); + components.put(type, component); } - components.put(type, component); } return components; }