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 | 797,881,439 | 20,196 | vmihailenco | Looks like variation of https://github.com/ClickHouse/ClickHouse/issues/12587 | 2021-03-13T07:15:21 | 2021-03-13T07:15:21 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 798,771,689 | 21,678 | alexey-milovidov | > Testflows check — failed: 5, passed: 186, other: 12
@vzakaznikov will investigate. | 2021-03-13T19:24:32 | 2021-03-13T19:24:32 | {} | MEMBER |
ClickHouse | ClickHouse | 798,850,478 | 20,477 | azat | >Maybe we can go the opposite way and split off the resource accounting instead? I.e. add a possibility to tell the local secondary query: use this resource accounting context and don't create your own.
This is an option, but this will not allow to use separate memory tracking for these queries.
And actually I'm ... | 2021-03-14T07:22:51 | 2021-03-14T07:22:51 | {} | MEMBER |
ClickHouse | ClickHouse | 798,984,222 | 21,717 | den-crane | simpler
```
select a,b from t WHERE p > ( select toDateTime('2030-01-01 00:00:00' ) );
Elapsed: 0.298 sec. Processed 100.00 million rows
```
| 2021-03-14T21:35:33 | 2021-03-14T21:42:30 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,224,092 | 21,621 | filimonov | Don't you use multiple zookeepers in clickhouse? | 2021-03-15T08:32:28 | 2021-03-15T08:32:28 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,257,399 | 21,547 | alesapin | Release branch currently broken :( | 2021-03-15T09:20:33 | 2021-03-15T09:20:33 | {} | MEMBER |
ClickHouse | ClickHouse | 799,348,391 | 21,149 | vitlibar | About grpc protocol. I'm not 100% sure but it seems we could fix the compatibility with the parallel parsing by moving the line
```
initializeBlockInputStream(io.out->getHeader());
```
from [here](https://github.com/ClickHouse/ClickHouse/blob/1ede69e27707998cf6ce39cb9ec5925e6717d6f4/src/Server/GRPCServer.cpp#L7... | 2021-03-15T11:34:58 | 2021-03-15T11:34:58 | {} | MEMBER |
ClickHouse | ClickHouse | 799,421,397 | 21,740 | DipalPrajapati | Actually the issue was in data (hence in parsing) but it must not give such generic error related to kafka, which is misguiding . | 2021-03-15T13:31:24 | 2021-03-15T13:31:24 | {} | NONE |
ClickHouse | ClickHouse | 799,672,993 | 21,731 | alexey-milovidov | clang-11 should be used.
Here is how the official binaries are built: https://clickhouse-builds.s3.yandex.net/0/d7c43291b14092c7a393b5d3bfc2f9c8dd636c0b/clickhouse_build_check/build_log_919871481_1615825131.txt
1. Open the "commits" page:
https://github.com/ClickHouse/ClickHouse/commits/master
2. Find a commi... | 2021-03-15T18:58:54 | 2021-03-15T18:58:54 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 799,703,786 | 20,244 | Felixoid | Additional diagnostic from my side. I found an issue when the ssl is used.
Sadly I can't reproduce the issue in the wild, since I can't decode the ssl message. And when `curl`, `nc` or `openssl s_client` is used to send the message, it works.
```
2021.03.15 16:08:30.587272 [ 28790 ] {} <Error> void DB::ParallelP... | 2021-03-15T19:46:29 | 2021-03-15T19:46:29 | {} | MEMBER |
ClickHouse | ClickHouse | 797,990,556 | 21,594 | Maximus43 | Yes, It seems that segfault is related to the wrong definition of available memory. "Bare-metal" and KVM instances have no issues at all.
| 2021-03-13T09:06:10 | 2021-03-13T09:06:10 | {} | NONE |
ClickHouse | ClickHouse | 798,401,450 | 21,660 | amosbird | Cron job is in current roadmap. You can use external tools like crontab for now, with sql predicate : `time = toStartOfMinute(now()) - 180` | 2021-03-13T13:44:38 | 2021-03-13T13:44:38 | {} | COLLABORATOR |
ClickHouse | ClickHouse | 798,875,943 | 21,700 | alexey-milovidov | Thank you! | 2021-03-14T09:29:54 | 2021-03-14T09:29:54 | {} | MEMBER |
ClickHouse | ClickHouse | 799,142,716 | 21,716 | azat | >[Stress test (memory) — Hung check failed](https://clickhouse-test-reports.s3.yandex.net/21716/402bf77783cbda48a9ee1b748bfce3c52ef8fe11/stress_test_(memory).html#fail1)
#21724 | 2021-03-15T06:11:21 | 2021-03-15T06:11:21 | {} | MEMBER |
ClickHouse | ClickHouse | 799,197,090 | 21,725 | filimonov | It's not rfc3339
It's https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp
So submessage with 2 fields. | 2021-03-15T07:50:54 | 2021-03-15T07:50:54 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,320,932 | 21,731 | Sallery-X | macos llvm 11.1.0 | 2021-03-15T10:52:35 | 2021-03-15T10:52:35 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,363,783 | 21,149 | nikitamikhaylov | > there
I think it will work. | 2021-03-15T12:01:07 | 2021-03-15T12:01:07 | {} | MEMBER |
ClickHouse | ClickHouse | 799,483,600 | 21,185 | Slach | @kitaisreal could you look at this PR again? docs check pass | 2021-03-15T14:53:06 | 2021-03-15T14:53:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,538,389 | 21,731 | jindal-git | Can I use this thread to confirm how the official images are built for this version? Should I use gcc-10 on linux:
./packager --output-dir deb/out/ --package-type deb --compiler=gcc-10 | 2021-03-15T16:02:38 | 2021-03-15T16:02:38 | {} | NONE |
ClickHouse | ClickHouse | 798,771,654 | 21,678 | alexey-milovidov | > Performance — 3 faster, 9 slower, 74 unstable
Not significant or unrelated. | 2021-03-13T19:24:17 | 2021-03-13T19:24:17 | {} | MEMBER |
ClickHouse | ClickHouse | 799,559,592 | 21,747 | den-crane | Clickhouse version? | 2021-03-15T16:29:54 | 2021-03-15T16:29:54 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 798,269,180 | 21,697 | alexey-milovidov | @ucasFL There are several possible ways:
1. Allow RETURNING only if the query is using VALUES. Don't support it for other formats.
2. Allow to specify RETURNING in different place (the syntax is unclear, need to think more). | 2021-03-13T12:15:58 | 2021-03-13T12:15:58 | {} | MEMBER |
ClickHouse | ClickHouse | 799,223,098 | 21,648 | filimonov | > I'm wondering whether parameter kafka_max_block_size has an upper limit value?
There is no sense (usually) to set it to more than few millions. | 2021-03-15T08:31:02 | 2021-03-15T08:31:02 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 741,616,424 | 7,704 | filimonov | Apache Arrow recently added support for lists of struct parsing from Parquet.
https://issues.apache.org/jira/browse/ARROW-1644
And I guess now we can also add support for that.
Also there are some comments from Arrow maintainers in https://github.com/ClickHouse/ClickHouse/pull/8334
@maxulan are you interest... | 2020-12-09T08:26:50 | 2021-03-15T08:58:25 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,295,851 | 13,390 | vitlibar | Implemented via adding of a new optional clause GRANTEES for CREATE/ALTER USER commands:
```
CREATE USER ... GRANTEES {user | role | ANY | NONE} [,...] [EXCEPT {user | role} [,...]]
```
which specifies users or roles which are allowed to receive grants from this user on condition this user has also all required... | 2021-03-15T10:12:29 | 2021-03-15T10:12:29 | {} | MEMBER |
ClickHouse | ClickHouse | 799,447,209 | 21,738 | alexey-milovidov | They are not obsolete - if you're ok with CLA, you can agree with the terms. | 2021-03-15T14:05:31 | 2021-03-15T14:06:04 | {} | MEMBER |
ClickHouse | ClickHouse | 799,610,016 | 9,404 | alexey-milovidov | Parsing does not work correctly:
```
SELECT toDateTime64('1971-01-01 00:00:00', 0) - toIntervalYear(45)
Query id: 9387ca2b-6243-4bfa-b615-3cfee663d747
┌─minus(toDateTime64('1971-01-01 00:00:00', 0), toIntervalYear(45))─┐
│ 1926-01-01 00:00:00 │
└────────────────... | 2021-03-15T17:35:18 | 2021-03-15T17:35:18 | {} | MEMBER |
ClickHouse | ClickHouse | 797,873,104 | 21,638 | mbtolou | Your opinion about this :
```sql
select *
from test.updating final
SETTINGS keep_last_value_by_order_keys = true;
```
and
```sql
optimize test.updating final
SETTINGS keep_last_value_by_order_keys = true;
```
| 2021-03-13T05:52:33 | 2021-03-13T05:53:27 | {} | NONE |
ClickHouse | ClickHouse | 797,870,638 | 21,511 | azat | > [Stress test (address) — Hung check failed](https://clickhouse-test-reports.s3.yandex.net/21511/d7d9638ceb6bd702f34a88ee54f8f83197e90af5/stress_test_(address).html#fail1)
> [Stress test (thread) — Hung check failed](https://clickhouse-test-reports.s3.yandex.net/21511/d7d9638ceb6bd702f34a88ee54f8f83197e90af5/stress_t... | 2021-03-13T05:29:01 | 2021-03-13T07:40:57 | {} | MEMBER |
ClickHouse | ClickHouse | 797,886,808 | 20,196 | vmihailenco | intDivOrZero can be used as a workaround. | 2021-03-13T07:54:23 | 2021-03-13T07:54:23 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 797,883,087 | 21,694 | alexey-milovidov | Example:
(sorry, I don't know YAML, but I hope you will get the idea)
```
- match: "MSIE (\\d+)"
set:
version: "\\1"
os: 12
- match: "Windows"
set:
os: 13
- match: "Mozilla"
...
``` | 2021-03-13T07:29:12 | 2021-03-13T07:58:10 | {} | MEMBER |
ClickHouse | ClickHouse | 798,780,893 | 14,208 | saurabhdaga-merkle | @woozhijun @yd1261137568
were you able to fix this ?
I am seeing the same error in 19.17.5
For me, it's happening on one of the machines in a 4 node cluster.
Did you do a version upgrade ? | 2021-03-13T20:30:10 | 2021-03-13T20:30:36 | {} | NONE |
ClickHouse | ClickHouse | 799,058,319 | 21,660 | amosbird | The sql demo doesn't look like pre-aggregation. It aggregates per minute data and generates a new table. In these case, MV will suffice.
If you need pre-aggregation by minute, this https://github.com/ClickHouse/ClickHouse/pull/20202 will help. | 2021-03-15T03:07:07 | 2021-03-15T03:07:07 | {} | COLLABORATOR |
ClickHouse | ClickHouse | 799,231,652 | 13,832 | bun4uk | 20.10.5.10
Same bug | 2021-03-15T08:43:57 | 2021-03-15T08:43:57 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,253,826 | 21,621 | alesapin | This bug is quite rare but was introduced in 20.10 and fixed here https://github.com/ClickHouse/ClickHouse/pull/21264. | 2021-03-15T09:15:49 | 2021-03-15T09:15:49 | {} | MEMBER |
ClickHouse | ClickHouse | 799,276,898 | 21,621 | Zhile | Thanks @alesapin. This is really timely for us to know that. I think we have to use a new version for this.
BTW, we use three zookeeper nodes for ClickHouse cluster. These nodes are in same cluster. | 2021-03-15T09:45:51 | 2021-03-15T09:45:51 | {
"+1": 1
} | NONE |
ClickHouse | ClickHouse | 799,395,817 | 21,220 | Slach | great work, thanks a lot
| 2021-03-15T12:54:24 | 2021-03-15T12:54:24 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,517,185 | 16,503 | ucasfl | Why this pr stucked, we need it now :) @excitoon @azat @Akazz @alexey-milovidov | 2021-03-15T15:35:14 | 2021-03-15T15:35:14 | {} | COLLABORATOR |
ClickHouse | ClickHouse | 799,595,834 | 20,497 | kolechenkov | Is there a ETA of issue solving? | 2021-03-15T17:17:40 | 2021-03-15T17:17:40 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 798,083,138 | 21,697 | ucasfl | But I'm not very clear about the usage of it. I found in oracle, `insert into ... values .... returning ...` is work, while in ClickHouse, when parsing insert query, all data of the query after `values` is treated as data to be inserted. | 2021-03-13T10:10:04 | 2021-03-13T10:10:27 | {} | COLLABORATOR |
ClickHouse | ClickHouse | 798,602,691 | 21,701 | vialorn | @kssenii | 2021-03-13T16:36:55 | 2021-03-13T16:36:55 | {} | NONE |
ClickHouse | ClickHouse | 798,777,619 | 21,700 | azat | > [Stress test (address) — Hung check failed](https://clickhouse-test-reports.s3.yandex.net/21700/334520557c6cd5140fcc9fc54a34d855cf205e7b/stress_test_(address).html#fail1)
```
elapsed: 678.496210364
is_cancelled: 0
query: WATCH test.lv EVENTS
```
Should be addressed by #21... | 2021-03-13T20:07:07 | 2021-03-13T20:07:07 | {} | MEMBER |
ClickHouse | ClickHouse | 798,908,176 | 21,704 | alexey-milovidov | > when building on a x86 processor that doesn't have AVX/AVX2
But compiler still has the `-mavx` flag, `HAVE_AVX` will be set and it will compile these files successfully. | 2021-03-14T13:37:43 | 2021-03-14T13:37:43 | {} | MEMBER |
ClickHouse | ClickHouse | 798,965,440 | 17,956 | kolya7k | In 21.3.2 problem still exists:
```
Received exception from server (version 21.3.2):
Code: 8. DB::Exception: Received from localhost:9000. DB::Exception: Cannot find column `a.value` in source stream.
``` | 2021-03-14T19:31:10 | 2021-03-14T19:31:10 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,673,486 | 21,731 | alexey-milovidov | In "ClickHouse special build check" you will also find builds for Mac OS (they are named "darwin"). | 2021-03-15T18:59:45 | 2021-03-15T18:59:56 | {} | MEMBER |
ClickHouse | ClickHouse | 798,036,211 | 20,873 | sundarv85 | Thanks @den-crane This really helped. Especially the PDF really helped us understand how MV works... | 2021-03-13T09:39:36 | 2021-03-13T09:39:36 | {} | NONE |
ClickHouse | ClickHouse | 798,895,687 | 21,704 | mastertheknife | @alexey-milovidov
Thank you for clearing the confusion about -DDISABLE_CPU_OPTIMIZE.
I thought its adding -mavx and -mavx2 compile flags when supported by the current processor.
Definitely confusing and a good idea to remove it.
I'm also aware of the purpose of HAVE_AVX and HAVE_AVX2, these are set by cmake/cpu_fe... | 2021-03-14T12:05:29 | 2021-03-14T12:06:00 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 798,942,915 | 21,703 | sevirov | @vdimir Please, review this PR. | 2021-03-14T17:10:23 | 2021-03-14T17:10:23 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,329,224 | 21,641 | vitlibar | **Hung check failed (Stress test (memory))**
https://clickhouse-test-reports.s3.yandex.net/21641/37ce6e26d365787ac68933db782dca1c5180d571/stress_test_(memory)/test_run.txt.out.log
The following query hasn't finished for 94 seconds:
```
optimize table data_01641 final
```
Call stack:
```
#0 0x000000000906... | 2021-03-15T11:04:20 | 2021-03-15T11:04:20 | {} | MEMBER |
ClickHouse | ClickHouse | 799,417,753 | 20,477 | akuzm | > This is an option, but this will not allow to use separate memory tracking for these queries.
I am confused, do we want separate resource tracking or not? If we do want it, this secondary query becomes fully analogous to a query from remote node, so we could use the same interface then. | 2021-03-15T13:26:29 | 2021-03-15T13:26:29 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,684,436 | 20,512 | UnamedRus |
21.2.6.1
```
set max_threads=16;
┌──bucket1─┬────────────bucket2─┬────────────bucket3─┬────────────bucket4─┬───────────bucket5─┐
│ 49999992 │ 2147580161.8839498 │ 2146810489.4974673 │ 2146810489.4974673 │ 2147475952.823159 │
└──────────┴────────────────────┴────────────────────┴────────────────────┴─────────────... | 2021-03-15T19:15:42 | 2021-03-15T19:15:42 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 797,576,115 | 21,509 | kssenii | First dictionaries load (with loadAll):
**without** library bridge:
1000 rows in set. Elapsed: 0.034 sec. Processed 1.00 thousand rows, 32.00 KB (29.21 thousand rows/s., 934.59 KB/s.)
10000 rows in set. Elapsed: 0.189 sec. Processed 10.00 thousand rows, 320.00 KB (52.85 thousand rows/s., 1.69 MB/s.)
100000 rows... | 2021-03-12T15:49:47 | 2021-03-13T06:47:36 | {} | MEMBER |
ClickHouse | ClickHouse | 798,854,788 | 21,638 | mbtolou | https://github.com/ClickHouse/ClickHouse/issues/3852#issuecomment-465646350
```sql
drop table test.data_test;
create table test.data_test
(
ts DATETIME,
id VARCHAR,
v0 SimpleAggregateFunction(anyLast,Nullable(Float64)),
v1 SimpleAggregateFunction(anyLast,Nullable(Float64)),
v2 SimpleAggregateFunction(... | 2021-03-14T07:41:32 | 2021-03-14T07:43:30 | {
"heart": 1
} | NONE |
ClickHouse | ClickHouse | 798,875,322 | 21,520 | alexey-milovidov | Ok. Performance test showed improvement third time. | 2021-03-14T09:24:42 | 2021-03-14T09:24:42 | {} | MEMBER |
ClickHouse | ClickHouse | 798,966,813 | 21,691 | azat | > [Stress test (address) Hung check failed](https://clickhouse-test-reports.s3.yandex.net/21691/eb3710c164b991b8d4f86b1435a65f9eceb8f1f5/stress_test_(address).html#fail1)
#21716 | 2021-03-14T19:39:42 | 2021-03-14T19:39:42 | {} | MEMBER |
ClickHouse | ClickHouse | 798,983,270 | 21,717 | UnamedRus | 21.1.6.13
```
SELECT
a,
b
FROM t
WHERE p >
(
SELECT max(p)
FROM t2
)
LIMIT 200
0 rows in set. Elapsed: 0.018 sec.
``` | 2021-03-14T21:29:36 | 2021-03-14T21:29:36 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,407,405 | 21,738 | JasonKeirstead | If the CLA provisions are obsolete, can I suggest it be removed to eliminate confusion? | 2021-03-15T13:11:08 | 2021-03-15T13:11:08 | {} | NONE |
ClickHouse | ClickHouse | 797,877,723 | 20,182 | alexey-milovidov | The release is published, changelog is ready. | 2021-03-13T06:38:21 | 2021-03-13T06:38:21 | {} | MEMBER |
ClickHouse | ClickHouse | 798,408,238 | 13,544 | amosbird | Ubsan error query: `SELECT decrypt('aes-128-gcm', 'text', 'key', 'IV')` | 2021-03-13T13:49:56 | 2021-03-13T13:49:56 | {} | COLLABORATOR |
ClickHouse | ClickHouse | 798,772,341 | 21,678 | alexey-milovidov | > Hung check failed
Both cases have to be investigated, but they are not related to this PR. | 2021-03-13T19:28:44 | 2021-03-13T19:28:44 | {} | MEMBER |
ClickHouse | ClickHouse | 798,877,548 | 21,704 | alexey-milovidov | I see that the "DISABLE_CPU_OPTIMIZE" flag is
- undocumented;
- it's usage is incorrect.
I will simply remove that flag.
> When building with -DDISABLE_CPU_OPTIMIZE=ON on x86 (e.g. when targeting also CPUs without AVX/AVX2)
ClickHouse is built for CPUs without AVX by default - nothing has to be set. | 2021-03-14T09:42:13 | 2021-03-14T09:42:13 | {} | MEMBER |
ClickHouse | ClickHouse | 799,215,690 | 21,239 | Teeeto | So a possible flow would be.
1) Trivial.
XXX is inserted on replica 0 and gets a key (bit) 0000.....0001 where first two bits are replica id (00)
Insert is propagated to replica 1 together with mapping XXX : 0000.....001.
All subsequent inserts to both replicas use this mapping
2) Duplicate
XXX is inserted on r... | 2021-03-15T08:20:23 | 2021-03-15T08:20:23 | {} | NONE |
ClickHouse | ClickHouse | 799,296,326 | 21,661 | tavplubix | Functional stateless tests (debug) - 4 hours is not enough, timed out while executing test 00098, no tests failed
Integration tests (thread) - no test failures and no retries, looks like even 8 hours is not enough sometimes. List of the longest tests:
```
$ cat main_script_log.txt.out.log | grep "Running test group"... | 2021-03-15T10:13:14 | 2021-03-15T10:13:14 | {} | MEMBER |
ClickHouse | ClickHouse | 799,563,301 | 21,268 | kssenii | @olgarev, PR is fixed and merged. Can you, please, merge the changes?
Also, there are two PR's which also need PostgreSQL doc :)
https://github.com/ClickHouse/ClickHouse/pull/21711 (additional parameter `table_schema`)
https://github.com/ClickHouse/ClickHouse/pull/21710 (same as now supported for mysql) | 2021-03-15T16:34:55 | 2021-03-15T16:34:55 | {} | MEMBER |
ClickHouse | ClickHouse | 799,640,572 | 9,404 | alexey-milovidov | `toStartOfTenMinutes` is slowed down only in tz with fractional offset (`Asia/Kolkata`) - passable. | 2021-03-15T18:16:16 | 2021-03-15T18:16:16 | {} | MEMBER |
ClickHouse | ClickHouse | 797,874,865 | 21,674 | azat | >AST fuzzer (ASan) — Received signal 11
```
2021.03.12 23:55:17.288449 [ 92 ] {eadeabfd-50f0-4436-9a73-714ec4efefd1} <Debug> executeQuery: (from [::1]:36534, using production parser) SELECT '127.0.0.0/24' = dictGetString('database_for_dict.dict_ipv4_trie', 'prefixprefixprefixprefix', tuple(IPv4StringToNum('127.0.0.... | 2021-03-13T06:10:31 | 2021-03-13T06:10:31 | {} | MEMBER |
ClickHouse | ClickHouse | 797,883,738 | 21,694 | alexey-milovidov | Real world example is here: https://github.com/highpower/uatraits/blob/master/data/browser.xml | 2021-03-13T07:34:05 | 2021-03-13T07:34:05 | {} | MEMBER |
ClickHouse | ClickHouse | 798,772,844 | 21,520 | alexey-milovidov | Performance improvement is confirmed. | 2021-03-13T19:32:19 | 2021-03-13T19:32:19 | {} | MEMBER |
ClickHouse | ClickHouse | 799,316,961 | 21,599 | garutilorenzo | Hi @filimonov
i've made some changes to the logic of the user creation.
In some circumstances if i start and stop the container without destroying it the user definition file disappeard.
Now i test if the user definition file exist, if not the file will be created.
There is an unexpeted behavior (but i think i... | 2021-03-15T10:46:19 | 2021-03-15T10:46:19 | {} | NONE |
ClickHouse | ClickHouse | 799,606,674 | 21,755 | filimonov | ```
select * from system.storage_policies;
SELECT *
FROM system.storage_policies
Query id: c08c7d8f-6d94-4086-adc5-cba788cae125
┌─policy_name─┬─volume_name─┬─volume_priority─┬─disks───────────────────────┬─volume_type─┬─max_data_part_size─┬─move_factor─┬─prefer_not_to_merge─┐
│ default │ default │ ... | 2021-03-15T17:31:07 | 2021-03-15T17:31:07 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,693,570 | 17,317 | UnamedRus | 21.4.1
```
SELECT
str,
`15Id`
FROM test_extract
FORMAT Null
Query id: 9704556a-f5eb-4247-895c-9be653b8f015
Ok.
0 rows in set. Elapsed: 2.794 sec. Processed 2.00 million rows, 462.01 MB (715.81 thousand rows/s., 165.36 MB/s.)
SELECT `15Id`
FROM test_extract
FORMAT Null
Query id: 05868b8c-f... | 2021-03-15T19:29:41 | 2021-03-15T19:29:41 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,165,372 | 19,766 | ghost | Once I complete to fix the code, I will notify.
Sorry for the delay. | 2021-03-15T06:55:35 | 2021-03-15T07:09:00 | {} | NONE |
ClickHouse | ClickHouse | 799,584,404 | 9,404 | alexey-milovidov | Good news are that most of DateTime functions are not slowed down. | 2021-03-15T17:03:07 | 2021-03-15T17:03:07 | {} | MEMBER |
ClickHouse | ClickHouse | 799,688,065 | 17,317 | UnamedRus | 21.2.6
```
SELECT DISTINCT 15Id FROM test_extract;
Received exception from server (version 21.2.6):
Code: 128. DB::Exception: Received from localhost:9000. DB::Exception: Too large array size in the result of function extractAllGroupsHorizontal: while executing 'FUNCTION extractAllGroupsHorizontal(str :: 0, '\\... | 2021-03-15T19:21:06 | 2021-03-15T19:21:16 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 798,074,926 | 21,697 | ucasfl | Hi, I want to do this. | 2021-03-13T10:05:11 | 2021-03-13T10:05:11 | {
"rocket": 2
} | COLLABORATOR |
ClickHouse | ClickHouse | 798,834,352 | 21,657 | lcwxz1989 | I have make a mistake, I do not close the connection. Thx a lot | 2021-03-14T05:12:10 | 2021-03-14T05:12:10 | {} | NONE |
ClickHouse | ClickHouse | 798,998,645 | 21,717 | den-crane | haha, identity makes the query to use an index
```
select a,b from t WHERE p > identity((select p from t2 order by p desc limit 1)) limit 200;
Elapsed: 0.068 sec.
``` | 2021-03-14T23:16:34 | 2021-03-14T23:17:06 | {
"laugh": 2
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,217,577 | 21,725 | lddlww | thanks for reply
i use ```Tuple(seconds Int64, nanos Int32)``` to map ```google.protobuf.Timestamp```, it's work now | 2021-03-15T08:23:26 | 2021-03-15T08:23:26 | {
"+1": 1
} | NONE |
ClickHouse | ClickHouse | 799,400,899 | 21,738 | alexey-milovidov | You don't have to sign a CLA to contribute code.
> As an alternative, you can provide DCO instead of CLA. You can find the text of DCO here: https://developercertificate.org/ It is enough to read and copy it verbatim to your pull request.
> If you don't agree with the CLA and don't want to provide DCO, you still ... | 2021-03-15T13:01:42 | 2021-03-15T13:01:42 | {} | MEMBER |
ClickHouse | ClickHouse | 799,418,038 | 21,731 | fastio | Hi, modify the file contrib/libcxx/include/cstdlib:157, from ```if _LIBCPP_STD_VER > 14 && defined(_LIBCPP_HAS_ALIGNED_ALLOC)``` to ```if _LIBCPP_STD_VER > 17 && defined(_LIBCPP_HAS_ALIGNED_ALLOC)```
| 2021-03-15T13:26:50 | 2021-03-15T13:26:50 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,638,637 | 9,404 | alexey-milovidov | > toStartOfDay does not work properly
> toRelativeDayNum should be extended from UInt16
This is due to the limitations of DateTime / Date. Won't be fixed in this PR. | 2021-03-15T18:13:41 | 2021-03-15T18:13:41 | {} | MEMBER |
ClickHouse | ClickHouse | 799,638,735 | 21,757 | kssenii | @AlexeySadkovich, can you show all settings of the table? You use `rabbitmq_queue_base` setting? | 2021-03-15T18:13:50 | 2021-03-15T18:13:50 | {} | MEMBER |
ClickHouse | ClickHouse | 799,702,002 | 18,952 | alexey-milovidov | Any idea why Parquet test has failed? | 2021-03-15T19:43:32 | 2021-03-15T19:43:32 | {} | MEMBER |
ClickHouse | ClickHouse | 798,409,883 | 12,455 | amosbird | Weird CI errors... | 2021-03-13T13:51:19 | 2021-03-13T13:51:19 | {} | COLLABORATOR |
ClickHouse | ClickHouse | 799,046,536 | 21,660 | shadowDy | @amosbird Can materialized views be used to solve the pre aggregation of 99 percentile values? | 2021-03-15T02:24:09 | 2021-03-15T02:24:09 | {} | NONE |
ClickHouse | ClickHouse | 799,203,521 | 21,715 | alexey-milovidov | Example queries:
```
clickhouse-local --structure 'name String, size UInt64, iterations UInt64, num_threads UInt16, generator_variant UInt8, memcpy_variant UInt8, elapsed_ns UInt64' --query "SELECT size, name, avg(1000 * elapsed_ns / size / iterations) AS s, count() AS c FROM table GROUP BY size, name ORDER BY size... | 2021-03-15T08:01:44 | 2021-03-15T08:01:44 | {} | MEMBER |
ClickHouse | ClickHouse | 799,258,258 | 19,225 | maimaip | when i upgrade from 20.10.2.20 to 21.3.2 but i use comperss code is LZ4HC(6).then same error is happen。after 2 hour,my clickhouse-sever is restart every once in a while。

| 2021-03-15T09:21:35 | 2021-03-15T09:21:35 | {} | NONE |
ClickHouse | ClickHouse | 799,339,172 | 21,630 | nikitamikhaylov | But formatting in `clickhouse-local` became much faster
```
☁️ @jakalletti-build:~
↳ $ time clickhouse-local --output_format_parallel_formatting=1 --query "SELECT 'y' FROM system.numbers_mt" | head -c 10000000000 > /dev/null
Code: 75, e.displayText() = DB::ErrnoException: Cannot write to file (fd = 1), errno: 32,... | 2021-03-15T11:19:39 | 2021-03-15T11:19:39 | {} | MEMBER |
ClickHouse | ClickHouse | 799,427,886 | 21,539 | Farfaday | Hi,
I tested that with several versions, here in short:
- 20.12.3.3 and upwards are affected.
- 20.11.6.6 and downwards are NOT affected
Could it somehow be related to https://github.com/ClickHouse/ClickHouse/pull/16040 ?
I also tested without the "-1" in the PARTITION BY and it seems the issue went away:
`... | 2021-03-15T13:40:16 | 2021-03-15T13:40:16 | {} | NONE |
ClickHouse | ClickHouse | 799,565,049 | 21,376 | Jokser | Connection pool for S3 will be reverted here https://github.com/ClickHouse/ClickHouse/pull/21737 | 2021-03-15T16:37:30 | 2021-03-15T16:37:30 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,589,564 | 21,703 | sevirov | @vdimir Thank you very much for the review! | 2021-03-15T17:09:40 | 2021-03-15T17:09:40 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,717,076 | 21,438 | ilejn | I do not think that stress test issue is relevant, although it is slightly suspicious.
Performance test issues are definitely not related.
How can I make description check happy? | 2021-03-15T20:08:07 | 2021-03-15T20:08:07 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,386,927 | 21,220 | alexey-milovidov | > Docs check — Docs check passed
Finally. | 2021-03-15T12:40:11 | 2021-03-15T12:40:11 | {
"hooray": 1
} | MEMBER |
ClickHouse | ClickHouse | 798,902,327 | 21,709 | kitaisreal | No issue in 21.3. | 2021-03-14T12:57:00 | 2021-03-14T12:57:00 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 799,047,097 | 21,648 | winter7 | @filimonov Thanks for the help!
I'm wondering whether parameter `kafka_max_block_size` has an upper limit value? | 2021-03-15T02:26:11 | 2021-03-15T02:26:11 | {} | NONE |
ClickHouse | ClickHouse | 799,271,748 | 19,225 | alesapin | > when i upgrade from 20.10.2.20 to 21.3.2 but i use comperss code is LZ4HC(6).then same error is happen。after 2 hour,my clickhouse-sever is restart every once in a while。
> 
Hi, this looks quite weird. Ca... | 2021-03-15T09:39:04 | 2021-03-15T09:39:04 | {} | MEMBER |
ClickHouse | ClickHouse | 790,545,963 | 21,440 | vdimir | If it's suitable for you to store `words` in memory you can try [Join table engine](https://clickhouse.tech/docs/en/engines/table-engines/special/join/)
`CREATE TABLE words (id UInt64) ENGINE = Join(ALL, INNER, id);`
You will be able to perform usual select queries from `words` also it will be reloaded after ser... | 2021-03-04T11:28:50 | 2021-03-04T11:28:50 | {} | MEMBER |
ClickHouse | ClickHouse | 790,610,737 | 20,334 | maehrlae | Thank you a lot for your analysis! Would maybe not a bad idea from legal point of view to replace the code in setTerminalEcho.cpp.
The libdivide finding might just be a piece of code that has to be written the way it is. | 2021-03-04T13:16:57 | 2021-03-04T13:16:57 | {} | NONE |
ClickHouse | ClickHouse | 790,687,676 | 20,577 | gyuton | @vdimir Hi! Can you review this, please? | 2021-03-04T15:10:33 | 2021-03-04T15:10:33 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 790,736,148 | 21,413 | citrin | > I cannot reproduce it with 21.3 , I tried all tricks.
Quite strange. Hard to say what affects this problem. Here is the full session with docker image `yandex/clickhouse-server:20.3.21.2` (with the config from this docker image):
```
root@0771e26fe894:/# clickhouse-client
ClickHouse client version 20.3.21.2 (of... | 2021-03-04T16:15:27 | 2021-03-04T16:35:33 | {} | CONTRIBUTOR |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.