hongzhi-gao commented on code in PR #745:
URL: https://github.com/apache/tsfile/pull/745#discussion_r2980719617
##########
cpp/src/reader/tsfile_series_scan_iterator.cc:
##########
@@ -36,52 +36,103 @@ void TsFileSeriesScanIterator::destroy() {
}
}
+bool TsFileSeriesScanIterator::should_skip_chunk_by_time(
+ ChunkMeta* cm, int64_t min_time_hint) {
+ if (min_time_hint < 0 || cm->statistic_ == nullptr) {
Review Comment:
I switched to INT64_MIN sentinel handling here as well, so negative
timestamps are not treated as an invalid hint.
--
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]