Skip to content

Commit

Permalink
fix geo index bound (#3352)
Browse files Browse the repository at this point in the history
Co-authored-by: Doodle <13706157+critical27@users.noreply.github.com>
  • Loading branch information
cangfengzhs and critical27 committed Dec 15, 2021
1 parent bb6fc4e commit df3781c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/geo/GeoIndex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ nebula::storage::cpp2::IndexColumnHint ScanRange::toIndexColumnHint() {
// Encode uint64_t as string in advance
hint.set_begin_value(IndexKeyUtils::encodeUint64(rangeMin));
hint.set_end_value(IndexKeyUtils::encodeUint64(rangeMax));
hint.set_include_begin(true);
hint.set_include_end(true);
} else {
hint.set_scan_type(nebula::storage::cpp2::ScanType::PREFIX);
hint.set_begin_value(IndexKeyUtils::encodeUint64(rangeMin));
Expand Down

0 comments on commit df3781c

Please sign in to comment.