1
0
mirror of https://github.com/uptrace/go-clickhouse.git synced 2025-06-08 23:26:11 +02:00

112 Commits

Author SHA1 Message Date
Vladimir Mihailenco
d61954ab1c add pointers on how to implement map[string]string 2023-02-16 10:22:58 +02:00
Vladimir Mihailenco
998717a52f
Merge pull request #56 from uptrace/release/v0.3.1
chore: release v0.3.1 (release.sh)
v0.3.1 chotel/v0.3.1 chdebug/v0.3.1
2023-02-16 10:14:24 +02:00
Vladimir Mihailenco
318bf373aa chore: release v0.3.1 (release.sh) 2023-02-16 10:11:51 +02:00
Vladimir Mihailenco
479603ef2b chore: tweak release script 2023-02-16 10:11:44 +02:00
Vladimir Mihailenco
06ec956b4a chore: update dependencies 2023-02-16 10:10:55 +02:00
Vladimir Mihailenco
e7b39d844b chore: support more types 2023-02-16 10:02:03 +02:00
Vladimir Mihailenco
8aad92b762 chore: update readme 2023-01-21 12:28:32 +02:00
Vladimir Mihailenco
e61921245e Merge pull request #55 from uptrace/release/v0.3.0
Release/v0.3.0
2023-01-21 12:26:17 +02:00
Vladimir Mihailenco
abe915c5b5 chore: update readme 2023-01-21 12:25:55 +02:00
Vladimir Mihailenco
e3920ba190 chore: update release script 2023-01-21 12:23:35 +02:00
Vladimir Mihailenco
17b14fa87e chore: release v0.3.0 (release.sh) 2023-01-21 12:22:42 +02:00
Vladimir Mihailenco
a3c6bbc729 chore: support Bool 2023-01-21 12:21:36 +02:00
Vladimir Mihailenco
44465cd278 chore: improve code gen 2023-01-21 12:14:00 +02:00
Vladimir Mihailenco
b5016bdc7a chore: add comment 2023-01-21 11:38:45 +02:00
Antony Dovgal
0f4c06861f fix: move FINAL modifier to the right place (#52)
The documentation (http://devdoc.net/database/ClickhouseDocs_19.4.1.3-docs/query_language/select/)
says FINAL has to be placed right after the table name, before SAMPLE:
  SELECT [DISTINCT] expr_list
    [FROM [db.]table | (subquery) | table_function] [FINAL]
    [SAMPLE sample_coeff]

At the moment it's appended to the end of the query which results in
invalid queries being generated when there are WHERE, ORDER BY or any
other clauses used.
2022-11-23 13:03:58 +02:00
Vladimir Mihailenco
3874d74090 chore: don't lock migrations by default 2022-11-09 10:11:14 +02:00
Vladimir Mihailenco
117fffe8ed chore: silence logs 2022-11-04 10:08:24 +02:00
Vladimir Mihailenco
b73c8fabf8 feat: add queries to create/drop views 2022-11-03 11:58:19 +02:00
Vladimir Mihailenco
79fddecbb5 chore: better WhereGroup 2022-11-01 15:22:10 +02:00
Vladimir Mihailenco
92d13a878d chore: bump default timeouts 2022-10-26 13:38:40 +03:00
Vladimir Mihailenco
0da7ce6381 Merge pull request #46 from uptrace/fix/append-bytes
chore: use unhex to append bytes
2022-09-03 09:41:05 +03:00
Vladimir Mihailenco
95a461b824 chore: use unhex to append bytes 2022-09-03 09:38:20 +03:00
Vladimir Mihailenco
d073ef0ad6 chore: append bytes like a string. Fixes #43 2022-09-01 10:38:41 +03:00
Vladimir Mihailenco
2830e1daf1 Merge pull request #42 from uptrace/release/v0.2.9
chore: release v0.2.9 (release.sh)
2022-08-30 12:47:00 +03:00
Vladimir Mihailenco
225aa3c101 chore: release v0.2.9 (release.sh) 2022-08-30 12:41:05 +03:00
Vladimir Mihailenco
37984d7ac5 chore: cleanup 2022-08-30 10:20:49 +03:00
Vladimir Mihailenco
9a58fde149 chore: remove dependabot 2022-08-30 10:05:26 +03:00
Vladimir Mihailenco
91f83c5f03 chore: update dependencies 2022-08-30 09:22:39 +03:00
Vladimir Mihailenco
7f26fb6fae chore: support multiple env keys 2022-08-28 16:53:07 +03:00
Vladimir Mihailenco
2c9485da7f chmigrate: add MissingMigrations 2022-08-27 10:57:01 +03:00
Vladimir Mihailenco
6bfb99e2c1 chore: cleanup conn pool 2022-07-28 16:57:33 +03:00
Vladimir Mihailenco
8bf4958230 feat: add WithAutoCreateDatabase option 2022-07-28 11:20:11 +03:00
Vladimir Mihailenco
546111f030 chore: go mod tidy 2022-07-22 12:00:19 +03:00
Vladimir Mihailenco
2b235ce448 chore: update dependencies 2022-07-22 11:57:19 +03:00
Vladimir Mihailenco
83a0bd0a2b Merge pull request #35 from uptrace/dependabot/go_modules/github.com/stretchr/testify-1.8.0
chore(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0
2022-07-22 11:56:26 +03:00
Vladimir Mihailenco
7f77517af4 Merge pull request #38 from uptrace/feat/bfloat16
feat: add bfloat16 support
2022-07-22 11:56:11 +03:00
Vladimir Mihailenco
510b9caca8 feat: add bfloat16 support 2022-07-22 11:40:45 +03:00
Vladimir Mihailenco
1e8ca4767f feat: add Raw 2022-07-14 10:41:16 +03:00
dependabot[bot]
90c25609ec chore(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.5...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 20:13:30 +00:00
Vladimir Mihailenco
85badc2fe7 chore: add scanning into a map 2022-07-04 17:12:41 +03:00
Vladimir Mihailenco
988091e532 feat(chmigrate): add WithReplicated option 2022-07-02 14:39:22 +03:00
Vladimir Mihailenco
87e8ceb2a0 Merge pull request #34 from uptrace/fix/chmigrate-test
chore(chmigrate): add tests
2022-06-29 11:58:09 +03:00
Vladimir Mihailenco
0b3639be4e chore(chmigrate): add tests 2022-06-29 11:53:31 +03:00
Vladimir Mihailenco
e11b943cfa Merge pull request #31 from odenio/ro/fix_zero_applied_migrations
Fix for upping applying zero migrations
2022-06-28 08:55:48 +03:00
Vladimir Mihailenco
3ab7cb4325 Merge pull request #32 from uptrace/dependabot/go_modules/github.com/stretchr/testify-1.7.5
chore(deps): bump github.com/stretchr/testify from 1.7.3 to 1.7.5
2022-06-28 08:38:59 +03:00
dependabot[bot]
0e08f4d07a chore(deps): bump github.com/stretchr/testify from 1.7.3 to 1.7.5
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.3 to 1.7.5.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.3...v1.7.5)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-27 20:23:02 +00:00
Ryan Olds
e80d6d288b fix(migrate): upping was applying zero migrations 2022-06-27 09:55:38 -07:00
Vladimir Mihailenco
fd29a667a3 chore: update dependencies 2022-06-27 10:05:43 +03:00
Vladimir Mihailenco
1f5dd92e2a chore: cleanup 2022-06-27 10:01:23 +03:00
Vladimir Mihailenco
256e92dea4 Merge pull request #27 from uptrace/dependabot/github_actions/wagoid/commitlint-github-action-5
chore(deps): bump wagoid/commitlint-github-action from 4 to 5
2022-06-25 10:13:22 +03:00