Skip to content

NaN and Inf results in search of all nodes in rtree #793

@krkeshav

Description

@krkeshav

Describe the bug
NaN or Inf causes rtree to search all nodes which causes performance issues

To Reproduce
Eg. intersects namespace objects circle NaN NaN 1
Try with huge dataset

Expected behavior
I expected it to throw an error

Logs
If applicable, provide logs, panics, system messages to help explain your problem.

Operating System (please complete the following information):

  • OS: [e.g. Linux / Mac OS]
  • CPU: [e.g. amd64 / arm64 / Apple Silicon / Intel]
  • Version: All versions including latest
  • Container: k8s/docker/local

Additional context
Depending on CPU provided and size of dataset, the queries can range from few seconds to almost 1 minute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions