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 | 406,449,288 | 2,571 | alexey-milovidov | Fixed in master with #2584 and #2677. | 2018-07-20T00:01:49 | 2018-07-20T00:01:49 | {} | MEMBER |
ClickHouse | ClickHouse | 407,801,281 | 2,719 | alexey-milovidov | Most likely this is bug in Poco library, that we use to implement HTTP.
It should return 400 Bad Request, because headers size is bigger than the limit, but instead it failed to see Authorization header.
Solution: send query via POST. | 2018-07-25T15:45:54 | 2018-07-25T15:45:54 | {} | MEMBER |
ClickHouse | ClickHouse | 407,937,610 | 2,708 | alexey-milovidov | Also should test `remote(..., merge(...))` | 2018-07-26T00:26:05 | 2018-07-26T00:26:13 | {} | MEMBER |
ClickHouse | ClickHouse | 408,307,130 | 2,734 | zzl-wy | @thanhthai3010 I have try it,not worked...You just change that config file and the problem be solved?Could you give me more suggession?thanks. | 2018-07-27T04:21:05 | 2018-07-27T04:21:05 | {} | NONE |
ClickHouse | ClickHouse | 408,311,249 | 2,734 | thanhthai3010 | After that, you have to re-import data, I think it's because the data is duplicated.
You can read the document here: https://clickhouse.yandex/docs/en/operations/table_engines/distributed/
> Each shard can have the 'internal_replication' parameter defined in the config file.
> If this parameter is set to 'true',... | 2018-07-27T04:56:12 | 2018-07-27T04:57:12 | {} | NONE |
ClickHouse | ClickHouse | 406,894,300 | 2,673 | blinkov | @dmitrydrynov can you reproduce this on clean server with Ubuntu LTS and nothing besides ClickHouse? | 2018-07-22T20:27:17 | 2018-07-22T20:27:17 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 406,938,764 | 2,700 | huang--yijian | It seems this problem occurs when querying a Distributed table like our "client_log_all".
If we query a MergeTree table like our "client_log", the query succeeds. | 2018-07-23T04:53:16 | 2018-07-23T04:53:16 | {} | NONE |
ClickHouse | ClickHouse | 407,258,309 | 2,701 | amosbird | Um, I don't find any existing intergration tests related to kafka and don't know how to setup one. | 2018-07-24T02:17:01 | 2018-07-24T02:17:01 | {} | COLLABORATOR |
ClickHouse | ClickHouse | 407,375,520 | 2,707 | filimonov | Хм. POPULATE не работает с TO. См.
https://github.com/yandex/ClickHouse/blob/7bae3506c41be971ec6ec031c139f596e026a5f0/dbms/src/Parsers/ParserCreateQuery.cpp#L367
Легко обойти - можно просто INSERT ... SELECT сделать перед созданием матвью
Но действительно наверное несколько нелогично, по крайней мере должно б... | 2018-07-24T11:38:26 | 2018-07-24T11:38:26 | {
"+1": 3
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 407,517,151 | 2,701 | alexey-milovidov | Could you please try to add a test?
We really need at least some tests for Kafka.
https://github.com/yandex/ClickHouse/pull/2702#issuecomment-407516401 | 2018-07-24T19:02:43 | 2018-07-24T19:02:43 | {} | MEMBER |
ClickHouse | ClickHouse | 407,678,994 | 2,711 | blinkov | Yep, it's supposed to be `true` if Distributed table is built on top of ReplicatedMergeTree. See https://clickhouse.yandex/docs/en/operations/table_engines/distributed/ for detailed explanation on this.
I agree that it'd be easier if it was just properly selected automatically by default. | 2018-07-25T08:38:21 | 2018-07-25T08:38:21 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 407,804,959 | 2,398 | alexey-milovidov | PS. I preferred that PR, because here we have introduced strange notation
```
if (storage.format_name.back() == '~')
```
that is questionable (will be difficult to extend). | 2018-07-25T15:56:28 | 2018-07-25T15:56:28 | {} | MEMBER |
ClickHouse | ClickHouse | 407,883,850 | 2,722 | alexey-milovidov | I cannot run this test due to
```
DNS failure
conn.py 1225 WARNING DNS lookup failed for kafka1:9092, exception was [Errno -2] Name or service not known. Is your advertised.listeners (called advertised.host.name before Kafka 9) correct and resolvable?
conn.py 277 ERROR DNS... | 2018-07-25T20:25:52 | 2018-07-25T20:25:52 | {} | MEMBER |
ClickHouse | ClickHouse | 406,578,746 | 626 | khrisanfov | @alexey-milovidov Hi, I have updated ClickHouse to the latest version and now 'has' does not work with Array of Enums even I pass numeric value. It worked about a year ago, I do not remember the version number :(.
I use it like this:
has(column, 1)
I got an error like this:
> Types of array and 2nd argument... | 2018-07-20T11:55:15 | 2018-07-20T11:55:15 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 407,477,873 | 2,705 | alesapin | Locally all tests pass:
```
./clickhouse-test 00534 | ts %F-%H:%M:%S ... | 2018-07-24T16:58:17 | 2018-07-24T17:30:12 | {} | MEMBER |
ClickHouse | ClickHouse | 408,092,346 | 2,521 | fizerkhan | I am confused, how to use it for following scenerio
I have table with two columns such as **route name** and response time as **duration**. I want to see the histogram of response time with maximum duration of 5 second with 10 buckets.
is this possible?
```
histogram(5, 10)(duration)
```
| 2018-07-26T13:12:08 | 2018-07-26T13:12:44 | {} | NONE |
ClickHouse | ClickHouse | 406,351,258 | 2,674 | Amper | @proller, that log was generated from the current master (a few minutes ago), so apparently the problem is not fixed. | 2018-07-19T17:17:19 | 2018-07-19T17:18:03 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 406,848,469 | 2,636 | alexey-milovidov | Resolved. | 2018-07-22T08:00:08 | 2018-07-22T08:00:08 | {} | MEMBER |
ClickHouse | ClickHouse | 406,993,653 | 2,700 | huang--yijian | Thank you for the quick response and confirm. @sundy-li | 2018-07-23T09:17:40 | 2018-07-23T09:17:40 | {} | NONE |
ClickHouse | ClickHouse | 407,080,003 | 2,698 | ztlpn | Images published, thanks for noticing! | 2018-07-23T14:35:44 | 2018-07-23T14:35:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 407,126,927 | 2,703 | ztlpn | fixed in master | 2018-07-23T16:55:25 | 2018-07-23T16:55:25 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 393,996,605 | 2,426 | alexey-milovidov | Minor changes:
- [x] Escaping of predicate_str;
- [x] Add info to StorageSystemReplicas;
- [x] Move 999999999 block number to constant;
- [x] Add overview to the comment in StorageReplicatedMergeTree.h;
- [x] Functional and integration tests;
- [x] Distributed DDLs must execute mutations on single replica in case... | 2018-06-01T20:13:29 | 2018-07-24T11:43:28 | {} | MEMBER |
ClickHouse | ClickHouse | 407,672,051 | 2,711 | blinkov | Wouldn't it become stable if you wait for a while after the data is fully ingested? | 2018-07-25T08:13:05 | 2018-07-25T08:13:05 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 407,804,421 | 2,398 | alexey-milovidov | Superseded by https://github.com/yandex/ClickHouse/pull/2701 | 2018-07-25T15:54:54 | 2018-07-25T15:54:54 | {} | MEMBER |
ClickHouse | ClickHouse | 407,975,949 | 2,722 | amosbird | @alexey-milovidov I've pushed a fix for that. https://github.com/yandex/ClickHouse/pull/2725
| 2018-07-26T04:54:34 | 2018-07-26T04:54:34 | {} | COLLABORATOR |
ClickHouse | ClickHouse | 408,050,911 | 1,234 | blinkov | @AlexPosix could you provide a way to reproduce it? | 2018-07-26T10:21:36 | 2018-07-26T10:21:36 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 408,086,319 | 2,723 | ztlpn | Try upgrading to at least 1.1.54394 and check if the problem persists. There was a bug with setting socket timeouts introduced in 1.1.54388 that was fixed in 1.1.54394. | 2018-07-26T12:50:13 | 2018-07-26T12:50:13 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 406,499,551 | 2,686 | blinkov | See https://clickhouse.yandex/docs/en/query_language/functions/encoding_functions/#unhexstr | 2018-07-20T06:14:24 | 2018-07-20T06:14:24 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 406,593,434 | 2,674 | atkrv | 1.
<details><summary>cmake:</summary>
```
-- The C compiler identification is GNU 8.1.0
-- The CXX compiler identification is GNU 8.1.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking... | 2018-07-20T12:59:34 | 2018-07-20T12:59:34 | {
"+1": 1
} | NONE |
ClickHouse | ClickHouse | 406,613,608 | 2,690 | ghost | [username@clickhouse-server-node1 clickhouse-server]$ sudo docker run -d --name clickhouse-server1 --restart always --ulimit nofile=262144:262144 -v /data/clickhouse-server/config.xml:/etc/clickhouse-server/config.xml -v /data/clickhouse-server/data:/var/lib/clickhouse/data -v /data/clickhouse-server/log:/var/log/click... | 2018-07-20T14:15:16 | 2018-07-20T14:15:32 | {} | NONE |
ClickHouse | ClickHouse | 408,101,130 | 2,521 | alexey-milovidov | ```
histogramIf(10)(duration, duration <= 5)
```
Here we applied `-If` combinator.
Read more: https://clickhouse.yandex/docs/en/query_language/agg_functions/combinators/ | 2018-07-26T13:41:00 | 2018-07-26T13:41:12 | {} | MEMBER |
ClickHouse | ClickHouse | 407,146,883 | 2,699 | alexey-milovidov | Missing test. | 2018-07-23T17:58:42 | 2018-07-23T17:58:42 | {} | MEMBER |
ClickHouse | ClickHouse | 407,517,650 | 2,674 | sundarv85 | I'm having the same issue
```
/usr/local/include/mysql/mysql_com.h:1011:10: fatal error: mysql/udf_registration_types.h: No such file or directory
#include <mysql/udf_registration_types.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[491/820] Building CXX object dbms/CMakeFiles/dbms.dir/... | 2018-07-24T19:04:33 | 2018-07-24T19:04:33 | {} | NONE |
ClickHouse | ClickHouse | 407,567,277 | 2,668 | champtar | Doing a quick `perf top`
```
76.03% clickhouse [.] RadixSort<DB::QuantileTDigest<unsigned int>::RadixSortTraits>::execute
10.01% clickhouse [.] DB::QuantileTDigest<unsigned int>::compress
```
I guess => https://github.com/yandex/ClickHouse/blob/stable/dbms/src/AggregateFunctions/QuantileTDigest.h#L139
| 2018-07-24T22:03:54 | 2018-07-24T22:03:54 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 407,676,429 | 2,711 | thanhthai3010 | Thank @blinkov, I think the problem is because of `internal_replication` config. I just change the value of `internal_replication` from `false` to `true` and the query's results are similar.
I wonder why is this config can effect on the query while the default value of `internal_replication` is `false`. | 2018-07-25T08:28:55 | 2018-07-25T08:30:17 | {} | NONE |
ClickHouse | ClickHouse | 407,681,061 | 2,711 | thanhthai3010 | Thank you so much, I will close this issue follow your help.
Thank you again, Ivan :+1: | 2018-07-25T08:46:04 | 2018-07-25T08:46:04 | {} | NONE |
ClickHouse | ClickHouse | 408,248,028 | 2,731 | den-crane | Probably it can be solved by adding some parameter to the dictionary xml or CH config files -- how many ids include into one query, and retrieve them in several queries.
i.e. = 1000
FROM db.table WHERE id IN (k1, k2, ...k1000);
FROM db.table WHERE id IN (k1001, ...k2000);
.....
FROM db.table WHERE id IN ( ...k... | 2018-07-26T21:59:15 | 2018-07-26T22:00:03 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 407,700,724 | 2,015 | zhang2014 | @alexey-milovidov @KochetovNicolai @vavrusa Almost done, Could help review this?
BTW Sorry for the delay : ) | 2018-07-25T09:55:17 | 2018-07-25T09:55:17 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 407,803,304 | 2,719 | Sovianum | The strange thing is that it works correctly on longer queries. Only this particular length leads to this error. | 2018-07-25T15:51:44 | 2018-07-25T15:51:44 | {} | NONE |
ClickHouse | ClickHouse | 407,937,526 | 2,708 | alexey-milovidov | Missing functional test. At least as simple as
`SELECT * FROM remote('127.0.0.{1,2}', numbers(10))` | 2018-07-26T00:25:29 | 2018-07-26T00:25:29 | {} | MEMBER |
ClickHouse | ClickHouse | 408,045,509 | 1,094 | blinkov | The code have changed so much during almost a year that passed since this discussion so it does not make sense to return to it.
@eyalroz @fleapapa please, open a new issue if you still experience any kind of trouble with building ClickHouse. | 2018-07-26T10:00:09 | 2018-07-26T10:00:09 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 408,068,516 | 2,708 | alexey-milovidov | You have a test only for local shard, and only for the case of single shard.
Better to add at least one remote shard like `127.0.0.{1,2}` | 2018-07-26T11:39:05 | 2018-07-26T11:39:05 | {} | MEMBER |
ClickHouse | ClickHouse | 408,156,049 | 2,709 | ztlpn | It seems that after https://github.com/yandex/ClickHouse/pull/2483 replicated tables containing Enum columns with defaults that are created with new version are incompatible with the older versions. | 2018-07-26T16:28:38 | 2018-07-26T16:28:38 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 407,282,142 | 2,686 | blinkov | @salisbury-espinosa The last sentence of that article says how to convert those bytes to a number:
```
SELECT reinterpretAsInt64(reverse(unhex('123')))
┌─reinterpretAsInt64(reverse(unhex('123')))─┐
│ 291 │
└───────────────────────────────────────────┘
```
``` python
% p... | 2018-07-24T05:03:42 | 2018-07-24T05:03:42 | {
"+1": 9
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 408,072,551 | 1,126 | blinkov | @ramazanpolat do you have any further questions? | 2018-07-26T11:56:47 | 2018-07-26T11:56:47 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 408,284,744 | 2,709 | alexey-milovidov | Downgrading is possible if you manually replace escaping in metadata node in ZooKeeper. Better to test in advance. | 2018-07-27T01:36:21 | 2018-07-27T01:36:21 | {} | MEMBER |
ClickHouse | ClickHouse | 407,118,445 | 2,699 | alexey-milovidov | Thank you!
PS. Missing comment. Redundant condition. Obsolete exception message. | 2018-07-23T16:27:21 | 2018-07-23T16:27:21 | {} | MEMBER |
ClickHouse | ClickHouse | 407,369,185 | 2,707 | filimonov | Если используется синтаксис с опцией TO, тогда предполагается что целевая таблица уже существует. А если таблица уже существует, то и параметры движка этой таблицы указывать не нужно.
См. примеры в тесте:
https://github.com/yandex/ClickHouse/blob/master/dbms/tests/queries/0_stateless/00508_materialized_view_to.sql... | 2018-07-24T11:12:10 | 2018-07-24T11:14:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 407,370,891 | 2,707 | TimonKK | Убрал ENGINE, ругается теперь так:
Syntax error: failed at position 213 (line 3, col 70): POPULATE AS | 2018-07-24T11:19:27 | 2018-07-24T11:19:27 | {} | NONE |
ClickHouse | ClickHouse | 407,252,562 | 1,510 | salisbury-espinosa | @alexey-milovidov
> This should be fixed in the latest 1.1.54327 release,
we have the same error in `1.1.54390.`, `18.1.54396.` (Too many parts (300). Merges are processing significantly slower than inserts.) | 2018-07-24T01:41:08 | 2018-07-24T13:32:16 | {} | NONE |
ClickHouse | ClickHouse | 407,516,401 | 2,702 | alexey-milovidov | Ok.
We should add integration test for Kafka storage as soon as possible, because now it is completely untested. It can be done with Docker Kafka image: https://hub.docker.com/r/wurstmeister/kafka/
Look at: https://github.com/yandex/ClickHouse/tree/master/dbms/tests/integration/helpers
(files `docker_compose_*.y... | 2018-07-24T19:00:15 | 2018-07-24T19:00:15 | {} | MEMBER |
ClickHouse | ClickHouse | 407,808,757 | 2,718 | alexey-milovidov | So, we have two tasks:
1. Introduce `direct` dictionary layout (and maybe `complex_key_direct` for string keys).
2. Add support for Memcached, Redis, Aerospike. | 2018-07-25T16:07:25 | 2018-07-25T16:07:25 | {
"+1": 5
} | MEMBER |
ClickHouse | ClickHouse | 408,044,364 | 1,311 | blinkov | @wangyinsheng sounds like some sort of configuration issues. Have you used distributed tables for insert or manually inserted to each shard? Why MergeTree and not ReplicatedMergeTree? | 2018-07-26T09:56:14 | 2018-07-26T09:56:34 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 408,054,590 | 1,219 | blinkov | Seems like your issue has been fixed in #1771 | 2018-07-26T10:37:28 | 2018-07-26T10:37:28 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 408,073,766 | 1,124 | blinkov | @kingice do you have any further questions? | 2018-07-26T12:02:11 | 2018-07-26T12:02:11 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 408,256,165 | 2,731 | alexey-milovidov | Single SELECT should be beneficial over multiple smaller ones even in the case of very long queries.
Better solution is to totally disable this limit (internally) for queries from dictionary.
Also we can send ids as external data.
PS. ClickHouse is not very good for key-value queries. Due to sparse index and blo... | 2018-07-26T22:35:55 | 2018-07-26T22:36:43 | {} | MEMBER |
ClickHouse | ClickHouse | 407,805,322 | 2,298 | alexey-milovidov | Fixed by #2701 | 2018-07-25T15:57:28 | 2018-07-25T15:57:28 | {} | MEMBER |
ClickHouse | ClickHouse | 408,257,966 | 2,732 | alexey-milovidov | :+1: | 2018-07-26T22:45:46 | 2018-07-26T22:45:46 | {} | MEMBER |
ClickHouse | ClickHouse | 406,410,671 | 2,660 | alexey-milovidov | This looks like better fix: https://github.com/yandex/ClickHouse/commit/fe8c4d64e434cacd4ceef34faa9005129f2190a5
Because value is transformed just once during query parsing.
Not all the time during query analysis. | 2018-07-19T20:52:39 | 2018-07-19T20:52:39 | {} | MEMBER |
ClickHouse | ClickHouse | 406,892,640 | 2,673 | dmitrydrynov | This problem is relevant
I can't use clickhouse (

| 2018-07-22T20:01:50 | 2018-07-22T20:01:50 | {} | NONE |
ClickHouse | ClickHouse | 407,115,996 | 2,702 | alexey-milovidov | Do you have a test? | 2018-07-23T16:19:18 | 2018-07-23T16:19:18 | {} | MEMBER |
ClickHouse | ClickHouse | 407,258,860 | 2,702 | amosbird | A reproducible test needs a kafka storage, which I don't find a way to setup.
https://github.com/yandex/ClickHouse/blob/master/dbms/src/Storages/StorageKafka.cpp#L139
It creates a context instance on the stack and becomes invalid in the subsequent runtime when inserting `Values` format (with expressions) from kaf... | 2018-07-24T02:20:23 | 2018-07-24T02:20:23 | {} | COLLABORATOR |
ClickHouse | ClickHouse | 407,467,839 | 2,273 | dqminh | We dont see this happening with newer stable version with the patch, so i think that fixes it. | 2018-07-24T16:25:38 | 2018-07-24T16:25:38 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 407,657,855 | 2,686 | blinkov | you're welcome | 2018-07-25T07:15:42 | 2018-07-25T07:15:42 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 408,078,771 | 2,724 | ztlpn | When you query a Distributed tables, it issues secondary queries to all shards in a cluster. By default these secondary queries are executed under the `default` user. If you want these queries to execute under another user, just add its username and password to the `<remote_servers>` section of the ClickHouse config. E... | 2018-07-26T12:21:17 | 2018-07-26T12:21:17 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 408,246,186 | 2,731 | den-crane | https://clickhouse.yandex/docs/en/query_language/dicts/external_dicts_dict_layout/
> When searching for a dictionary, the cache is searched first. For each block of data, all keys that are not found in the cache or are outdated are requested from the source using SELECT attrs... FROM db.table WHERE id IN (k1, k2, ...)... | 2018-07-26T21:50:58 | 2018-07-26T21:50:58 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 408,296,595 | 2,734 | thanhthai3010 | Have you waited until data is fully inserted? By the way, Could you please share your Clusters setting? | 2018-07-27T02:57:30 | 2018-07-27T02:57:30 | {} | NONE |
ClickHouse | ClickHouse | 406,848,214 | 2,697 | alexey-milovidov | :+1: | 2018-07-22T07:55:12 | 2018-07-22T07:55:12 | {} | MEMBER |
ClickHouse | ClickHouse | 408,041,306 | 506 | blinkov | We collect instructions on how to experiment with example datasets in respective section of documentation: https://clickhouse.yandex/docs/en/getting_started/example_datasets/nyc_taxi/
Various improvements in JOIN syntax are currently in development. | 2018-07-26T09:45:15 | 2018-07-26T09:45:15 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 408,051,484 | 1,236 | blinkov | @jaykelin this information does not seem to be enough to reproduce this issue, could you please provide more detailed instruction? | 2018-07-26T10:24:04 | 2018-07-26T10:24:04 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 408,096,692 | 2,723 | AlexanderJLiu | @ztlpn Thanks. When I upgraded to version 18.1.0, the problem didn't persist. 👍 | 2018-07-26T13:26:17 | 2018-07-26T13:26:17 | {} | NONE |
ClickHouse | ClickHouse | 406,401,673 | 2,673 | dmitrydrynov | I remove clickhouse and install again. I have the problem
`update-rc.d: /etc/init.d/clickhouse-server exists during rc.d purge (use -f to force)
dpkg: error processing package clickhouse-server (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for uread... | 2018-07-19T20:19:55 | 2018-07-19T20:23:09 | {} | NONE |
ClickHouse | ClickHouse | 406,954,835 | 2,700 | sundy-li | This bug only occurred in `distribute query` , yet this Aggregate function works fine by table function `remote`.
It crashed by nullpointer in the Aggregator two level stage, but that code is a little complicated for me to fix, maybe @alexey-milovidov could help with it. | 2018-07-23T06:37:02 | 2018-07-23T06:37:02 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 407,254,994 | 2,686 | salisbury-espinosa | @blinkov
unhex(str)
`returns a string containing the corresponding bytes`
it's not that | 2018-07-24T01:56:30 | 2018-07-24T01:56:30 | {} | NONE |
ClickHouse | ClickHouse | 407,578,677 | 2,686 | salisbury-espinosa | @blinkov oh, I saw this. thank you) | 2018-07-24T22:59:01 | 2018-07-24T22:59:01 | {} | NONE |
ClickHouse | ClickHouse | 407,708,731 | 2,674 | proller | mysql/udf_registration_types.h - looks like mysql problem (broken includes)
try build without mysql : -DENABLE_MYSQL=0 | 2018-07-25T10:25:39 | 2018-07-25T10:25:39 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 407,722,496 | 2,712 | ztlpn | Hi Kevin,
Is `user_local` table a ReplicatedMergeTree table? Replicated tables perform deduplication of inserts so that retries of insertion of the same data are idempotent (you can read more in [the docs](https://clickhouse.yandex/docs/en/operations/table_engines/replication/) ). In your case you have inserted the... | 2018-07-25T11:28:00 | 2018-07-25T11:28:00 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 406,432,972 | 2,676 | alexey-milovidov | Only one developer in our team is using Mac and he doesn't use it to build or run code locally (Linux server is used instead). | 2018-07-19T22:24:54 | 2018-07-19T22:24:54 | {} | MEMBER |
ClickHouse | ClickHouse | 407,722,407 | 2,701 | amosbird | @alexey-milovidov I've added a simpe kafka integration test. | 2018-07-25T11:27:33 | 2018-07-25T11:27:33 | {
"hooray": 1
} | COLLABORATOR |
ClickHouse | ClickHouse | 408,042,046 | 563 | blinkov | @hatarist does this issue still persists with modern ClickHouse builds? | 2018-07-26T09:47:56 | 2018-07-26T09:47:56 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 408,046,758 | 1,305 | blinkov | > Is it possible to support multiple indexes independently?
@wusihang at the moment the only way to do so is to keep multiple tables with same data, but different primary keys (since primary key determines how data is physically sorted in files, each table can have only one primary key) | 2018-07-26T10:04:58 | 2018-07-26T10:04:58 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 408,047,149 | 1,306 | blinkov | @Felixoid what exactly you suppose to do here? | 2018-07-26T10:06:29 | 2018-07-26T10:06:29 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 408,193,455 | 2,729 | alexey-milovidov | Thanks! Now the test passed. | 2018-07-26T18:34:24 | 2018-07-26T18:34:24 | {} | MEMBER |
ClickHouse | ClickHouse | 408,257,211 | 2,719 | alexey-milovidov | Very strange indeed. We should investigate further. | 2018-07-26T22:41:30 | 2018-07-26T22:41:30 | {} | MEMBER |
ClickHouse | ClickHouse | 406,651,701 | 2,602 | HunterSherms | I'm still seeing this error on 1.1.54390 when writing to a table with a materialized view that aggregates the max date into another table.
```
CREATE MATERIALIZED VIEW IF NOT EXISTS
${database}._${view} TO ${database}._${max_table}
SELECT
group_id,
date,
maxState(id) AS max_id,
... | 2018-07-20T16:23:09 | 2018-07-20T17:36:39 | {} | NONE |
ClickHouse | ClickHouse | 406,841,613 | 2,671 | amosbird | Well it seems manually crafting the loop doesn't again any performance in various tests. | 2018-07-22T05:08:58 | 2018-07-22T05:08:58 | {} | COLLABORATOR |
ClickHouse | ClickHouse | 407,117,318 | 2,701 | alexey-milovidov | Looks ok!
Could you please try to add an integration test? | 2018-07-23T16:23:42 | 2018-07-23T16:23:42 | {} | MEMBER |
ClickHouse | ClickHouse | 407,469,065 | 2,673 | dmitrydrynov | it turned out successfully to reinstall but ... :)
"Unknown setting tabix_client"
2018.07.24 19:27:16.835933 [ 3 ] <Trace> HTTPHandler-factory: HTTP Request for HTTPHandler-factory. Method: OPTIONS, Address: [::ffff:37.17.18.150]:63530, User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML... | 2018-07-24T16:29:45 | 2018-07-24T16:29:45 | {} | NONE |
ClickHouse | ClickHouse | 407,655,992 | 2,701 | amosbird | OK, I'll try to add one. | 2018-07-25T07:07:13 | 2018-07-25T07:07:13 | {} | COLLABORATOR |
ClickHouse | ClickHouse | 407,719,098 | 2,710 | ztlpn | You should set not only `max_ast_elements` but also `max_expanded_ast_elements` (this is what the `(after expansion of aliases)` part in the error message is hinting at).
BTW settings documentation is a bit outdated. You can look up the most up-to-date docs in the `system.settings` table. | 2018-07-25T11:12:01 | 2018-07-25T11:12:01 | {
"+1": 4
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 408,050,245 | 1,261 | blinkov | @wangyinsheng at the moment the recommended way to reshard the data is to use https://clickhouse.yandex/docs/en/operations/utils/clickhouse-copier/
It does not work in-place though. | 2018-07-26T10:19:10 | 2018-07-26T10:19:10 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 408,054,464 | 1,771 | blinkov | @dvahram ClickHouse docs live here: https://github.com/yandex/ClickHouse/tree/master/docs | 2018-07-26T10:36:51 | 2018-07-26T10:36:51 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 408,300,378 | 2,689 | sundy-li | I think this feature is very useful.
We often face a problem that when a complicate query comes, we want it to be killed right now.
The big query will cause a lot of alarm messages by monitor system (too much IO,CPU usage etc ), we have a shell like
```
for i in ${hosts[@]};do
echo "killing $i"
echo "ki... | 2018-07-27T03:24:58 | 2018-07-27T03:25:24 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 408,301,739 | 2,734 | thanhthai3010 | I also got the same problem before, then I tried to change my cluster config by adding `<internal_replication>true</internal_replication>`. Like this config:

Maybe this change can help you. | 2018-07-27T03:35:33 | 2018-07-27T03:35:33 | {} | NONE |
ClickHouse | ClickHouse | 406,345,770 | 2,674 | proller | Fixed here https://github.com/yandex/ClickHouse/commit/cce2e005c59d50f341f93f3ec05db3d282aff582 | 2018-07-19T16:58:37 | 2018-07-19T16:58:37 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 406,381,912 | 2,674 | proller | easiest way to solve and speedup build: cmake .. -DENABLE_EMBEDDED_COMPILER=0
| 2018-07-19T19:04:38 | 2018-07-19T19:04:38 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 406,397,165 | 2,673 | dmitrydrynov | > Start clickhouse-server service: Path to data directory in /etc/clickhouse-server/config.xml: /var/lib/clickhouse/
> DONE | 2018-07-19T20:03:24 | 2018-07-19T20:03:42 | {} | NONE |
ClickHouse | ClickHouse | 406,942,007 | 2,700 | sundy-li | Bug Confirmed | 2018-07-23T05:18:23 | 2018-07-23T05:19:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 407,518,469 | 2,689 | alexey-milovidov | Ok, but the purpose remains unclear. | 2018-07-24T19:07:35 | 2018-07-24T19:07:35 | {} | MEMBER |
ClickHouse | ClickHouse | 407,814,987 | 2,400 | HunterSherms | I'm still seeing this error on 1.1.54390 when writing to a table with a materialized view that aggregates the max date into another table.
```
CREATE MATERIALIZED VIEW IF NOT EXISTS
${database}._${view} TO ${database}._${max_table}
SELECT
group_id,
date,
maxState(id) AS max_id,
... | 2018-07-25T16:27:09 | 2018-07-25T16:27:09 | {} | NONE |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.