Hacker News new | ask | show | jobs
by adambratt 3516 days ago
Because we totally needed stored procedures to be re-implemented outside of the database in a templating language. /s
1 comments

That's a rather short-sighted comment. We use similar functionality to build an end-user reporting system which queries multiple DBs, many of which are part of vendor applications. Trusted users write the SQL, parameterize it with django-templates. Users enter parameters in widgets. SQL is generated using the templates, executed on the target DB with RO credentials, and returned in a grid/csv/excel/json.
So we've reinvented Tableau and other data analytics packages instead.
Now you're just trolling.
Not at all! Just expressing that we keep showing off reinventions of the wheel.