owner stringclasses 14
values | repo stringclasses 14
values | id int64 116k 4.61B | issue_number int32 1 181k | author stringlengths 1 39 | body stringlengths 1 262k | created_at timestamp[us]date 2000-06-06 02:40:44 2026-06-02 20:16:18 | updated_at timestamp[us]date 2000-06-06 02:40:44 2026-06-02 20:22:56 | reactions unknown | author_association stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|
ClickHouse | ClickHouse | 558,514,795 | 2,621 | urykhy | > Заливка в один поток?
в 4
> Может такое быть что между 500й и 200й влезает другой заливатор и записывает больше 100 инсертов?
нет.
> Где данные правильные в таблице или MV ?
а таблице. в MV данных меньше.
более того, если сделать другой тест(назовём его B, в отличие от описанного выше - A)
* посм... | 2019-11-26T08:19:06 | 2019-11-26T08:19:18 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,540,357 | 7,910 | jsding | Hi,
Thanks for your help.
We installed clickhouse-server refer this page:
https://clickhouse.yandex/docs/en/getting_started/
`sudo yum install clickhouse-server clickhouse-client
`
How to upgrade to 19.17.4 safely?
| 2019-11-26T09:24:17 | 2019-11-26T09:24:17 | {} | NONE |
ClickHouse | ClickHouse | 558,957,148 | 7,897 | stavrolia | @alexey-milovidov, yeah, it’s a good idea to reduce the amount of copy paste here, see the follow up PR (#7936).
Could you clarify how I can improve my review process though? The present change looks good to me in isolation, and I don’t see any mistakes in review process. | 2019-11-27T06:56:44 | 2019-11-27T06:56:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,586,473 | 7,902 | alex-rsk | ACL of intermediate folders:
/var/lib/clickhouse
Access: (0777/drwxrwxrwx) Uid: ( 136/clickhouse) Gid: ( 141/clickhouse)
/var/lib/clickhouse/metadata
Access: (0777/drwxrwxrwx) Uid: ( 136/clickhouse) Gid: ( 141/clickhouse)
/var/lib/clickhouse/metadata/system
Access: (0777/drwxrwxrwx) Uid: ( 136/... | 2019-11-26T11:25:05 | 2019-11-26T11:25:51 | {} | NONE |
ClickHouse | ClickHouse | 558,935,518 | 7,926 | viputh6 | Thanks denis. | 2019-11-27T05:29:04 | 2019-11-27T05:29:04 | {} | NONE |
ClickHouse | ClickHouse | 559,431,367 | 7,923 | abyss7 | @alexey-milovidov looks like the tcmalloc build is simply broken, but also we don't have any checks about it in CI. Do we want to support it in the future? | 2019-11-28T10:14:55 | 2019-11-28T10:14:55 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,280,652 | 7,911 | KochetovNicolai | @filimonov thank you!
Comment in #971 was fixed by this pr. Won't add test cause it's the same.
#2827 is closed and I can't reproduce anything in it too. | 2019-11-25T18:26:36 | 2019-11-25T18:52:54 | {} | MEMBER |
ClickHouse | ClickHouse | 558,994,689 | 7,900 | zhang2014 | > We already have system.metric_log table.
The user decide for which period to accumulate the values (one second, minute, etc) - probably we should not hardcode a few such periods in tables.
There are many derived metrics possible. The most popular are: exponential smoothed averages; quantiles of a set of measurement... | 2019-11-27T09:02:06 | 2019-11-27T09:02:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,145,126 | 7,837 | josepowera | With removing of kafka_row_delimiter you could probably also remove "1 kafka message = possible multiple CH rows" and go to "1 kafka message= 1 CH row". Makes kafka offsets etc simpler.
| 2019-11-27T15:53:03 | 2019-11-27T15:53:16 | {} | NONE |
ClickHouse | ClickHouse | 559,173,359 | 7,948 | victor-perov | Is it reproducible on a stable version as well? | 2019-11-27T17:02:57 | 2019-11-27T17:02:57 | {} | NONE |
ClickHouse | ClickHouse | 559,490,306 | 7,957 | filimonov | Largest first | 2019-11-28T13:14:31 | 2019-11-28T13:14:31 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,491,849 | 7,955 | filimonov | on 19.14.7 it didn't crash:
```
Code: 10. DB::Exception: Received from localhost:9000. DB::Exception: Not found column id1.val in block. There are only columns: id1, id2, val.
```
on 19.15 - it crashes. | 2019-11-28T13:19:12 | 2019-11-28T13:19:12 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,427,981 | 7,799 | DeanThompson | This issue also exists in version 19.17.4.11 (official build). Any workaround? | 2019-11-26T02:17:45 | 2019-11-26T02:17:45 | {} | NONE |
ClickHouse | ClickHouse | 558,501,433 | 7,900 | alexey-milovidov | @zhang2014
> Can it be implemented through a configuration of this #7572 ?
Yes, this feature along with `Template` format looks powerful enough to implement something like Prometheus handler without any specialized code. But I'm not sure. Some custom logic like converting names to snake case or calculating delta... | 2019-11-26T07:37:09 | 2019-11-26T07:37:26 | {} | MEMBER |
ClickHouse | ClickHouse | 558,522,666 | 3,140 | KochetovNicolai | #7911 does not fix it, exception is in `DB::Join::setSampleBlock` | 2019-11-26T08:38:59 | 2019-11-26T08:38:59 | {} | MEMBER |
ClickHouse | ClickHouse | 559,151,115 | 7,939 | filimonov | Probably duplicate of https://github.com/ClickHouse/ClickHouse/issues/7019 and https://github.com/ClickHouse/ClickHouse/issues/7736 | 2019-11-27T16:07:11 | 2019-11-27T16:07:45 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,502,006 | 7,900 | alexey-milovidov | @abyss7
> For now we suggest that only metrics and events contain all that we need.
AsynchronousMetrics contain valuable information for monitoring. If we don't add them, then Prometheous support will be inferior than Graphite support. | 2019-11-26T07:39:09 | 2019-11-26T07:39:41 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 558,677,691 | 7,900 | filimonov | > Outside of ClickHouse implementations (https://github.com/f1yegor/clickhouse_exporter/ or inside https://github.com/Altinity/clickhouse-operator) try to create metrics on the fly from system tables.
Yes. One line instead introducing extra param seems much simpler:
* https://github.com/Altinity/clickhouse-operat... | 2019-11-26T15:18:50 | 2019-11-26T15:18:50 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,712,587 | 7,902 | abyss7 | > I don't remember the version I upgraded from.
> ACL info:
>
> File: /var/lib/clickhouse/status
> Access: (0640/-rw-r-----) Uid: ( 136/clickhouse) Gid: ( 141/clickhouse)
>
> File: `/var/lib/clickhouse/metadata/system//query_log_0.sql
> Access: (0640/-rw-r-----) Uid: ( 136/clickhouse) Gid: ( 141/clickhouse)
>... | 2019-11-26T16:35:35 | 2019-11-26T16:35:35 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,035,616 | 7,941 | CurtizJ | related #6913 | 2019-11-27T10:49:41 | 2019-11-27T10:49:41 | {} | MEMBER |
ClickHouse | ClickHouse | 559,072,208 | 7,837 | yuzhichang | FYI. https://github.com/edenhill/librdkafka/pull/2377 (released in librdkafka v1.2.0) provides `transaction aware consumer`. | 2019-11-27T12:43:19 | 2019-11-27T12:43:19 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,128,612 | 4,860 | stavrolia | #7170 work in progress | 2019-11-27T15:14:05 | 2019-11-27T15:14:05 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,200,609 | 7,948 | den-crane | each part has min_max_timestamp.idx file.
This file stores max & min values of timestamp column over this part.
pruning works with `where timestamp > = < `
pruning does not work with ` function(timestamp) > = <` because function could be one-way_function
imho in these queries pruning does not work at all, only... | 2019-11-27T18:20:21 | 2019-11-27T18:34:53 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,332,436 | 7,951 | sundy-li | @zhang2014 plz help review. | 2019-11-28T04:00:47 | 2019-11-28T04:00:47 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,478,871 | 7,910 | alexey-milovidov | Please upgrade to the latest stable version 19.17.4 and check if the issue still exists. | 2019-11-26T06:19:11 | 2019-11-26T06:19:11 | {} | MEMBER |
ClickHouse | ClickHouse | 558,710,923 | 7,900 | vdimir | > @Vdimir , your implementation hardcodes metric names and description. It would require to remember adding new metrics in monitoring when something is added in ClickHouse. Outside of ClickHouse implementations (https://github.com/f1yegor/clickhouse_exporter/ or inside https://github.com/Altinity/clickhouse-operator) t... | 2019-11-26T16:32:17 | 2019-11-26T16:32:17 | {} | MEMBER |
ClickHouse | ClickHouse | 559,442,442 | 7,923 | alexey-milovidov | > What I don't understand is that jemalloc also defines operator new, but using the default jemalloc build does not present a similar problem.
We specifically exclude new/delete definitions from jemalloc to provide our own. You should do the same for tcmalloc.
> @alexey-milovidov looks like the tcmalloc build is ... | 2019-11-28T10:45:47 | 2019-11-28T10:45:47 | {} | MEMBER |
ClickHouse | ClickHouse | 558,454,241 | 7,885 | Slach | I got the same issue
MySQL 5.1 RedHat Enterprise Linux 7.2,
ClickHouse 19.16 rpm installed from Altinity repo | 2019-11-26T04:28:05 | 2019-11-26T04:53:50 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,530,361 | 2,285 | KochetovNicolai | #7911 is not connected with this issue. Already works at master. | 2019-11-26T08:59:33 | 2019-11-26T08:59:33 | {} | MEMBER |
ClickHouse | ClickHouse | 558,661,325 | 6,448 | stavrolia | Discussed in TG that @kreuzerkrieg would add warnings outside this PR. | 2019-11-26T14:44:43 | 2019-11-26T14:44:43 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,703,930 | 7,926 | den-crane | ```
<profiles>
<read>
<readonly>1</readonly>
<allow_ddl>0</allow_ddl>
</read>
....
</profiles>
``` | 2019-11-26T16:16:51 | 2019-11-26T16:17:00 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,899,227 | 7,650 | aa8808021 | > Yes, just created 200 files and get OOM:
>
> ```
> $ ls event_log* | wc -l
> 200
> $ clickhouse-client
> :) select countDistinct(BannerID) from file('event_log*.parq', 'Parquet', 'EventTime DateTime, BannerID UInt64, Cost UInt64, CounterType UInt8');
> ```
>
> ```
> [7 19:52:13 2019] oom_kill_process+0x... | 2019-11-27T02:22:55 | 2019-11-27T02:22:55 | {} | NONE |
ClickHouse | ClickHouse | 559,185,497 | 7,948 | nvartolomei | @victor-perov 19.17.2.4-testing is a stable version even though `system.build_options` reports it as testing. | 2019-11-27T17:36:02 | 2019-11-27T17:36:02 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,417,343 | 2,833 | develar | @Chayeen I am not expert, but probably specifying custom config file for client will help you `--config-file`. See https://clickhouse.yandex/docs/en/interfaces/cli/#configuration-files | 2019-11-28T09:37:30 | 2019-11-28T09:37:30 | {} | NONE |
ClickHouse | ClickHouse | 559,423,271 | 2,833 | Chayeen | @develar Thank you a lot. I will try. | 2019-11-28T09:53:27 | 2019-11-28T09:53:27 | {} | NONE |
ClickHouse | ClickHouse | 558,728,035 | 5,372 | tavplubix | Continued in #6553 | 2019-11-26T17:09:44 | 2019-11-26T17:09:44 | {} | MEMBER |
ClickHouse | ClickHouse | 558,960,298 | 7,934 | yamrzou | Is there a way to create such OR conditions from the results of another query in ClickHouse ? | 2019-11-27T07:08:49 | 2019-11-27T10:57:10 | {} | NONE |
ClickHouse | ClickHouse | 559,069,530 | 7,941 | filimonov | ```sql
CREATE TABLE aaaa ENGINE = MergeTree ORDER BY tuple() AS SELECT * FROM numbers(100)
Ok.
0 rows in set. Elapsed: 0.015 sec.
ALTER TABLE aaaa DROP COLUMN number
Received exception from server (version 19.15.1):
Code: 90. DB::Exception: Received from localhost:9000. DB::Exception: Empty list of colu... | 2019-11-27T12:34:51 | 2019-11-27T12:35:45 | {
"eyes": 1,
"hooray": 1,
"rocket": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,119,822 | 3,761 | amosbird | This pr is not in clickhouse-flavor (we like static types). Might be superceded by https://gist.github.com/alexey-milovidov/4251f71275f169d8fd0867e2051715e9#%D0%B2%D1%8B%D0%B2%D0%BE%D0%B4-%D1%82%D0%B8%D0%BF%D0%BE%D0%B2-%D0%BF%D0%BE-%D0%B1%D0%BB%D0%BE%D0%BA%D1%83-%D0%B4%D0%B0%D0%BD%D0%BD%D1%8B%D1%85-%D0%B2%D1%8B%D0%B2%D... | 2019-11-27T14:52:48 | 2019-11-27T14:52:48 | {} | COLLABORATOR |
ClickHouse | ClickHouse | 559,170,522 | 7,920 | CurtizJ | Ok, failed test is not related. | 2019-11-27T16:55:49 | 2019-11-27T16:55:49 | {
"+1": 2
} | MEMBER |
ClickHouse | ClickHouse | 558,658,701 | 7,926 | den-crane | ```
<profiles>
<read>
<readonly>1</readonly>
</read>
....
</profiles>
<users>
<dbread>
<profile>read</profile>
....
</dbread>
...
<users>
``` | 2019-11-26T14:38:41 | 2019-11-26T14:38:41 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,063,353 | 6,007 | KochetovNicolai | Close for now. | 2019-11-27T12:15:59 | 2019-11-27T12:15:59 | {} | MEMBER |
ClickHouse | ClickHouse | 559,285,020 | 7,949 | adnanahsan | > CH is an analytic database and it is not supposed to be used for web applications.
> `Alter update` must not be used on a daily basis but for rare admin operations like GDPR compliance.
> Basically each `alter update` rewrites all data (all rows) on disk (with uncompress / compress) that's why it utilizes all CPUs ... | 2019-11-27T23:30:27 | 2019-11-27T23:30:27 | {} | NONE |
ClickHouse | ClickHouse | 559,287,342 | 7,949 | den-crane | >My web application will use CH for analytics / stats too
too??? It's the only use-case of CH -- analytics. CH is not a replacement for Mysql or other OLTP databases.
Try ReplacingMergeTree / CollapsingMergeTree instead of `alter update`. | 2019-11-27T23:43:14 | 2019-11-27T23:43:14 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,408,365 | 2,833 | Chayeen | @develar oh, no.
I just directly use clickhouse-client to query and export the result to json. commond is here.

because the data is too large. It didn't finished in 300s.
 Compiling UDF into a separate .so, using header with UDF API from CH source
2.) When executing, perform fork (or use pre-forked pool of instances), and load .so
3.) Setup communication between CH server and UDF executor via pipes/MQ protocol/files/sockets
4.)... | 2019-11-28T13:20:20 | 2019-11-28T13:20:20 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,418,501 | 7,917 | byx313 | > > What should I do if I would like to change the default algorithm to zstd not lz4?
>
> ```
> <compression>
> <case>
> <min_part_size>0</min_part_size>
> <min_part_size_ratio>0</min_part_size_ratio>
> <method>zstd</method>
> </case>
> </compression>
> ```
>
> > Is it right that when I do ... | 2019-11-26T01:35:17 | 2019-11-26T01:35:17 | {} | NONE |
ClickHouse | ClickHouse | 558,500,633 | 7,900 | alexey-milovidov | > Initial implementation very basic, and I want to discuss some question.
The implementation looks very sound.
> Prometheus support Histogram and Summary metric types.
Should we use one of them (e.g. for CurrentMetrics)?
It may require collecting and analyzing metrics in background (now it scrapped on demand wh... | 2019-11-26T07:34:14 | 2019-11-26T07:34:14 | {} | MEMBER |
ClickHouse | ClickHouse | 558,688,436 | 7,900 | alexey-milovidov | @filimonov
> Also, both exporters provide results of some extra queries as metrics (so the people migrating from those exporters will have less metrics). Maybe we can consider adding them (or similar)
This should be implemented in a separate PR. The goal of this PR is to add Prometheus handler to provide the sam... | 2019-11-26T15:42:33 | 2019-11-26T15:42:56 | {} | MEMBER |
ClickHouse | ClickHouse | 559,074,402 | 346 | ramazanpolat | > Behaviour is controlled by `join_use_nulls` setting.
> If set to 1, NULLs will be substituted instead of default values.
If the RIGHT table have `Array(String)` column, it is substituted with [], even if `join_use_nulls` is set to 1.
Is this expected behaviour?
```sql
SELECT *
FROM
(
SELECT *
... | 2019-11-27T12:50:14 | 2019-11-27T12:50:14 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,128,991 | 7,546 | develar | @ernestp Thanks a lot! Finally, I can use clickhouse on macOS without Docker. | 2019-11-27T15:14:55 | 2019-11-27T15:14:55 | {} | NONE |
ClickHouse | ClickHouse | 559,430,169 | 2,833 | Chayeen | @develar It worked! How brilliant you are! Thank you again.
I create a clickhouse-client.xml file in current path, and write these in it.

And use this commond.
. go sinker program, insert 10000 rows into clickhouse from kafka per second
2). I can telnet to the 8123 (http) and 9000 (tcp) port(clickhouse server still listening 8123 and 9000), but not able to fire queries,
3). This is the only one warn message when this happened
<Warning> TCPHandler: Client has not ... | 2019-11-25T22:50:19 | 2019-11-25T22:50:19 | {} | NONE |
ClickHouse | ClickHouse | 558,431,714 | 7,887 | jackpgao | Maybe wen can make the exception more clear, like showing error msg 'the query_thread_log is not available'. | 2019-11-26T02:34:52 | 2019-11-26T02:34:52 | {} | NONE |
ClickHouse | ClickHouse | 558,479,214 | 7,910 | alexey-milovidov | It may be related to https://github.com/ClickHouse/ClickHouse/pull/7838 | 2019-11-26T06:20:30 | 2019-11-26T06:20:30 | {} | MEMBER |
ClickHouse | ClickHouse | 558,645,956 | 7,921 | den-crane | There is no such settings.
CH does not take care. All replicas fetch parts from all other available replicas. If only one replica has a part all replicas will fetch from that replica. | 2019-11-26T14:10:50 | 2019-11-26T14:10:50 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,673,188 | 7,923 | nicelulu | What I don't understand is that jemalloc also defines ```operator new```, but using the default jemalloc build does not present a similar problem. | 2019-11-26T15:09:32 | 2019-11-26T15:09:32 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,713,329 | 7,893 | nikitamikhaylov | @aslojno Please add some test data for better reproducing and adding this bug to out stateless tests. | 2019-11-26T16:37:10 | 2019-11-26T16:37:10 | {} | MEMBER |
ClickHouse | ClickHouse | 558,905,808 | 7,900 | zhang2014 | > Yes, this feature along with Template format looks powerful enough to implement something like Prometheus handler without any specialized code. But I'm not sure. Some custom logic like converting names to snake case or calculating deltas from previous values still require additional logic. Let's try to do it as an ex... | 2019-11-27T02:55:50 | 2019-11-27T02:58:30 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,958,439 | 7,900 | alexey-milovidov | > calculating deltas from previous values still require additional logic: Maybe metrics, events and AsynchronousMetrics can add some columns to provide the last two measurements? like uptime, this is useful for some other monitoring systems.
Three points:
1. We already have `system.metric_log` table.
2. The user... | 2019-11-27T07:01:45 | 2019-11-27T07:01:45 | {} | MEMBER |
ClickHouse | ClickHouse | 559,009,286 | 7,690 | Slach | temp workaround is using Nullable(Float64) or Nullable(Float32) is not good solution | 2019-11-27T09:40:18 | 2019-11-27T09:40:18 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,010,381 | 6,556 | Slach | still reproduced on Clickhouse 19.17.4 | 2019-11-27T09:42:59 | 2019-11-27T09:42:59 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,102,067 | 7,934 | den-crane | > Is there a way to create such OR conditions from the results of another query in ClickHouse ?
Inside CH? No. | 2019-11-27T14:08:09 | 2019-11-27T14:08:09 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,139,795 | 11 | stavrolia | Some discussion around UDF in ClickHouse with code is [here](https://github.com/ClickHouse/ClickHouse/pull/6991) | 2019-11-27T15:40:23 | 2019-11-27T15:40:23 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,397,748 | 2,833 | Chayeen | @develar may I ask you how to change the send_timeout and receive_timeout?
I add configuration in user.xml like this:

but it doesn't work.
Is there something wrong with me?
can you help me? | 2019-11-28T08:47:52 | 2019-11-28T08:47:52 | {} | NONE |
ClickHouse | ClickHouse | 558,333,381 | 2,621 | den-crane | Заливка в один поток? Может такое быть что между 500й и 200й влезает другой заливатор и записывает больше 100 инсертов?
Где данные правильные в таблице или MV ?
| 2019-11-25T20:48:21 | 2019-11-25T20:51:08 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,450,433 | 7,799 | DeanThompson | It seems that the `WHERE` clause should move to subqueries.
This query works:
```sql
SELECT count()
FROM
(
SELECT query_id
FROM system.query_log
PREWHERE type IN (1)
WHERE event_date = today()
)
ANY LEFT JOIN system.query_thread_log USING (query_id)
``` | 2019-11-26T04:07:42 | 2019-11-26T04:07:42 | {} | NONE |
ClickHouse | ClickHouse | 558,672,669 | 971 | filimonov | > Any updates on this issue?
@grmorozov your case differs from the original issue, your case was fixed in #7911 (you can try latest testing release).
| 2019-11-26T15:08:33 | 2019-11-26T15:08:33 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,668,325 | 2,621 | den-crane | @alexey-milovidov
Действительно дыра в дизайне.
Если блок есть в таблице, то из-за дедупликации основной таблицы insert в MV не случается, хотя в MV такого блока нет. Т.е. ретрай не поможет довствить невставленное.
```
CREATE TABLE test12345 (A Int64)
ENGINE = ReplicatedMergeTree ('/clickhouse/{cluster}/tables/... | 2019-11-26T14:59:24 | 2019-11-26T18:34:30 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,999,283 | 7,525 | godfreyd | Fixed | 2019-11-27T09:14:44 | 2019-11-27T09:14:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,005,428 | 7,690 | Slach | still reproduced on Clickhouse 19.17 and MySQL 5.1 | 2019-11-27T09:30:40 | 2019-11-27T09:30:40 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,105,736 | 7,943 | den-crane | INSERT INTO t VALUES (,) -- passes empty but not default values (converted to 0, or Null for Nullable)
INSERT INTO t() -- such query is impossible but it would pass default values
#6331 a feature request for `INSERT INTO t VALUES (default,default)` , not implemented yet
| 2019-11-27T14:17:34 | 2019-11-27T14:17:47 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,215,759 | 4,860 | Enmk | > #7170 work in progress
in fact, it is ready for review, so anyone willing to do that is welcome. | 2019-11-27T19:08:09 | 2019-11-27T19:08:09 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,223,991 | 7,948 | den-crane | Though maybe I am wrong.
```
CREATE TABLE test_partition_filtering (
timestamp DateTime) ENGINE = MergeTree()
PARTITION BY toYYYYMMDD(timestamp)
ORDER BY tuple();
INSERT INTO test_partition_filtering SELECT '2019-01-01 10:00:00' FROM numbers(1000000);
INSERT INTO test_partition_filtering SELECT '2019-01-... | 2019-11-27T19:34:09 | 2019-11-27T19:34:58 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,457,664 | 7,949 | adnanahsan | > > My web application will use CH for analytics / stats too
>
> too??? It's the only use-case of CH -- analytics. CH is not a replacement for Mysql or other OLTP databases.
>
> Try ReplacingMergeTree / CollapsingMergeTree instead of `alter update`.
Bro what if i use mysql as my main database for managing othe... | 2019-11-28T11:32:53 | 2019-11-28T11:32:53 | {} | NONE |
ClickHouse | ClickHouse | 559,491,521 | 7,957 | MahmoudGoda0 | > Largest first
Thanks!
What is the size will be moved ? 20 % of the first disk ? | 2019-11-28T13:18:11 | 2019-11-28T13:18:11 | {} | NONE |
ClickHouse | ClickHouse | 558,406,700 | 7,917 | den-crane | >What should I do if I would like to change the default algorithm to zstd not lz4?
```
<compression>
<case>
<min_part_size>0</min_part_size>
<min_part_size_ratio>0</min_part_size_ratio>
<method>zstd</method>
</case>
</compression>
```
-------------------
>Is it right that when I do a INSER... | 2019-11-26T00:42:35 | 2019-11-26T00:43:02 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,584,691 | 7,902 | alex-rsk | I don't remember the version I upgraded from.
ACL info:
File: /var/lib/clickhouse/status
Access: (0640/-rw-r-----) Uid: ( 136/clickhouse) Gid: ( 141/clickhouse)
File: `/var/lib/clickhouse/metadata/system//query_log_0.sql
Access: (0640/-rw-r-----) Uid: ( 136/clickhouse) Gid: ( 141/clickhouse)
... | 2019-11-26T11:19:41 | 2019-11-26T11:20:16 | {} | NONE |
ClickHouse | ClickHouse | 558,587,641 | 7,902 | alex-rsk | Reinstalled clickhouse, no luck. | 2019-11-26T11:28:28 | 2019-11-26T11:28:28 | {} | NONE |
ClickHouse | ClickHouse | 558,993,423 | 7,900 | zhang2014 | The following configuration currently work in #7572
config.xml:
```xml
<predefine_query_handler>
<url>/metrics</url>
<method>GET</method>
<queries>
<query>SELECT * FROM system.metrics LIMIT 5 FORMAT Template SETTINGS format_template_resultset = 'prometheus_template_output_format_resultset'... | 2019-11-27T08:58:34 | 2019-11-27T08:59:56 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,286,846 | 448 | filimonov | Still here at 19.18.1-testing:
```
CREATE TABLE test.a ( a UInt64, b UInt64) ENGINE = TinyLog;
CREATE TABLE test.b ( b UInt64) ENGINE = TinyLog;
CREATE MATERIALIZED VIEW test.view_4 ( bb UInt64, cnt UInt64) Engine=MergeTree ORDER BY bb POPULATE AS SELECT bb, count() AS cnt FROM (SELECT a, b AS j, b AS bb FROM t... | 2019-11-25T18:42:20 | 2019-11-25T18:43:11 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,633,403 | 7,918 | SQkaer | @sundy-li , I try to adjust my translation if there is any uncomfortable reading | 2019-11-26T13:42:06 | 2019-11-26T13:42:06 | {} | NONE |
ClickHouse | ClickHouse | 558,635,824 | 4,021 | aa8808021 | > Thank you. It work well
hi, I have encountered the same problem. I want to know how to solve it. Which file are the two configuration items configured in?thank you | 2019-11-26T13:47:54 | 2019-11-26T13:47:54 | {} | NONE |
ClickHouse | ClickHouse | 558,687,921 | 7,717 | MaxFedotov | Hi, @yurriy. Sorry, was on vacation and only now was able to get back to this commit. I've fixed all issues, that you highlighted and added tests.
Thanks,
Max | 2019-11-26T15:41:23 | 2019-11-26T15:41:23 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,694,282 | 7,897 | alexey-milovidov | @stavrolia
```
milovidov@milovidov-nix:~/work/ClickHouse/dbms$ find . -name '*.h' -or -name '*.cpp' | xargs grep -F 'stack trace:'
./src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp: LOG_ERROR(log, "Couldn't start replication: " << e.what() << ", " << e.displayText() << ", stack trace:\n" <... | 2019-11-26T15:55:27 | 2019-11-26T15:55:27 | {} | MEMBER |
ClickHouse | ClickHouse | 558,695,754 | 7,897 | alexey-milovidov | Looks like you did not reviewed this PR properly.
Now you have to fix the following remaining things:
- the `Stack trace` text should always have capital `S` for consistency and the ease of grep;
- do not format the error message by yourself if getCurrentExceptionMessage or getExceptionMessage functions can be use... | 2019-11-26T15:58:40 | 2019-11-26T15:58:40 | {} | MEMBER |
ClickHouse | ClickHouse | 558,798,024 | 7,934 | den-crane | I think the only way is OR.
WHERE startsWith ... or startsWith
WHERE like ... or like | 2019-11-26T20:11:25 | 2019-11-26T20:11:25 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,270,846 | 7,949 | den-crane | CH is an analytic database and it is not supposed to be used for web applications.
`Alter update` must not be used on a daily basis but for rare admin operations like GDPR compliance.
Basically each `alter update` rewrites all data (all rows) on disk (with uncompress / compress) that's why it utilizes all CPUs for a ... | 2019-11-27T22:23:01 | 2019-11-27T22:25:56 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,401,135 | 2,833 | develar | @Chayeen Do you use go library to connect? See https://github.com/JetBrains/ij-perf-report-aggregator/blob/a428a4be43467dfdfe1a803df6e79e33b60b36f5/cmd/transform/transform.go#L62 for example
`sqlx.Open("clickhouse", "tcp://"+clickHouseUrl+"?read_timeout=600&write_timeout=600&debug=0&compress=1&send_timeout=30000&rec... | 2019-11-28T08:57:48 | 2019-11-28T08:58:02 | {} | NONE |
ClickHouse | ClickHouse | 559,430,452 | 2,135 | filimonov | related #7088 | 2019-11-28T10:12:32 | 2019-11-28T10:12:32 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,610,835 | 7,900 | alex-zaitsev | @Vdimir , your implementation hardcodes metric names and description. It would require to remember adding new metrics in monitoring when something is added in ClickHouse. Outside of ClickHouse implementations (https://github.com/f1yegor/clickhouse_exporter/ or inside https://github.com/Altinity/clickhouse-operator) try... | 2019-11-26T12:40:24 | 2019-11-26T12:40:24 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 558,695,193 | 7,926 | viputh6 | thanks a lot. readonly is working now.
can you help me to set allow_ddl=0? how to disable DDL generation for a user? | 2019-11-26T15:57:24 | 2019-11-26T15:57:24 | {} | NONE |
ClickHouse | ClickHouse | 558,959,015 | 7,650 | alexey-milovidov | That's a trivial task, @stavrolia will fix.
@stavrolia - do you want to fix it before lunch or at the evening today? | 2019-11-27T07:03:55 | 2019-11-27T07:03:55 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 558,994,819 | 7,943 | nikitamikhaylov | ```sql
CREATE TABLE t
(
`a` Int DEFAULT 42,
`b` Int DEFAULT 43
)
ENGINE = MergeTree
PARTITION BY tuple()
ORDER BY tuple()
```
You need to write comma separator and this query will be Ok.
```sql
INSERT INTO t VALUES (,)
```
But select query's answer is wrong.
```sql
SELECT *
FROM t
┌─a─┬─b─┐... | 2019-11-27T09:02:25 | 2019-11-27T09:02:25 | {} | MEMBER |
ClickHouse | ClickHouse | 559,099,907 | 346 | den-crane | @ramazanpolat because for Arrays empty array [] is analog for Null. Arrays cannot be nullable itself but can contain nullable types. | 2019-11-27T14:02:51 | 2019-11-27T14:02:51 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,127,976 | 5,187 | stavrolia | The continuation of this PR is [here](https://github.com/ClickHouse/ClickHouse/pull/7170). | 2019-11-27T15:12:34 | 2019-11-27T15:12:34 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 559,445,116 | 7,950 | alexey-milovidov | Other replicas may download not only from replica-initiator, but also from any other replica that already have downloaded the part. It may happen if replica was inactive. | 2019-11-28T10:52:56 | 2019-11-28T10:52:56 | {} | MEMBER |
ClickHouse | ClickHouse | 559,466,792 | 7,923 | nicelulu | > We specifically exclude new/delete definitions from jemalloc to provide our own. You should do the same for tcmalloc.
Thank you. I see it. | 2019-11-28T11:59:56 | 2019-11-28T11:59:56 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 552,374,674 | 7,711 | alexey-milovidov | `man bash`, `QUOTING` section. | 2019-11-11T10:01:00 | 2019-11-11T10:01:00 | {} | MEMBER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.