ecto_ch
ecto_ch copied to clipboard
ClickHouse adapter for Ecto
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.32.2 to 0.33.0. Changelog Sourced from ex_doc's changelog. v0.33.0 (2024-05-21) Enhancements Keep the sidebar light in light mode Commits 78c3cc4 Release v0.33.0 593964b Update assets 6a93607 Make...
This PR adapts `Ecto.Adapters.ClickHouse` to the changes [made](https://github.com/plausible/ch/blob/master/CHANGELOG.md#unreleased) in `Ch` since `v0.2.2` - [ ] fix logging tests for Elixir 1.14+
- [ ] all int types - [ ] all decimal types - [ ] tuple? map? - [ ] tests
A quick experiment for custom `FROM` helpers that could build queries with `SAMPLE` clauses and `FINAL` modifiers. Relevant to https://github.com/plausible/ecto_ch/issues/125
closes #95
Trying out https://github.com/ruslandoga/ch_local as the driver. --- **UPDATE** we'll probably use https://github.com/ruslandoga/chdb as the driver instead.
- https://github.com/plausible/ecto_ch/blob/4bddc6960e9a825307760bc560491eea5090ff8e/lib/ecto/adapters/clickhouse.ex#L44 - https://github.com/elixir-ecto/ecto_sql/blob/11dafbbd5f4a80d7ee0c43fb31f9d530a3a2cd99/lib/ecto/adapters/sql.ex#L554-L556
Hey folks, Thanks for the great library! I put together a small mix task to help me get started (this is my first time interacting with ClickHouse). If you think...