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
441,018,644
3,638
alexey-milovidov
Yes, we can easily add `power` alias.
2018-11-22T12:40:13
2018-11-22T12:40:13
{}
MEMBER
ClickHouse
ClickHouse
441,177,255
721
jorge-lavin
> Good evening. > Seems that your container has no support for IPv6. > Try to edit `/etc/clickhouse-server/config.xml` and set value of `<listen_host>` to `0.0.0.0` to listen wildcard IPv4 address. If there are more than one `<listen_host>`, leave just one. I'm specifing that `<listen_host>` but I can't spawn a co...
2018-11-23T08:20:03
2018-11-23T08:20:03
{}
NONE
ClickHouse
ClickHouse
441,070,816
3,612
levonet
@proller @alexey-milovidov @alesapin И таки шо мне делать с PR? Тут 2 строчки кода осталось, может посмотрите?
2018-11-22T15:57:32
2018-11-22T15:57:32
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,136,272
3,617
alexey-milovidov
libcurl is used only for interaction with "Key Management Server" (KMS). I don't know whether the usage of KMS is mandatory.
2018-11-23T00:12:17
2018-11-23T00:13:00
{}
MEMBER
ClickHouse
ClickHouse
441,147,804
3,636
xiaods
i use aliyun provider load balance proxy to nat clickhouse port 8123, maybe the ingress lb add health check to the port. let me check
2018-11-23T03:04:04
2018-11-23T03:04:04
{}
NONE
ClickHouse
ClickHouse
441,308,271
3,350
alexey-milovidov
> Then is will dispatch on every iteration (codec_choose) and performance drops to as low as 1.03 GB/s. It happens with multithreaded query execution: - single thread: 490 MiB/s. - 16 threads: 988 MiB/s. Maybe this is due to poor implementation of `codec_choose` function.
2018-11-23T19:35:45
2018-11-23T19:35:45
{}
MEMBER
ClickHouse
ClickHouse
441,340,117
2,680
alexey-milovidov
Now it works smoothly. I'll add a test.
2018-11-24T03:15:47
2018-11-24T03:15:47
{}
MEMBER
ClickHouse
ClickHouse
441,848,592
3,648
calgs
Corrected Query [This worked].. Thanks so much! ``` WITH 0 AS StartingPosition, [100, 5, 10] AS AddArr, [5, 10, 25] AS ConsumeArray SELECT arrayMap(day_idx -> ((arraySum(arraySlice(AddArr, 1, day_idx)) - arraySum(arraySlice(ConsumeArray, 1, day_idx))) + StartingPosition), range(length(AddArr)))
2018-11-27T00:11:10
2018-11-27T00:12:01
{}
NONE
ClickHouse
ClickHouse
441,122,626
3,643
alexey-milovidov
:+1:
2018-11-22T21:29:58
2018-11-22T21:29:58
{}
MEMBER
ClickHouse
ClickHouse
441,162,049
3,598
nicelulu
@alesapin Hello,thank you. This is with -ss option and provide full output. ``` [root@server50-ke integration]# pytest -ss -k test_replicated_drop_partition ============================================================================================================================ test session starts ============...
2018-11-23T06:09:01
2018-11-23T06:09:01
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,363,128
1,851
xiaods
tcp health check is always trigger this error log.
2018-11-24T12:04:54
2018-11-24T12:04:54
{}
NONE
ClickHouse
ClickHouse
441,600,208
3,635
KochetovNicolai
If your result set is not very big and can be placed to array, it's possible to calculate such aggregation using groupArray, arrayMap, arraySlice and sumArray functions. It may be something like ``` groupArray(Sales) as sales_arr, arrayMap(shift -> arraySum(arraySlice(sales_arr, shift, N)), range(length(sales_ar...
2018-11-26T11:00:44
2018-11-26T11:00:44
{}
MEMBER
ClickHouse
ClickHouse
441,605,490
2,211
filimonov
Hm. Now i'm on another computer, and can't reproduce that either (even when opening shell to old pc). So most probably it was something computer- / readline settings specific Closing for now, i will add extra comments if i will have more details.
2018-11-26T11:20:43
2018-11-26T11:20:43
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,089,306
3,377
alexey-milovidov
> There is a problem now that comments copies in declarations of materialized and aliased columns. It looks ugly in desc query and similar. Please provide an example on how ugly it is. Maybe it is tolerable.
2018-11-22T17:20:37
2018-11-22T17:20:37
{}
MEMBER
ClickHouse
ClickHouse
441,463,727
3,660
blinkov
cc @zhang2014 @sundy-li
2018-11-25T19:01:20
2018-11-25T19:01:20
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,631,735
3,667
proller
What clickhouse version you have installed? chown started with '-' symbol - errors should be ignored. https://github.com/yandex/ClickHouse/blob/master/debian/clickhouse-server.service#L11 Also these chown will be removed here soon: https://github.com/yandex/ClickHouse/pull/2443
2018-11-26T13:04:24
2018-11-26T13:04:24
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,697,012
3,672
KochetovNicolai
What is the partition key? Can you show `SHOW CREATE TABLE`?
2018-11-26T16:11:10
2018-11-26T16:11:10
{}
MEMBER
ClickHouse
ClickHouse
441,819,505
3,579
4n70w4
Any news?
2018-11-26T22:12:22
2018-11-26T22:12:22
{}
NONE
ClickHouse
ClickHouse
441,073,509
3,377
s-mx
There is a problem now that comments copies in declarations of materialized and aliased columns. It looks ugly in desc query and similar.
2018-11-22T16:07:47
2018-11-22T16:07:47
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,306,442
3,350
alexey-milovidov
Ok. The codec is correctly selected on my test server (AVX on E5-2650 v2). ``` SELECT count() FROM hits_1000m_transformed WHERE base64Decode(base64Encode(URL)) != URL ``` - 5.72 GB/s. TODO: check what happens if I compile on a machine without certain instruction set and run on machine with that instruction se...
2018-11-23T19:20:06
2018-11-23T19:20:06
{}
MEMBER
ClickHouse
ClickHouse
441,560,063
2,577
xiaods
@rpfennin got it. thanks for your remind
2018-11-26T08:44:54
2018-11-26T08:44:54
{}
NONE
ClickHouse
ClickHouse
441,614,285
2,211
blinkov
@filimonov as most other C/C++ alternatives it's too basic to support stuff like inline syntax highlighting.
2018-11-26T11:56:55
2018-11-26T11:56:55
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,645,637
3,659
754154377
> Do you mean that you what to push down WHERE predicate from main query to VIEW? There is a setting `enable_optimize_predicate_expression`. Try to enable it and check if it works for your case. For Example: To express my thoughts, I have fabricated the following functions, which do not actually exist. create table...
2018-11-26T13:51:54
2018-11-26T13:51:54
{}
NONE
ClickHouse
ClickHouse
441,680,370
3,592
kanterov
@alexey-milovidov did you have a chance to take a look?
2018-11-26T15:31:42
2018-11-26T15:31:42
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,990,281
3,672
KochetovNicolai
You can enable [part_log](https://clickhouse.yandex/docs/en/single/#part_log) to see what happens with parts. Also the number of partitions can't decrease. Probably, you are talking about parts. All parts from all partitions are stored in the same folder. And only parts from the same partition can be merged.
2018-11-27T09:34:29
2018-11-27T09:34:29
{}
MEMBER
ClickHouse
ClickHouse
441,113,823
3,615
champtar
Fixed with #3632
2018-11-22T20:12:41
2018-11-22T20:12:41
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,126,108
3,539
alexey-milovidov
Resolved in c0e97a97cd256e2e35239e43e437e35da7c9329d
2018-11-22T22:00:56
2018-11-22T22:00:56
{}
MEMBER
ClickHouse
ClickHouse
441,307,408
3,350
alexey-milovidov
> All vectorized instructions shows nearly same performance, actually. On your query I also have the same results: Queries executed: 71. 170.397 MiB/s for SSE42 181.017 MiB/s for AVX
2018-11-23T19:28:24
2018-11-23T19:28:24
{}
MEMBER
ClickHouse
ClickHouse
441,374,859
3,636
den-crane
`<Trace>` -- it's not an error You need to change log level. Log levels are trace, debug, information, warning, error (in decreasing verbosity). Try debug. https://clickhouse.yandex/docs/en/operations/server_settings/settings/#logger
2018-11-24T15:18:08
2018-11-24T15:18:08
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,406,595
2,211
alexey-milovidov
Cannot reproduce on Ubuntu. Note that we link with readline (or libedit) library from OS. That makes it depend on exact version of readline that OS has at the build time.
2018-11-25T00:42:37
2018-11-25T00:49:58
{}
MEMBER
ClickHouse
ClickHouse
441,069,960
3,589
alexey-milovidov
In stable release.
2018-11-22T15:54:24
2018-11-22T15:54:24
{}
MEMBER
ClickHouse
ClickHouse
441,113,853
3,615
champtar
Thanks @KochetovNicolai
2018-11-22T20:12:50
2018-11-22T20:12:50
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,312,726
3,406
alexey-milovidov
https://gist.github.com/alexey-milovidov/9cbbc2916f8d946594049d424487e458 Now the `uniqHLL12` function can be considered obsolete.
2018-11-23T20:15:56
2018-11-23T20:15:56
{}
MEMBER
ClickHouse
ClickHouse
441,634,941
2,443
filimonov
👍 Это была одна из претензий наших ОПсов к кликхаусу :)
2018-11-26T13:16:07
2018-11-26T13:16:07
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,781,304
3,659
den-crane
You don't need parameters, it works out the box If you create view like create view view_shop_sale as **select event_date, shop_id, sale_amt from shop_sale** **enable_optimize_predicate_expression = 0** select * from view_shop_sale where eventDate= '2000-01-01' and shopId= 'AB01' will be executed as select...
2018-11-26T20:12:30
2018-11-26T20:12:30
{ "+1": 2 }
CONTRIBUTOR
ClickHouse
ClickHouse
441,142,578
3,636
xiaods
in telegram, Alexey Milovidov, [22.11.18 21:43] [In reply to Tommy xiao] Maybe it is related to some health checks? I have no experience with kubernetes, but if it just connects to the port and closing connection immediately, these error messages just show it.
2018-11-23T01:51:41
2018-11-23T01:51:41
{}
NONE
ClickHouse
ClickHouse
441,300,604
3,584
alexey-milovidov
For Enum data types, the implicit default (that is used in totals) is the value with minimal numeric value. This is documented.
2018-11-23T18:32:42
2018-11-23T18:32:42
{}
MEMBER
ClickHouse
ClickHouse
441,589,050
3,656
KochetovNicolai
Same error for system.numbers: ```sql SELECT formatReadableSize(number) AS number, number AS a FROM system.numbers LIMIT 1 Received exception from server (version 18.14.2): Code: 43. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Cannot format String as size in bytes. ```
2018-11-26T10:22:43
2018-11-26T10:22:43
{}
MEMBER
ClickHouse
ClickHouse
441,843,516
3,635
calgs
Learning something new (and nice) every time. This is neat. Thank you so much.
2018-11-26T23:45:58
2018-11-26T23:45:58
{ "laugh": 1 }
NONE
ClickHouse
ClickHouse
441,993,600
3,677
KochetovNicolai
From stacktrace I can assume that the issue the same as in #3615 which was fixed in #3632 . Fix is not in any release yet, but you can build from master if you want to check it.
2018-11-27T09:44:35
2018-11-27T09:44:35
{}
MEMBER
ClickHouse
ClickHouse
441,216,556
3,377
s-mx
> > There is a problem now that comments copies in declarations of materialized and aliased columns. > > It looks ugly in desc query and similar. > > Please provide an example on how ugly it is. > Maybe it is tolerable. Never mind. I wrote down a note about that long ago and now I can't figure out what I meant.
2018-11-23T11:23:17
2018-11-23T11:23:17
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,612,493
3,657
proller
fixed here - https://github.com/yandex/ClickHouse/commit/ad6ae4fdbea33b5c56ed7674611c7794974c71b6
2018-11-26T11:49:34
2018-11-26T11:49:34
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,667,524
3,669
champtar
Hi @Enmk @alexey-milovidov is there any plans to have an IP datatype where you can have both IPv4 and IPv6 ? Right now I'm storing all IPs as a FixedString(16) so it's way simpler when querying
2018-11-26T14:57:04
2018-11-26T14:57:04
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,716,577
3,672
M1ha-Shvn
Hmm... Two hours passed since I've investigated the problem, disabled import and created the issue. Inserting data has been disabled for this time. And now all partitions are merged... Strange thing, as there were no merge processes in system.merges when I stopped working on the issue (I've investigated for several hou...
2018-11-26T17:03:05
2018-11-26T17:03:05
{}
NONE
ClickHouse
ClickHouse
441,964,918
3,677
shangshujie365
18.14.13
2018-11-27T08:10:29
2018-11-27T08:10:29
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,064,069
3,640
polischouckserg
Thank you for pointing this out.
2018-11-22T15:32:47
2018-11-22T15:32:47
{}
NONE
ClickHouse
ClickHouse
441,072,385
3,614
champtar
building master + #3632 now, results soon
2018-11-22T16:03:26
2018-11-22T16:03:26
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,124,769
3,612
alexey-milovidov
Впрочем, так как это было дополнительным пунктом, то просто мержим.
2018-11-22T21:50:27
2018-11-22T21:50:27
{ "+1": 1 }
MEMBER
ClickHouse
ClickHouse
441,315,012
3,617
alexey-milovidov
> KMS is not mandatory, maybe we can tail it or updating HttpClient using Poco::Net lib It's not really necessarily to rewrite parts of library :) The only intent is to avoid/postpone full integration of `libcurl` to our build system, if we can start without it. There are also possible security implications of usi...
2018-11-23T20:38:58
2018-11-23T20:38:58
{}
MEMBER
ClickHouse
ClickHouse
441,365,305
2,577
rpfennin
it wasn't anything i needed to resolve. the logs are still a tad noisy but it doesn't affect anything. it was just related to the haproxy check.
2018-11-24T12:42:06
2018-11-24T12:42:06
{}
NONE
ClickHouse
ClickHouse
441,406,853
2,211
alexey-milovidov
Need steps to reproduce. PS. We have to rewrite readline library eventually.
2018-11-25T00:49:29
2018-11-25T00:49:29
{}
MEMBER
ClickHouse
ClickHouse
441,406,803
2,211
alexey-milovidov
Cannot reproduce on Centos 7 in Docker with Altinity RPM packages: ``` docker run -it centos:centos7 yum install curl sudo curl -s https://packagecloud.io/install/repositories/Altinity/clickhouse/script.rpm.sh | sudo bash yum install clickhouse-client clickhouse-server sudo /etc/init.d/clickhouse-server start ...
2018-11-25T00:48:14
2018-11-25T00:51:11
{}
MEMBER
ClickHouse
ClickHouse
441,698,940
3,672
KochetovNicolai
Also you can check the number of parts in each partition to understand where the problem is: ```SQL SELECT database, table, partition, count() FROM system.parts WHERE active GROUP BY database, table, partition ORDER BY count() DESC ```
2018-11-26T16:16:08
2018-11-26T16:16:08
{}
MEMBER
ClickHouse
ClickHouse
441,864,860
3,659
754154377
> You don't need parameters, it works out the box > > If you create view like > create view view_shop_sale as **select event_date, shop_id, sale_amt from shop_sale** > > **enable_optimize_predicate_expression = 0** > select * from view_shop_sale where eventDate= '2000-01-01' and shopId= 'AB01' > will be execut...
2018-11-27T01:36:30
2018-11-27T01:36:30
{}
NONE
ClickHouse
ClickHouse
442,003,015
3,676
proller
Can you try install latest clickhouse v18.14.15 ?
2018-11-27T10:13:36
2018-11-27T10:13:36
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,142,643
3,636
xiaods
i know kubernetes service use proxy to NAT port, it should be check the port health check, i have no idea how to resolve it, let me have try to resolve it.
2018-11-23T01:52:39
2018-11-23T01:52:39
{}
NONE
ClickHouse
ClickHouse
441,309,132
3,350
alexey-milovidov
This is due to write to a global variable ("false sharing") in "codec_choose_forced" method.
2018-11-23T19:43:26
2018-11-23T19:43:26
{}
MEMBER
ClickHouse
ClickHouse
441,328,052
3,584
alexey-milovidov
This trick will help: ``` select toNullable(os_name) AS os_name, count() from analytics.apps_sessions group by os_name WITH TOTALS ```
2018-11-23T23:08:15
2018-11-23T23:08:27
{}
MEMBER
ClickHouse
ClickHouse
441,487,738
2,668
champtar
Doing some more tests, clickhouse is already doing some parallel aggregation ``` <Debug> executeQuery: (from [::1]:46112) SELECT quantilesTDigest(0.5,0.9,0.99)(response_size) from analytics.vme1 <Debug> analytics.vme1 (SelectExecutor): Key condition: unknown <Debug> analytics.vme1 (SelectExecutor): MinMax index c...
2018-11-26T00:24:20
2018-11-26T00:24:20
{ "+1": 1 }
CONTRIBUTOR
ClickHouse
ClickHouse
441,608,162
3,648
KochetovNicolai
Now I don't know if you can calculate something dependent on previously calculated values (I think it's not possible for general case now). However, for your example you can avoid such calculations because ``` EndingPosition = sum(Added for prev. days) - sum(Consumed for prev. days) + StartingPosition_Day1 ``` You...
2018-11-26T11:31:31
2018-11-26T11:31:31
{}
MEMBER
ClickHouse
ClickHouse
442,005,871
3,674
proller
```docker stop postgres``` - Are you sure in postgres name? No ideas.
2018-11-27T10:22:17
2018-11-27T10:22:17
{}
CONTRIBUTOR
ClickHouse
ClickHouse
442,025,097
3,676
alexey-milovidov
Latest ClickHouse works on CentOS 6.
2018-11-27T11:28:01
2018-11-27T11:28:01
{}
MEMBER
ClickHouse
ClickHouse
442,025,373
3,676
alexey-milovidov
``` docker run -it centos:6 /bin/bash yum install wget wget --no-check-certificate https://repo.yandex.ru/clickhouse/deb/stable/main/clickhouse-common-static_18.14.15_amd64.deb ar x clickhouse-common-static_18.14.15_amd64.deb tar xf data.tar.gz ./usr/bin/clickhouse local --query "SELECT 1" ```
2018-11-27T11:29:07
2018-11-27T11:29:07
{}
MEMBER
ClickHouse
ClickHouse
441,113,966
3,632
champtar
I confirm this fix #3615, thanks @KochetovNicolai
2018-11-22T20:13:42
2018-11-22T20:13:42
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,136,179
3,617
alexey-milovidov
``` ~/work/libhdfs3/src$ grep -i -r uuid_ . ./rpc/RpcClient.cpp: uuid_t id; ./rpc/RpcClient.cpp: uuid_generate(id); ./rpc/RpcClient.cpp: clientId.resize(sizeof(uuid_t)); ./rpc/RpcClient.cpp: memcpy(&clientId[0], id, sizeof(uuid_t)); ./CMakeLists.txt: TARGET_LINK_LIBRARIES(libhdfs3-static ${LIBUUID_...
2018-11-23T00:10:44
2018-11-23T00:10:44
{}
MEMBER
ClickHouse
ClickHouse
441,217,168
1,522
apisarenco
I got a similar error: > Unknown packet 52 from client ``` 2018.11.23 13:29:28.818418 [ 45 ] {} <Error> HTTPHandler: Code: 62, e.displayText() = DB::Exception: Syntax error: failed at position 38 (end of query): . Expected WHERE, e.what() = DB::Exception, Stack trace: 0. /usr/bin/clickhouse-server(StackTrace::S...
2018-11-23T11:26:14
2018-11-23T12:50:11
{}
NONE
ClickHouse
ClickHouse
441,310,187
3,350
alexey-milovidov
(Solution: simply do not use "flag" argument of functions.)
2018-11-23T19:53:02
2018-11-23T19:53:02
{}
MEMBER
ClickHouse
ClickHouse
441,505,635
3,393
shangshujie365
@proller our os is centos, so, we should build ourselves
2018-11-26T03:03:14
2018-11-26T03:03:14
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,586,004
3,658
KochetovNicolai
What is the dictionary layout and lifetime? Is it possible that dictionary had updated between queries? Can you look for some ids which appeared or disappeared and check what `dictHas` function returns for them? Can you check also if reading from external dictionary returns different results sometimes? It also woul...
2018-11-26T10:12:49
2018-11-26T10:12:49
{}
MEMBER
ClickHouse
ClickHouse
441,632,359
3,667
Mottl
> What clickhouse version you have installed? Latest from repo > Also these chown will be removed here soon: #2443 Thanks!
2018-11-26T13:06:47
2018-11-26T13:06:47
{}
NONE
ClickHouse
ClickHouse
441,954,792
3,677
blinkov
@shangshujie365 which ClickHouse version are you using?
2018-11-27T07:24:49
2018-11-27T07:24:49
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,019,505
3,638
dfulachier
Thank you Alexey for your very quick answer (I was not able to measure the time it took, you were too fast ;-). Surely a simple way to improve ClickHouse SQL standards conformity, and ClickHouse support for Tableau BI.
2018-11-22T12:43:42
2018-11-22T12:43:42
{}
NONE
ClickHouse
ClickHouse
441,285,348
3,584
abyss7
Can you show your `CREATE TABLE` statement? Or at least `os_name` definition?
2018-11-23T16:51:47
2018-11-23T16:51:47
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,360,877
3,636
xiaods
one possible solution: because LB need health check port alive, i update config to change to http 8123 check, it get thing done. but it will trigger another log for me: ``` 2018.11.24 19:19:10.147187 [ 65 ] {} <Trace> HTTPHandler-factory: HTTP Request for HTTPHandler-factory. Method: GET, Address: 192.168.3.68:489...
2018-11-24T11:22:41
2018-11-24T11:22:41
{}
NONE
ClickHouse
ClickHouse
441,610,491
2,211
filimonov
BTW: Rewriting readline is an overkill. But there are quite nice readline alternatives, for example I have positive experience with [linenoise](https://github.com/antirez/linenoise ) - it's tiny, BSD licenced, quite mature, can be easelly plugged instead of readline.
2018-11-26T11:41:13
2018-11-26T11:41:13
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,622,451
2,211
filimonov
You're talking about something like https://github.com/prompt-toolkit/python-prompt-toolkit ? Reimplementing that (even some subset of that) in c/c++ is a quite huge task.
2018-11-26T12:30:04
2018-11-26T12:30:04
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,718,468
3,672
M1ha-Shvn
I've also tried calling `OPTIMIZE TABLE` with no results
2018-11-26T17:08:28
2018-11-26T17:08:28
{}
NONE
ClickHouse
ClickHouse
441,846,156
3,648
calgs
Thanks. Were you trying to propose something like this ``` WITH 0 AS StartingPosition, [100, 5, 10] AS AddArr, [5, 10, 25] AS ConsumeArray SELECT arrayMap(day_idx -> ((sumArray(arraySlice(AddArr, 0, day_idx)) - sumArray(arraySlice(ConsumeArray, 0, day_idx))) + StartingPosition), range(length(A...
2018-11-26T23:59:11
2018-11-27T00:09:06
{}
NONE
ClickHouse
ClickHouse
441,886,979
3,668
zhang2014
@blinkov Thanks
2018-11-27T03:22:29
2018-11-27T03:22:29
{}
CONTRIBUTOR
ClickHouse
ClickHouse
442,000,204
3,659
KochetovNicolai
Yes, you can create view on any replica (or on cluster itself). If you need several shards you can also create distributed table over views.
2018-11-27T10:04:56
2018-11-27T10:04:56
{}
MEMBER
ClickHouse
ClickHouse
441,052,456
3,640
blinkov
That's deprecated method of creating MergeTree tables and you are referencing old unofficial docs.
2018-11-22T14:49:40
2018-11-22T14:49:40
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,124,584
3,612
alexey-milovidov
Если сейчас помержить, по получится, что одна из изначальных задач данного PR не решена (остановка odbc-bridge при завершении clickhouse-server). Последние два дня выясняли, почему он не останавливается сам. И в результате, есть такой PR: #3642
2018-11-22T21:49:03
2018-11-22T21:49:03
{}
MEMBER
ClickHouse
ClickHouse
441,226,079
3,617
chenxing-xc
> libcurl is used only for interaction with "Key Management Server" (KMS). > I don't know whether the usage of KMS is mandatory. KMS is not mandatory, maybe we can tail it or updating HttpClient using Poco::Net lib
2018-11-23T12:12:10
2018-11-23T12:12:10
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,413,231
3,636
xiaods
@den-crane got it. thanks a lot.
2018-11-25T03:49:57
2018-11-25T03:49:57
{}
NONE
ClickHouse
ClickHouse
441,562,625
3,598
alesapin
I think you have some misconfiguration in your system, but now you can use [runner](https://github.com/yandex/ClickHouse/tree/master/dbms/tests/integration#running-with-runner-script) script in dbms/test/integration for integration tests. It doesn't require any dependencies and configuration -- only docker. Try it out.
2018-11-26T08:54:10
2018-11-26T08:54:10
{}
MEMBER
ClickHouse
ClickHouse
441,603,874
3,657
KochetovNicolai
#3631
2018-11-26T11:14:38
2018-11-26T11:14:38
{}
MEMBER
ClickHouse
ClickHouse
441,646,924
3,668
blinkov
This touches docs/zh too @zhang2014 @sundy-li
2018-11-26T13:56:15
2018-11-26T13:56:15
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,114,358
3,614
champtar
can't reproduce on master + #3632 (https://github.com/champtar/ClickHouse/commit/2a8b78d8ef6e492fca8be2c78def7fe4c1aa0934) Thanks
2018-11-22T20:17:04
2018-11-22T20:17:04
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,124,017
3,617
alexey-milovidov
We have to put all required libraries as contrib submodules. But it's Ok to start testing with system libraries. You can add the required libraries here: https://github.com/yandex/ClickHouse/blob/master/docker/packager/binary/Dockerfile for tests to be run.
2018-11-22T21:43:14
2018-11-22T21:43:14
{}
MEMBER
ClickHouse
ClickHouse
441,363,238
2,577
xiaods
@rpfennin i came across same issue, do you resolve this issue?
2018-11-24T12:06:43
2018-11-24T12:06:43
{}
NONE
ClickHouse
ClickHouse
441,569,276
3,587
blinkov
@SkeLLLa these properties are kind of independent of each other: 1. **high quality** usually means having stable public interface, reasonable test coverage and infrastructure (including integration tests), easy-to-understand and detailed enough documentation, lack of serious issues and so on. 2. **official** usually ...
2018-11-26T09:17:22
2018-11-26T09:17:22
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,581,778
3,659
KochetovNicolai
Do you mean that you what to push down WHERE predicate from main query to VIEW? There is a setting `enable_optimize_predicate_expression`. Try to enable it and check if it works for your case.
2018-11-26T09:58:41
2018-11-26T09:58:41
{ "confused": 1 }
MEMBER
ClickHouse
ClickHouse
441,607,843
2,211
filimonov
I'm suspecting it was caused by that: ``` ➜ cat ~/.inputrc set blink-matching-paren on ```
2018-11-26T11:30:16
2018-11-26T11:30:35
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,176,236
3,617
chenxing-xc
> ``` > ~/work/libhdfs3/src$ grep -i -r uuid_ . > ./rpc/RpcClient.cpp: uuid_t id; > ./rpc/RpcClient.cpp: uuid_generate(id); > ./rpc/RpcClient.cpp: clientId.resize(sizeof(uuid_t)); > ./rpc/RpcClient.cpp: memcpy(&clientId[0], id, sizeof(uuid_t)); > ./CMakeLists.txt: TARGET_LINK_LIBRARIES(libhdfs3-sta...
2018-11-23T08:13:44
2018-11-23T08:13:44
{}
CONTRIBUTOR
ClickHouse
ClickHouse
441,243,911
3,617
alexey-milovidov
> how about replace it with boost::uuid lib? It's Ok if it doesn't have extra dependencies. We need to just create a wrapper with single function (fake libuuid).
2018-11-23T13:40:55
2018-11-23T13:40:55
{}
MEMBER
ClickHouse
ClickHouse
441,313,051
2,073
alexey-milovidov
We have added parameter to the `uniqCombined` function to tune the HLL quality/space in #3406. But we still have to: - dig into links you shared; - change the hash function and introduce new aggregate function like `uniqEnhanced`.
2018-11-23T20:19:12
2018-11-23T20:19:12
{}
MEMBER
ClickHouse
ClickHouse
441,328,497
3,638
alexey-milovidov
In master.
2018-11-23T23:14:25
2018-11-23T23:14:25
{}
MEMBER
ClickHouse
ClickHouse
441,359,643
3,636
xiaods
i have confirm my cloud provider LB will arbitrary check port is alive, the action will caused the log is still happy, anyone know how to disable the error report?
2018-11-24T11:02:01
2018-11-24T11:02:01
{}
NONE
ClickHouse
ClickHouse
441,712,845
3,672
M1ha-Shvn
```sql CREATE TABLE carrot.chevent ( _version UInt32 DEFAULT CAST(0, 'UInt32'), id UInt64 DEFAULT CAST(0, 'UInt64'), created DateTime DEFAULT CAST('0000000000', 'DateTime'), app_id UInt64 DEFAULT CAST(0, 'UInt64'), type_id UInt64 DEFAULT CAST(0, 'UInt64'), user_id UInt64 DEFAULT CAST(0...
2018-11-26T16:53:00
2018-11-26T16:53:00
{}
NONE
ClickHouse
ClickHouse
442,023,706
3,676
alexey-milovidov
https://github.com/yandex/ClickHouse/blob/master/CHANGELOG.md#bug-fixes-4
2018-11-27T11:22:59
2018-11-27T11:22:59
{}
MEMBER