[VQueues] Introduce sys_vqueues datafusion table#4635
Open
AhmedSoliman wants to merge 9 commits intomainfrom
Open
[VQueues] Introduce sys_vqueues datafusion table#4635AhmedSoliman wants to merge 9 commits intomainfrom
AhmedSoliman wants to merge 9 commits intomainfrom
Conversation
This was referenced Apr 22, 2026
Test Results 8 files 8 suites 5m 20s ⏱️ Results for commit 50068d1. ♻️ This comment has been updated with latest results. |
This was referenced Apr 24, 2026
3e88b62 to
00d5a02
Compare
This was referenced Apr 24, 2026
I'm not loving this, but it works well enough to unblock. Also fixes #4651
- Adds a test to validate the corner case. - Invalidate the iterator when we observe items > head (temporary fix).
Baby steps towards unification and changing the ownership model of the invoker
With this change, user-limits acquisition correctly tracks the lifecycle of the invocation state machine on the invoker.
NOTE: sys_user_limits is a *stub* table, the shape and contents of this table will almost definitely change in the very near future. Consider this as a placeholder until scope+limit-keys are wired up completely.
Expose vqueue entries as a single DataFusion table with stage-aware scanning. When the query filters `stage`, only matching stage key kinds are scanned; without a stage filter, all inbox stages are scanned and merged. Also project the latest entry metadata for observability (status plus EntryStatistics timestamps and counters), and add targeted tests for stage predicate extraction and sys_vqueues stage filtering behavior.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Expose vqueue entries as a single DataFusion table with stage-aware scanning.
When the query filters
stage, only matching stage key kinds are scanned;without a stage filter, all inbox stages are scanned and merged.
Also project the latest entry metadata for observability (status plus
EntryStatistics timestamps and counters), and add targeted tests for stage
predicate extraction and sys_vqueues stage filtering behavior.
Stack created with Sapling. Best reviewed with ReviewStack.