To encourage people to use SQL/PostGIS/crankshaft functions, it'd be pretttty killer if there was the following:
I like this because CARTO has always been a great tool to encourage and teach SQL/PostGIS usage, and the 'show query behind analysis' educates people that these functions are available through engine.
cc @javierarce @rochoa @stuartlynn @zingbot
Yep, interesting... What I would actually love is to show that SQL on the SQL panel of the layer, even if its READ ONLY.
The thing is:
cc @rochoa
@javisantana How would we run python inside camshaft? Just spawn a new process from node that runs the python code and returned the results? How would such a script have access to the database or the input data? Would be good to talk more about this cause I agree that there are problems with plpython.
I agree -- plpython is a huge headache and really slow to develop. Whatever form the camshaft analysis takes, it'd be great to educate the user about some of the internals (like I said above) because in my experience exposing the SQL and CartoCSS has been a gateway into coding for tons of people I've talked to since I started at CartoDB, and that has good implications for API/Engine usage
we are still thinking, not a short term thing, I want to learn more about the usage and then redo it.
My point is: we should provide a framework to add analysis based on python and R not tied to plpython and that will run in camshaft, postgres or any other platform
Sounds great. I would love it if we could be part of scoping that out, I think we can help provide some insight / requirements.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
Sounds great. I would love it if we could be part of scoping that out, I think we can help provide some insight / requirements.