-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specify which circumstances lead LatestAtQueryHandle::get()
to return zero instead of one row
#7449
Labels
📖 documentation
Improvements or additions to documentation
enhancement
New feature or request
⛃ re_datastore
affects the datastore itself
Milestone
Comments
abey79
added
📖 documentation
Improvements or additions to documentation
⛃ re_datastore
affects the datastore itself
labels
Sep 19, 2024
abey79
changed the title
Specify in which cases may lead
Specify in which cases may lead Sep 19, 2024
LatestAtQueryHandle::get()
to return 0 instead 1 rowLatestAtQueryHandle::get()
to return zero instead of one row
abey79
changed the title
Specify in which cases may lead
Specify which circumstances lead Sep 19, 2024
LatestAtQueryHandle::get()
to return zero instead of one rowLatestAtQueryHandle::get()
to return zero instead of one row
#7453 includes a somewhat ugly workaround to account for unexpected 0-length latest-at results. |
7 tasks
abey79
added a commit
that referenced
this issue
Sep 23, 2024
### What * Closes #7067 * Builds on #7438 Add the possibility to control the visibility of column: - Time columns (except the one corresponding to the query) and component columns can be hidden by clicking on the on-hover button in their header. - A new button in the view title bar with a popup to show/hide any column. This also fixes a red warning showing up when latest-at queries return 0 rows (see #7449 for background). Note to reviewer: the meat is in `space_view_class.rs`, which is ofc hidden by default by GitHub. https://github.com/user-attachments/assets/d2b55c63-53db-46dd-9339-b10af98a073b ### TODO - [x] Fix bad sizing of the popup menu ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested the web demo (if applicable): * Using examples from latest `main` build: [rerun.io/viewer](https://rerun.io/viewer/pr/7453?manifest_url=https://app.rerun.io/version/main/examples_manifest.json) * Using full set of examples from `nightly` build: [rerun.io/viewer](https://rerun.io/viewer/pr/7453?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG * [x] If applicable, add a new check to the [release checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)! * [x] If have noted any breaking changes to the log API in `CHANGELOG.md` and the migration guide - [PR Build Summary](https://build.rerun.io/pr/7453) - [Recent benchmark results](https://build.rerun.io/graphs/crates.html) - [Wasm size tracking](https://build.rerun.io/graphs/sizes.html) To run all checks from `main`, comment on the PR with `@rerun-bot full-check`.
6 tasks
abey79
added a commit
that referenced
this issue
Oct 3, 2024
…rame2` (#7572) ### What - Fixes #7449 This PR does the following: - removes the old UI and assorted dead code - switches the dependency from `re_dataframe` to `re_dataframe2` - wires the new UI to the view - assorted cleanup **NOTE**: latest at and pov do not work yet as they are not supported by `re_dataframe2`. They will auto-work when it does, as everything is already wired. <img width="1704" alt="image" src="https://github.com/user-attachments/assets/7c57520b-bba8-4f32-8bb9-3a2e51feffe5"> <hr> Part of a series to address #6896 and #7498. All PRs: - #7515 - #7516 - #7527 - #7545 - #7551 - #7572 - #7573 ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested the web demo (if applicable): * Using examples from latest `main` build: [rerun.io/viewer](https://rerun.io/viewer/pr/7572?manifest_url=https://app.rerun.io/version/main/examples_manifest.json) * Using full set of examples from `nightly` build: [rerun.io/viewer](https://rerun.io/viewer/pr/7572?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG * [x] If applicable, add a new check to the [release checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)! * [x] If have noted any breaking changes to the log API in `CHANGELOG.md` and the migration guide - [PR Build Summary](https://build.rerun.io/pr/7572) - [Recent benchmark results](https://build.rerun.io/graphs/crates.html) - [Wasm size tracking](https://build.rerun.io/graphs/sizes.html) To run all checks from `main`, comment on the PR with `@rerun-bot full-check`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
📖 documentation
Improvements or additions to documentation
enhancement
New feature or request
⛃ re_datastore
affects the datastore itself
LatestAtQueryHandle::get()
's docstring currently states:This is in practice incorrect, and there are at least two situations where no rows are currently returned:
empty_yields_empty()
testIt think the later case might be a bug. Regardless, it's probably worth formally specifying the case(s) in which a latest-at query might return nothing.
Also,
LatestAtQueryHandle
should implementrow_count()
just likeRangeQueryHandle
.The text was updated successfully, but these errors were encountered: