1
0
mirror of https://github.com/uptrace/go-clickhouse.git synced 2024-11-21 17:56:48 +02:00
Commit Graph

128 Commits

Author SHA1 Message Date
Vladimir Mihailenco
12a9b1e85d chore: sync API with Bun 2023-10-01 14:43:38 +03:00
Vladimir Mihailenco
48aa57b286 chore: remove missing releaseConn 2023-10-01 13:19:30 +03:00
Vladimir Mihailenco
a4c3d24dfd feat(chmigrate): support distributed migrations 2023-09-07 13:06:28 +03:00
Vladimir Mihailenco
faaf5d3708 fix: escape cluster name 2023-09-07 11:03:37 +03:00
Vladimir Mihailenco
2d9abe8a1a
Merge pull request #70 from kzaitsev/add-union-expr
feat: add union expr
2023-08-29 16:24:48 +03:00
Kirill Zaitsev
51c9cc65ba feat: union expr 2023-08-23 16:18:44 +03:00
Vladimir Mihailenco
e1af2632f1 chore: cleanup 2023-06-29 14:34:31 +03:00
Vladimir Mihailenco
08021a2c8f chore: bump go 2023-05-30 16:25:32 +03:00
Vladimir Mihailenco
03194bc434 chore: update dependencies 2023-05-30 15:45:02 +03:00
Vladimir Mihailenco
13e4911570 feat: split ch.In into ch.List, ch.Array, and ch.In 2023-05-30 15:42:52 +03:00
Vladimir Mihailenco
c0e67d2ec4 chore: improve auto-create database 2023-05-19 09:30:07 +03:00
Vladimir Mihailenco
ad9e630abf chore: remove bfloat16.Map 2023-04-27 09:22:40 +03:00
Vladimir Mihailenco
2d63e3b0ac chore: add chschema.Array 2023-03-29 16:13:10 +03:00
Vladimir Mihailenco
5cd79b48c3 chore: rename WithQuery to Apply 2023-03-29 15:22:39 +03:00
Vladimir Mihailenco
59dcbc03a4 feat: add Prewhere 2023-03-29 15:17:19 +03:00
Vladimir Mihailenco
e4f2453f97
Merge pull request #63 from uptrace/feat/on-cluster-option
feat: add on cluster option
2023-03-08 13:35:01 +02:00
Vladimir Mihailenco
f2100be620 feat: add on cluster option 2023-03-08 13:32:12 +02:00
Vladimir Mihailenco
998717a52f
Merge pull request #56 from uptrace/release/v0.3.1
chore: release v0.3.1 (release.sh)
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