FeatureBaseDB / featurebase

A crazy fast analytical database, built on bitmaps. Perfect for ML applications. Learn more at: http://docs.featurebase.com/. Start a Docker instance: https://hub.docker.com/r/featurebasedb/featurebase
https://www.featurebase.com
Apache License 2.0
2.53k stars 230 forks source link

Fb 2048 #2363

Closed lorycloutier closed 1 year ago

lorycloutier commented 1 year ago

Added test coverage for ExecutionPlanner.mapper in the case where the context gets cancelled mid-query. This involved making changes to MustRunQuery such that it can be provided with a context to use. If it's given nil, it works exactly as it did before and makes its own context, but if it's given a context, it uses that and also pauses briefly to make sure that the context can be cancelled in the right place. This will allow us, in the future, to write more tests for cancelled contexts as well.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication