SqlRender has been around for a while now, and some of the original design decisions seem to make little sense in hindsight. I’d like to start the discussion on what we’d like to see in the new incarnation of SqlRender. Here’s what I currently have on my wish list:
- A new name? (Maybe some critter from greek mythology? Anyone know a good acronym?)
- Dropping the notion of specifying a source dialect. We’re stuck with (some variant of) SQL Server SQL as our source. We should drop the
sourceDialect
parameter altogether. - Adding markup for things that are not in SQL Server. One current example where we need this is defining the column used for hashing when creating a table in a parallel DBMSs such as RedShift and PDW.
- Dropping the distinction between ‘rendering’ and ‘translating’. Currently these are two separate commands that are always used together, so why not make it a single command (as already done in the R command
loadRenderTranslateSql
). - Relabeling our source dialect as ‘OHDSql’. This should be easier to communicate than say it is ‘SQL Server SQL with custom markup’. I would argue that OHDSql should be a subset of SQL Server SQL where possible, and only add extensions where needed.
Let me know what you think should be in SqlRender 2. (@Chris_Knoll ? @anthonysena ? @Patrick_Ryan ?)