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 | 298,045,639 | 740 | robot-metrika-test | Can one of the admins verify this patch? | 2017-04-28T16:34:02 | 2017-04-28T16:34:02 | {} | NONE |
ClickHouse | ClickHouse | 296,790,184 | 724 | robot-metrika-test | Can one of the admins verify this patch? | 2017-04-24T18:59:02 | 2017-04-24T18:59:02 | {} | NONE |
ClickHouse | ClickHouse | 298,945,895 | 756 | ludv1x | > Trying
>
> INSERT INTO aggregate_domains (record_id, date, account_id, embed_url, Visits, UniqueIP) VALUES (1231234, '2017-12-01', 545455, 'ya.ru', arrayReduce('countState', [7744, 7744]));
>
> INSERT INTO aggregate_domains (record_id, date, account_id, embed_url, Visits, UniqueIP) VALUES
>
> Exception on cl... | 2017-05-03T15:26:41 | 2017-05-03T15:26:41 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 298,930,967 | 756 | kkuprikov | What if we have
```
│ Visits │ AggregateFunction(count, UInt64, String, Date, String, UInt64, String, String, String, String) │ │ │
│ UniqueIP │ AggregateFunction(uniq, String)
```
fields?
Trying
```
INSERT INTO aggregate_domains (record_id, date, account_id, embed_... | 2017-05-03T14:40:12 | 2017-05-04T09:36:46 | {} | NONE |
ClickHouse | ClickHouse | 299,424,807 | 756 | kkuprikov | Definitely, this is the right way. Thanks a lot!
So the last question is, what's wrong with clickhouse-local magic:
```
web@stat-test1:~$ cat example_stat.csv
account_id,date,record_id,embed_url,visits_,uniq_
123,"2017-12-01",265717,"eagle.ya.ru",337,22
221,"2017-04-03",221221,"ololo.ru",228,818
web@stat-tes... | 2017-05-05T09:47:54 | 2017-05-05T10:01:30 | {} | NONE |
ClickHouse | ClickHouse | 299,477,285 | 764 | alexey-milovidov | Why do we need this?
Why the default is true?
PS. Commit has no task number. | 2017-05-05T14:19:31 | 2017-05-05T14:19:31 | {} | MEMBER |
ClickHouse | ClickHouse | 299,691,974 | 717 | andreybolonin | http://andreybolonin.com/clickhouse/clickhouse-client_1.1.54197_amd64.deb
http://andreybolonin.com/clickhouse/clickhouse-compressor_1.1.54197_amd64.deb
http://andreybolonin.com/clickhouse/clickhouse-server-base_1.1.54197_amd64.deb
http://andreybolonin.com/clickhouse/clickhouse-server-common_1.1.54197_amd64.deb
Bu... | 2017-05-07T09:07:26 | 2017-05-07T09:08:10 | {
"+1": 3
} | NONE |
ClickHouse | ClickHouse | 295,816,789 | 717 | alexey-milovidov | On "traffic by minute" chart, we see no issues.
Probably, temporary connectivity problems.
Tell me if this issue still present. | 2017-04-20T17:05:10 | 2017-04-20T17:05:10 | {} | MEMBER |
ClickHouse | ClickHouse | 297,847,415 | 738 | alexey-milovidov | Check `system.parts` table. Probably you have data in partition 197001.
Note that ClickHouse displays out-of-range date as 0000-00-00, but it is usually start of epoch. | 2017-04-27T21:42:21 | 2017-04-27T21:42:21 | {} | MEMBER |
ClickHouse | ClickHouse | 298,409,200 | 749 | darky | It's very strange, because build process ended with error, where need to install *libglib2.0-dev*
version - v1.1.54198-stable
Kubuntu 17.04
Error on this step: https://github.com/yandex/ClickHouse/blob/master/doc/build.md#run-release-script | 2017-05-01T19:25:19 | 2017-05-01T19:25:19 | {} | NONE |
ClickHouse | ClickHouse | 298,851,533 | 721 | sjoerdmulder | Hmmm.. it seems docker has changed something. I have one host with docker version 17.04.0-ce that doesn't work anymore with ipv6 addresses giving the `Cannot assign requested address: [::1]` errors. but the host with docker version 1.12.3 still works. both have the ipv6 disabled for the bridge network. | 2017-05-03T08:30:35 | 2017-05-03T08:30:35 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 298,953,955 | 756 | kkuprikov | What determines the content of arrayReduce arguments? | 2017-05-03T15:53:55 | 2017-05-03T15:54:10 | {} | NONE |
ClickHouse | ClickHouse | 299,435,942 | 762 | ludv1x | Hi,
I cannot reproduce the problem on my laptop and server.
I increased number of rows I could obtain only correct exception:
```
Received exception from server:
Code: 241. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Memory limit (for query) exceeded: would use 9.31 GiB (attempt to allocate c... | 2017-05-05T10:53:34 | 2017-05-05T10:54:38 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 299,882,117 | 390 | hatarist | Not sure if it's related, but #703 | 2017-05-08T14:26:59 | 2017-05-08T14:26:59 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 296,400,878 | 721 | alexey-milovidov | 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. | 2017-04-22T20:54:22 | 2017-04-22T20:54:22 | {
"+1": 6
} | MEMBER |
ClickHouse | ClickHouse | 298,103,782 | 741 | alexey-milovidov | Ok, but it should be in its own directory as all other utils. | 2017-04-28T20:52:07 | 2017-04-28T20:52:07 | {} | MEMBER |
ClickHouse | ClickHouse | 298,648,049 | 728 | ludv1x | Thank you for detailed explanation.
We have the problem with UNION ALL implementation: https://github.com/yandex/ClickHouse/issues/320
It looks like that you are faced with it also. | 2017-05-02T14:14:44 | 2017-05-02T14:14:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 298,767,503 | 751 | vavrusa | The `AggregatingMergeTree` allows you to create MV with more fields than are in the primary key.
Like:
```sql
CREATE MATERIALIZED VIEW ... AggregatingMergeTree((date), (date, page))
AS SELECT date, page, src, countState() AS queryCount
FROM source
GROUP BY date, page, src
```
It will surprisingly work fine un... | 2017-05-02T21:31:25 | 2017-05-02T21:31:25 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 298,828,514 | 751 | andrea-s | Hi vavrusa,
yes, this is the case for me as well. I am wondering whether this is a bug of the engine or a limitation that should be documented (and perhaps, if this is actually the criterion behind, a query on a MV that is known to return wrong results should throw an error beforehand?).
edit: to expand on my com... | 2017-05-03T05:53:27 | 2017-05-03T05:57:06 | {} | NONE |
ClickHouse | ClickHouse | 299,881,474 | 390 | f1yegor | case ```insert into test2 select * from test1;``` works. OK
case ```insert into test2 (key2, value2) select key1, value1 from test1;``` works. OK
BUT
```
create table test3(key3 String, value3 Int32) ENGINE = Log;
insert into test3 select 1, key1 from test1;
INSERT INTO test3 SELECT
1,
key1
FRO... | 2017-05-08T14:24:48 | 2017-05-08T14:24:48 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 297,618,777 | 726 | alexey-milovidov | This is all about PartLog, not QueryLog.
Don't be confused. | 2017-04-27T05:53:18 | 2017-04-27T05:53:18 | {} | MEMBER |
ClickHouse | ClickHouse | 297,648,388 | 733 | robot-metrika-test | Can one of the admins verify this patch? | 2017-04-27T08:29:02 | 2017-04-27T08:29:02 | {} | NONE |
ClickHouse | ClickHouse | 297,830,227 | 735 | alexey-milovidov | Ok, but we should depend on functions only through factory. | 2017-04-27T20:29:26 | 2017-04-27T20:29:26 | {} | MEMBER |
ClickHouse | ClickHouse | 298,214,789 | 747 | alexey-milovidov | Perfect, thanks! | 2017-04-30T06:41:15 | 2017-04-30T06:41:15 | {} | MEMBER |
ClickHouse | ClickHouse | 298,346,845 | 749 | robot-metrika-test | Can one of the admins verify this patch? | 2017-05-01T14:49:02 | 2017-05-01T14:49:02 | {} | NONE |
ClickHouse | ClickHouse | 298,398,798 | 749 | alexey-milovidov | We have removed glib long time ago:
commit 60a14f5bc46810c1a9175db687ce7112bc7d213e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 21 05:35:10 2017 +0300
Removed glib from build instructions [#CLICKHOUSE-2].
commit e4ff740ef156c5e44d610fa5b531bd2a2c796d31
Author: Alexey Milovidov <m... | 2017-05-01T18:42:09 | 2017-05-01T18:42:09 | {} | MEMBER |
ClickHouse | ClickHouse | 298,587,356 | 749 | proller | we forgot to remove libglib2.0-dev from https://github.com/yandex/ClickHouse/blob/master/debian/control#L6
fix -
https://github.com/yandex/ClickHouse/commit/dd90a43d900f37d813524dbe3de4ef9eff494556 | 2017-05-02T10:01:53 | 2017-05-02T10:01:53 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 299,092,713 | 755 | alexey-milovidov | Thanks! | 2017-05-04T04:05:57 | 2017-05-04T04:05:57 | {} | MEMBER |
ClickHouse | ClickHouse | 298,953,473 | 756 | kkuprikov | Thanks for your feedback!
However, after update I still can't proceed:
```
Connected to ClickHouse server version 1.1.54213.
:) INSERT INTO aggregate_domains (record_id, date, account_id, embed_url, Visits, UniqueIP) VALUES (1231234, '2017-12-01', 545455, 'ya.ru', arrayReduce('countState', [1]), arrayReduce('... | 2017-05-03T15:52:19 | 2017-05-04T09:36:25 | {} | NONE |
ClickHouse | ClickHouse | 299,505,904 | 765 | ludv1x | @proller | 2017-05-05T16:05:07 | 2017-05-05T16:05:07 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 295,582,941 | 712 | gelin | What happen if I set `force_restore_data` flag?
Does ClickHouse remove mentions of the missing parts from ZooKeeper?
Or for another case, when ZooKeeper is empty, does ClickHouse fill ZooKeeper with actual data?
I just try to understand what is the absolute true here: data on disk or data in ZooKeeper?
Does Click... | 2017-04-20T05:10:29 | 2017-04-20T05:10:29 | {
"+1": 4
} | NONE |
ClickHouse | ClickHouse | 295,872,431 | 520 | alexey-milovidov | We have tested new settings and convinced, that they are still not production ready.
The settings was disabled by default in master. | 2017-04-20T19:33:22 | 2017-04-20T19:33:22 | {} | MEMBER |
ClickHouse | ClickHouse | 296,155,827 | 717 | andreybolonin | @alexey-milovidov all works fine via 3g.
But.
```
sudo apt-get install clickhouse-server-common clickhouse-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situatio... | 2017-04-21T10:30:25 | 2017-04-21T10:34:56 | {} | NONE |
ClickHouse | ClickHouse | 296,276,891 | 717 | alexey-milovidov | We have no pre-built packages for 17.04.
You could build packages from sources according to the instruction:
https://github.com/yandex/ClickHouse/blob/master/doc/build.md | 2017-04-21T18:56:53 | 2017-04-21T18:56:53 | {} | MEMBER |
ClickHouse | ClickHouse | 298,225,098 | 167 | kszucs | @alexey-milovidov is Q2 2017 still actual? | 2017-04-30T10:54:33 | 2017-04-30T10:54:33 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 298,660,541 | 751 | ludv1x | It sounds like a problem that should be investigated.
But, It isn't easy to understand the problem without an example.
| 2017-05-02T14:56:51 | 2017-05-02T14:56:51 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 298,764,491 | 754 | robot-metrika-test | Can one of the admins verify this patch? | 2017-05-02T21:19:03 | 2017-05-02T21:19:03 | {} | NONE |
ClickHouse | ClickHouse | 298,917,443 | 756 | ludv1x | In your case it should look like:
```
INSERT INTO agg_table (date, domain, views) VALUES ('2017-12-01', 'ya.ru' arrayReduce('avgSum', [234]));
``` | 2017-05-03T13:53:42 | 2017-05-03T13:54:11 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 299,509,947 | 762 | tobia | Please ignore this issue. My server had an intermittent RAM problem. I should have checked on more than one machine!
Sorry for wasting your time. | 2017-05-05T16:21:17 | 2017-05-05T16:21:17 | {} | NONE |
ClickHouse | ClickHouse | 299,576,252 | 127 | sirkon | Any progress on this? | 2017-05-05T21:08:16 | 2017-05-05T21:08:16 | {
"+1": 8
} | NONE |
ClickHouse | ClickHouse | 295,499,237 | 617 | alexey-milovidov | The issue is incomplete: we did not see full cmake output. | 2017-04-19T23:53:32 | 2017-04-19T23:53:32 | {} | MEMBER |
ClickHouse | ClickHouse | 297,674,167 | 734 | robot-metrika-test | Can one of the admins verify this patch? | 2017-04-27T10:19:03 | 2017-04-27T10:19:03 | {} | NONE |
ClickHouse | ClickHouse | 298,884,460 | 756 | ludv1x | Hi.
The for such purposes usually the following schema is used: main MergeTree table that contains all non-aggregated data + MaterialiedView with AggregatingMergeTree engine viewing on it.
If such scheme is unacceptable for you (there are no need to maintain non-aggregated data), you can insert data to AggregatingMer... | 2017-05-03T11:22:05 | 2017-05-03T11:22:05 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 299,095,196 | 746 | alexey-milovidov | BTW, We have plans to introduce bitwise operations on FixedString data type to enable operations with IPv6 network masks. | 2017-05-04T04:34:48 | 2017-05-04T04:34:48 | {} | MEMBER |
ClickHouse | ClickHouse | 299,480,555 | 765 | kmeaw | One possible way to resolve this is updating bundled Poco.
I don't see any other code relying in legacy openssl APIs.
```/tmp/pkgbuilder-1000/clickhouse/src/ClickHouse-1.1.54198-stable/contrib/libpoco/Crypto/src/RSAKeyImpl.cpp: In member function ‘Poco::Crypto::RSAKeyImpl::ByteVec Poco::Crypto::RSAKeyImpl::encrypti... | 2017-05-05T14:31:11 | 2017-05-05T14:31:23 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 299,490,116 | 767 | kmeaw | ```% gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-... | 2017-05-05T15:06:04 | 2017-05-05T15:06:04 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 299,542,489 | 765 | kmeaw | Sorry, missed that -- i was validating the latest -stable tag.
I will bundle then d2d7aaa into 1.1.54198 gentoo ebuild and archlinux pkgbuild. | 2017-05-05T18:34:42 | 2017-05-05T18:34:42 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 299,598,804 | 754 | alexey-milovidov | I just have read the article and started testing...
Currently, memory usage for this function is not bounded, because elements never deleted from hash table. For example, we have 1 GiB memory usage for query:
```
SELECT topK(number) FROM system.numbers
```
after processed 100 million of rows.
I will look furth... | 2017-05-05T23:38:51 | 2017-05-05T23:38:51 | {} | MEMBER |
ClickHouse | ClickHouse | 299,600,951 | 768 | alexey-milovidov | This fix is Ok. But you should just update lz4 to the latest version and remove ifdef. | 2017-05-06T00:01:41 | 2017-05-06T00:01:41 | {} | MEMBER |
ClickHouse | ClickHouse | 295,774,703 | 717 | khrisanfov | It works fine | 2017-04-20T15:16:51 | 2017-04-20T15:16:51 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 297,618,183 | 730 | alexey-milovidov | You need to check exception code.
Now the behaviour is wrong for case of "Address already in use" error: half of server interfaces could be started. | 2017-04-27T05:48:26 | 2017-04-27T05:48:26 | {} | MEMBER |
ClickHouse | ClickHouse | 298,255,850 | 748 | robot-metrika-test | Can one of the admins verify this patch? | 2017-04-30T20:44:02 | 2017-04-30T20:44:02 | {} | NONE |
ClickHouse | ClickHouse | 299,425,784 | 756 | ludv1x | > So the last question is, what's wrong with clickhouse-local magic:
> dummyUInt8web@stat-test1:~$ cat example_stat.csv | clickhouse-local --structure="account_id UInt64, date Date, record_id UInt64, embed_url String, visits_ UIn UInt64" --input-format CSV --output-format Native --query "SELECT account_id"
> Code: 47... | 2017-05-05T09:53:01 | 2017-05-05T09:53:01 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 299,428,548 | 756 | kkuprikov | Yeah, this one is working now. TY | 2017-05-05T10:07:20 | 2017-05-05T10:07:20 | {} | NONE |
ClickHouse | ClickHouse | 295,919,775 | 700 | alexey-milovidov | We *should* implement `empty_as_null`, `null_string_as_null` and similar options. | 2017-04-20T21:22:43 | 2017-04-20T21:22:43 | {} | MEMBER |
ClickHouse | ClickHouse | 297,210,086 | 730 | proller | will auto-reformat after merge | 2017-04-26T01:18:47 | 2017-04-26T01:18:47 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 297,829,316 | 734 | alexey-milovidov | Ok. | 2017-04-27T20:25:56 | 2017-04-27T20:25:56 | {} | MEMBER |
ClickHouse | ClickHouse | 298,849,286 | 721 | sjoerdmulder | @alexey-milovidov Shouldn't we start by default on ipv4? Seems this made the change from ipv4 to ipv6: https://github.com/yandex/ClickHouse/commit/e552983db52d9c0146183fea613fbc451d565f09 | 2017-05-03T08:18:58 | 2017-05-03T08:18:58 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 298,921,000 | 750 | ludv1x | We can add config parameter `poco_default_thread_pool_max_size` which will adjust default Poco thread pool size. | 2017-05-03T14:05:50 | 2017-05-03T14:05:50 | {
"+1": 3
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 299,464,850 | 760 | proller | https://github.com/yandex/ClickHouse/commit/9a937591e5641f8f7f27910ea8d2ba23db0f22e8
https://github.com/yandex/ClickHouse/commit/6c34f27e3b4b1ce7578aed9f64d8971340d1a303
| 2017-05-05T13:30:06 | 2017-05-05T13:30:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 299,504,381 | 765 | kmeaw | Yes, that problem is fixed in newer version of Poco ( https://github.com/pocoproject/poco/commit/bfaa161c61cca06526eaf238bfdddd190381616b ). However USE_INTERNAL_POCO_LIBRARY is enabled by default and the issue will break the build if a user has a new version of openssl.
I suggest either to add the latest compatible v... | 2017-05-05T15:59:26 | 2017-05-05T15:59:26 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 295,530,748 | 616 | ipolevoy | @alexey-milovidov we have solved this a month ago by reinstalling everything, but still nice to know - thanks
| 2017-04-20T01:25:52 | 2017-04-20T01:25:52 | {} | NONE |
ClickHouse | ClickHouse | 297,828,679 | 733 | alexey-milovidov | Great, thanks! | 2017-04-27T20:23:19 | 2017-04-27T20:23:19 | {} | MEMBER |
ClickHouse | ClickHouse | 298,295,106 | 748 | alexey-milovidov | Thanks a lot!
Now we have 82%. | 2017-05-01T06:48:13 | 2017-05-01T06:48:13 | {} | MEMBER |
ClickHouse | ClickHouse | 299,487,859 | 765 | ludv1x | You could disable `USE_INTERNAL_POCO_LIBRARY` CMake variable and specify path to new Poco library in `Poco_ROOT_DIR` to check it.
| 2017-05-05T14:58:04 | 2017-05-05T14:58:28 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 299,688,323 | 717 | andreybolonin | @alexey-milovidov thx | 2017-05-07T07:38:43 | 2017-05-07T07:38:54 | {} | NONE |
ClickHouse | ClickHouse | 295,664,422 | 713 | bzed | optimizing all partitions helped indeed. Looks much more sane now:
```
:) select partition, bytes, table, min_date, max_date from system.parts where active and table='graphite' order by bytes;
SELECT
partition,
bytes,
table,
min_date,
max_date
FROM system.parts
WHERE active AND (ta... | 2017-04-20T10:08:04 | 2017-04-20T10:08:04 | {} | NONE |
ClickHouse | ClickHouse | 298,144,485 | 744 | alexey-milovidov | The task is incomplete: you must either
- return streams with required types from the table;
- or throw an exception (it's ok to throw in the middle of query processing). | 2017-04-29T03:39:50 | 2017-04-29T03:39:50 | {} | MEMBER |
ClickHouse | ClickHouse | 298,604,500 | 746 | ludv1x | You could use `FixedString(16)` for ipv6 addresses (if there are no need for arithmetic operations).
Currently we don't have a plans to introduce Int128 type.
| 2017-05-02T10:57:27 | 2017-05-02T10:57:27 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 299,095,461 | 745 | alexey-milovidov | We have known issue, that dropped partition is physically dropped only after few minutes, and if you restart ClickHouse before this moment, it will be alive again.
If you use DETACH instead of DROP, the partition will be detached instantly (but you will need to remove it from `detached` directory by yourself). | 2017-05-04T04:38:30 | 2017-05-04T04:38:30 | {
"+1": 4
} | MEMBER |
ClickHouse | ClickHouse | 299,103,401 | 754 | alexey-milovidov | Thank you for implementing this feature! It will be very useful for our cases too.
I just started with this pull request...
Answers:
You understand correctly: `Arena` only grows, and individual values cannot be removed to save space. When values in `SpaceSaving` replace each other, memory allocated for previous ... | 2017-05-04T06:08:35 | 2017-05-04T06:44:01 | {} | MEMBER |
ClickHouse | ClickHouse | 299,539,710 | 765 | proller | Already fixed.
https://github.com/yandex/ClickHouse/commit/d2d7aaac692d30ef8422774f1a8d0bd327546061
And yes, we want update bundled poco to latest version, but not right now,
| 2017-05-05T18:23:40 | 2017-05-05T18:23:40 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 299,490,031 | 767 | kmeaw | Building -stable fails with:
```[ 31%] Built target storages_system
[ 31%] Building CXX object dbms/CMakeFiles/dbms.dir/src/Dictionaries/MongoDBDictionarySource.cpp.o
/home/kmeaw/abs/clickhouse/src/ClickHouse-1.1.54198-stable/dbms/src/Dictionaries/MongoDBDictionarySource.cpp:29:13: error: ‘void DB::authenticate(Poco... | 2017-05-05T15:05:47 | 2017-05-05T18:35:52 | {
"hooray": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 299,644,638 | 768 | alexey-milovidov | Great, thanks! | 2017-05-06T14:48:46 | 2017-05-06T14:48:46 | {} | MEMBER |
ClickHouse | ClickHouse | 300,233,121 | 774 | alexey-milovidov | I will add modifications after merge. | 2017-05-09T17:03:49 | 2017-05-09T17:03:49 | {} | MEMBER |
ClickHouse | ClickHouse | 295,531,744 | 616 | alexey-milovidov | Sorry for the delay. | 2017-04-20T01:29:01 | 2017-04-20T01:29:01 | {} | MEMBER |
ClickHouse | ClickHouse | 295,992,620 | 717 | andreybolonin | hmm. its interesting.
May be my ISP not support very fresh domain name like .yandex
We do not have any some reserve url for this cases? | 2017-04-21T00:52:45 | 2017-04-21T00:54:32 | {} | NONE |
ClickHouse | ClickHouse | 296,911,640 | 723 | alexey-milovidov | 74c04c467bbd42d41c6e6da9e204d4223b5f4fca
7f0aecfcf679a652b7ecb2ac3eb881fa859a6fde
5f32cf5d90a11457181940eb137e1047d0d98f14
| 2017-04-25T05:17:15 | 2017-04-25T05:17:15 | {} | MEMBER |
ClickHouse | ClickHouse | 298,589,716 | 745 | ludv1x | Hi, what engine do you use for table `actions`? `Replicated`*?
Is `actions` solely table with MergeTree* engine in ClickHouse?
Use
`select * from system.tables WHERE engine LIKE '%MergeTree%'` and
`select * from system.parts where table='actions'`
(We need to check that appeared parts belong to the same table... | 2017-05-02T10:07:10 | 2017-05-03T11:50:09 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 298,914,035 | 750 | ludv1x | Hi
ClickHouse uses external Poco library to interact with ODBC sources.
Unfortunately, Poco uses own default thread pool for the all needs and it has hardcoded limit for 16 threads:
https://github.com/yandex/ClickHouse/blob/master/contrib/libpoco/Foundation/src/ThreadPool.cpp#L503
https://github.com/yandex/ClickH... | 2017-05-03T13:41:54 | 2017-05-03T14:12:10 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 300,240,598 | 754 | vavrusa | I think the first problem is that hash table size is not decremented when the cell is zeroed, so it keeps growing. I'll redo it to move elements instead of removing and inserting. | 2017-05-09T17:26:44 | 2017-05-09T17:26:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 296,912,827 | 723 | alexey-milovidov | Inner loop of conversion is very inefficient - creating temporary objects of type Field.
Using function CAST should be better.
Also, in the task, you need to also implement conversion of numeric types,
and this will be much simpler with CAST function
(you should rename CastEnumBlockInputStream to something more ... | 2017-04-25T05:21:51 | 2017-04-25T05:21:51 | {} | MEMBER |
ClickHouse | ClickHouse | 297,848,571 | 738 | f1yegor | you are right, thanks | 2017-04-27T21:48:00 | 2017-04-27T21:48:00 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 298,199,512 | 747 | robot-metrika-test | Can one of the admins verify this patch? | 2017-04-29T22:54:02 | 2017-04-29T22:54:02 | {} | NONE |
ClickHouse | ClickHouse | 298,648,092 | 752 | denisov-vlad | @ludv1x helped me. I had several views of `clickstream` table which queried deleted columns. | 2017-05-02T14:14:53 | 2017-05-02T14:14:53 | {} | NONE |
ClickHouse | ClickHouse | 298,861,158 | 755 | robot-metrika-test | Can one of the admins verify this patch? | 2017-05-03T09:19:02 | 2017-05-03T09:19:02 | {} | NONE |
ClickHouse | ClickHouse | 298,911,365 | 756 | gryphon | Of course we have main MergeTree table with non-aggreagated data.
But as we are migrating old data (and we have aggregated data only) we are looking for a way to insert data directly to aggregated table instead main MergeTree table. | 2017-05-03T13:31:45 | 2017-05-03T13:31:45 | {} | NONE |
ClickHouse | ClickHouse | 298,916,855 | 756 | ludv1x | If I correctly understand the problem is to generate column with type `AggregateFunction(func_name)` in INSERT query.
If so, you could make an INSERT with VALUES text format like here: https://github.com/yandex/ClickHouse/blob/master/dbms/tests/queries/0_stateless/00432_aggregate_function_scalars_and_constants.sql#L... | 2017-05-03T13:51:40 | 2017-05-03T13:51:40 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 299,774,022 | 772 | alexey-milovidov | Thanks! | 2017-05-08T05:07:20 | 2017-05-08T05:07:20 | {} | MEMBER |
ClickHouse | ClickHouse | 295,544,113 | 616 | ipolevoy | @alexey-milovidov no need to be sorry, this is not a paid service :) | 2017-04-20T02:04:40 | 2017-04-20T02:04:40 | {} | NONE |
ClickHouse | ClickHouse | 296,902,473 | 491 | alexey-milovidov | Waiting for new pull request. | 2017-04-25T04:39:20 | 2017-04-25T04:39:20 | {} | MEMBER |
ClickHouse | ClickHouse | 299,103,695 | 754 | alexey-milovidov | I have merged this PR, because it is almost Ok right now, and it will be more convenient for further development. | 2017-05-04T06:11:26 | 2017-05-04T06:11:26 | {} | MEMBER |
ClickHouse | ClickHouse | 298,983,068 | 756 | ludv1x | `arrayReduce('countState', [1])` can return only scalar of `AggregateFunction(count)` type.
~~~ClickHouse's types `AggregateFunction(count)` and `AggregateFunction(count, smth1, smth2, ...)` do the same (it is not SQL compatible).~~
So you can just change type of column `Visits` to `AggregateFunction(count)`.
| 2017-05-03T17:41:34 | 2017-05-04T09:49:35 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 299,140,801 | 756 | ludv1x | > ClickHouse's types AggregateFunction(count) and AggregateFunction(count, smth1, smth2, ...) do the same (it is not SQL compatible).
It is not actual, now ClickHouse's `count()` works the same as SQL `count()` (i.e. counts not NULL rows).
You could call `arrayReduce('countState', [toUInt64(1), toUInt64(1)] , ['a... | 2017-05-04T09:46:28 | 2017-05-04T09:51:04 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 299,589,854 | 760 | iron-udjin | Works, thank you! | 2017-05-05T22:26:41 | 2017-05-05T22:26:41 | {} | NONE |
ClickHouse | ClickHouse | 295,807,302 | 694 | robot-metrika-test | Can one of the admins verify this patch? | 2017-04-20T16:42:08 | 2017-04-20T16:42:08 | {} | NONE |
ClickHouse | ClickHouse | 296,457,933 | 721 | ava57r | Thank you. Understood. Launched on ipv4 | 2017-04-23T17:12:09 | 2017-04-23T17:12:09 | {} | NONE |
ClickHouse | ClickHouse | 298,919,388 | 756 | ludv1x | If your data is stored in external storage you can do the following magic via clickhouse-local:
```
external_storage_get_table_csv_data | clickhouse-local --structure "date Date, domain String, views_ UInt64" --input-format CSV --output-format Native --query "SELECT date, domain, arrayReduce('avgSum', [views_]) AS vi... | 2017-05-03T14:00:09 | 2017-05-03T14:00:46 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 299,624,784 | 768 | kmeaw | I have removed the "old version" branch of ifdef and bumped contrib/liblz4 to the master branch of https://github.com/lz4/lz4 | 2017-05-06T08:32:34 | 2017-05-06T08:32:34 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 300,260,841 | 773 | ztlpn | The second query is slow because MergeTree index is currently not used for conditions of the form `key_column IN (<subquery>)`. Another issue with the same problem: #687 | 2017-05-09T18:33:29 | 2017-05-09T18:33:29 | {} | CONTRIBUTOR |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.