1
0
mirror of https://github.com/uptrace/go-clickhouse.git synced 2025-07-15 01:04:19 +02:00
Commit Graph

105 Commits

Author SHA1 Message Date
dd69688b91 Merge pull request #55 from uptrace/release/v0.3.0
Release/v0.3.0
2023-01-21 12:26:17 +02:00
2386012e26 chore: update readme 2023-01-21 12:25:55 +02:00
9134ba0fa8 chore: update release script 2023-01-21 12:23:35 +02:00
1083a2341b chore: release v0.3.0 (release.sh) 2023-01-21 12:22:42 +02:00
12d4a6c4a5 chore: support Bool 2023-01-21 12:21:36 +02:00
017195b443 chore: improve code gen 2023-01-21 12:14:00 +02:00
2f4c7cc3ca chore: add comment 2023-01-21 11:38:45 +02:00
31f2e731ad 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
323f51e465 chore: don't lock migrations by default 2022-11-09 10:11:14 +02:00
01c7ba9acc chore: silence logs 2022-11-04 10:08:24 +02:00
cbdda72055 feat: add queries to create/drop views 2022-11-03 11:58:19 +02:00
55dc78bb9a chore: better WhereGroup 2022-11-01 15:22:10 +02:00
a449a11056 chore: bump default timeouts 2022-10-26 13:38:40 +03:00
60bb9889b3 Merge pull request #46 from uptrace/fix/append-bytes
chore: use unhex to append bytes
2022-09-03 09:41:05 +03:00
b773fb56db chore: use unhex to append bytes 2022-09-03 09:38:20 +03:00
428a11c901 chore: append bytes like a string. Fixes #43 2022-09-01 10:38:41 +03:00
227c8b52c1 Merge pull request #42 from uptrace/release/v0.2.9
chore: release v0.2.9 (release.sh)
chdebug/v0.2.9 v0.2.9 chotel/v0.2.9
2022-08-30 12:47:00 +03:00
5926b55ace chore: release v0.2.9 (release.sh) 2022-08-30 12:41:05 +03:00
6ca4745494 chore: cleanup 2022-08-30 10:20:49 +03:00
1ebc5e5149 chore: remove dependabot 2022-08-30 10:05:26 +03:00
b53914a915 chore: update dependencies 2022-08-30 09:22:39 +03:00
101b0312c3 chore: support multiple env keys 2022-08-28 16:53:07 +03:00
1c8299bc5c chmigrate: add MissingMigrations 2022-08-27 10:57:01 +03:00
2683bc477f chore: cleanup conn pool 2022-07-28 16:57:33 +03:00
74e949e01d feat: add WithAutoCreateDatabase option 2022-07-28 11:20:11 +03:00
d2293eb95a chore: go mod tidy 2022-07-22 12:00:19 +03:00
bcd7e41cc1 chore: update dependencies 2022-07-22 11:57:19 +03:00
db443746c5 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
81055aa66d Merge pull request #38 from uptrace/feat/bfloat16
feat: add bfloat16 support
2022-07-22 11:56:11 +03:00
75cc666457 feat: add bfloat16 support 2022-07-22 11:40:45 +03:00
07c1f88173 feat: add Raw 2022-07-14 10:41:16 +03:00
cfb87975ee 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
b33d5e50eb chore: add scanning into a map 2022-07-04 17:12:41 +03:00
76433f0158 feat(chmigrate): add WithReplicated option 2022-07-02 14:39:22 +03:00
3b0ea8c504 Merge pull request #34 from uptrace/fix/chmigrate-test
chore(chmigrate): add tests
2022-06-29 11:58:09 +03:00
2ba7e3b8bc chore(chmigrate): add tests 2022-06-29 11:53:31 +03:00
d3ee3059b0 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
ffb500d289 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
c104166ab5 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
f1d380c165 fix(migrate): upping was applying zero migrations 2022-06-27 09:55:38 -07:00
aa7551c92d chore: update dependencies 2022-06-27 10:05:43 +03:00
1f1c73b38e chore: cleanup 2022-06-27 10:01:23 +03:00
d652c12de2 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
d9ef8a4407 Merge pull request #28 from uptrace/dependabot/go_modules/github.com/pierrec/lz4/v4-4.1.15
chore(deps): bump github.com/pierrec/lz4/v4 from 4.1.14 to 4.1.15
2022-06-25 10:12:37 +03:00
3b8fd440f0 chore(deps): bump github.com/pierrec/lz4/v4 from 4.1.14 to 4.1.15
Bumps [github.com/pierrec/lz4/v4](https://github.com/pierrec/lz4) from 4.1.14 to 4.1.15.
- [Release notes](https://github.com/pierrec/lz4/releases)
- [Commits](https://github.com/pierrec/lz4/compare/v4.1.14...v4.1.15)

---
updated-dependencies:
- dependency-name: github.com/pierrec/lz4/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-25 07:12:30 +00:00
550c7845e2 Merge pull request #29 from uptrace/dependabot/go_modules/github.com/stretchr/testify-1.7.3
chore(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.3
2022-06-25 10:11:41 +03:00
e19a378f38 Merge pull request #26 from odenio/master
Add option that makes migrator only mark migrations applied when migration successful
2022-06-25 10:11:24 +03:00
0b4f7bf565 feat(migrate): added option to only mark migration up/down as applied on success
Fixed bug with returning wrong err var

Changed the field name to be more clear

fix: Mark applied/unapplied before up/down when marking applied on success and failure

fix: bug with inverted condition
2022-06-22 09:36:02 -07:00
9272eeeb71 chore(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.3
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.3)

---
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-20 20:23:36 +00:00
798cc04f3d chore(deps): bump wagoid/commitlint-github-action from 4 to 5
Bumps [wagoid/commitlint-github-action](https://github.com/wagoid/commitlint-github-action) from 4 to 5.
- [Release notes](https://github.com/wagoid/commitlint-github-action/releases)
- [Changelog](https://github.com/wagoid/commitlint-github-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wagoid/commitlint-github-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: wagoid/commitlint-github-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 20:23:13 +00:00