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 | 709,325,881 | 16,005 | den-crane | > Проблема случилась во время так называемой миграции, ошиблись в названии
Ну удалите этот испорченный файл. И перевставьте. -- Это официальный протокол починки в этом случае.
ах да, точно, у distributed нет отдельного файла чексумм, она в самом bin файле | 2020-10-15T13:30:15 | 2020-10-15T13:46:59 | {
"+1": 2
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,369,099 | 16,021 | alifirat | Oh it's weird, I've just tested on a ClickHouse cluster and I have the same results than you.
But when I'm using an HTTP client, the header name is different `X-Clickhouse-Query-Id` for example.
I suppose that should be related to the http client that I'm using ?
Ok when I'm reading this https://github.com/Click... | 2020-10-15T14:36:10 | 2020-10-15T14:44:46 | {} | NONE |
ClickHouse | ClickHouse | 709,547,581 | 15,823 | alesapin | Can you add one more case, when we have `PRIMARY KEY` in new syntax, but no `ORDER BY`? Also, it would be nice to check some complex expression, like `PRIMARY KEY(x, toString(x * y))`. | 2020-10-15T19:37:14 | 2020-10-15T19:37:14 | {} | MEMBER |
ClickHouse | ClickHouse | 709,596,122 | 7,666 | SaltTan | The grouping issue is still relevant in 20.9.3.45 | 2020-10-15T21:18:35 | 2020-10-15T21:18:35 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,605,339 | 10,055 | alexey-milovidov | Most likely this is a bug in Poco library. | 2020-10-15T21:40:09 | 2020-10-15T21:40:09 | {} | MEMBER |
ClickHouse | ClickHouse | 709,927,182 | 16,064 | gaoyang-projects | > 1. clickhouse version?
> 2. `select * from system.settings where changed`
> 3. kafka message structure - please provide / dump "as is" - i see you use JSONEachRow, but the sample you show is multiline.
1-2. updated to Additional context
3. kafka message structure is pretty print for human to read, in fact each ... | 2020-10-16T09:11:13 | 2020-10-16T09:11:13 | {
"+1": 1
} | NONE |
ClickHouse | ClickHouse | 708,917,209 | 15,187 | chang0391 | I'm not using prefix indexes, and I don't know which table caused this problem because we have hundreds of tables
If table based synchronization could be implemented, I will use the method to sync instead of the whole database | 2020-10-15T05:58:54 | 2020-10-15T05:58:54 | {} | NONE |
ClickHouse | ClickHouse | 709,653,400 | 16,005 | den-crane | BTW, `insert into sometable select * from file('/path/to/file.bin', 'Distributed')`
https://github.com/ClickHouse/ClickHouse/pull/9653 | 2020-10-16T00:10:56 | 2020-10-16T00:10:56 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,920,762 | 15,356 | spihiker | Thank you. | 2020-10-16T08:58:37 | 2020-10-16T08:58:37 | {} | NONE |
ClickHouse | ClickHouse | 709,937,909 | 11,426 | peaksnail | hi
Is there any progress? | 2020-10-16T09:32:13 | 2020-10-16T09:32:13 | {} | NONE |
ClickHouse | ClickHouse | 708,882,810 | 8,396 | den-crane | Issue related to `deduplicate_blocks_in_dependent_materialized_views`
https://clickhouse.tech/docs/en/operations/settings/settings/#settings-deduplicate-blocks-in-dependent-materialized-views
When insert into source is deduplicated when no insert into MV happen because of `deduplicate_blocks_in_dependent_materialized... | 2020-10-15T04:02:05 | 2020-10-15T04:02:05 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,694,206 | 3,470 | GanBob | hello,I am troubled by this situation:
clickhouse-client -q "select toStartOfMinute(toDateTime(0));"
0000-00-00 00:00:00
clickhouse-client -q "select toStartOfHour(toDateTime(0));"
0000-00-00 00:00:00
clickhouse-client -q "select toDate(toDateTime(0));"
0000-00-00
clickhouse-client -q "select toStartOfYear(to... | 2020-10-16T02:35:20 | 2020-10-16T02:35:20 | {} | NONE |
ClickHouse | ClickHouse | 709,775,737 | 16,050 | l1t1 | you need a higher version and set allow_experimental_bigint_types .
```sql
CREATE TABLE ttt
(
`id` UInt256
)
ENGINE = Log
Received exception from server (version 20.9.2):
Code: 44. DB::Exception: Received from localhost:9000. DB::Exception: Cannot create table with column 'id' which type is 'UInt256' b... | 2020-10-16T04:56:06 | 2020-10-16T04:56:06 | {} | NONE |
ClickHouse | ClickHouse | 709,779,748 | 15,996 | l1t1 | thank you , i misundertood the p and s, it works now. btw, the avg() funciton works well too.
```
CREATE TABLE sfz3
(
`code` Decimal128(0)
)
ENGINE = MergeTree()
ORDER BY code
Ok.
0 rows in set. Elapsed: 0.036 sec.
INSERT INTO sfz3 SELECT *
FROM sfz2
Received exception from server (version 20.... | 2020-10-16T05:01:52 | 2020-10-16T05:01:52 | {} | NONE |
ClickHouse | ClickHouse | 708,880,127 | 15,883 | zhang2014 | 执行```cat ${ClickHouse的数据目录下}/metadata/test_database/.metadata``` 得到如下内容:
```text
Version: 2
Binlog File: binlog.000026
Executed GTID: 2ac45abe-931e-11ea-8515-607d56350782:1-131
Binlog Position: 10046316
Data Version: 1%
```
去MySQL数据目录下找到对应的binlog文件(最好包含后续的binlog文件, binlog.0000xx 其中xx为binlog的顺序, 在这个例子中找到比26大的所... | 2020-10-15T03:53:17 | 2020-10-15T03:53:17 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,883,301 | 14,977 | ghost | @alexey-milovidov
I wonder what should I do to merge this PR.
If you don't mind, could you review this PR?
Thank you. | 2020-10-15T04:03:54 | 2020-10-15T04:03:54 | {} | NONE |
ClickHouse | ClickHouse | 709,019,902 | 15,996 | l1t1 | and try to convert Int128 to Decimal(38) failed too
```
INSERT INTO sfz3 SELECT *
FROM sfz2
Received exception from server (version 20.9.2):
Code: 70. DB::Exception: Received from localhost:9000. DB::Exception: Conversion from Int128 to Decimal(38, 38) is not supported: while converting source column code to d... | 2020-10-15T09:06:33 | 2020-10-15T09:06:33 | {} | NONE |
ClickHouse | ClickHouse | 709,136,040 | 14,794 | mateng0915 | Hello, i have one question,
Can I use partial_merge to avoid the problem of insufficient memory? | 2020-10-15T10:37:42 | 2020-10-15T10:37:42 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,309,461 | 16,005 | den-crane | Всем привет, есть Вопрос: пришол бинарь с кривыми внутри даннми(мой косяк). КХ его не смог вставить в таблицу и перестал обрабатывать другие данные. Я просто открыл бинарник на редактирование и исправил неверное поле. После этого КХ взял файл и выдал ошибку о неверное чексумме.
Checksum of extra info doesn't match: co... | 2020-10-15T13:02:05 | 2020-10-15T13:02:05 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,313,586 | 15,995 | den-crane | What column is used as sharding_key in outer_distributed and inner_distributed? organization_id ?
show create table outer_distributed
show create table inner_distributed | 2020-10-15T13:09:30 | 2020-10-15T13:09:30 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,314,839 | 15,987 | akuzm | Perf test broken in master.
Stress test as well https://github.com/ClickHouse/ClickHouse/issues/14414#issuecomment-708967987 | 2020-10-15T13:11:44 | 2020-10-15T13:11:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,318,993 | 15,199 | alexey-milovidov | @filimonov Merge with master.
@KochetovNicolai Maybe it sounds familiar. | 2020-10-15T13:19:02 | 2020-10-15T13:19:02 | {} | MEMBER |
ClickHouse | ClickHouse | 709,553,942 | 16,038 | Akazz | LGTM,
will merge in if tests are okay | 2020-10-15T19:49:51 | 2020-10-15T19:49:51 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,712,712 | 15,951 | bohutang | > @BohuTANG , have you began to fix it?
It's already in our queue.
It should start when this https://github.com/ClickHouse/ClickHouse/pull/15977 is over. | 2020-10-16T03:42:30 | 2020-10-16T03:42:30 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,714,997 | 15,989 | den-crane | >How do I know that the folders of this partition have been merged?
You don't need to know.
But if you want you can check count of parts in system.parts group by partition.
>What is the meaning of active in the system.parts table?
https://clickhouse.tech/docs/en/operations/system-tables/parts/
_active (UIn... | 2020-10-16T03:51:44 | 2020-10-16T03:51:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,834,444 | 15,001 | IVitamin-C | > It's a bug. #16007
>
> BTW, I also implemented support of cache layout for Redis dictionaries. #15985
Thanks! | 2020-10-16T06:20:56 | 2020-10-16T06:20:56 | {} | NONE |
ClickHouse | ClickHouse | 708,951,483 | 15,646 | excitoon | @alexey-milovidov It would be possible to add test if 1) we had access to some real S3 instance; or 2) I can make custom S3 server in Python which would check for signature and region but that's pretty complicated because I would need to have special name of host. | 2020-10-15T07:15:07 | 2020-10-15T07:15:07 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,987,250 | 15,896 | rchailan | Hi, as proposed by @filimonov , deactivating most of external libraries -- still with gcc-9 -- has worked.
I think for my purpose it will be ok to use it as is ! Thanks !!
Still wondering, clang-11 over gcc-9: is that for compatibility or performance (or both)? | 2020-10-15T08:24:24 | 2020-10-15T08:24:24 | {} | NONE |
ClickHouse | ClickHouse | 709,310,588 | 16,005 | den-crane | что будет если удалить файл с чексуммами?
Но вообще такое не поддерживается и пересчета чексумм не предусмотрено. Почему инсерт прошел в Distributed таблицу и не прошел в MergeTree ? У них разная структура?
| 2020-10-15T13:04:06 | 2020-10-15T13:04:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,643,551 | 7,463 | alexey-milovidov | It works perfectly. | 2020-10-15T23:34:09 | 2020-10-15T23:34:09 | {} | MEMBER |
ClickHouse | ClickHouse | 709,667,568 | 15,073 | sundy-li | > you have any numbers? (performance related)
Yes, I will create some performance tests in this pr later.
A simple show of this engine with bitmap value, but the results may diff to varying filter conditions.
```
CREATE TABLE default.ma_tree
(
`key` String,
`value` AggregateFunction(groupBitmap, UInt64... | 2020-10-16T00:59:11 | 2020-10-16T01:43:04 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,776,710 | 15,951 | liangli1213 | Noted, thanks very much. | 2020-10-16T04:57:33 | 2020-10-16T04:57:33 | {} | NONE |
ClickHouse | ClickHouse | 708,999,781 | 15,953 | l1t1 | sum() is also bad, if i use Int128 type, it can do right, but avg() is still not accurate
```sql
SELECT sum(code)
FROM sfz
┌──────────sum(code)─┐
│ 682658504670491840 │
└────────────────────┘
set allow_experimental_bigint_types =1;
create table sfz2(code Int128)ENGINE = MergeTree()order by code;
insert into ... | 2020-10-15T08:47:31 | 2020-10-15T08:47:31 | {} | NONE |
ClickHouse | ClickHouse | 709,329,892 | 15,956 | den-crane | It seems you have multiple servers with different versions. Try to upgrade all servers to 20.9.3.45
The first query is executed JOIN at shards **and the shard with version 20.5.4 failed because of lack of memory**.
Each shard of rp_credit_sms_cmcc a did join at itself.
20.5.4 is out of support. | 2020-10-15T13:36:46 | 2020-10-15T13:38:10 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,363,087 | 16,021 | alexey-milovidov | No, it's ClickHouse.
```
milovidov@milovidov-desktop:~/work/ClickHouse/$ curl -v http://localhost:8123/ -d 'SELECT 1'
* Trying 127.0.0.1:8123...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 8123 (#0)
> POST / HTTP/1.1
> Host: localhost:8123
> User-Agent: curl/7.65.3
> Accept: */*
> Content-... | 2020-10-15T14:27:12 | 2020-10-15T14:27:12 | {} | MEMBER |
ClickHouse | ClickHouse | 709,545,115 | 15,823 | alesapin | > @alesapin could you please help with AST fuzzer check. Or how can I reproduce this locally ? Thanks.
Just don't care about it. All failures are known. | 2020-10-15T19:31:57 | 2020-10-15T19:31:57 | {} | MEMBER |
ClickHouse | ClickHouse | 709,601,957 | 16,000 | alexey-milovidov | `argument_types` is temporary variable, when control flow returns from function, it is destroyed, and the returning reference becomes automatically invalid. | 2020-10-15T21:31:31 | 2020-10-15T21:31:39 | {} | MEMBER |
ClickHouse | ClickHouse | 709,663,604 | 16,044 | vzakaznikov | @vitlibar, could you please review this PR? We would like to merge it as soon as possible once the CI is green. | 2020-10-16T00:44:31 | 2020-10-16T00:44:31 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,503,600 | 15,206 | nvartolomei | The actual result is:
```
Code: 48. DB::Exception: Received from localhost:9000. DB::Exception: Alter of type 'ADD COLUMN' is not supported by storage MaterializedView.
```
This is intended as the environment I did this for had some odd table structures that did not match what you could usually infer from the s... | 2020-10-14T16:07:27 | 2020-10-15T10:05:16 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,318,899 | 15,995 | chripede | These are the minimum tables to create the problem:
```
create table if not exists outer
(
id UInt64,
organization_id UInt64,
version UInt64
)
engine = ReplicatedReplacingMergeTree('/clickhouse/tables/{layer}-{shard}/outer', '{replica}', version)
PARTITION BY organization_id % 8
ORDER BY (organization_id... | 2020-10-15T13:18:53 | 2020-10-15T13:18:53 | {} | NONE |
ClickHouse | ClickHouse | 709,424,411 | 16,030 | Avogar | I messed up with brunches and commits a little bit:)
The actual PR is here: https://github.com/ClickHouse/ClickHouse/pull/16032
| 2020-10-15T15:59:57 | 2020-10-15T16:05:06 | {} | MEMBER |
ClickHouse | ClickHouse | 708,875,823 | 15,952 | trollhe | > @trollhe file -- function. No need to create a table.
>
> https://clickhouse.tech/docs/en/sql-reference/table-functions/file/
>
> And I think you can use wildcards for a file name `*.csv.gz`
>
> ```
> SELECT *
> FROM file('*.csv.gz', 'CSV', 'column1 UInt32, column2 UInt32, column3 UInt32')
> LIMIT 2
> ``... | 2020-10-15T03:39:17 | 2020-10-15T03:39:17 | {} | NONE |
ClickHouse | ClickHouse | 708,973,275 | 15,972 | FlyLi123 | > Do you use clang from `brew`?
Thanks for your reminder, the default clang is come from Xcode, i can build clickhouse successfully after use the right clang. | 2020-10-15T07:58:45 | 2020-10-15T07:58:45 | {} | NONE |
ClickHouse | ClickHouse | 709,350,233 | 16,006 | alesapin | Yes, we have time again. | 2020-10-15T14:07:24 | 2020-10-15T14:07:24 | {} | MEMBER |
ClickHouse | ClickHouse | 708,966,040 | 15,857 | KochetovNicolai | Stress test is reported. | 2020-10-15T07:44:51 | 2020-10-15T07:44:51 | {} | MEMBER |
ClickHouse | ClickHouse | 708,981,863 | 15,953 | l1t1 | avg() 's result is wrong for Int64
```sql
SELECT
count(*),
max(code),
min(code),
avg(code),
substr(toString(code), 1, 4) AS k
FROM sfz
GROUP BY k
ORDER BY k ASC
┌─count()─┬──────────max(code)─┬──────────min(code)─┬───────────avg(code)─┬─k────┐
│ 5000000 │ 110099200006000099 │ 110000200... | 2020-10-15T08:14:12 | 2020-10-15T08:14:12 | {} | NONE |
ClickHouse | ClickHouse | 709,289,413 | 11,298 | abyss7 | Status for now (0_stateless): `581 failed, 1311 passed` | 2020-10-15T12:36:51 | 2020-10-15T12:36:51 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,320,626 | 16,005 | zakabluk | @den-crane Проблема случилась во время так называемой миграции, ошиблись в названии. Поэтому так получилось.
`что будет если удалить файл с чексуммами?` я никогда с этим не сталкивался, можно ссылку или как это сделать и это больше ни на что не повлияет? | 2020-10-15T13:21:48 | 2020-10-15T13:21:48 | {} | NONE |
ClickHouse | ClickHouse | 709,321,629 | 15,982 | akuzm | Perf test broken in master. | 2020-10-15T13:23:28 | 2020-10-15T13:23:28 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,509,535 | 16,032 | tavplubix | Some queries like `select * from system.tables` or `select * from system.columns` still may fail for the same reason when MySQL is not available. Maybe we should return cached result from `DatabaseConnectionMySQL::getCreateTableQueryImpl(...)` and `DatabaseConnectionMySQL::getTablesIterator(...)`? | 2020-10-15T18:24:45 | 2020-10-15T18:25:13 | {} | MEMBER |
ClickHouse | ClickHouse | 709,538,691 | 16,006 | alesapin | Test failures not related to changes. | 2020-10-15T19:18:20 | 2020-10-15T19:18:20 | {} | MEMBER |
ClickHouse | ClickHouse | 709,576,508 | 16,044 | MyroTk | Reopening https://github.com/ClickHouse/ClickHouse/pull/14152 with changes. | 2020-10-15T20:36:31 | 2020-10-15T20:36:31 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,663,244 | 15,945 | vzakaznikov | Sorry that I did get to it. Swamped with other tasks. The fix looks good. | 2020-10-16T00:43:07 | 2020-10-16T00:43:07 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,712,922 | 15,989 | gubinjie | @den-crane
How do I know that the folders of this partition have been merged?
What is the meaning of active in the system.parts table? | 2020-10-16T03:43:10 | 2020-10-16T03:43:10 | {} | NONE |
ClickHouse | ClickHouse | 708,983,492 | 15,953 | l1t1 | add toFoloat64() can get right result
```sql
SELECT
count(*),
max(code),
min(code),
avg(toFloat64(code)),
substr(toString(code), 1, 4) AS k
FROM sfz
GROUP BY k
ORDER BY k ASC
┌─count()─┬──────────max(code)─┬──────────min(code)─┬─avg(toFloat64(code))─┬─k────┐
│ 5000000 │ 110099200006000... | 2020-10-15T08:17:17 | 2020-10-15T08:17:17 | {} | NONE |
ClickHouse | ClickHouse | 709,244,664 | 15,001 | CurtizJ | It's a bug. #16007
BTW, I also implemented support of cache layout for Redis dictionaries. #15985 | 2020-10-15T12:01:53 | 2020-10-15T12:03:27 | {} | MEMBER |
ClickHouse | ClickHouse | 706,364,383 | 15,454 | azat | >I suppose we don't need a new parameter for dictionary. It will only make things even more complex ...
So now the preallocation will be done automatically iff:
- source is clickhouse
- there is no filtering (i.e. no `<where>`) | 2020-10-09T19:29:26 | 2020-10-15T12:14:49 | {} | MEMBER |
ClickHouse | ClickHouse | 709,294,693 | 15,199 | filimonov | stress test (undefined)
```
2020.10.14 18:47:03.187193 [ 22881 ] {c3234eab-827d-4141-9f24-94328226f5cf} <Debug> executeQuery: (from [::1]:41780) SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)
2020.10.14 18:47:03.222702 [ 22881 ] {c3234eab-827d-4141-9f24-94328226... | 2020-10-15T12:43:24 | 2020-10-15T12:43:48 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,652,233 | 16,035 | alexey-milovidov | I've written a test but cannot reproduce it.
Do you use non-official build? | 2020-10-16T00:06:55 | 2020-10-16T00:06:55 | {} | MEMBER |
ClickHouse | ClickHouse | 709,867,864 | 16,036 | alesapin | Now some unit tests are broken because they check code with `LOGICAL_ERROR` | 2020-10-16T07:10:42 | 2020-10-16T07:10:42 | {} | MEMBER |
ClickHouse | ClickHouse | 709,838,453 | 16,035 | filimonov | I use official build from CI. It reproduces not always.
UPD: i've added some comments in PR | 2020-10-16T06:27:34 | 2020-10-16T07:11:14 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,870,977 | 15,998 | filimonov | > As far as I know, each message can be read only once in kafka engine and manually querying a kafka engine table would cause messages not to be consumed by materialized_view.
> I'm wondering how to forbid user from querying kafka engine table so that data accuracy will not be affected by misoperation.
Maybe it's w... | 2020-10-16T07:15:51 | 2020-10-16T07:15:51 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,978,811 | 15,989 | nickevin | 
| 2020-10-15T08:08:36 | 2020-10-15T08:10:47 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,307,216 | 15,199 | filimonov | Nothing. Its only sig_abort
```
mfilimonov@laptop5591:/tmp/mozilla_mfilimonov0$ cat clickhouse-server.log | grep -i 'Code: 49'
mfilimonov@laptop5591:/tmp/mozilla_mfilimonov0$ cat clickhouse-server.log | grep -i 'Logical'
3. DB::FunctionsLogicalDetail::FunctionUnaryLogical<DB::FunctionsLogicalDetail::NotImpl, DB:... | 2020-10-15T12:58:15 | 2020-10-15T12:58:15 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,326,180 | 15,987 | alexey-milovidov | @akuzm @filimonov I bet it is the intended behaviour.
Try to create 100 000 MergeTree tables and look what will be CPU usage. | 2020-10-15T13:30:41 | 2020-10-15T13:31:16 | {} | MEMBER |
ClickHouse | ClickHouse | 709,501,169 | 16,000 | decaseal | Sorry for these mistakes, but I'm not a C++ developer and I have no errors during build on my machine.
How can i fix error:
`reference to stack memory associated with local variable 'argument_types' returned`
In the function:
```c++
const DataTypes & getArgumentTypes() const override
{
DataTypes argumen... | 2020-10-15T18:11:22 | 2020-10-15T18:11:22 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,610,425 | 16,043 | alexey-milovidov | Some settings about self-signed sertificates are not applied:
```
Oct 16,2020 0:33:31 ⟥ When I login as user2 and execute query
Oct 16,2020 0:33:31 ⟥ By executing command
echo -e "SELECT 1" | clickhouse client -n --user "user2" --password "user2"... | 2020-10-15T21:53:41 | 2020-10-15T21:53:41 | {} | MEMBER |
ClickHouse | ClickHouse | 709,926,223 | 16,038 | Akazz | Performance tests "failure" is irrelevant to the subject of this PR | 2020-10-16T09:09:21 | 2020-10-16T09:09:21 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,927,467 | 16,065 | filimonov | > this scheme can not be successfully implemented
what do you mean?
For large insert ... select you may want to adjust several settings:
```
set
max_insert_threads=4, /* flush to target table in parallel */
max_threads=4, /* don't use too many thread during select */
min_insert_block_size_byte... | 2020-10-16T09:11:47 | 2020-10-16T09:12:03 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,916,835 | 15,883 | yanchaoguo | `[root@VM_8_129_centos` ~]# cat /data//work/clickhouse/metadata/bigdata_db/.metadata
Version: 2
Binlog File: mysql-bin.000243
Executed GTID: 19831069-f04c-11e7-8e4b-6c92bf479de4:1-514984,262b31bb-f04c-11e7-a29b-c81fbecfcfdf:1-111,535eacda-93b3-11e9-848d-a4dcbef43ebe:1-913541241,5fc474d5-93b3-11e9-88a7-e435c87fc7f2:1... | 2020-10-15T05:57:54 | 2020-10-15T05:57:54 | {} | NONE |
ClickHouse | ClickHouse | 708,965,757 | 14,414 | KochetovNicolai | `heap-use-after-free`, msan, `MergedBlockOutputStream`: https://clickhouse-test-reports.s3.yandex.net/15857/1bcacde8d53fe25d5a2d79521402305091bbe033/stress_test_(thread).html#fail1
```
WARNING: ThreadSanitizer: heap-use-after-free (pid=346)
Read of size 4 at 0x7b6c055722e0 by thread T148 (mutexes: write M9107070... | 2020-10-15T07:44:17 | 2020-10-15T07:44:17 | {} | MEMBER |
ClickHouse | ClickHouse | 709,290,024 | 12,736 | vzakaznikov | @vitlibar, this PR seems to be ready for merge. Is there anything else that is holding it? | 2020-10-15T12:37:37 | 2020-10-15T12:37:37 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,491,005 | 16,035 | alexey-milovidov | BTW, We limit the number of tables to 10 000 in suggest. | 2020-10-15T17:53:10 | 2020-10-15T17:53:19 | {} | MEMBER |
ClickHouse | ClickHouse | 709,588,978 | 16,035 | alexey-milovidov | Suggest should be destroyed earlier. Not in global destructors. Otherwise the order of destruction is undetermined. | 2020-10-15T21:03:51 | 2020-10-15T21:03:51 | {} | MEMBER |
ClickHouse | ClickHouse | 709,826,200 | 15,856 | vladimir-golovchenko | @nikitamikhaylov could you check this PR? | 2020-10-16T06:13:36 | 2020-10-16T06:13:49 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,873,363 | 7,401 | den-crane | It's not the relevant issue anymore.
TTL has been improved.
And no provable info for reproduction.
>It doesn't delete parts and I see them in SELECT partition FROM system.parts ...
It's expected behavior (by design) -- empty parts after TTL. It will be addressed. | 2020-10-15T03:30:12 | 2020-10-15T03:30:30 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,312,092 | 15,199 | filimonov | stderr - just before 'unclear restart' has a message:
```
double free or corruption (out)
``` | 2020-10-15T13:06:48 | 2020-10-15T13:06:48 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,383,712 | 16,007 | alesapin | Need to disable test in arcadia. | 2020-10-15T14:58:15 | 2020-10-15T14:58:15 | {} | MEMBER |
ClickHouse | ClickHouse | 709,488,578 | 15,822 | akuzm | Fast test was probably failing because of broken server restart, fixed here https://github.com/ClickHouse/ClickHouse/pull/15975
Perf test broken in master.
Stress test fixed here https://github.com/ClickHouse/ClickHouse/pull/15999 | 2020-10-15T17:48:44 | 2020-10-15T17:48:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,618,083 | 16,045 | SaltTan | Related #15598?
```
SELECT *
FROM system.replicas
Row 1:
──────
database: default
table: test_no_zk
engine: ReplicatedMergeTree
is_leader: 0
can_become_leader: 1
is_readonly: 1
is_session_expired: 1... | 2020-10-15T22:14:29 | 2020-10-15T22:14:29 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,619,159 | 16,037 | alexey-milovidov | > My question is, does it do it atomically with writing the block?
Not quite. All the logic is located in `ReplicatedMergeTreeBlockOutputStream::commitPart` function.
> I think this should be the process (please correct me, if it is different)
The process is roughly the following:
1. Write data to filesyste... | 2020-10-15T22:17:33 | 2020-10-15T22:20:59 | {
"+1": 2
} | MEMBER |
ClickHouse | ClickHouse | 709,699,958 | 12,185 | ucasfl | :) with toDate('2018-01-01') as d, toDateTime('2018-01-01 00:00:00') as dt select DATE_ADD(year, 1, d), DATE_ADD(year, 1, dt)
```sql
WITH
toDate('2018-01-01') AS d,
toDateTime('2018-01-01 00:00:00') AS dt
SELECT
d + toIntervalYear(1),
dt + toIntervalYear(1)
```
Query id: dc30ac7a-11ec-42e6-8... | 2020-10-16T02:55:28 | 2020-10-16T02:55:28 | {} | COLLABORATOR |
ClickHouse | ClickHouse | 709,392,290 | 15,073 | azat | @sundy-li BTW do you have any numbers? (performance related) | 2020-10-15T15:11:02 | 2020-10-15T15:11:02 | {} | MEMBER |
ClickHouse | ClickHouse | 709,444,326 | 16,021 | alexey-milovidov | Yes, your HTTP client may alter data. You can check what is the real data transferred over network with `tcpdump` and `Wireshark`. | 2020-10-15T16:32:11 | 2020-10-15T16:32:11 | {} | MEMBER |
ClickHouse | ClickHouse | 709,504,595 | 11,298 | abyss7 | Status for now (0_stateless): `501 failed, 1382 passed` | 2020-10-15T18:17:44 | 2020-10-15T18:17:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,688,810 | 15,951 | liangli1213 | @BohuTANG , have you began to fix it? | 2020-10-16T02:16:35 | 2020-10-16T02:16:35 | {} | NONE |
ClickHouse | ClickHouse | 709,895,178 | 15,685 | vivarum | Fixes have been pushed to the branch. | 2020-10-16T08:07:45 | 2020-10-16T08:07:45 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,878,967 | 15,883 | yanchaoguo | > @yanchaoguo 能提供一下复现该问题的MySQL 的binlog文件么?
这个日志在哪里看 | 2020-10-15T03:49:26 | 2020-10-15T03:49:26 | {} | NONE |
ClickHouse | ClickHouse | 709,311,291 | 15,998 | den-crane | REVOKE SELECT ON mykafkatable FROM john;
https://clickhouse.tech/docs/en/operations/access-rights/#access-control
https://clickhouse.tech/docs/en/sql-reference/statements/revoke/
https://clickhouse.tech/docs/en/sql-reference/statements/grant/ | 2020-10-15T13:05:20 | 2020-10-15T13:06:30 | {
"+1": 2
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,570,190 | 10,055 | alexey-milovidov | It does not work even if we replace OpenSSL to BoringSSL
with the similar error:
`SSL Exception: error:10000410:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE` | 2020-10-15T20:23:35 | 2020-10-15T20:24:15 | {} | MEMBER |
ClickHouse | ClickHouse | 709,671,193 | 13,101 | spihiker | 谢谢!我们改写了SQL,把uinion all的子句合并后,并对clickhouse服务做了监控,后来就没出现这个闪退的问题。但一直没找到原因? | 2020-10-16T01:12:38 | 2020-10-16T01:12:38 | {} | NONE |
ClickHouse | ClickHouse | 709,874,856 | 15,983 | alesapin | The server just silently refused to answer in stateless tests with thread sanitizer. Doesn't look good. | 2020-10-16T07:23:18 | 2020-10-16T07:23:18 | {} | MEMBER |
ClickHouse | ClickHouse | 709,920,545 | 16,064 | filimonov | 1) clickhouse version?
2) `select * from system.settings where changed`
3) kafka message structure - please provide / dump "as is" - i see you use JSONEachRow, but the sample you show is multiline. | 2020-10-16T08:58:11 | 2020-10-16T09:00:08 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,967,987 | 14,414 | tavplubix | > `heap-use-after-free`, msan, `MergedBlockOutputStream`: https://clickhouse-test-reports.s3.yandex.net/15857/1bcacde8d53fe25d5a2d79521402305091bbe033/stress_test_(thread).html#fail1
#15984 | 2020-10-15T07:48:44 | 2020-10-15T07:48:44 | {} | MEMBER |
ClickHouse | ClickHouse | 709,319,112 | 15,996 | den-crane | code Decimal128(38, 0) -- is incorrect.
You should use `Decimal(38, 0)` or `Decimal128(0)`
>INSERT INTO sfz3 SELECT *
>FROM sfz2
`desc sfz2` ? | 2020-10-15T13:19:12 | 2020-10-15T13:19:31 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,536,165 | 15,987 | filimonov | I've tested 20.11.1.4925 (that PR) vs 20.11.1.4924 (parent commit) on 250K empty tables (load from 100K empty tables was too low on my laptop)
```
apt-get update && apt-get install sysstat
clickhouse-client --query="CREATE DATABASE multiple_mergetrees"
time bash -c "seq 1 250000 | sed -r -e 's/^.+$/CREATE TABLE ... | 2020-10-15T19:12:58 | 2020-10-15T19:13:20 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 709,644,773 | 7,834 | alexey-milovidov | Still relevant in version 20.11. | 2020-10-15T23:38:49 | 2020-10-15T23:38:49 | {} | MEMBER |
ClickHouse | ClickHouse | 730,868,374 | 17,109 | azat | 1.811x faster now | 2020-11-20T05:52:32 | 2020-11-20T05:52:32 | {} | MEMBER |
ClickHouse | ClickHouse | 730,192,643 | 17,120 | alesapin | Actually no, I'm just unlucky https://clickhouse-test-reports.s3.yandex.net/0/40a964826917aac026f788c26e83ee75d5db5895/functional_stateless_tests_(release,_wide_parts_enabled)/test_run.txt.out.log.
```
SELECT
check_start_time,
pull_request_number,
commit_sha,
check_name,
test_name,
test_... | 2020-11-19T07:46:38 | 2020-11-19T07:46:38 | {} | MEMBER |
ClickHouse | ClickHouse | 730,433,940 | 17,200 | den-crane | CH has only one binary. And the binary is same for the client and the server.
You can run client as ` /usr/bin/clickhouse client` . It does not need to be installed.
You can check connectivity using curl , CH server have to response like this:
```bash
# curl ip_or_name_of_ch_server:9000
Port 9000 is for click... | 2020-11-19T15:03:14 | 2020-11-19T15:05:43 | {} | CONTRIBUTOR |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.