-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Join cache refresh #771
Join cache refresh #771
Conversation
assigned to @jef-n |
this seems interesting, any feedback on this? |
is this totally outdated? |
Hi there, i could rebase with a bit of time (it was applicable on 1.9, july 2013), i'm interested myself to have the functionality in future versions . I'm however a bit confused with the review mechanism, did i do anything wrong in the first place (i'm a newbie in github, it was my first contribution)? |
Hi Olivier, |
OK thank you, i will find a bit of time to work on it. |
Hi, I hope it's clear! |
Thanks a lot Denis for this. all that worked and i could then get the master and apply my changes which i have then compiled and succesfully tested. |
If you are still in the same branch (join-layer-refresh), you shall now pushit to the same remote branch that is used for this pull request. Otherwise you can push it to a new branch and create a new request. |
…ltered: A filter applied on the join destination (usually a DB table or a csv) now refreshes the join cache in the source layer(s) so that all join caches are systematically kept up to date and syncro with the joined database(s).
Thanks again that was great help. |
Automatically is a big word ;) @jef-n are you ok to review this? |
@wonder-sk could you have a look at this? |
I believe the refresh should be handled internally within the join buffer (where the cache is kept) and not to having to be triggered explicitly by API call. There may be other places setting subset string where the update would not happen. Moreover, there are various other events when the join cache may need to be invalidated - e.g. joined layer has change of attributes or added/removed features. I think those should be addressed too. |
@oliviercommelarbre What do you think about the comments by @wonder-sk ? Any chance to get ahead with this pull request? |
@oliviercommelarbre any feedback? |
Added join cache automatic update when the joined table is filtered/altered: A filter applied on the join destination (usually a DB table or a csv) now refreshes the join cache in the source layer(s) so that all join caches are systematically kept up to date and syncro with the joined database(s).
A global refresh action (e.g. triggered from the view menu) also triggers a refresh of all Join caches.
thanks for reviewing for merge into master