-
Notifications
You must be signed in to change notification settings - Fork 328
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
feat: querying from view works #3952
Conversation
51a42c0
to
2669c3f
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3952 +/- ##
==========================================
- Coverage 85.37% 85.02% -0.35%
==========================================
Files 987 991 +4
Lines 172141 172822 +681
==========================================
- Hits 146965 146943 -22
- Misses 25176 25879 +703 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked, basic LGTM
@WenyXu Could you please take a look at the cache section? |
The cache part, LGTM |
@waynexia Please take a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest LGTM, @waynexia PTAL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should not depend on test-integration
. where is it used?
Co-authored-by: Ruihang Xia <[email protected]>
Co-authored-by: Ruihang Xia <[email protected]>
Co-authored-by: Ruihang Xia <[email protected]>
I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
#3729
What's changed and what's your intention?
Make querying view works.
Main changes:
ViewInfoCache
for cachingViewValueInfo
. @WenyXuDropDatabaseCursor
.SubstraitPlanDecoder
trait and implement it in the query crate, which decodes the logical plan from bytes, takes care of the session state, etc.DfTableSourceProvider
. It queries the view info and tries to decode it, then wraps the logical plan intoViewTable
.Todo:
Checklist