Sqlite honey sql 2 (#28389)
* Convert sqlite driver to honey-sql-2 * Fix bad case statement * We can't run native queries with AS for oracle * Dont call ->honeysql on a honeysql-expr * Fix bad call to h2x * Identifier needs to be wrapped * Update kondo config * Fix test * Remove hformat fn handler * Rotate the Snowflake DB prefix AGAIN * `sql.qp/format-honeysql` needs to wrap stuff in parens when generating SQL snippets * Update tests to match new expected SQL format * Sort namespaces * Fix the flaky paging test * Fix flaky `metabase.query-processor-test.timezones-test/filter-datetime-by-date-in-timezone-test` * MySQL test fix* Try running Redshift with a beefier runner --------- Co-authored-by: Cam Saul <github@camsaul.com> Co-authored-by:
Cam Saul <1455846+camsaul@users.noreply.github.com>
Showing
- .clj-kondo/config.edn 1 addition, 2 deletions.clj-kondo/config.edn
- modules/drivers/sqlite/src/metabase/driver/sqlite.clj 89 additions, 95 deletionsmodules/drivers/sqlite/src/metabase/driver/sqlite.clj
- modules/drivers/sqlite/test/metabase/driver/sqlite_test.clj 3 additions, 3 deletionsmodules/drivers/sqlite/test/metabase/driver/sqlite_test.clj
Please register or sign in to comment