refactor(sqllab): migrate share queries via kv by permalink - #29163
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #29163 +/- ##
===========================================
+ Coverage 60.48% 83.45% +22.97%
===========================================
Files 1931 546 -1385
Lines 76236 39249 -36987
Branches 8568 0 -8568
===========================================
- Hits 46114 32757 -13357
+ Misses 28017 6492 -21525
+ Partials 2105 0 -2105
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
/testenv up |
|
@villebro Ephemeral environment spinning up at http://52.37.81.73:8080. Credentials are |
|
/testenv up FEATURE_SHARE_QUERIES_VIA_KV_STORE=true |
|
@villebro Ephemeral environment spinning up at http://35.86.167.107:8080. Credentials are |
villebro
left a comment
There was a problem hiding this comment.
Great improvement, this is long overdue! I suggest removing the SHARE_QUERIES_VIA_KV_STORE feature flag, and making the permalink only store the selected portion of the editor. Other than that this looks great!
|
@villebro @michael-s-molina could you take a look? |
|
Can you add support for old saved query URLs? |
26036ce to
a55adb7
Compare
Done. @michael-s-molina PTAL |
f1afa3e to
004f52b
Compare
There was a problem hiding this comment.
Did you forget to remove the SHARE_QUERIES_VIA_KV_STORE and KV_STORE from this document?
michael-s-molina
left a comment
There was a problem hiding this comment.
LGTM. Thanks for addressing the comments @justinpark!
8912670 to
45e570b
Compare
SUMMARY
This PR changes the existing
SHARE_QUERIES_VIA_KV_STOREfeature to store data using the permalink API instead of the KV store. This is one of the prerequisites of Remove old KV store endpoint and its associated asset.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
after--permalink2.mov
TESTING INSTRUCTIONS
Go to SQL Lab and then click "Copy Link"
ADDITIONAL INFORMATION