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 | 708,182,204 | 15,883 | yanchaoguo | > 还包含其它表么
就这一张表就可以复现问题了 | 2020-10-14T06:13:28 | 2020-10-14T06:13:28 | {} | NONE |
ClickHouse | ClickHouse | 708,400,793 | 15,956 | den-crane | >Version:20.9.3.45
>...
>Received exception from server (version 20.5.4):
It seems you have multiple servers with different versions. Try to upgrade all servers to 20.9.3.45
>select count(1) from rp_credit_sms_cmcc a
> global join credit_ga.rp_credit_sms_cucc b on a.id=b.id
The first query is executed JO... | 2020-10-14T13:26:38 | 2020-10-14T13:26:53 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,448,794 | 15,853 | vitlibar | `CREATE TEMPORARY TABLE` is a privilege which can be granted only globally, i.e.
```
GRANT CREATE TEMPORARY TABLE ON *.* TO user1, role2;
```
That's because temporary tables (unlike ordinary tables) aren't stored in databases. Temporary tables are identified only by name (not by `database_name + '.' + table_nam... | 2020-10-14T14:40:46 | 2020-10-14T14:45:19 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 708,482,641 | 15,901 | alesapin | `test_dictionaries_all_layouts_and_sources/test.py::test_complex_dictionaries` flaky test | 2020-10-14T15:33:52 | 2020-10-14T15:33:52 | {} | MEMBER |
ClickHouse | ClickHouse | 708,482,790 | 15,902 | alesapin | `test_grant_and_revoke` known failures, fixed in master. | 2020-10-14T15:34:07 | 2020-10-14T15:34:07 | {} | MEMBER |
ClickHouse | ClickHouse | 708,544,880 | 15,981 | nikitamikhaylov | #15973 | 2020-10-14T17:21:42 | 2020-10-14T17:21:42 | {} | MEMBER |
ClickHouse | ClickHouse | 708,684,183 | 3,700 | den-crane | I marked it prio-major because it's annoying question. I see it very often in chats.
I think it's very easy to implement. | 2020-10-14T22:02:18 | 2020-10-14T22:02:48 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,867,722 | 15,883 | yanchaoguo | > 暂不支持MySQL 5.6 #14564
大概在哪个版本会支持 因为5.6现在在企业当中还是使用很广泛的 | 2020-10-15T03:11:22 | 2020-10-15T03:11:22 | {} | NONE |
ClickHouse | ClickHouse | 708,867,725 | 14,564 | bohutang | Temporarily closed, open in other pr | 2020-10-15T03:11:22 | 2020-10-15T03:11:22 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,871,238 | 15,883 | yanchaoguo | > ```sql
> SELECT * FROM system.build_options WHERE name like '%VERSION%'
> ```
┌─name─────────────────┬─value────────────────────────────────────┐
│ VERSION_FULL │ ClickHouse 20.10.1.4881 │
│ VERSION_DESCRIBE │ v20.10.1.4881-testing │
│ VERSION_INTEGER │ 2... | 2020-10-15T03:22:52 | 2020-10-15T03:22:52 | {} | NONE |
ClickHouse | ClickHouse | 708,115,692 | 15,951 | bohutang | Hi,
what the MySQL `show slave status` output? | 2020-10-14T02:28:33 | 2020-10-14T02:31:35 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,333,115 | 15,793 | alexey-milovidov | Workaround: just wrap everything to `nullIf(column, '')`. | 2020-10-14T11:10:59 | 2020-10-14T11:10:59 | {} | MEMBER |
ClickHouse | ClickHouse | 708,618,916 | 15,974 | tavplubix | Stress test (address) - leaks in `HashTable<...>::resize(...)` and OpenSSL, unrelated
Yandex third-party checks - should be ok | 2020-10-14T19:40:30 | 2020-10-14T19:40:30 | {} | MEMBER |
ClickHouse | ClickHouse | 708,852,750 | 15,957 | lddlww | thanks | 2020-10-15T02:23:07 | 2020-10-15T02:23:07 | {} | NONE |
ClickHouse | ClickHouse | 708,230,601 | 15,897 | FavonianKong | > gcc 9 is not supported.
>
> The only supported build configurations listed here: https://clickhouse-builds.s3.yandex.net/15937/db4db42b65bed60512379e9ebc4dc009b7fc3666/clickhouse_build_check/report.html
>
> The minimal version of gcc is 10.
It works fine after I switched to gcc 10.2.0. Thanks :) | 2020-10-14T07:57:51 | 2020-10-14T07:57:51 | {
"+1": 2
} | NONE |
ClickHouse | ClickHouse | 708,304,998 | 15,952 | trollhe | > you can use `zcat` and unix pipe to do this
>
> ```shell
> zcat xxx.gz | clickhouse-client --format_csv_delimiter="|" --query="INSERT INTO xxx FORMAT CSV"
> ```
thanks sasasu, I want to see if there is direct support for GZ。Because there are massive GZ files to process。
| 2020-10-14T10:13:11 | 2020-10-14T10:13:11 | {} | NONE |
ClickHouse | ClickHouse | 708,334,258 | 15,945 | alexey-milovidov | All errors are related to concurrent merge of another (green) PR. | 2020-10-14T11:13:36 | 2020-10-14T11:13:50 | {} | MEMBER |
ClickHouse | ClickHouse | 708,393,111 | 15,959 | alexey-milovidov | We should allow all format settings in File/URL/HDFS/S3 engines.
Also we should respect query-level settings when table function is queried. | 2020-10-14T13:13:16 | 2020-10-14T13:13:16 | {} | MEMBER |
ClickHouse | ClickHouse | 708,581,021 | 3,402 | den-crane | hmm, it's fixed ?
```
20.11.1.4897
SELECT ts,id,anyMerge(str),anyMerge(num) FROM test2_mv GROUP BY ts,id
┌──────────────────ts─┬─id─┬─anyMerge(str)─┬─anyMerge(num)─┐
│ 2020-10-14 18:23:04 │ 1 │ ᴺᵁᴸᴸ │ ᴺᵁᴸᴸ │
└─────────────────────┴────┴───────────────┴───────────────┘
``` | 2020-10-14T18:26:35 | 2020-10-14T18:26:35 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,606,743 | 6,641 | den-crane | Maybe it was corrected here:
https://github.com/ClickHouse/ClickHouse/pull/11593
https://github.com/ClickHouse/ClickHouse/pull/11661 | 2020-10-14T19:15:10 | 2020-10-14T19:15:10 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,669,117 | 15,955 | filimonov | @achimbab can you try your test with that fix applied? | 2020-10-14T21:26:28 | 2020-10-14T21:26:28 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,702,943 | 4,645 | den-crane | No Info. No repro.
Probably misconfiguration. | 2020-10-14T22:55:13 | 2020-10-14T22:55:13 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,847,198 | 5,346 | den-crane | It seems fixed.
```
CREATE TABLE test5346 (`Id` String, `Timestamp` DateTime, `updated` DateTime)
ENGINE = ReplacingMergeTree(updated) PARTITION BY tuple() ORDER BY (Timestamp, Id);
INSERT INTO test5346 VALUES('1',toDateTime('2020-01-01 00:00:00'),toDateTime('2020-01-01 00:00:00'));
SELECT Id, Timestamp
FRO... | 2020-10-15T02:03:36 | 2020-10-15T02:03:36 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,176,198 | 15,883 | yanchaoguo | > > Code: 33. DB::Exception: Received from localhost:9000. DB::Exception: Cannot read all data. Bytes read: 1. Bytes expected: 4.
>
> @yanchaoguo 能提供一下堆栈信息么? 另外针对第一个错误的复现步骤(或者可以提供一下第一个错误发生时的clickhouse完整日志)?
上面的错误信息是日志中的全部了 ,您可以按照我上面的提供的表结构在mysql5.6版本中创建空表 让后在clickhouse20.10中生成MaterializeMySQL database 这个时候去查询cli... | 2020-10-14T05:59:34 | 2020-10-14T05:59:34 | {} | NONE |
ClickHouse | ClickHouse | 708,257,844 | 15,823 | kitaisreal | @alesapin could you please help with AST fuzzer check. Or how can I reproduce this locally ? Thanks. | 2020-10-14T08:48:44 | 2020-10-14T08:48:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,323,054 | 15,954 | tavplubix | All failed tests are broken in master, I will fix it | 2020-10-14T10:49:06 | 2020-10-14T10:49:06 | {} | MEMBER |
ClickHouse | ClickHouse | 708,364,378 | 15,855 | CurtizJ | `test_select_without_columns_5_7` and `test_select_without_columns_8_0` are broken in master.
| 2020-10-14T12:20:55 | 2020-10-14T12:20:55 | {} | MEMBER |
ClickHouse | ClickHouse | 708,449,849 | 15,972 | nikitamikhaylov | Do you use clang from `brew`? | 2020-10-14T14:42:31 | 2020-10-14T14:42:31 | {} | MEMBER |
ClickHouse | ClickHouse | 708,452,088 | 15,966 | nikitamikhaylov | Which version of ClickHouse do you use? Is it locked up forever or for a period of time? Do your queries hung or return an error? | 2020-10-14T14:46:15 | 2020-10-14T14:46:15 | {} | MEMBER |
ClickHouse | ClickHouse | 708,552,467 | 15,001 | CurtizJ | You can create a dictionary with complex key by using DDL:
```sql
CREATE DICTIONARY default.dict_redis
(
`Key` String,
`Field` String,
`Value` String
)
PRIMARY KEY Key, Field
SOURCE(REDIS(HOST '127.0.0.1' PORT 6379 STORAGE_TYPE 'hash_map' DB_INDEX 0))
LIFETIME(MIN 1 MAX 10)
LAYOUT(COMPLEX_KEY_H... | 2020-10-14T17:35:02 | 2020-10-14T17:35:02 | {} | MEMBER |
ClickHouse | ClickHouse | 708,596,632 | 6,641 | den-crane | hmmm,
```
20.11.1.4897
select count(), count(a), max(a), min(a), avg(a), sum(a)
from (select cast(Null,'Nullable(Float64)') a)
┌─count()─┬─count(a)─┬─max(a)─┬─min(a)─┬─avg(a)─┬─sum(a)─┐
│ 1 │ 0 │ ᴺᵁᴸᴸ │ ᴺᵁᴸᴸ │ ᴺᵁᴸᴸ │ ᴺᵁᴸᴸ │
└─────────┴──────────┴────────┴────────┴────────┴────────┘
sel... | 2020-10-14T18:55:50 | 2020-10-14T18:59:53 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,721,042 | 4,831 | den-crane | I think this parameter is applied to CH server, when CH server is a client itself and executes a query against another server.
And it's not obvious how client should/can use this. Because if ch-client pulls value of this parameter from a server and use it then CH server also have to pull this when it plays as a clie... | 2020-10-14T23:55:36 | 2020-10-14T23:55:36 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,779,363 | 15,956 | chang0391 | @den-crane
Why is there not enough memory in shard join for first query,
but memory is enough for subquery join at second query.
Does it mean that subquery join need less memory? | 2020-10-15T00:43:54 | 2020-10-15T00:43:54 | {} | NONE |
ClickHouse | ClickHouse | 708,865,603 | 15,952 | den-crane | @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:04:16 | 2020-10-15T03:06:03 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,217,238 | 15,883 | yanchaoguo | > > > > Code: 33. DB::Exception: Received from localhost:9000. DB::Exception: Cannot read all data. Bytes read: 1. Bytes expected: 4.
>
> > > @yanchaoguo 能提供一下堆栈信息么? 另外针对第一个错误的复现步骤(或者可以提供一下第一个错误发生时的clickhouse完整日志)?
>
> > 上面的错误信息是日志中的全部了 ,您可以按照我上面的提供的表结构在mysql5.6版本中创建空表 让后在clickhouse20.10中生成MaterializeMySQL databa... | 2020-10-14T07:29:46 | 2020-10-14T07:29:46 | {} | NONE |
ClickHouse | ClickHouse | 708,489,421 | 15,206 | alexey-milovidov | CC @nvartolomei | 2020-10-14T15:44:27 | 2020-10-14T15:44:27 | {} | MEMBER |
ClickHouse | ClickHouse | 708,663,853 | 15,955 | filimonov | Most probably you hit the same bug we discovered yesterday:
See https://github.com/ClickHouse/ClickHouse/pull/15987 | 2020-10-14T21:14:33 | 2020-10-14T21:14:33 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,664,562 | 15,952 | filimonov | AFAIR it also possible with `SELECT * FROM file()` when filename extension is gz. | 2020-10-14T21:16:06 | 2020-10-14T21:16:20 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,133,386 | 15,952 | Sasasu | you can use `zcat` and unix pipe to do this
```shell
zcat xxx.gz | clickhouse-client --format_csv_delimiter="|" --query="INSERT INTO xxx FORMAT CSV"
``` | 2020-10-14T03:28:54 | 2020-10-14T03:28:54 | {} | NONE |
ClickHouse | ClickHouse | 708,407,189 | 15,958 | den-crane | 20.5.3.27 and 20.5.* are out of support.
Supported versions are 20.7, 20.8, 20.9 Try to upgrade.
Or at least upgrade to the last minor release: 20.5.5.74.
Check (in logs)what (from thread 109490) thread [109490] did before crash. | 2020-10-14T13:37:38 | 2020-10-14T13:37:38 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,454,434 | 15,955 | nikitamikhaylov | Maybe execute `SYSTEM SYNC REPLICA` on the rest of the replicas? | 2020-10-14T14:49:55 | 2020-10-14T14:49:55 | {} | MEMBER |
ClickHouse | ClickHouse | 708,600,507 | 6,641 | den-crane | ```sql
CREATE TABLE test (
timestamp DateTime,
col1 Nullable(Float64),
col2 Nullable(Float64))
ENGINE = MergeTree()
ORDER BY timestamp
CREATE MATERIALIZED VIEW test_view (
timestamp DateTime,
col1 AggregateFunction(avg, Nullable(Float64)),
col2 AggregateFunction (max, Nullable(Floa... | 2020-10-14T19:03:06 | 2020-10-14T19:03:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,147,502 | 15,953 | l1t1 | i realized the problem was caused by big number
```sql
truncate table sfz;
insert into sfz select (110000+n1.number)*toInt64(1E12) + (20000101+n2.number)*toInt64(1E4)+n3.number from numbers(1000)n1,numbers(500)n2,numbers(100)n3;
SELECT
max(code),
min(code)
FROM sfz
┌──────────max(code)─┬──────────mi... | 2020-10-14T04:22:58 | 2020-10-14T04:22:58 | {} | NONE |
ClickHouse | ClickHouse | 708,322,733 | 15,954 | tavplubix | Btw, it's also fixed in #14849 | 2020-10-14T10:48:25 | 2020-10-14T10:48:25 | {} | MEMBER |
ClickHouse | ClickHouse | 708,333,517 | 15,793 | alexey-milovidov | `nullIf(x, defaultValueOfArgumentType(x))` if you are generating the query. | 2020-10-14T11:11:54 | 2020-10-14T11:11:54 | {} | MEMBER |
ClickHouse | ClickHouse | 708,470,383 | 11,068 | andrelec1 | Affect last version too
version 20.9.2.20 (official build)
```
[2020-10-14 17:12:32] Code: 47, e.displayText() = DB::Exception: Missing columns: 'b.value' 'b.datetime_value' while processing query: 'SELECT toStartOfHour(b.datetime_value) AS datetime_desc, sum(b.value) AS value FROM api_client.vt GROUP BY toStartOfHo... | 2020-10-14T15:14:43 | 2020-10-14T15:16:10 | {} | NONE |
ClickHouse | ClickHouse | 708,487,707 | 15,952 | den-crane | it can be done using http
```
create table ttest(A DateTime, B String) engine=Memory;
echo '0000000011|"dsd"'|gzip -c| curl -sS --data-binary @- -H 'Content-Encoding: gzip' 'http://localhost:8123/?format_csv_delimiter=|&query=insert+into+ttest+format+CSV'
select * from ttest
┌───────────────────A─┬─B───┐... | 2020-10-14T15:41:51 | 2020-10-14T15:41:51 | {
"heart": 5
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,504,362 | 15,966 | den-crane | It looks like your problem is in ZK. ZK cluster should stay alive otherwise CH tables became RO.
Check your ZK infrastructure.
You should have at least 3 (better 3 ZK nodes) in ZK cluster (ZK ensemble).
All CH should have access to all ZK nodes and have all ZK ip/hosts in `<zookeeeper>` configuration.
If you ha... | 2020-10-14T16:08:47 | 2020-10-14T16:10:41 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,683,411 | 3,484 | den-crane | It was implemented in 19.16.
Now MV column set can differ from destination column set. | 2020-10-14T22:00:26 | 2020-10-14T22:00:26 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,703,802 | 5,213 | den-crane | I believe it was fixed in 19.16.
Now MV select column set can differ from TO (destination) column set | 2020-10-14T22:58:02 | 2020-10-14T22:58:02 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,852,445 | 15,952 | trollhe | > it can be done using http
>
> ```
> create table ttest(A DateTime, B String) engine=Memory;
>
> echo '0000000011|"dsd"'|gzip -c| curl -sS --data-binary @- -H 'Content-Encoding: gzip' 'http://localhost:8123/?format_csv_delimiter=|&query=insert+into+ttest+format+CSV'
>
>
> select * from ttest
>
> ┌──────... | 2020-10-15T02:22:16 | 2020-10-15T02:22:16 | {} | NONE |
ClickHouse | ClickHouse | 708,121,816 | 15,951 | liangli1213 | @BohuTANG , I forgot to paste the setting I add into my.cnf:
```
# Enable Enhanced Multi-Threaded Slave
slave-parallel-type = LOGICAL_CLOCK
slave-parallel-workers = 16
master_info_repository = TABLE
relay_log_info_repository = TABLE
relay_log_recovery = ON
```
The topology is as below, I think the issue is c... | 2020-10-14T02:49:56 | 2020-10-14T02:49:56 | {} | NONE |
ClickHouse | ClickHouse | 708,389,803 | 15,959 | den-crane | try to set format_csv_delimiter in default profile.
```
cat /etc/clickhouse-server/conf.d/z_user_substitutes.xml
<?xml version="1.0"?>
<yandex>
<profiles>
<default>
<format_csv_delimiter>|</format_csv_delimiter>
</default>
</profiles>
</yandex>
``` | 2020-10-14T13:07:18 | 2020-10-14T13:07:18 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,700,520 | 3,999 | den-crane | No repro.
I think it's not valid anymore. | 2020-10-14T22:47:31 | 2020-10-14T22:47:31 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,851,408 | 15,806 | hexiaoting | > Have you considered using separate columns for each key? In that case it would be easy to implement combinators and such stuff, since then it would be no need to collect values by keys first.
In the first implement version for Map Datatype, I use tow array columns, one for key and the other for value. I think it's... | 2020-10-15T02:18:51 | 2020-10-15T02:18:51 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,853,694 | 15,955 | ghost | @nikitamikhaylov
I will try `SYSTEM SYNC REPLICA`.
Thank you.
@filimonov
It reduced the delay to 1 min.
Thank you.
| 2020-10-15T02:25:52 | 2020-10-15T02:25:52 | {} | NONE |
ClickHouse | ClickHouse | 708,866,135 | 15,883 | zhang2014 | 暂不支持MySQL 5.6 #14564 | 2020-10-15T03:06:00 | 2020-10-15T03:06:00 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,868,763 | 15,883 | yanchaoguo | > 暂不支持MySQL 5.6 #14564
不幸的是 我在5.7版本上试了一下 也有同样的问题
`Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3757518
Server version: 5.7.18-txsql-log 20200331` | 2020-10-15T03:14:43 | 2020-10-15T03:14:43 | {} | NONE |
ClickHouse | ClickHouse | 708,872,347 | 15,883 | zhang2014 | @yanchaoguo 能提供一下复现该问题的MySQL 的binlog文件么? | 2020-10-15T03:26:41 | 2020-10-15T03:26:41 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,393,203 | 15,973 | nikitamikhaylov | Will wait only for builds. | 2020-10-14T13:13:26 | 2020-10-14T13:13:26 | {} | MEMBER |
ClickHouse | ClickHouse | 708,704,618 | 5,051 | den-crane | @alexm93 Is it still valid? Do you have reproducible example? Sample dataset ? | 2020-10-14T23:00:35 | 2020-10-14T23:00:35 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,866,698 | 15,265 | bohutang | @liangli1213
By the way, the Fatal above fixed here: https://github.com/ClickHouse/ClickHouse/pull/15954 | 2020-10-15T03:08:06 | 2020-10-15T03:08:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,145,597 | 15,953 | l1t1 | if i use String data type, the result is right
```sql
create table sfz2(code String)ENGINE = MergeTree()order by code;
insert into sfz2 select toString(110000+n1.number)|| toString(20000101+n2.number)||'0'||toString(n3.number) from numbers(1000)n1,numbers(500)n2,numbers(100)n3;
SELECT countDistinct(code)
FROM ... | 2020-10-14T04:16:05 | 2020-10-14T04:16:05 | {} | NONE |
ClickHouse | ClickHouse | 708,606,879 | 3,402 | den-crane | Maybe it was corrected here:
https://github.com/ClickHouse/ClickHouse/pull/11593
https://github.com/ClickHouse/ClickHouse/pull/11661 | 2020-10-14T19:15:23 | 2020-10-14T19:15:23 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,694,932 | 4,299 | den-crane | Probably it was solved a long ago. `Alter add column` works over mutations now.
Could not reproduce:
```
CREATE TABLE User
(
dt DateTime,
name String
)
ENGINE = ReplicatedMergeTree('clickhouse/tables/test_cluster_1_1/User', 'test')
PARTITION BY toYYYYMMDD(dt)
PRIMARY KEY (dt, name)
ORDER BY (dt,... | 2020-10-14T22:31:22 | 2020-10-14T22:32:31 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,698,185 | 3,622 | den-crane | I could not reproduce the issue with 20.11.1.4897.
Closing for now. | 2020-10-14T22:40:35 | 2020-10-14T22:40:35 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,857,246 | 15,959 | trollhe | > try to set format_csv_delimiter in default profile.
>
> ```
> cat /etc/clickhouse-server/conf.d/z_user_substitutes.xml
> <?xml version="1.0"?>
> <yandex>
> <profiles>
> <default>
> <format_csv_delimiter>|</format_csv_delimiter>
> </default>
> </profiles>
> </yandex>
> ```
tha... | 2020-10-15T02:35:52 | 2020-10-15T02:35:52 | {} | NONE |
ClickHouse | ClickHouse | 708,174,891 | 15,883 | zhang2014 | > Code: 33. DB::Exception: Received from localhost:9000. DB::Exception: Cannot read all data. Bytes read: 1. Bytes expected: 4.
@yanchaoguo 能提供一下堆栈信息么? 另外针对第一个错误的复现步骤(或者可以提供一下第一个错误发生时的clickhouse完整日志)? | 2020-10-14T05:56:05 | 2020-10-14T05:56:52 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,333,716 | 15,793 | alexey-milovidov | Maybe we can implement a function `nullIfDefault`. | 2020-10-14T11:12:21 | 2020-10-14T11:12:21 | {} | MEMBER |
ClickHouse | ClickHouse | 708,422,040 | 15,931 | den-crane | Not sure.
But I think you should use -Merge in both cases
select **groupBitmapAndMerge**(rbm) from test_dis
select **groupBitmapAndMerge**(rbm) from (
| 2020-10-14T13:58:41 | 2020-10-14T14:00:45 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,617,172 | 15,497 | alexey-milovidov | > Stress test (memory) — Killed by signal (in clickhouse-server.log)
@KochetovNicolai is investigating this issue. | 2020-10-14T19:36:51 | 2020-10-14T19:36:51 | {} | MEMBER |
ClickHouse | ClickHouse | 708,685,830 | 4,113 | den-crane | everything seems to works in 20.11.1.4897 | 2020-10-14T22:06:41 | 2020-10-14T22:06:41 | {
"hooray": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,857,613 | 15,959 | trollhe | > We should allow all format settings in File/URL/HDFS/S3 engines.
> Also we should respect query-level settings when table function is queried.
yes,it`s support hdfs engine. | 2020-10-15T02:37:11 | 2020-10-15T02:37:11 | {} | NONE |
ClickHouse | ClickHouse | 708,872,169 | 15,931 | phhcer |
**groupBitmapAndMerge** In both cases go wrong
> Code: 43. DB::Exception: Received from 9.221.46.144:9000. DB::Exception: Illegal type UInt32 of argument for aggregate function groupBitmapAnd.
But **groupBitmapMerge** success as usual. Shouldn’t I get intersection set for **AggregateFunction(groupBitm... | 2020-10-15T03:26:03 | 2020-10-15T03:26:22 | {} | NONE |
ClickHouse | ClickHouse | 708,137,857 | 15,001 | IVitamin-C | @CurtizJ Can you give me an example? Thank you very much. | 2020-10-14T03:45:31 | 2020-10-14T03:45:31 | {} | NONE |
ClickHouse | ClickHouse | 708,181,616 | 15,883 | zhang2014 | >>> Code: 33. DB::Exception: Received from localhost:9000. DB::Exception: Cannot read all data. Bytes read: 1. Bytes expected: 4.
>> @yanchaoguo 能提供一下堆栈信息么? 另外针对第一个错误的复现步骤(或者可以提供一下第一个错误发生时的clickhouse完整日志)?
> 上面的错误信息是日志中的全部了 ,您可以按照我上面的提供的表结构在mysql5.6版本中创建空表 让后在clickhouse20.10中生成MaterializeMySQL database 这个时候去查询cli... | 2020-10-14T06:12:02 | 2020-10-14T06:12:02 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,654,679 | 15,957 | filimonov | Yes it should. But currently it should have length delimiters (see docs and https://github.com/ClickHouse/ClickHouse/issues/9764) | 2020-10-14T20:54:52 | 2020-10-14T20:58:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,104,452 | 15,265 | bohutang | The MaterlizeMySQL user must have other privileges(prefer `ALL`, as super user) not only `REPLICATION`.
`REPLICATION` priv only for the second step to binlog replicate streaming.
The first step MaterlizeMySQL will fetch the database schema and create them, then will dump all the table's datas under a transaction, thi... | 2020-10-14T01:49:43 | 2020-10-14T02:23:28 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,156,295 | 15,945 | azat | >Integration tests (asan) — fail: 2, passed: 919, error: 0
>Integration tests (release) — fail: 2, passed: 919, error: 0
>Integration tests (thread) — fail: 2, passed: 913, error: 0
test_materialize_mysql_database/test.py::test_select_without_columns_5_7 | FAIL | 0.0
test_materialize_mysql_database/test.py::test_... | 2020-10-14T04:56:17 | 2020-10-14T04:56:17 | {} | MEMBER |
ClickHouse | ClickHouse | 707,538,930 | 14,414 | azat | 00966_live_view_watch_events_http - https://clickhouse-test-reports.s3.yandex.net/15879/f7bf94b5d361d0a54e85673c14e630cfdf8dbe01/functional_stateless_tests_(release,_polymorphic_parts_enabled).html#fail1 - #15945 | 2020-10-13T07:07:57 | 2020-10-14T04:59:09 | {} | MEMBER |
ClickHouse | ClickHouse | 708,546,197 | 15,973 | nikitamikhaylov | `heap-use-after-free` in Stress test is known. | 2020-10-14T17:23:55 | 2020-10-14T17:23:55 | {} | MEMBER |
ClickHouse | ClickHouse | 708,853,051 | 15,001 | IVitamin-C | > You can create a dictionary with complex key by using DDL:
>
> ```sql
> CREATE DICTIONARY default.dict_redis
> (
> `Key` String,
> `Field` String,
> `Value` String
> )
> PRIMARY KEY Key, Field
> SOURCE(REDIS(HOST '127.0.0.1' PORT 6379 STORAGE_TYPE 'hash_map' DB_INDEX 0))
> LIFETIME(MIN 1 MAX 1... | 2020-10-15T02:23:57 | 2020-10-15T02:25:10 | {} | NONE |
ClickHouse | ClickHouse | 708,870,065 | 15,883 | zhang2014 | @yanchaoguo 通过提供的复现用例无法在我的环境中复现. 您能提供一下复现的mysql的binlog文件么?
另外您可以使用clickhouse-client 尝试执行以下SQL, 并粘贴结果到issues中么:
``` sql
SELECT * FROM system.build_options WHERE name like '%VERSION%' ;
``` | 2020-10-15T03:19:07 | 2020-10-15T03:19:07 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,332,377 | 15,793 | alexey-milovidov | @alex-zaitsev No, it is the opposite - to export NULL in custom representation. | 2020-10-14T11:09:20 | 2020-10-14T11:09:20 | {} | MEMBER |
ClickHouse | ClickHouse | 708,335,971 | 13,597 | PatricYan | > Guys, can you make a PR with some cmake check / warning, and a line in doc about this?
That is a good idea | 2020-10-14T11:17:26 | 2020-10-14T11:17:26 | {} | NONE |
ClickHouse | ClickHouse | 708,588,237 | 3,402 | den-crane | ```
SELECT ts,id,anyMerge(str),anyMerge(num) FROM
(select toDateTime('2020-01-01 00:00:00') ts, '1' id,
anyState(cast(null,'Nullable(String)')) str,
anyState(cast(null,'Nullable(String)')) num)
GROUP BY ts,id;
19.13.7.57
┌──────────────────ts─┬─id─┬─anyMerge(str)─┬─anyMerge(num)─... | 2020-10-14T18:40:19 | 2020-10-14T18:44:38 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,868,359 | 6,339 | den-crane | Not a bug. Expected behavior. Insert deduplication. | 2020-10-15T03:13:22 | 2020-10-15T03:13:22 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,118,955 | 15,265 | liangli1213 | @BohuTANG , thanks for your explanation. | 2020-10-14T02:39:58 | 2020-10-14T02:39:58 | {} | NONE |
ClickHouse | ClickHouse | 708,144,797 | 15,702 | bohutang | We will have a try.
| 2020-10-14T04:13:18 | 2020-10-14T04:13:18 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,337,626 | 15,953 | alexey-milovidov | Yes, the value may not fit in `Int64` type:
```
milovidov-desktop :) SELECT toInt64(1e18)
SELECT toInt64(1000000000000000000.)
Query id: a33fad40-ac0b-491b-813a-41d749f725c5
┌─toInt64(1000000000000000000.)─┐
│ 1000000000000000000 │
└───────────────────────────────┘
1 rows in set. Elapsed: 0.... | 2020-10-14T11:21:00 | 2020-10-14T11:21:00 | {} | MEMBER |
ClickHouse | ClickHouse | 708,338,081 | 15,953 | alexey-milovidov | The most recent ClickHouse version has experimental support for 128 and 256 bit integers. | 2020-10-14T11:22:02 | 2020-10-14T11:22:02 | {} | MEMBER |
ClickHouse | ClickHouse | 708,379,228 | 15,972 | FlyLi123 | I can successfully build clickhouse when i modify Sources.h file, but i am not sure if there is a potential risk with this patch.
```
diff --git a/src/Functions/GatherUtils/Sources.h b/src/Functions/GatherUtils/Sources.h
index 299884e1c9..6a0c718b02 100644
--- a/src/Functions/GatherUtils/Sources.h
+++ b/src/Functi... | 2020-10-14T12:48:34 | 2020-10-14T12:48:34 | {
"+1": 1
} | NONE |
ClickHouse | ClickHouse | 708,395,952 | 15,822 | alexey-milovidov | Fast test must be investigated.
I will ask @tavplubix | 2020-10-14T13:18:22 | 2020-10-14T13:19:02 | {} | MEMBER |
ClickHouse | ClickHouse | 708,472,228 | 15,966 | sovietotaku | > Which version of ClickHouse do you use? Is it locked up forever or for a period of time? Do your queries hung or return an error?
It's the latest clichhouse from official repo. Tables are becoming read-only, but if the node that was go down returns up - entire system is unlocking. It was returning an error, but I ... | 2020-10-14T15:17:29 | 2020-10-14T15:17:29 | {} | NONE |
ClickHouse | ClickHouse | 708,565,111 | 11,672 | den-crane | It works in 20.11.1.4897 with any_join_distinct_right_table_keys=1 and any_join_distinct_right_table_keys=0 and optimize_move_to_prewhere=1
```sql
SELECT toDateTime(foo.server_time, 'UTC')
FROM foo
ANY INNER JOIN bar USING (dimension_1)
WHERE toDate(foo.server_time, 'UTC') <= toDate('2020-04-30')
Query id: a... | 2020-10-14T17:57:24 | 2020-10-14T17:57:24 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,574,818 | 2,765 | den-crane | Yes it's intended behavior. Now it can be disabled by `deduplicate_blocks_in_dependent_materialized_views=1`
explanation:
https://clickhouse.tech/docs/en/operations/settings/settings/#settings-deduplicate-blocks-in-dependent-materialized-views | 2020-10-14T18:15:06 | 2020-10-14T18:15:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 708,856,239 | 15,952 | trollhe | > AFAIR it also possible with `SELECT * FROM file()` when filename extension is gz.
thanks filimonov.
do you mean: create file engine table -> select table? | 2020-10-15T02:32:57 | 2020-10-15T02:32:57 | {} | NONE |
ClickHouse | ClickHouse | 719,538,881 | 16,537 | den-crane | 20.7.1.1 -- is obsolete and not stable. You need to upgrade at least to 20.7.4.11. Or better to 20.8.5.45. | 2020-10-30T13:02:01 | 2020-10-30T13:02:01 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 719,584,366 | 2,301 | alexey-milovidov | The first and the second queries now finish in the same time.
The third query is slower as expected. | 2020-10-30T14:27:10 | 2020-10-30T14:27:10 | {} | MEMBER |
ClickHouse | ClickHouse | 719,877,089 | 16,540 | l1t1 | you can run
```sql
explain SELECT
action1,
uniqMerge(uv) AS uv,
uniqMerge(session) AS session
FROM test_merge
GROUP BY action1
ORDER BY uv DESC
LIMIT 10
```
to see the execute plan | 2020-10-31T03:33:14 | 2020-10-31T03:33:14 | {} | NONE |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.