Repository navigation
Conversation
This was referenced Dec 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Superseded by #1183 for same-repository CI. Please continue the review there.
Summary
Add
BloomFilter.removeNotExistingMeasurements(IDeviceID, Set<String>, BiConsumer<IDeviceID, String>)for callers that already have a mutable set of metadata candidates. It reuses the device prefix across probes, removes each definite miss through the set iterator, and calls the consumer once per removal. The existingmightContainBatchAPI uses the same path matching logic.Example
Given candidates
{temperature, pressure}for one device, if the filter rules outpressure, the callback receives the device andpressure. The caller can pass the remaining set{temperature}directly to the metadata reader. IoTDB can use the callback to record a null entry for the missing column in its query result.This is a Java SDK operation on an in-memory candidate set. The TsFile CLI has no command that exposes a mutable metadata candidate set.
Verification
./mvnw -P with-java verify