maedhroz commented on code in PR #3185:
URL: https://github.com/apache/cassandra/pull/3185#discussion_r1532939590
##########
src/java/org/apache/cassandra/index/sai/disk/v1/SSTableIndexWriter.java:
##########
@@ -200,7 +200,8 @@ else if (shouldFlush(sstableRowId))
currentBuilder = newSegmentBuilder();
}
- if (term.remaining() == 0) return;
+ // Some types support empty byte buffers:
+ if (term.remaining() == 0 &&
!index.termType().indexType().allowsEmpty()) return;
Review Comment:
Having prescient visions over there?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]