Comments (9)
I don't understand the context/problem. 😕
from camshaft.
Case 1:
- Modify a analysis (for example AOI) with cache and change the name of an output column.
- Forget to update version.
Current result: Map fails to instantiate and it's inaccessible in builder.
Case 2:
- Modify a analysis (for example AOI) with cache and change the name of an output column.
- Update version.
Current result: The analysis is rerun automagically.
This would address the first case and enables that the rerun in Case 2 is optional (since the map wouldn't be broken).
from camshaft.
Understood. Thank you.
About the "Case 2": As re-running is optional, how do we enable the user to re-run it?
from camshaft.
My idea is that this could be done in the UI after the instantiation (something like This analysis can be updated
).
That should be another ticket after this one since it'd involve:
- Not doing the version update automatically when a difference is found.
- Returning extra information in the instantiation.
- Adding the UI stuff with the alert to trigger the update.
from camshaft.
And how that would work at API level?
from camshaft.
My initial idea is to add an extra (non-persisted) state to the analysis, upgradable
which means that the analysis is ready
but there is an update available. Then to update it you could push the new config as if the parameters had changed.
The analysis backend to handle changes seems to be defined in Builder (app/controllers/carto/api/analyses_controller.rb
and app/models/carto/analysis.rb
) so I expect some changes to be needed there to handle version mismatches in a different way.
from camshaft.
We've not deployed the new metadata columns for street geocoding because this affects us. Old analyses fail with this error:
The fix is simple: either change the data or, more correctly, change the analysis version to force rerunning it. But this implies a cost, so we chose not to expose those columns.
from camshaft.
Was the initial issue for this ticket solved with #372 ?
from camshaft.
Was the initial issue for this ticket solved with #372 ?
Yes, it was.
from camshaft.
Related Issues (20)
- DO: Error augmenting with text columns HOT 1
- Allow executing arbitrary SQL for analysis preparation HOT 7
- Performance research: run independent analyses in parallel HOT 1
- Prevent column name collisions in node queries HOT 2
- Depricated SQL nodes not working HOT 18
- Review sql queries to improve planning with IMMUTABLE and PARALLEL functions HOT 6
- Invalid geometries generated with Area of Intereset HOT 1
- DO analysis fails with multiple columns with the same numerator HOT 2
- Poor SQL for nearest neighbor join
- Force "merge" analysis to be cached HOT 2
- Add .npmignore HOT 1
- IMHO Misleading `limits_error` message
- Uncaught exception in some Batch API errors HOT 1
- Polygons from geometries analysis should be cached HOT 1
- Uncaught exception: Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed HOT 17
- Error with reserved words
- Replace CDB_QueryTables_Updated_At with cartodb-query-tables HOT 1
- Noise in the analysis logs HOT 4
- Uncaught exception: Range filter expect to have at least one value in greater_than, greater_than_or_equal, less_than, less_than_or_equal, min, or max numeric params
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camshaft.