[SIP] Save SQL lab query result and create sharable link #30256
Labels
change:backend
Requires changing the backend
change:frontend
Requires changing the frontend
sip
Superset Improvement Proposal
Please make sure you are familiar with the SIP process documented
here. The SIP will be numbered by a committer upon acceptance.
[SIP] Proposal for Save SQL lab query result and create sharable link
Motivation
Currently, Superset has the function to save the query and create a sharable link, but the query results is not associated with the sharable link, whoever open the sharable link need to rerun the query to get results. It is a waste of compute power and time for our customers. We are proposing to save query result along when user save the query, and associate the result along with the sharable link so whoever open the link can see the result.
Proposed Change
New or Changed Public Interfaces
New dependencies
No
Migration Plan and Compatibility
the metadata db will add a new field results_id, we need to migrate existing db records to include a empty string for this field.
Rejected Alternatives
Another approach not rejected but list here, we can create a new API to save query results and new API to create sharable link to share results so as to not modify the existing APIs.
The text was updated successfully, but these errors were encountered: