[RFC] Minimizing quary build
work when have --cached-views
#196
Labels
component/cli
component/core
enhancement
New feature or request
rfc
rust
Pull requests that update Rust code
Background
When running
quary build
, the operations it pushes are quite disruptive:In the case of systems that track view dependencies at the moment we also run
DROP <view_name> CASCADE
.This:
In order to avoid this, we can use the
--cached-views
systems to do the minimum amount of work to 1 speed up CI jobs by only changing what is necessary and 2 be more reliable. At the moment it is only being used by the extension to speed up queries when developing.Proposal
When running
quary build --cached-views
, we pull the cached views and for instances where it makes sense, we try to do the least disruptive work if the models have not changed.Abandoned Ideas
See some discussion here: #88
Sections
Implementation
Steps:
quary build
commandUX
From a UX perspective this won't look all that different.
The text was updated successfully, but these errors were encountered: