-
Notifications
You must be signed in to change notification settings - Fork 14
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
fix(plan,expr): use Expressions fields in VirtualTable instead of Literal #63
fix(plan,expr): use Expressions fields in VirtualTable instead of Literal #63
Conversation
anshuldata
commented
Oct 30, 2024
•
edited
Loading
edited
- This change migrates VirtualTable to not use deprecated field and instead use newly introduced field in this PR
- Fix VirtualTable proto to generate Expression Struct instead of Literal Struct
- This PR doesn't have breaking change
- This PR doesn't introduce PublicAPI to use Expression in building VirtualTableRelation. I will introduce it as separate PR
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #63 +/- ##
==========================================
- Coverage 56.56% 56.51% -0.06%
==========================================
Files 38 39 +1
Lines 8268 8310 +42
==========================================
+ Hits 4677 4696 +19
- Misses 3392 3412 +20
- Partials 199 202 +3 ☔ View full report in Codecov by Sentry. |
6c86353
to
c1b4d2a
Compare
Converting this PR to draft. I will raise separate PR for proto update. I will rebase and undraft this PR once proto PR is merged |
This will remove the literal support so consuming older plans won't work but that should be okay given the current usage of this feature. |
55ff889
to
3b6d780
Compare
3b6d780
to
60578ef
Compare
@EpsilonPrime this PR does consume older plans. I have added this test case to make sure this. Let me know if I am missing something |
@zeroshade we need to change github repository setting to not allow merge if change is not approved We need to add "Branch protection rules" rules as below (Settings --> branches --> Branch protection rules) |
@anshuldata I don't have the permissions for that. @jacques-n could you make the suggested change to the branch protection rules? |
It looks like it is already added. Maybe someone else took the initiative? Or I'm looking in the wrong place... |
I added them. Looks like we need some added test coverage to merge this PR. |
code coverage doesn't recognize coverage in tests across package. So test in plan_test/plan_builder_test coverage which covers expression.go/helper.go changes is not accounted. |