Also, type-safe queries infer the result type. And something like `overrideSql` or `hackSql` as I called it in #810 would allow you to replace the sql with a modified one using search and replace in the SQL code to add an index hint for example. Plus its the most simple syntactic fallback along the lines of: Not fast enough? Look at `.selectStatement`, tweak it to be fast, use `.hackSql` to inject the modified one until Slick at some point produces better SQL. It's not clean, but it is a pragmatic solution until Slick's compiler has improved in these areas.