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 | 360,919,404 | 112 | gerasim13 | ok. i think i got it. ObjectId is not supported | 2018-01-26T22:15:51 | 2018-01-26T22:15:51 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 361,567,790 | 1,836 | sundy-li | @Jaxvk Uadf, try [this](https://zhuanlan.zhihu.com/p/30823204) | 2018-01-30T11:39:28 | 2018-01-30T11:39:28 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 361,829,537 | 1,836 | alexey-milovidov | Have you tried the `sequenceMatch` aggregate function? | 2018-01-31T05:38:27 | 2018-01-31T05:38:27 | {} | MEMBER |
ClickHouse | ClickHouse | 362,716,219 | 1,848 | digitalist | о, спасибо, просто неплохо, если бы и из апстрима нормально собиралось через cmake.
п.1. я так понимаю совсем легко запатчить, а вот п.2 я не очень понял (про использование non thread-safe версий re2) | 2018-02-02T21:42:23 | 2018-02-02T21:42:23 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,046,926 | 1,858 | alexey-milovidov | It will contradict our principles: all names are case sensitive except names that are identical to the names from the SQL standard. Example: `formatReadableSize` function name is case sensitive; and `sum`, `dateDiff` are case insensitive just for compatibility.
I would like to make all factories more user friendly b... | 2018-02-05T10:42:20 | 2018-02-05T10:42:20 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 363,062,875 | 1,858 | zhang2014 | Sorry, I'm not know about the current principles. | 2018-02-05T11:51:34 | 2018-02-05T11:55:26 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,093,449 | 858 | alexey-milovidov | Yes, it is fixed. Thanks! | 2018-02-05T14:04:19 | 2018-02-05T14:04:19 | {} | MEMBER |
ClickHouse | ClickHouse | 363,209,257 | 1,857 | alexey-milovidov | Mostly Ok.
Now what is the result if there was null?
Is it a string with `null` or an empty string?
Does it make sense to use similar logic for other data types?
For MySQL and ODBC sources it will be default value for all data types (example: empty string for String):
```
if (!value.isNull())
... | 2018-02-05T20:21:03 | 2018-02-05T20:21:46 | {} | MEMBER |
ClickHouse | ClickHouse | 363,553,563 | 1,850 | alexey-milovidov | Fix for DateTime is in master. | 2018-02-06T20:24:10 | 2018-02-06T20:24:10 | {} | MEMBER |
ClickHouse | ClickHouse | 363,561,893 | 1,828 | proller | We will move preprocessed configs from /etc to data dir soon. | 2018-02-06T20:56:28 | 2018-02-06T20:56:28 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 364,013,169 | 1,837 | vavrusa | Is there anything else in the clickhouse logs? Does the table schema match the entries in Kafka topic? Can you post an example of the data from `SELECT * FROM cpuinfo LIMIT 1` ? | 2018-02-08T06:13:02 | 2018-02-08T06:13:02 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 361,399,016 | 1,821 | bobrik | If anyone stumbles on this issue, we worked around it by throttling 50G interface to 4G-8G with `comcast` tool, depending on disk performance:
```
./bin/comcast --device vlanXYZ --stop; ./bin/comcast --device vlanXYZ --packet-loss=0% --target-bw $((4 * 1000 * 1000)
```
* https://github.com/tylertreat/comcast
... | 2018-01-29T21:51:59 | 2018-01-29T21:51:59 | {
"+1": 6
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 362,457,354 | 590 | zhang2014 | @ludv1x There are scripts in the project that will allow me to quickly start the distributed environment to reproduce this type of problem? | 2018-02-02T01:28:31 | 2018-02-02T01:28:31 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,018,730 | 1,858 | zhang2014 | @alexey-milovidov I just saw someone was confused by the error : ) | 2018-02-05T08:52:53 | 2018-02-05T08:52:53 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,610,268 | 1,866 | alexey-milovidov | Yes, system.numbers table doesn't have "index", and the query will perform "full scan".
You can overcome by using:
- LIMIT: `SELECT * FROM system.numbers LIMIT 10`;
- table function numbers: `SELECT * FROM numbers(10)`;
PS. It's Ok if someone will also add an index (analysis of WHERE for simple conditions on nu... | 2018-02-07T00:10:29 | 2018-02-07T00:10:29 | {} | MEMBER |
ClickHouse | ClickHouse | 363,829,806 | 1,839 | alexey-milovidov | JSON in its specification has no support for `inf`, `nan`.
But we have some support, and I think we should also add support for +inf. | 2018-02-07T16:39:59 | 2018-02-07T16:39:59 | {} | MEMBER |
ClickHouse | ClickHouse | 363,995,750 | 1,874 | lugt | I've changed it to a void cast and it works fine.
Line 54 :
```c++
#if POCO_CLICKHOUSE_PATCH || POCO_VERSION >= 0x02000000
session.setTimeout(connection_timeout, send_timeout, receive_timeout);
#else
session.setTimeout(connection_timeout);
static_cast <void> (send_timeout);
static_cast <void>... | 2018-02-08T04:01:32 | 2018-02-08T04:04:05 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 361,868,841 | 1,836 | lamberken | @alexey-milovidov yes, it can't not work
```
Exception: Pattern application proves too difficult, exceeding max iterations
``` | 2018-01-31T09:09:18 | 2018-01-31T09:09:18 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 362,548,670 | 1,818 | KochetovNicolai | Issue may happen if replicas of replicated table have different versions. Do you have the same issue after updating all replicas? | 2018-02-02T10:29:19 | 2018-02-02T10:29:19 | {} | MEMBER |
ClickHouse | ClickHouse | 363,410,244 | 1,857 | gerasim13 | sorry i think i found mistake in my code. i will push fixed version to my branche soon | 2018-02-06T12:40:38 | 2018-02-06T12:40:38 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 360,845,993 | 112 | gerasim13 | Hello, i faced with same issue.
Could you please provide simple example of use of mongo with clickhouse? | 2018-01-26T17:13:40 | 2018-01-26T17:13:40 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 361,130,228 | 268 | IvanJobs | @miolini is there any guide for how to use this docker build image? | 2018-01-29T03:23:25 | 2018-01-29T03:23:25 | {} | NONE |
ClickHouse | ClickHouse | 361,576,664 | 1,836 | lamberken | @sundy-li 如果能通过clickhouse语法可以直接实现就很好了, 易观比赛加了一些限定条件可以快速得出结果。我发现它总是卡在一台机器上 98%,这个阶段如果可以并行使用多个机器运行就好了 | 2018-01-30T12:19:05 | 2018-01-30T12:19:05 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 362,588,028 | 590 | ludv1x | @zhang2014 There are integration test (see `dbms/tests/integration/test_insert_into_distributed_sync_async/test.py` for example).
In these tests, you can build any virtual cluster environment inside `docker`.
Hopefully, to debug and fix this problem you can build simple "fake" cluster consisting of `127.0.0.N` host... | 2018-02-02T13:36:11 | 2018-02-02T13:37:31 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,214,919 | 1,862 | alexey-milovidov | It is still possible to insert data from a dump with any allowed format (TabSeparated, RowBinary, etc.),
though it is unsafe by the same reason.
Appropriate solution will be to add a setting to allow conversion, disabled by default. | 2018-02-05T20:42:33 | 2018-02-05T20:42:33 | {} | MEMBER |
ClickHouse | ClickHouse | 363,229,063 | 1,848 | digitalist | билд:
```
git clone
cd ClickHouse && mkdir -p cmake_build && cd cmake_build
cmake ..
make
```
ошибка при сборке re2_st:
[re2.txt](https://github.com/yandex/ClickHouse/files/1696851/re2.txt)
cmake:
[cmake.txt](https://github.com/yandex/ClickHouse/files/1696852/cmake.txt)
| 2018-02-05T21:35:15 | 2018-02-05T21:35:15 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,732,323 | 1,840 | alexey-milovidov | `InterpreterShowCreateQuery` is very simple - I think, nothing to refactor.
And behaviour is slightly different - for `SHOW CREATE TABLE` it is intended to throw an exception if database is unaware of it, but in `system.tables` table, empty string is used in that cases. | 2018-02-07T10:53:48 | 2018-02-07T10:53:48 | {} | MEMBER |
ClickHouse | ClickHouse | 363,732,826 | 1,776 | alexey-milovidov | Will take a look... | 2018-02-07T10:55:36 | 2018-02-07T10:55:36 | {} | MEMBER |
ClickHouse | ClickHouse | 364,140,818 | 1,876 | proller | Already fixed and tested:
https://github.com/yandex/ClickHouse/commit/15e77ec68815013cdf619f3b29ae90f064c1f55b | 2018-02-08T15:09:37 | 2018-02-08T15:09:37 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 360,666,917 | 66 | zhang2014 | @alexey-milovidov Maybe It has been fixed, can we close this issue? | 2018-01-26T02:33:25 | 2018-01-26T02:33:25 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,194,474 | 1,776 | alexey-milovidov | Fixed in recent releases. | 2018-02-05T19:28:42 | 2018-02-05T19:28:42 | {} | MEMBER |
ClickHouse | ClickHouse | 363,228,711 | 1,862 | kanterov | Thanks, @alexey-milovidov. Ingesting in RowBinary and Native formats seem to work for me. | 2018-02-05T21:34:05 | 2018-02-05T21:34:05 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,369,765 | 1,857 | gerasim13 | In case when i receive string with null if i query document by objectid and there is no documents with supplied id, i'm happy (maybe becase it works and doesnt throw exception).
I tried to insert default value, but it doesnt work in my case. Every time this code throws exception
`Poco::Exception. Code: 1000, e.code... | 2018-02-06T09:54:02 | 2018-02-06T11:01:02 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,808,187 | 1,870 | filimonov | Please check https://github.com/yandex/ClickHouse/issues/75 and https://github.com/yandex/ClickHouse/issues/1130 | 2018-02-07T15:38:47 | 2018-02-07T15:39:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 361,927,961 | 1,843 | fireya | Can be closed. Fixed in latest version 1.1.54342
Now it fails with:
> Second argument to tupleElement must be a constant UInt8 or String | 2018-01-31T13:12:50 | 2018-01-31T13:12:50 | {} | NONE |
ClickHouse | ClickHouse | 362,609,426 | 590 | zhang2014 | @ludv1x Thanks!! | 2018-02-02T14:59:59 | 2018-02-02T14:59:59 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,079,304 | 858 | zhang2014 | @ludv1x can we close this issue? | 2018-02-05T13:06:53 | 2018-02-05T13:06:53 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,425,064 | 1,857 | gerasim13 | i think i'm finish for now, but i think i need to rewrite mongo integration soon. the poco driver seems outdated. i cant to query my documents from view with poco. | 2018-02-06T13:40:55 | 2018-02-06T13:40:55 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,638,619 | 1,868 | zhang2014 | Can you provide your version? The problem has been fixed in #1416 | 2018-02-07T02:47:05 | 2018-02-07T02:47:05 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 360,737,779 | 1,815 | schursin | Maybe something like this?
https://www.postgresql.org/docs/9.1/static/sql-comment.html | 2018-01-26T10:07:01 | 2018-01-26T10:07:01 | {} | NONE |
ClickHouse | ClickHouse | 361,541,132 | 1,836 | shangshujie365 | udaf | 2018-01-30T09:59:44 | 2018-01-30T09:59:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 361,861,025 | 1,226 | arctica | This feature would be very useful. I learned (via google groups search result) that the best way right now is:
1. DETACH view
2. ALTER the .inner. table of the view
3. ATTACH the view with the updated table definition and select query
These steps are not atomic and if 2. or 3. fail, then you might have a proble... | 2018-01-31T08:37:18 | 2018-01-31T08:37:18 | {
"+1": 19
} | NONE |
ClickHouse | ClickHouse | 361,954,740 | 1,828 | ludv1x | autotests | 2018-01-31T14:49:49 | 2018-01-31T14:49:49 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,014,395 | 1,858 | alexey-milovidov | I wonder, why you really need this? | 2018-02-05T08:33:51 | 2018-02-05T08:33:51 | {} | MEMBER |
ClickHouse | ClickHouse | 363,197,252 | 1,854 | alexey-milovidov | Sharding key in Distributed table is used only at INSERT.
For SELECTs, sharding key does not make sense and Distributed tables always query all shards.
Insertion to local tables is more efficient and more flexible than insertion to Distributed table.
It is more efficient because it avoids excessive copying of temp... | 2018-02-05T19:38:44 | 2018-02-05T19:38:44 | {
"+1": 2
} | MEMBER |
ClickHouse | ClickHouse | 364,183,882 | 1,763 | alexey-milovidov | Thanks.
Minor modifications:
https://github.com/yandex/ClickHouse/commit/75fb48c94c2b33b4fe9610e5e072a3c8c486be72
https://github.com/yandex/ClickHouse/commit/03adf79fdca7de5d8aeceee2abacd82262758ea1 | 2018-02-08T17:19:03 | 2018-02-08T17:19:03 | {} | MEMBER |
ClickHouse | ClickHouse | 361,849,832 | 856 | wayhome | I had the similar problem with the config of Graphite.
In zookeeper I have:
```
(CONNECTED) /> get /clickhouse/config-overrides/graphite
<host>carbon-relay</host>
<port>24000</port>
<timeout>0.1</timeout>
<interval>5</interval>
<root_path>adclickhouse</root_path>
<metrics>true</metrics>
<events>true</e... | 2018-01-31T07:42:50 | 2018-01-31T07:42:50 | {} | NONE |
ClickHouse | ClickHouse | 362,270,000 | 1,846 | duremar | ```
SELECT
uniqExact(x) AS u,
uniqExactIf(x, name = 'a') AS ue,
uniqExactIf(x, name IN ('a', 'b')) AS ui
FROM
(
SELECT
toNullable('a') AS name,
arrayJoin(range(10)) AS x
)
WHERE name = 'a'
┌──u─┬─ue─┬─ui─┐
│ 10 │ 10 │ 5 │
└────┴────┴────┘
```
| 2018-02-01T13:45:45 | 2018-02-01T13:45:45 | {} | NONE |
ClickHouse | ClickHouse | 363,196,767 | 1,834 | milktea02 | We also came across this issue and the relevant page is: http://clickhouse-docs.readthedocs.io/en/latest/access_rights.html
> The default user is also used for distributed query processing - the system accesses remote servers under this username. So the default user must have an empty password and must not have subs... | 2018-02-05T19:37:01 | 2018-02-05T19:37:01 | {} | NONE |
ClickHouse | ClickHouse | 363,503,669 | 1,850 | ludv1x | As a workaround, you could set `input_format_values_interpret_expressions=0` setting and use more "strict syntax" for VALUES format. So, in your example use ` 'YYYY-MM-DD HH:MM:SS'` representation for DateTime values instead of unix timestamps. | 2018-02-06T17:40:25 | 2018-02-06T17:41:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,505,596 | 1,850 | alexey-milovidov | ClickHouse parses data in `Values` format (as in `INSERT ... VALUES`) in one of two ways:
1. Fast path - it is used when all values are in expected form. For example, DateTime can be parsed in the `'2018-02-06 20:34:32'` form or in `'1517938472'` form. Note that in both forms it's expected that the value is in quote... | 2018-02-06T17:46:18 | 2018-02-06T17:46:31 | {} | MEMBER |
ClickHouse | ClickHouse | 363,852,278 | 1,857 | alexey-milovidov | Thanks! | 2018-02-07T17:50:01 | 2018-02-07T17:50:01 | {} | MEMBER |
ClickHouse | ClickHouse | 364,082,209 | 1,445 | priyank43 | Hi,
We have installed the latest version for clickhouse **1.1.54327** but still found same issue, data insertions is stooped working, kindly find the error log and please provide the solution that what to do next?
Clickouse Error:
18.02.07 02:13:56.001450 [ 29 ] <Error> DB::StorageReplicatedMergeTree::queueTas... | 2018-02-08T11:21:13 | 2018-02-08T11:21:13 | {} | NONE |
ClickHouse | ClickHouse | 361,467,082 | 1,836 | lamberken | @ztlpn can you give me some advice? | 2018-01-30T03:38:28 | 2018-01-30T03:38:28 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 361,605,698 | 1,817 | akonyaev90 | Я решил проблему. Но это полумера.
Сначала я вытащил словарь в таблицу типа Log
`CREATE TABLE akonyaev.content_app_version_mapi
ENGINE = Log() AS
SELECT *
FROM dictionaries.content_app_version_mapi `
Затем превратил колонку versions_with_allowed_formats из строки, в сплитнутый массив с Int32.
`CREATE TABLE a... | 2018-01-30T14:15:44 | 2018-01-30T14:15:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,557,616 | 1,846 | alexey-milovidov | ```
SELECT sum(toNullable('a') IN 'a')
┌─sum(in(toNullable(\'a\'), \'a\'))─┐
│ 192 │
└───────────────────────────────────┘
``` | 2018-02-06T20:38:52 | 2018-02-06T20:38:52 | {} | MEMBER |
ClickHouse | ClickHouse | 363,562,029 | 1,828 | alexey-milovidov | @proller is going to slightly modify this.
`-preprocessed` files will be created in clickhouse data path
and `/etc/clickhouse-server/` will contain symlink to them. | 2018-02-06T20:57:03 | 2018-02-06T20:57:03 | {} | MEMBER |
ClickHouse | ClickHouse | 364,087,516 | 1,876 | alexey-milovidov | We should add Compiler-7.0.0 directory to support newer clang. | 2018-02-08T11:45:11 | 2018-02-08T11:45:11 | {} | MEMBER |
ClickHouse | ClickHouse | 361,931,090 | 1,830 | ludv1x | LGTM :+1:
However, note that expressions like `toUInt32(id) in (100)` don't actually use the index yet:
```
CREATE TABLE test.test (site_id Int32, site_key String ) ENGINE = MergeTree ORDER BY site_id SETTINGS index_granularity = 1;
INSERT INTO test.test VALUES (100, '100'), (200, '200');
SELECT * FROM test.t... | 2018-01-31T13:25:39 | 2018-01-31T13:27:25 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 362,579,698 | 1,848 | proller | Попробуйте
https://github.com/proller/freebsd-ports/tree/master/databases/clickhouse
- там должно быть все решено. | 2018-02-02T12:59:20 | 2018-02-02T12:59:20 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 361,189,949 | 268 | Slach | @IvanJobs
this image need for build clickhouse-server from sources inside docker, under ubuntu 14.04 (why? ;)
for use them
just make following commands
```
git clone https://github.com/yandex/ClickHouse.git ./clickhouse-server
cd ./clickhouse-server/docker/builder
make build
``` | 2018-01-29T09:39:23 | 2018-01-29T09:39:23 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 361,985,047 | 253 | lidalei | C++ does not support decimal natively. But have a look at https://github.com/yandex/ClickHouse/blob/609133ea01803379e340e4c9658d276ea7ac4f9e/dbms/src/AggregateFunctions/AggregateFunctionSum.h#L49 and https://en.wikipedia.org/wiki/Kahan_summation_algorithm. | 2018-01-31T16:20:21 | 2018-01-31T16:20:21 | {} | NONE |
ClickHouse | ClickHouse | 362,549,224 | 1,831 | ludv1x | Tests `00220_with_totals_in_subquery_remote_and_limit` and `00217_global_subquery_columns_with_same_name` are failed
https://travis-ci.org/yandex/ClickHouse/jobs/334812063#L6537 | 2018-02-02T10:31:47 | 2018-02-02T10:31:47 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,402,324 | 1,776 | skaurus | I'm not sure this is fixed... I tried running this script on the latest version and while there were no errors about unexpected values for Enum, aggregates as reported by the script and as found in the ClickHouse are wildly different. | 2018-02-06T12:03:28 | 2018-02-06T12:03:28 | {} | NONE |
ClickHouse | ClickHouse | 363,511,436 | 1,857 | alexey-milovidov | Almost Ok.
I can merge but without this change:
`if (_str.size() == 24) ...`
that looks weird.
`if (attr.second.injective)`
This also is very misleading.
You can invent special property of an attribute specifically to say that it is an object_id.
For example, `<key>...<attribute>... <is_object_id>true</is_... | 2018-02-06T18:04:39 | 2018-02-06T18:04:39 | {} | MEMBER |
ClickHouse | ClickHouse | 363,699,076 | 1,866 | Schaefer-Thomas | thx! | 2018-02-07T08:51:07 | 2018-02-07T08:51:07 | {} | NONE |
ClickHouse | ClickHouse | 364,175,700 | 1,840 | ludv1x | @zhang2014
> Maybe I can rely on this refactor InterpreterShowCreateQuery?
Did you mean to merge your PR #1824 with this one? | 2018-02-08T16:53:35 | 2018-02-08T16:53:35 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 360,582,995 | 1,665 | miggi | Alright guys, so the problem was in incorrect mapping, String value was trying to be saved to Float64 schema.This was silently ignored in previous releases, but current version is throwing error.
Anyway, I see no issue here, so thanks for quick support. Cheers! | 2018-01-25T20:00:13 | 2018-01-25T20:00:13 | {} | NONE |
ClickHouse | ClickHouse | 361,570,432 | 1,834 | igor-sh8 | Sorry, I found that <replica> section config supports <user> and <password> tags. So all fine, all works properly. | 2018-01-30T11:50:59 | 2018-01-30T11:50:59 | {} | NONE |
ClickHouse | ClickHouse | 361,577,415 | 1,732 | shangshujie365 | I searched rainbird, all things related it is about 2011, so, what happened to it these years?Maybe it has stoped | 2018-01-30T12:22:31 | 2018-01-30T12:22:31 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 361,934,146 | 1,830 | ludv1x | Oh, sorry the index works actually.
It does not work in the case because `site_id` is signed `Int32`, so `toUInt32(site_id)` is not fully monotonic function. | 2018-01-31T13:37:30 | 2018-01-31T13:37:30 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 362,273,119 | 1,846 | akonyaev90 | > SELECT
uniqExact(assumeNotNull(ivi_id)) AS uniq,
uniqExactIf(assumeNotNull(ivi_id), name = 'promo_view') AS uniqEq,
uniqExactIf(assumeNotNull(ivi_id), name IN 'promo_view') AS uniqIN
FROM groot2.events_merge_result
WHERE (dt = toDate('2017-12-01')) AND (name = 'promo_view')
> ↖ Progress: 591.8... | 2018-02-01T13:57:32 | 2018-02-01T14:03:35 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,445,907 | 1,850 | astudnev | https://groups.google.com/forum/#!topic/clickhouse/iAi9RMPldoc
likely answers this
However, this is pretty bad that clickhouse works not in pre-deterministic way | 2018-02-06T14:52:41 | 2018-02-06T15:06:18 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,522,569 | 1,855 | alexey-milovidov | Thanks! :+1: | 2018-02-06T18:41:38 | 2018-02-06T18:41:38 | {} | MEMBER |
ClickHouse | ClickHouse | 363,558,535 | 1,840 | alexey-milovidov | Let's rename `query_create_table` to `create_table_query` to be more uniform with `SHOW CREATE TABLE`.
Your own test failed in Travis. | 2018-02-06T20:42:14 | 2018-02-06T20:42:14 | {} | MEMBER |
ClickHouse | ClickHouse | 363,908,800 | 1,871 | alexey-milovidov | https://github.com/yandex/ClickHouse/pull/1748 | 2018-02-07T21:00:21 | 2018-02-07T21:00:21 | {} | MEMBER |
ClickHouse | ClickHouse | 364,191,722 | 1,823 | alexey-milovidov | Thanks!
Notes:
- the code you commented is really not needed (it could be needed if constants in different blocks have different values, but we assume that it is not possible and otherwise it is a bug);
- tabs and spaces was messed up a little;
| 2018-02-08T17:45:06 | 2018-02-08T17:45:06 | {} | MEMBER |
ClickHouse | ClickHouse | 361,513,287 | 1,817 | akonyaev90 | content_app_version_mapi - это словарь из таблицы postgresql | 2018-01-30T08:32:15 | 2018-01-30T08:32:15 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 361,614,534 | 1,817 | yurial | arrayJoin множит строку на размер массива. splitByChar вернет массив по количеству ','. Учитывая, что ClickHouse обрабатывает данные блоками, то расход памяти будет прямо пропорционален количеству ',' в блоке данных. | 2018-01-30T14:45:11 | 2018-01-30T14:45:11 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 361,918,592 | 1,817 | yurial | Могу предположить, что когда ты делаешь один запрос, в памяти одновременно нужно хранить больше данных т.е. и versions_with_allowed_formats и результат splitByChar и результат arrayMap. Вообще твою проблему можно обойти увеличив доступный объем памяти или уменьшив max_block_size и max_read_buffer_size, max_threads, что... | 2018-01-31T12:31:47 | 2018-01-31T12:32:17 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 361,954,899 | 1,828 | ludv1x | @proller Could you check it? It is LGTM. | 2018-01-31T14:50:21 | 2018-01-31T14:50:21 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,394,576 | 1,850 | astudnev | Additional information that could be helpful: error happen on random files, but always around the 710 row (+/-10) | 2018-02-06T11:28:41 | 2018-02-06T11:28:41 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,500,577 | 1,848 | proller | а можно удалить CMakeCache.txt и еще раз вывод cmake ?
или какая именно версия clang там ? | 2018-02-06T17:30:57 | 2018-02-06T17:30:57 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,529,160 | 1,848 | digitalist | FreeBSD clang version 6.0.0 (branches/release_60 323338) (based on LLVM 6.0.0) | 2018-02-06T19:02:42 | 2018-02-06T19:02:42 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,559,764 | 1,840 | alexey-milovidov | Almost Ok. | 2018-02-06T20:47:13 | 2018-02-06T20:47:13 | {} | MEMBER |
ClickHouse | ClickHouse | 363,583,490 | 1,840 | zhang2014 | Maybe I can rely on this refactor `InterpreterShowCreateQuery`? | 2018-02-06T22:16:13 | 2018-02-06T22:16:13 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,731,269 | 1,867 | alexey-milovidov | The issue is much worse - WHERE conditions don't pushed down into view (it is also the same in the case of subqueries) and index is not used. | 2018-02-07T10:49:49 | 2018-02-07T10:50:04 | {
"confused": 2
} | MEMBER |
ClickHouse | ClickHouse | 361,443,817 | 97 | zhang2014 | @alexey-milovidov can we close this issue? | 2018-01-30T01:16:26 | 2018-01-30T01:16:26 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 362,632,328 | 1,845 | KochetovNicolai | autotest | 2018-02-02T16:21:33 | 2018-02-02T16:21:33 | {} | MEMBER |
ClickHouse | ClickHouse | 363,506,105 | 1,861 | ludv1x | As a workaround, you could send `DROP PARTITION` query to another (leader) replica.
This happens if the query is sent to non-leader replica, in that case, the replica forwards the query to the leader using default user. | 2018-02-06T17:47:45 | 2018-02-06T17:47:45 | {
"+1": 2
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,515,678 | 1,861 | harlinb | Good to know, thanks for the quick answer. | 2018-02-06T18:18:58 | 2018-02-06T18:18:58 | {} | NONE |
ClickHouse | ClickHouse | 363,993,223 | 1,874 | lugt | Maybe there can be some kind of trivial use of these two parameters, to circumvent the state of not being used. | 2018-02-08T03:42:36 | 2018-02-08T03:42:36 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 362,564,033 | 1,818 | akonyaev90 | Nope, I was updated first instance and saw this error in log file.
Thank's, i will try update all instances in cluster and report you later. | 2018-02-02T11:39:48 | 2018-02-02T11:39:48 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,173,090 | 1,411 | alexey-milovidov | Fixed in master. | 2018-02-05T18:19:17 | 2018-02-05T18:19:17 | {} | MEMBER |
ClickHouse | ClickHouse | 361,896,958 | 1,817 | akonyaev90 | Ок, но если я делаю всё последовательно, с промежуточной таблице - то расход памяти должен быть тот-же
| 2018-01-31T10:55:43 | 2018-01-31T10:55:43 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,175,538 | 1,848 | proller | а какой именно вызов cmake был?
И можно посмотреть что он в консоль написал?
И после того как make упадет - еще раз запустить ```make VERBOSE=1``` - и каике там комманды перед падением? | 2018-02-05T18:27:38 | 2018-02-05T18:27:38 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,502,071 | 1,849 | ludv1x | What datatypes of groupArray do you use?
I have not noticed performance degradation with groupArray for numeric and string types.
We need more details to investigate the issue.
Do `userid`s have uniform distribution?
Try to test performance with empty GROUP BY key (`SELECT ignore(groupArray(event) AS events, grou... | 2018-02-06T17:35:31 | 2018-02-06T17:35:31 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 363,639,074 | 1,868 | kingbacks | thanks very much, old version has the problem, then I use the 1.1.54342 version and is OK! @zhang2014 | 2018-02-07T02:49:57 | 2018-02-07T02:49:57 | {} | NONE |
ClickHouse | ClickHouse | 363,817,569 | 1,839 | filimonov | Just inf/Inf (without plus sign) is supported, but may be signed +Inf can also be supported.
testcase:
```
CREATE TABLE float_inf_problem ( x Float64 ) ENGINE = Memory;
insert into float_inf_problem format JSONEachRow {"x":"+inf"};
# those - work:
insert into float_inf_problem format JSONEachRow {"x":"-inf"}... | 2018-02-07T16:04:28 | 2018-02-07T16:04:28 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 364,088,804 | 1,874 | alexey-milovidov | Yes, this is correct solution.
Do you want to make a pull request? (Or we can commit it.) | 2018-02-08T11:50:58 | 2018-02-08T11:50:58 | {} | MEMBER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.