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 | 684,963,199 | 14,258 | bharatnc | Already fixed in #14237 also, so closing this PR. | 2020-09-01T16:03:47 | 2020-09-01T16:03:47 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,189,893 | 14,321 | bohutang | ACK | 2020-09-01T23:41:09 | 2020-09-01T23:41:09 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,237,724 | 14,367 | peaksnail | @den-crane sorry ,the old version is 19.17.6.19 and most used less than 1G, some used 2Gb, but after upgrade most used more than 2GB,I don't change anything
| 2020-09-02T02:01:49 | 2020-09-02T02:01:49 | {} | NONE |
ClickHouse | ClickHouse | 685,267,700 | 14,369 | den-crane | Achieve what? Cumulative sum or what? arrayCumSum?
Please show the input and the desired output and describe an algorithm.
```
select toString(arrayCumSum(groupArray(sum_amount))) from (
SELECT
toStartOfDay(create_time) t,
(sum(amount)) as sum_amount
FROM (select today() cre... | 2020-09-02T03:26:53 | 2020-09-02T03:43:09 | {
"heart": 2
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,323,063 | 14,369 | levsion | > Achieve what? Cumulative sum or what? arrayCumSum?
> Please show the input and the desired output and describe an algorithm.
>
> ```
> select toString(arrayCumSum(groupArray(sum_amount))) from (
> SELECT
> toStartOfDay(create_time) t,
> (sum(amount)) as sum_amount
> FROM (s... | 2020-09-02T06:06:23 | 2020-09-02T06:06:23 | {} | NONE |
ClickHouse | ClickHouse | 685,064,855 | 14,315 | azat | >I plan to support IStorage::read which returns IQueryPlanStep. This should automatically solve this issue.
> I am not happy that we add IQueryPlanStep to pipe, because it is needed right now only for specific EXPLAIN case.
Yep I saw this comment, and if you are going to do this in the nearest feature, than you ca... | 2020-09-01T18:49:11 | 2020-09-01T18:49:11 | {} | MEMBER |
ClickHouse | ClickHouse | 685,242,666 | 13,544 | alexey-milovidov | Need to fix integration tests. | 2020-09-02T02:14:04 | 2020-09-02T02:14:04 | {} | MEMBER |
ClickHouse | ClickHouse | 685,244,722 | 9,800 | bharatnc | I have made an initial PR in #14252 to introduce 1. `query_start_time_microseconds ` for the `system.query_log` table. I will be doing the same to these: (hopefully in separate PRs)
1. `system.query_thread_log` - will add a new field called `query_start_time_microseconds ` (DateTime64).
(One question is that ... | 2020-09-02T02:19:45 | 2020-09-02T02:29:01 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,519,022 | 14,251 | vkingnew | @BohuTANG MaterializeMySQL this function had released? which version | 2020-09-01T07:38:37 | 2020-09-01T07:38:37 | {} | NONE |
ClickHouse | ClickHouse | 684,519,328 | 14,045 | filimonov | Those logs do not help too much... :|
I've looked on your `dmesg` output, it seems you run CentOS 7 on VMWare virtual machine.
```
[ 0.000000] Linux version 3.10.0-1127.18.2.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) ) #1 SMP Sun Jul 26 15:27:06 UTC 2... | 2020-09-01T07:39:13 | 2020-09-01T07:46:52 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,534,178 | 14,319 | l1t1 | ```
SELECT
user_id,
scores,
multiIf(scores < 60, 1, (scores >= 60) AND (scores < 80), 2, (scores >= 80) AND (scores < 100), 3, NULL) AS p
FROM scores
┌─user_id─┬─scores─┬────p─┐
│ 101 │ 60.50 │ 2 │
│ 102 │ 50.25 │ 1 │
│ 103 │ 80.00 │ 3 │
│ 104 │ 90.00 │ 3 │
│ ... | 2020-09-01T08:05:15 | 2020-09-01T08:05:15 | {} | NONE |
ClickHouse | ClickHouse | 684,785,690 | 13,956 | excitoon | I wanted to check running time of `01396_inactive_replica_cleanup_nodes_zookeeper` in Debug (which was 517 instead of ~350 previously), but it is being skipped now. :( | 2020-09-01T11:32:49 | 2020-09-01T11:32:59 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,238,233 | 13,988 | alexey-milovidov | OOM in build: #14362
Stress test timeout: #14125 | 2020-09-02T02:03:06 | 2020-09-02T02:03:06 | {} | MEMBER |
ClickHouse | ClickHouse | 685,331,837 | 13,597 | PatricYan | > @yanllearnn Thank you!
@fsanano what you will do use this? Can we communicate and share? | 2020-09-02T06:27:21 | 2020-09-02T06:27:21 | {} | NONE |
ClickHouse | ClickHouse | 684,586,562 | 14,319 | vkingnew | yes, case when statement is general for almost all RDBMS.
```
select case when scores>=0 and scores <60 then '[0,60)'
when scores>=60 and scores <80 then '[60,80)'
when scores>=80 and scores <90 then '[80,90)'
when scores>=90 and scores <=100 then '[90,100]'
end p
,coun... | 2020-09-01T08:42:21 | 2020-09-01T08:42:21 | {} | NONE |
ClickHouse | ClickHouse | 684,782,419 | 14,296 | simPod | I'll try ZK fix, reattaching partition does not seem to have any effect. | 2020-09-01T11:26:46 | 2020-09-01T11:26:46 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,821,420 | 14,298 | filimonov | Please share the output & try to restart the server afterward. | 2020-09-01T12:37:41 | 2020-09-01T12:37:41 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,851,574 | 14,327 | l1t1 | > You should remove the stale MaterializeMySQL metadata&data dir before starting 20.7.
> Btw, why downgrade from 20.8 to 20.7?
because 20.7 is the stable version. | 2020-09-01T13:25:58 | 2020-09-01T13:25:58 | {} | NONE |
ClickHouse | ClickHouse | 684,909,460 | 14,298 | OmarBazaraa | Here is the output that you asked for:
```
$ sudo /etc/init.d/clickhouse-server status
clickhouse-server service is stopped
$ sudo service clickhouse-server status
clickhouse-server service is stopped
$ sudo systemctl status clickhouse-server
● clickhouse-server.service - ClickHouse Server (analytic DBMS... | 2020-09-01T14:47:42 | 2020-09-01T14:47:42 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,962,198 | 14,252 | bharatnc | The one failing test: https://clickhouse-builds.s3.yandex.net/14252/faa06ed68fb6d71458bc4d6bde39357d89cea2e4/clickhouse_build_check/build_log_760136445_1598813833.txt, is unrelated to this PR and was already broken. Since then, it has been fixed upstream so merged my branch with master to pull in those changes. | 2020-09-01T16:02:23 | 2020-09-01T16:02:23 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,994,396 | 14,298 | filimonov | https://gist.github.com/filimonov/49a8333dabb9882cbeb095abd8829235 | 2020-09-01T16:50:07 | 2020-09-01T16:50:07 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,990,547 | 14,298 | filimonov | systemd vs sysV.
Centos 8 is systemd based, but it also has compatibility layer for sysV.
So do clickhouse - it provides both systemd service file and sysV init script.
Because of that when you use `systemctl` - it uses systemd service, when you use `service` it uses init.d script.
And it seems like it ... | 2020-09-01T16:44:12 | 2020-09-01T16:53:41 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,230,192 | 14,315 | alexey-milovidov | @KochetovNicolai Maybe we can merge this fix and rewrite it later? | 2020-09-02T01:39:52 | 2020-09-02T01:39:52 | {} | MEMBER |
ClickHouse | ClickHouse | 685,235,224 | 12,563 | peaksnail | @den-crane
ch version 19.17.6.19
server memory 12G | 2020-09-02T01:55:15 | 2020-09-02T01:55:15 | {} | NONE |
ClickHouse | ClickHouse | 685,269,285 | 14,322 | den-crane | > i suggest create view or table with another table **.bin** file.
For what? Why you cannot use simple `CREATE VIEW` ? | 2020-09-02T03:31:51 | 2020-09-02T03:31:51 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,351,520 | 4,006 | andy-zhang2016 | MaterializeMySQL database engine is a nice feature. I tried it and found the replication missed to refresh the stats information of total rows, total bytes, in system tables like system.tables.
Can we have it ? @BohuTANG @zhang2014 | 2020-09-02T06:39:58 | 2020-09-02T06:39:58 | {} | NONE |
ClickHouse | ClickHouse | 684,528,997 | 14,298 | OmarBazaraa | I didn't update ClickHouse, I installed the latest version 20.7.2.30 directly.
1. The PID is 2646:
```
$ sudo lsof -i:9000
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
clickhous 2646 clickhouse 54u IPv6 60885 0t0 TCP *:cslistener (LISTEN)
```
2. The proces... | 2020-09-01T07:56:24 | 2020-09-01T07:56:24 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,921,248 | 14,345 | den-crane | @expl0si0nn | 2020-09-01T15:03:39 | 2020-09-01T15:03:39 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,027,689 | 14,221 | hagen1778 | Not sure why one of the builds fails - the error doesn't seem relevant to introduced changes. Pls let me know if the build failure blocks the review. | 2020-09-01T17:46:37 | 2020-09-01T17:46:37 | {} | NONE |
ClickHouse | ClickHouse | 685,116,647 | 157 | alexey-milovidov | We just open-sourced our internal library for User-Agent parsing and checked that it can work with ClickHouse in a prototype. There is still many things to do to make it production ready. It is not in our nearest plans, but we consider it to be done in 2020. | 2020-09-01T20:33:55 | 2020-09-01T20:33:55 | {
"+1": 8
} | MEMBER |
ClickHouse | ClickHouse | 685,199,976 | 13,617 | alexey-milovidov | > Something like 1 / avg( 1 / (new_time / old_time)) doesn't make sense.
What you type is harmonic mean, not geometric mean.
| 2020-09-02T00:13:17 | 2020-09-02T00:13:17 | {} | MEMBER |
ClickHouse | ClickHouse | 685,198,548 | 13,617 | alexey-milovidov | > Geometric mean of which value exactly, given the new and old query time?
1. For every query, calculate old_time / new_time to measure relative boost, like 2.0 if new build is 2x faster and 0.5 if new build is 2x slower.
2. Calculate geomean like this: exp(avg(log(x)))
Example: suppose we have two queries,
```... | 2020-09-02T00:09:01 | 2020-09-02T00:15:00 | {} | MEMBER |
ClickHouse | ClickHouse | 685,220,984 | 14,333 | alexey-milovidov | JSONCompactStrings maybe? | 2020-09-02T01:12:20 | 2020-09-02T01:12:20 | {} | MEMBER |
ClickHouse | ClickHouse | 685,227,323 | 12,563 | peaksnail | @little-circle-circle 👍 thanks | 2020-09-02T01:30:53 | 2020-09-02T01:30:53 | {} | NONE |
ClickHouse | ClickHouse | 685,232,628 | 14,320 | bharatnc | Thank you @alexey-milovidov
> There are no tests for this specific issue. As the LIVE VIEW feature is still experimental, the lack of tests is passable for this PR. But it will be much better if there will be any.
I have actually added stateless test with this PR (`tests/queries/0_stateless/01463_test_alter_live... | 2020-09-02T01:47:22 | 2020-09-02T01:47:22 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,240,731 | 13,792 | alexey-milovidov | 01396_inactive_replica_cleanup_nodes - fixed in master. | 2020-09-02T02:09:17 | 2020-09-02T02:09:17 | {} | MEMBER |
ClickHouse | ClickHouse | 684,566,867 | 14,276 | blackrez | Many thanks for the help. I will open an issue in apache arrow project. | 2020-09-01T08:28:43 | 2020-09-01T08:28:43 | {} | NONE |
ClickHouse | ClickHouse | 684,712,705 | 14,251 | liangli1213 | @BohuTANG below is the table schema, my script is very complex and refresh the table is just a small part of its function, besides, it also inserts data into other tables.
I'd like to say the issue is not easy to reproduce in another environment.
```
CREATE TABLE `bload_current` (
`checkDate` datetime DEFAULT... | 2020-09-01T10:07:15 | 2020-09-01T10:07:15 | {} | NONE |
ClickHouse | ClickHouse | 685,172,634 | 13,688 | CurtizJ | I will try to fix tests in separate PR. | 2020-09-01T22:42:38 | 2020-09-01T22:42:38 | {} | MEMBER |
ClickHouse | ClickHouse | 685,234,065 | 14,367 | alexey-milovidov | How the metric is measured?
How does the RSS of clickhouse-server process look on the graph (for comparison)? | 2020-09-02T01:51:42 | 2020-09-02T01:51:42 | {} | MEMBER |
ClickHouse | ClickHouse | 685,238,748 | 13,987 | alexey-milovidov | AST Fuzzer: #13981 | 2020-09-02T02:04:21 | 2020-09-02T02:04:21 | {} | MEMBER |
ClickHouse | ClickHouse | 684,963,849 | 14,257 | bharatnc | This has been fixed in #14237, so closing this issue. | 2020-09-01T16:04:41 | 2020-09-01T16:04:41 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,017,825 | 11,247 | dannyeuu | I have the same error:

With disks space ok
.html#fail1
CI was broken, and the integration test didn't run, but the status was green, that's why I didn't notice: https://clickhouse-test-reports.s3.ya... | 2020-09-01T23:06:46 | 2020-09-01T23:06:46 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,241,147 | 13,792 | alexey-milovidov | AST Fuzzer: fixed in #12550 | 2020-09-02T02:10:21 | 2020-09-02T02:10:21 | {} | MEMBER |
ClickHouse | ClickHouse | 685,393,657 | 14,367 | filimonov | I've talked with @Slach about that:
>
> Mikhail Filimonov 08:45
> Может быть надо поправить описание метрики у нас в заббикс шаблоне (там в 20.4 поменялось её значение)? См. https://github.com/ClickHouse/ClickHouse/issues/14367#issuecomment-685353507
>
> Eugene Klimov 08:51
> а там описание метрики поменял... | 2020-09-02T07:06:56 | 2020-09-02T07:13:45 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,514,831 | 12,171 | azat | >greping by message keyword will not be very convenient when the message keyword is very common
But are not too much of common messages, and this PR will increase logs messages for all of them.
Maybe the log format should be done configurable? i.e.
```xml
<yandex>
<logger>
..
<format>...</format>
... | 2020-09-01T07:30:36 | 2020-09-01T07:31:51 | {} | MEMBER |
ClickHouse | ClickHouse | 684,583,429 | 13,939 | fastio | > > Case 1: Kafka engine with one thread for all consumers
>
> What exactly do you mean? `kafka_num_consumers=1`? Or `kafka_num_consumers=4,kafka_thread_per_consumer=0`?
hi @filimonov Thanks.
kafka_num_consumers = 4, kakfa_thread_per_consumer = 0 | 2020-09-01T08:40:07 | 2020-09-01T08:40:07 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,039,693 | 11,247 | den-crane | @dannyeuu your pictures prove nothing because they reflect the current state.
Probaly you had a zero space available in the moment of the error happened. The reason of that is that you have only 42GB free space available and inactive parts are stored for 8 minutes. During these 8 minutes all free disk space were occu... | 2020-09-01T18:05:17 | 2020-09-01T18:49:16 | {
"+1": 2,
"-1": 5
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,233,239 | 14,367 | den-crane | 19.7 or 19.17 ?
Try 20.5.5.74
Your old version is used less than 1 GB ? I don't see the first digit on your graph. | 2020-09-02T01:49:18 | 2020-09-02T01:49:18 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,402,170 | 14,347 | l1t1 | when rollup or cube by score ,id should be null, but it shows 0, it is a bug. | 2020-09-02T07:13:56 | 2020-09-02T07:13:56 | {} | NONE |
ClickHouse | ClickHouse | 684,462,022 | 14,274 | alesapin | Tests OK (unbundled currently disabled). | 2020-09-01T06:40:07 | 2020-09-01T06:40:07 | {} | MEMBER |
ClickHouse | ClickHouse | 684,536,419 | 14,319 | l1t1 | ```
SELECT
count(*) AS cnt,
multiIf(scores < 60, 1, (scores >= 60) AND (scores < 80), 2, (scores >= 80) AND (scores < 100), 3, NULL) AS p
FROM scores
GROUP BY p
┌─cnt─┬────p─┐
│ 2 │ 1 │
│ 3 │ 2 │
│ 6 │ 3 │
│ 1 │ ᴺᵁᴸᴸ │
└─────┴──────┘
``` | 2020-09-01T08:07:41 | 2020-09-01T08:07:41 | {} | NONE |
ClickHouse | ClickHouse | 684,876,154 | 14,318 | den-crane | As a workaround you can use quotes `1234,"\asdf"` | 2020-09-01T14:00:57 | 2020-09-01T14:00:57 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,231,943 | 12,563 | den-crane | @peaksnail What CH version do you use? How much memory does your server have? | 2020-09-02T01:45:12 | 2020-09-02T01:45:12 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,241,210 | 14,367 | peaksnail | @alexey-milovidov I use the template from [template](https://github.com/Altinity/clickhouse-zabbix-template)
I do nothing except upgrade, so I doubt the version change it | 2020-09-02T02:10:30 | 2020-09-02T02:10:30 | {} | NONE |
ClickHouse | ClickHouse | 685,278,591 | 14,322 | mbtolou | i join triple big table with 6 billion record and filter by date .
when i filter 4 days ,db exception occurred .
but when create one table with join of all tables , my query execute very fast with lower memory usage .
| 2020-09-02T04:01:05 | 2020-09-02T04:01:05 | {} | NONE |
ClickHouse | ClickHouse | 685,329,047 | 14,296 | simPod | Thanks for pro tip! | 2020-09-02T06:20:13 | 2020-09-02T06:20:13 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,468,002 | 14,116 | alesapin | Tests OK, changes are boring, so I'll merge. | 2020-09-01T06:43:39 | 2020-09-01T06:43:39 | {} | MEMBER |
ClickHouse | ClickHouse | 684,599,638 | 14,298 | OmarBazaraa | By the way, this issue happens also with the default configurations when I just try to restart the server. | 2020-09-01T08:51:08 | 2020-09-01T08:51:08 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,771,265 | 13,978 | filimonov | > Get rid of separate "parts" set of different replicas.
That should open the natural way to solve: https://github.com/ClickHouse/ClickHouse/issues/10368 | 2020-09-01T11:04:06 | 2020-09-01T11:04:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,907,869 | 14,266 | den-crane | ```
CREATE TABLE derived_metrics_local
(
timestamp DateTime,
timestamp_h DateTime materialized toStartOfHour(timestamp),
bytes UInt64
)
ENGINE=SummingMergeTree()
PARTITION BY toYYYYMMDD(timestamp)
ORDER BY (timestamp_h, timestamp)
TTL toStartOfHour(timestamp) + INTERVAL 1 HOUR GROUP BY timestamp_h
SET... | 2020-09-01T14:45:23 | 2020-09-01T14:45:23 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,908,290 | 13,939 | filimonov | Looks good, the only thing missing is a test.
We need at least some smoke tests to ensure that the code will not be broken with later changes.
Please check that:
https://github.com/ClickHouse/ClickHouse/blob/73d433a7dd4c527a45f4b6371bd1c853e0962371/tests/integration/test_storage_kafka/test.py#L1376 | 2020-09-01T14:46:03 | 2020-09-01T14:46:22 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,987,399 | 14,296 | den-crane | @simPod check other replicas detached folder. They should have parts detached by `detach parition` command. You need to delete them (because they eat disk space and you can accidentally attach them and get duplicated data). | 2020-09-01T16:39:16 | 2020-09-01T16:39:16 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,988,675 | 14,347 | den-crane | `with cube ` also is missing | 2020-09-01T16:41:14 | 2020-09-01T16:41:14 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,173,971 | 13,617 | akuzm | > 2. What is the geomean difference across all tests / all queries?
Geometric mean of which value exactly, given the new and old query time? I started adding it and realized I don't understand what to add. Something like `1 / avg( 1 / (new_time / old_time))` doesn't make sense. What I have now in `Test Performance C... | 2020-09-01T22:46:50 | 2020-09-01T22:46:50 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,229,802 | 14,320 | alexey-milovidov | 1. Integration tests for MaterializeMySQL was broken in master at the moment of this PR. Ok.
2. I like the fix, but don't understand all the code. I assume the "like" reaction from V. Zakaznikov as approve.
3. There are no tests for this specific issue. As the LIVE VIEW feature is still experimental, the lack of test... | 2020-09-02T01:38:37 | 2020-09-02T01:38:37 | {} | MEMBER |
ClickHouse | ClickHouse | 685,233,020 | 12,508 | alexey-milovidov | ttl_where_group_by:
https://clickhouse-test-reports.s3.yandex.net/14233/67a35303dd927f7ff447903d9f4f570eb9b48193/functional_stateless_tests_(address).html#fail1 | 2020-09-02T01:48:31 | 2020-09-02T01:48:31 | {} | MEMBER |
ClickHouse | ClickHouse | 685,234,441 | 14,320 | alexey-milovidov | Great! I overlooked it. | 2020-09-02T01:52:51 | 2020-09-02T01:52:51 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 685,239,194 | 14,322 | mbtolou | i suggest create view or table with another table **.bin** file. | 2020-09-02T02:05:29 | 2020-09-02T02:05:29 | {} | NONE |
ClickHouse | ClickHouse | 685,290,717 | 14,266 | keerthana-kannan-ch | This works fine when timestamp is the only dimension. However, if I add another field in the table and as part of the primary key, I get the same error as above. For example,
```
CREATE TABLE db.derived_metrics_test
(
timestamp DateTime,
timestamp_h DateTime materialized toStartOfHour(timestamp),
host Lo... | 2020-09-02T04:39:46 | 2020-09-02T04:39:46 | {} | NONE |
ClickHouse | ClickHouse | 685,317,244 | 14,327 | zhang2014 | You need remove all MaterializeMySQL engine databases on version `20.8` before downgrade. | 2020-09-02T05:53:00 | 2020-09-02T05:53:31 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,374,396 | 14,319 | l1t1 | group by case when/array ? | 2020-09-01T05:49:30 | 2020-09-01T05:49:30 | {} | NONE |
ClickHouse | ClickHouse | 684,498,905 | 3,617 | SenCoder | We also get this promblem in clickhouse:
executeQuery: Code: 210, e.displayText() = DB::Exception: Fail to read HDFS file: hdfs://myuser@IP::PORT/xx/xx/xx/xx HdfsIOException: InputStreamImpl: cannot read file: /xx/xx/xx/xx , from position 805306368, size: 1048576. Caused by: HdfsTimeoutException: Read 8 bytes timeou... | 2020-09-01T07:02:06 | 2020-09-01T07:02:06 | {} | NONE |
ClickHouse | ClickHouse | 684,880,462 | 14,296 | den-crane | >reattaching partition does not seem to have any effect
It's kinda strange, because it recreates ZK data completely and after it no one can have knowledge about 20200521_0_206813_403_206815. | 2020-09-01T14:06:43 | 2020-09-01T14:06:43 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,373,368 | 14,367 | filimonov | ```
SELECT
version(),
description
FROM system.metrics
WHERE metric = 'MemoryTracking'
┌─version()───┬─description──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ 20.3.17.173 │ Total amount of memory (bytes) allocated in currentl... | 2020-09-02T06:54:12 | 2020-09-02T06:56:56 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,786,200 | 7,862 | phhcer | same quesition like u. | 2020-09-01T11:33:47 | 2020-09-01T11:33:47 | {} | NONE |
ClickHouse | ClickHouse | 684,820,284 | 14,298 | filimonov | Tried on VM with centos/8 without success.
It is possible if you will start clickhouse not through `service` / `systemctl` command but directly via SysV script, i.e.
```
sudo /etc/init.d/clickhouse-server start
```
But in that case, the simple restart should solve the issue, and `sudo /etc/init.d/clickhouse-s... | 2020-09-01T12:35:39 | 2020-09-01T12:38:41 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,860,418 | 14,322 | den-crane | No difference with usual `CREATE VIEW`.
>for fast join
No such thing as `fast join`, and no magic, and no Santa.
Use:
```
CREATE VIEW TEST.BIG_TABLE_CURRENT_VOLTAGE
AS SELECT V.DATA_ID,V.DTime, I_A,I_B,I_C,V_A,V_B,V_C
from TEST.BIG_TABLE_VOLTAGE V
LEFT JOIN TEST.BIG_TABLE_CURRENT I
ON V.DATA_... | 2020-09-01T13:39:00 | 2020-09-01T13:56:50 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,972,824 | 14,296 | simPod | You were right, I tried again and it disappeared. Thanks! | 2020-09-01T16:15:37 | 2020-09-01T16:15:37 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,406,304 | 14,347 | l1t1 | following syntaxs are equal
select count(*),round(scores)r,round(user_id/10)id from scores group by cube(r,id);
SELECT
count(*),
round(scores) AS r,
round(user_id / 10) AS id
FROM scores
GROUP BY
r,
id
WITH CUBE
| 2020-09-02T07:22:21 | 2020-09-02T07:22:21 | {} | NONE |
ClickHouse | ClickHouse | 684,730,093 | 14,327 | bohutang | You should remove the stale MaterializeMySQL metadata&data dir before starting 20.7.
Btw, why downgrade from 20.8 to 20.7? | 2020-09-01T10:17:47 | 2020-09-01T10:17:47 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,736,986 | 14,315 | KochetovNicolai | This fix is ok.
I plan to support `IStorage::read` which returns `IQueryPlanStep`. This should automatically solve this issue.
I am not happy that we add `IQueryPlanStep` to pipe, because it is needed right now only for specific `EXPLAIN` case. Probably, we may add step name to `IProcessor` and not dereference step... | 2020-09-01T10:22:21 | 2020-09-01T10:22:21 | {} | MEMBER |
ClickHouse | ClickHouse | 684,762,468 | 14,335 | alesapin | Can be merged without tests. | 2020-09-01T10:46:56 | 2020-09-01T10:46:56 | {} | MEMBER |
ClickHouse | ClickHouse | 684,883,096 | 14,321 | bohutang | Ping @alexey-milovidov for review. | 2020-09-01T14:10:15 | 2020-09-01T14:10:15 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,922,078 | 14,298 | OmarBazaraa | It seems that `sudo service clickhouse restart` causes the problem while `sudo systemctl restart clickhouse-server` does not. | 2020-09-01T15:04:49 | 2020-09-01T15:11:35 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,038,058 | 14,221 | bharatnc | > Not sure why one of the builds fails - the error doesn't seem relevant to introduced changes. Pls let me know if the build failure blocks the review.
@hagen1778 that failing build is not related to the changes in your PR and was fixed in https://github.com/ClickHouse/ClickHouse/pull/14237. You can rebase or merge... | 2020-09-01T18:02:44 | 2020-09-01T18:02:44 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,235,703 | 14,312 | alexey-milovidov | OOM in build: https://github.com/ClickHouse/ClickHouse/pull/14362 | 2020-09-02T01:56:51 | 2020-09-02T01:56:51 | {} | MEMBER |
ClickHouse | ClickHouse | 685,244,588 | 11,384 | alexey-milovidov | `system.metrics` and `system.asynchronous_metrics` already show zero values.
So, this setting is applicable only to `system.events` and should be named `system_events_show_zero_values`. | 2020-09-02T02:19:25 | 2020-09-02T02:19:25 | {} | MEMBER |
ClickHouse | ClickHouse | 685,085,730 | 14,349 | kssenii | This doc will be significantly changed when https://github.com/ClickHouse/ClickHouse/pull/12761 is merged (very soon), and this translation will be invalid and conflicting, so may be postpone Russian version, please? | 2020-09-01T19:30:19 | 2020-09-02T05:40:58 | {} | MEMBER |
ClickHouse | ClickHouse | 685,358,690 | 10,177 | simPod | @oik741 how do you find table `format_version` and how to eventually bump it? | 2020-09-02T06:44:38 | 2020-09-02T06:44:38 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,569,741 | 14,266 | keerthana-kannan-ch | @den-crane Thanks for the reply.
The problem I am facing now is that though I am summing up the per second values, the peak should be for a longer time range, like an hour. This is the DDL I am trying to use:
```
CREATE TABLE db.derived_metrics_local ON CLUSTER '{cluster}'
(
timestamp DateTime,
bytes UInt6... | 2020-09-01T08:30:42 | 2020-09-01T08:38:00 | {} | NONE |
ClickHouse | ClickHouse | 684,899,717 | 14,298 | OmarBazaraa | I am able to reproduce the bug using the following steps:
1. Create a VM with CentOS v8.2.2004
2. Install the latest ClickHouse using
```
sudo rpm --import https://repo.clickhouse.tech/CLICKHOUSE-KEY.GPG
sudo yum-config-manager --add-repo https://repo.clickhouse.tech/rpm/stable/x86_64
sudo yum i... | 2020-09-01T14:34:20 | 2020-09-01T14:34:20 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 684,981,453 | 11,948 | CurtizJ | Test runs:
```
sudo ./durability-test.sh test_sync create_sync.sql insert_sync.sql
```
```
...
Started ClickHouse
Executing query: CREATE TABLE test_sync (a Int, s String) ENGINE = MergeTree ORDER BY a SETTINGS fsync_after_insert = 1, min_compressed_bytes_to_fsync_after_merge = 1;
Will run in a loop query: ... | 2020-09-01T16:29:58 | 2020-09-01T16:45:00 | {} | MEMBER |
ClickHouse | ClickHouse | 685,002,122 | 157 | rikonor | Would also like to express our interest in this capability. Any idea if/when this will get more attention? Thanks! | 2020-09-01T17:01:44 | 2020-09-01T17:01:44 | {} | NONE |
ClickHouse | ClickHouse | 685,353,507 | 14,367 | filimonov | It plots `MemoryTracking` from `system.metrics`.
https://github.com/Altinity/clickhouse-zabbix-template/blob/7e643a555a335635b2ea8dc305838864a4990897/zbx_clickhouse_template.xml#L759-L763
That metric was misbehaving in prev versions (since switching to jemalloc, afair) and the behavior of that was changed in 20... | 2020-09-02T06:41:15 | 2020-09-02T06:57:03 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 685,399,657 | 14,347 | l1t1 | ```
SELECT *
FROM scores
┌─user_id─┬─scores─┐
│ 101 │ 60.50 │
│ 102 │ 50.25 │
│ 103 │ 80.00 │
│ 104 │ 90.00 │
│ 105 │ 99.00 │
│ 106 │ 92.75 │
│ 107 │ 75.00 │
│ 108 │ 89.75 │
│ 109 │ 90.25 │
│ 110 │ 0.00 │
│ 111 │ 60.00 │
│ 112 │ 100.00 │
└───... | 2020-09-02T07:10:49 | 2020-09-02T07:10:49 | {} | NONE |
ClickHouse | ClickHouse | 682,321,108 | 14,202 | donge | Just get lldb working on my MAC, maybe I can fix it myself.
Need some guidance to do this fix | 2020-08-28T04:41:34 | 2020-08-28T04:42:15 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 682,352,638 | 14,203 | donge | > Thank you, it looks good.
> Can you also try to create a test for it?
>
> See
> https://github.com/ClickHouse/ClickHouse/blob/25f55bb5ddc9d52da4542339fee4174ec924be18/tests/integration/test_storage_kafka/test.py#L766
Sure, thanks for the reminder. | 2020-08-28T06:29:21 | 2020-08-28T06:29:21 | {} | CONTRIBUTOR |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.