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 | 284,311,310 | 532 | sangli00 | I mean,How to delete some record
Table A is 10 rows, I just delete 1 row,keep 9 rows in ClickHouse. | 2017-03-06T06:12:06 | 2017-03-06T06:12:06 | {} | NONE |
ClickHouse | ClickHouse | 285,724,024 | 575 | alexey-milovidov | It means that maximum event_timestamp value is outside of the range of datetimes that could be printed correctly. Check value of `toUInt32(max(event_timestamp))` to see timestamp. | 2017-03-10T17:00:00 | 2017-03-10T17:00:00 | {} | MEMBER |
ClickHouse | ClickHouse | 285,977,173 | 585 | robot-metrika-test | Can one of the admins verify this patch? | 2017-03-12T21:14:02 | 2017-03-12T21:14:02 | {} | NONE |
ClickHouse | ClickHouse | 286,187,733 | 585 | alexey-milovidov | Thanks. It works fine! | 2017-03-13T17:48:50 | 2017-03-13T17:48:50 | {} | MEMBER |
ClickHouse | ClickHouse | 287,937,838 | 613 | alexey-milovidov | If you specify both `::` and `::1` (as after your sed), doesn't it throw "Address already in use" exception? | 2017-03-21T00:14:41 | 2017-03-21T00:14:41 | {} | MEMBER |
ClickHouse | ClickHouse | 289,236,911 | 631 | robot-metrika-test | Can one of the admins verify this patch? | 2017-03-25T20:19:02 | 2017-03-25T20:19:02 | {} | NONE |
ClickHouse | ClickHouse | 284,154,944 | 532 | alexey-milovidov | To drop table, run `DROP TABLE db.table`.
There is no possibility to delete individual records from table.
Except the possibility to delete whole partition, see `ALTER TABLE ... DROP PARTITION`. | 2017-03-04T14:32:18 | 2017-03-04T14:32:18 | {} | MEMBER |
ClickHouse | ClickHouse | 284,318,776 | 508 | sangli00 | could you give me about ```ReplacingMergeTree``` example? | 2017-03-06T07:09:21 | 2017-03-06T07:09:21 | {} | NONE |
ClickHouse | ClickHouse | 284,593,126 | 508 | sangli00 | This is test,is not online system.so, I use 2 node cluster | 2017-03-07T01:37:17 | 2017-03-07T01:37:17 | {} | NONE |
ClickHouse | ClickHouse | 284,788,039 | 549 | alexey-milovidov | autotests | 2017-03-07T17:04:00 | 2017-03-07T17:04:00 | {} | MEMBER |
ClickHouse | ClickHouse | 285,230,661 | 570 | alexey-milovidov | Wow! Just great. | 2017-03-09T01:56:13 | 2017-03-09T01:56:13 | {} | MEMBER |
ClickHouse | ClickHouse | 285,249,751 | 570 | alexey-milovidov | Some comments have zero width spaces. Will remove. | 2017-03-09T04:12:28 | 2017-03-09T04:12:28 | {} | MEMBER |
ClickHouse | ClickHouse | 285,549,875 | 569 | vavrusa | https://kazoo.readthedocs.io/en/latest/basic_usage.html#deleting-nodes | 2017-03-10T01:54:06 | 2017-03-10T01:54:06 | {
"-1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 285,554,184 | 569 | vavrusa | I'm not sure what are you trying to do - I guess moving replica to another host? The config just says how the shards are arranged, it doesn't have anything to do with replica names.
I would recommend spinning up a new replica, adding it to cluster configuration, and then let it replicate. When it's done, you can stop ... | 2017-03-10T02:22:34 | 2017-03-10T02:22:34 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 285,968,084 | 584 | robot-metrika-test | Can one of the admins verify this patch? | 2017-03-12T19:24:02 | 2017-03-12T19:24:02 | {} | NONE |
ClickHouse | ClickHouse | 287,133,006 | 598 | vavrusa | Sure :) I'd vote for: when the statment says `CREATE TABLE`, it should create a table and not MV.
The MVs are really cool by the way, really cheap way how to do rollups. | 2017-03-16T17:31:28 | 2017-03-16T17:31:28 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 284,535,989 | 559 | alexey-milovidov | Ok, thanks! | 2017-03-06T21:19:43 | 2017-03-06T21:19:43 | {} | MEMBER |
ClickHouse | ClickHouse | 284,689,951 | 560 | artpaul | This is correct behaviour because by default remove_time initialized to std::numeric_limits<time_t>::max(). See https://github.com/yandex/ClickHouse/blob/master/dbms/include/DB/Storages/MergeTree/MergeTreeDataPart.h#L102
So it means that data_part was removed in far far future or still don't. | 2017-03-07T10:59:30 | 2017-03-07T10:59:30 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 284,778,158 | 560 | tobia | Right, so it is actually UINT_MAX.
In that case, I think there is a bug in the way it is displayed as `0000-00-00 00:00:00`
If ClickHouse is using `toDateTime(UINT_MAX)` to mean "removed in the far future == not yet removed", then it should be either displayed as its actual date `2106-02-07 06:28:15` [1] or treat... | 2017-03-07T16:39:43 | 2017-03-07T17:30:50 | {} | NONE |
ClickHouse | ClickHouse | 287,338,092 | 601 | daedric | I investigated the problem deeper, it is a bit hard to follow but I can see one fix, in StorageView.cpp the `select` is copied in the `inner_query`, if the shared_ptr where to be copied instead of the reference, upon optimization the StorageView instance would have the where_expression pointing on the right one.
I h... | 2017-03-17T12:09:13 | 2017-03-17T12:09:13 | {} | NONE |
ClickHouse | ClickHouse | 284,174,658 | 508 | ztlpn | Sharding is not used for HA, but to utilize resources of many machines. For high availability you need to replicate your data (keep several copies of the same table on different nodes). So instead of two shards, each with one replica, you need one shard with two replicas.
For replication you need to set up a ZooKeep... | 2017-03-04T19:24:00 | 2017-03-04T19:24:00 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 284,176,364 | 556 | bamx23 | Fixed by #557
| 2017-03-04T19:51:16 | 2017-03-04T19:51:16 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 284,348,523 | 508 | sangli00 | host1
config.xml
```
<zookeeper>
<node index="1">
<host>120.132.42.190</host>
<port>2181</port>
</node>
<node index="2">
<host>120.132.42.189</host>
<port>2... | 2017-03-06T09:44:41 | 2017-03-06T09:44:41 | {} | NONE |
ClickHouse | ClickHouse | 284,870,099 | 568 | alexey-milovidov | autotests | 2017-03-07T21:47:13 | 2017-03-07T21:47:13 | {} | MEMBER |
ClickHouse | ClickHouse | 284,923,966 | 508 | sangli00 | ```
2017.03.08 10:00:09.892721 [ 20 ] <Error> DB::StorageReplicatedMergeTree::queueTask()::<lambda(DB::StorageReplicatedMergeTree::LogEntryPtr&)>: Code: 33, e.displayText() = DB::Exception: Cannot read all data, e.what() = DB::Exception, Stack trace:
0. clickhouse-server(StackTrace::StackTrace()+0x16) [0x1176496]
... | 2017-03-08T02:08:05 | 2017-03-08T02:08:05 | {} | NONE |
ClickHouse | ClickHouse | 285,793,031 | 578 | alexey-milovidov | autotests | 2017-03-10T21:44:47 | 2017-03-10T21:44:47 | {} | MEMBER |
ClickHouse | ClickHouse | 287,882,232 | 615 | robot-metrika-test | Can one of the admins verify this patch? | 2017-03-20T20:09:02 | 2017-03-20T20:09:02 | {} | NONE |
ClickHouse | ClickHouse | 288,818,694 | 626 | alexey-milovidov | This is missing functionality: `has` and `indexOf` functions are just not implemented yet for Enum types. | 2017-03-23T18:31:18 | 2017-03-23T18:31:18 | {} | MEMBER |
ClickHouse | ClickHouse | 288,820,368 | 626 | alexey-milovidov | It means, that `has` works with Array of Enums only if you pass numeric value. | 2017-03-23T18:37:08 | 2017-03-23T18:37:08 | {} | MEMBER |
ClickHouse | ClickHouse | 284,673,723 | 508 | ztlpn | @sangli00 It means that you have configured tables on different nodes with the same replica parameter (second parameter to the ReplicatedMergeTree engine). Please check the `<replica>` macro (it should be different on two nodes) and recreate the tables. | 2017-03-07T09:51:56 | 2017-03-07T09:51:56 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 284,697,539 | 508 | sangli00 | @ztlpn
node1 macro need equal node2 macro?
| 2017-03-07T11:35:01 | 2017-03-07T11:35:01 | {} | NONE |
ClickHouse | ClickHouse | 284,771,750 | 549 | robot-metrika-test | Can one of the admins verify this patch? | 2017-03-07T16:23:07 | 2017-03-07T16:23:07 | {} | NONE |
ClickHouse | ClickHouse | 284,771,785 | 478 | robot-metrika-test | Can one of the admins verify this patch? | 2017-03-07T16:23:12 | 2017-03-07T16:23:12 | {} | NONE |
ClickHouse | ClickHouse | 285,254,611 | 545 | alexey-milovidov | You should update Quick Start (Tutorial) and Documentation (ru, en) accordingly. | 2017-03-09T04:55:17 | 2017-03-09T04:55:27 | {} | MEMBER |
ClickHouse | ClickHouse | 285,937,669 | 580 | alexey-milovidov | By the way, `clickhouse-client` is just a symlink to `clickhouse`.
You could also run client as `clickhouse --client`. | 2017-03-12T11:11:55 | 2017-03-12T11:11:55 | {
"+1": 7
} | MEMBER |
ClickHouse | ClickHouse | 286,464,579 | 591 | robot-metrika-test | Can one of the admins verify this patch? | 2017-03-14T15:49:03 | 2017-03-14T15:49:03 | {} | NONE |
ClickHouse | ClickHouse | 288,386,776 | 615 | alexey-milovidov | Will merge today. | 2017-03-22T12:42:55 | 2017-03-22T12:42:55 | {} | MEMBER |
ClickHouse | ClickHouse | 288,413,766 | 594 | ludv1x | I described the algorithm in previous comment inaccurately.
It starts from `thread_number() % num_buffers`-th buffer and tries to insert new block into the first unlocked buffer.
But it doesn't consider free space in a buffer.
I changed behavior, now it tries to insert block into unlocked buffer with max free spa... | 2017-03-22T14:21:46 | 2017-03-22T14:21:46 | {
"hooray": 2
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 284,366,342 | 549 | robot-metrika-test | Can one of the admins verify this patch? | 2017-03-06T11:03:04 | 2017-03-06T11:03:04 | {} | NONE |
ClickHouse | ClickHouse | 284,776,873 | 549 | alexey-milovidov | autotests | 2017-03-07T16:37:21 | 2017-03-07T16:37:21 | {} | MEMBER |
ClickHouse | ClickHouse | 286,862,079 | 597 | robot-metrika-test | Can one of the admins verify this patch? | 2017-03-15T20:04:03 | 2017-03-15T20:04:03 | {} | NONE |
ClickHouse | ClickHouse | 284,134,282 | 532 | sangli00 | @ztlpn
how to delete table ,this release is not support ```DELETE``` ? | 2017-03-04T07:26:29 | 2017-03-04T07:26:29 | {} | NONE |
ClickHouse | ClickHouse | 286,695,366 | 590 | ludv1x | Confirmed.
Distributed engine don't fetch dependent columns.
As workaround you can add dependent columns explicitly:
```
SELECT column1, column2, column4 from events
``` | 2017-03-15T10:01:39 | 2017-03-15T10:02:09 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 287,891,629 | 615 | alexey-milovidov | Sorry, I don't understand the exact meaning of this modification.
The issue is that `terminal_size.ws_col` is too low or don't detected correctly? | 2017-03-20T20:43:38 | 2017-03-20T20:43:38 | {} | MEMBER |
ClickHouse | ClickHouse | 288,043,271 | 615 | George3d6 | Added the check, also added a check for the elapsed time so that the "%" will still render in sync with the progress bar. Also added the "progress.rows * 2 < progress.total_rows" check, though I'm not 100% sure on what problem that solves in the original if... | 2017-03-21T10:55:07 | 2017-03-21T10:55:07 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 288,051,600 | 613 | alexey-milovidov | It's non-obvious, but Ok. Thanks! | 2017-03-21T11:32:58 | 2017-03-21T11:32:58 | {} | MEMBER |
ClickHouse | ClickHouse | 288,383,344 | 615 | George3d6 | Any updates on this ? | 2017-03-22T12:27:20 | 2017-03-22T12:27:20 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 289,235,004 | 629 | alexey-milovidov | `Received signal Illegal instruction`
It means that your CPU doesn't support required instruction set.
For Yandex pre-built packages, minimal instruction set is SSE 4.2.
To show supported instruction sets, run `cat /proc/cpuinfo`.
You may build ClickHouse by yourself (either on target machine or with explicitly... | 2017-03-25T19:47:27 | 2017-03-25T19:47:27 | {} | MEMBER |
ClickHouse | ClickHouse | 289,559,872 | 617 | proller | os 32 or 64 bit ? | 2017-03-27T19:30:10 | 2017-03-27T19:30:10 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 284,713,688 | 508 | ztlpn | @sangli00 `replica` macro values should be different for each node.
You can use hostnames, IP addresses (`120.132.42.189` and `120.132.42.190` аs you have originally configured), or just `node1` and `node2`. Doesn't matter, they just have to be unique for each node. | 2017-03-07T12:54:53 | 2017-03-07T12:54:53 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 284,927,705 | 508 | sangli00 | ```
:] show create tx
SHOW CREATE TABLE tx
┌─statement──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ CREA... | 2017-03-08T02:31:04 | 2017-03-08T02:31:04 | {} | NONE |
ClickHouse | ClickHouse | 285,220,666 | 570 | robot-metrika-test | Can one of the admins verify this patch? | 2017-03-09T00:59:02 | 2017-03-09T00:59:02 | {} | NONE |
ClickHouse | ClickHouse | 286,394,394 | 588 | sokolov-denis | > second problem:
> -rw-rw-rw- 1 clickhouse clickhouse 4906 Feb 13 00:32 users-preprocessed.xml
CH creates **all** files/directories with access rights 666/777
https://github.com/yandex/ClickHouse/blob/v1.1.54181-stable/contrib/libpoco/Foundation/src/File_UNIX.cpp#L385
https://github.com/yandex/ClickHouse/blob/... | 2017-03-14T11:30:03 | 2017-03-14T11:30:03 | {} | NONE |
ClickHouse | ClickHouse | 287,132,014 | 598 | ludv1x | Yes, of course -)
I just needed an opinion about the semantics. | 2017-03-16T17:28:22 | 2017-03-16T17:28:22 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 289,388,369 | 238 | sangli00 | how to fixed
```-- Performing Test HAVE_PCLMULQDQ_INTRIN - Failed``` | 2017-03-27T08:34:14 | 2017-03-27T08:34:14 | {} | NONE |
ClickHouse | ClickHouse | 284,134,612 | 508 | sangli00 | host1
```
:] desc ontime_local
DESCRIBE TABLE ontime_local
┌─name───────┬─type───┬─default_type─┬─default_expression─┐
│ FlightDate │ Date │ │ │
│ ID │ UInt32 │ │ │
└────────────┴────────┴──────────────┴────────────────────┘
↗ Progres... | 2017-03-04T07:35:06 | 2017-03-04T07:35:06 | {} | NONE |
ClickHouse | ClickHouse | 284,366,359 | 478 | robot-metrika-test | Can one of the admins verify this patch? | 2017-03-06T11:03:10 | 2017-03-06T11:03:10 | {} | NONE |
ClickHouse | ClickHouse | 287,390,719 | 594 | ludv1x | Yes, such effect exists.
Index of buffer is chosen by formula `thread_number() % num_buffers`, and buffer is locked under exclusive mutex if other thread use it. | 2017-03-17T15:44:40 | 2017-03-17T15:44:54 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 287,904,779 | 615 | George3d6 | Sorry, I didn't realize that, currently I'm not on my computer. I will do the mod tomorrow early morning and do the pull request again. | 2017-03-20T21:31:59 | 2017-03-20T21:31:59 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 288,827,070 | 626 | alexey-milovidov | Yes, we have it in plans.
It would be nice if you will try to implement it! We very appreciate any contribution.
And don't worry if it will be successful or not... | 2017-03-23T19:00:51 | 2017-03-23T19:00:51 | {} | MEMBER |
ClickHouse | ClickHouse | 289,239,130 | 630 | alexey-milovidov | On newer versions (latest stable: 1.1.54190), you could specify multiple listen hosts: for example, one for IPv4 and another for IPv6.
proller: please, update FreeBSD ports. | 2017-03-25T20:58:36 | 2017-03-25T20:58:36 | {} | MEMBER |
ClickHouse | ClickHouse | 285,566,032 | 569 | sangli00 | so, host ```120.132.42.189``` ```macros``` is ```120.132.42.190```?
| 2017-03-10T03:49:14 | 2017-03-10T03:49:14 | {} | NONE |
ClickHouse | ClickHouse | 286,192,441 | 584 | alexey-milovidov | Still have zero-width spaces. Will fix. | 2017-03-13T18:03:49 | 2017-03-13T18:03:49 | {} | MEMBER |
ClickHouse | ClickHouse | 287,899,757 | 615 | alexey-milovidov | Ok, now I understand.
But if you select from a table that engine doesn't provide estimation of total rows (for example, table of Log engine), `progress.total_rows` will be zero and percent will be displayed as either 99% or nan.
So, in case when `progress.total_rows` is zero, you should not display any percent. | 2017-03-20T21:13:13 | 2017-03-20T21:13:13 | {} | MEMBER |
ClickHouse | ClickHouse | 288,624,333 | 621 | robot-metrika-test | Can one of the admins verify this patch? | 2017-03-23T05:54:02 | 2017-03-23T05:54:02 | {} | NONE |
ClickHouse | ClickHouse | 288,820,933 | 626 | khrisanfov | Ok, Is there a plan to implement it? If you want I can try it, but I am not sure how much time it will take :) | 2017-03-23T18:39:08 | 2017-03-23T18:39:08 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 289,363,544 | 617 | sangli00 | how to fix this problem? I need check CPU info?
This OS is VMware | 2017-03-27T06:19:47 | 2017-03-27T06:19:47 | {} | NONE |
ClickHouse | ClickHouse | 285,552,270 | 569 | sangli00 | @vavrusa I have problem in ClickHouse
```host1``` Replica table to ```host2```
how to modify ```/etc/clickhouse-server/config.xml```
If i replica ```host1``` table ```tx``` to ```host2```,I need modify config.xml to each other?
how to modify ``` macros```?
what mean in parameter ```<replica>host_name</repl... | 2017-03-10T02:09:36 | 2017-03-10T02:09:36 | {} | NONE |
ClickHouse | ClickHouse | 286,246,216 | 520 | alexey-milovidov | > I suspect the core of the issue is that receiving replica cannot moderate senders when it's not able to keep up which leads to connection breaks, there is currently no way to throttle throughput or have any sort of backpressure - the sender replicas just keep sending.
Yes, this is the cause.
We currently have a t... | 2017-03-13T21:15:39 | 2017-03-13T21:15:39 | {} | MEMBER |
ClickHouse | ClickHouse | 289,252,516 | 631 | alexey-milovidov | Great! Now we have translated more than 70% comments.
```
~/work/ClickHouse$ (find . -name '*.h' -or -name '*.cpp' -or -name '*.hpp' | grep -v '/contrib/' | xargs grep -oP '//.+$'; find . -name '*.h' -or -name '*.cpp' -or -name '*.hpp' | grep -v '/contrib/' | xargs cat | tr '\n' '\v' | grep -oP '/\*.+?\*/' | tr '\... | 2017-03-26T01:58:57 | 2017-03-26T01:58:57 | {} | MEMBER |
ClickHouse | ClickHouse | 284,744,775 | 563 | hatarist | Also, wouldn't it be better to return `Connection: close` for these kinds of errors? | 2017-03-07T14:57:45 | 2017-03-07T14:57:45 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 286,163,640 | 575 | goranc | Yes.
That is the issue I have.
Thanks for quick answer,
you can close this issue.
| 2017-03-13T16:33:57 | 2017-03-13T16:33:57 | {} | NONE |
ClickHouse | ClickHouse | 287,129,957 | 598 | vavrusa | My expectation was that `CREATE TABLE IF NOT EXISTS tmp_mv_table AS tmp_mv` creates a table that reuses the same engine as the MV (AggregatingMergeTree), but it's perfectly fine if it requires me to say explicitly what the engine should be. It just shouldn't crash the CH. | 2017-03-16T17:21:47 | 2017-03-16T17:21:47 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 287,604,612 | 29 | artpaul | For anyone who interested in native C++ client please take a look at https://github.com/artpaul/clickhouse-cpp | 2017-03-19T09:33:04 | 2017-03-19T09:33:04 | {
"+1": 4
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 288,056,636 | 617 | alexey-milovidov | `Performing Test HAVE_PCLMULQDQ_INTRIN - Failed`
- this is not the reason of configuration failure.
It is just a check, and build will work without support for pclmulqdq intrinsic.
Please provide full log of running cmake. | 2017-03-21T11:57:21 | 2017-03-21T11:57:21 | {} | MEMBER |
ClickHouse | ClickHouse | 288,819,223 | 626 | khrisanfov | But CREATE table works fine and has (column2, 2) looks like returns reasonable result | 2017-03-23T18:33:01 | 2017-03-23T18:33:01 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 285,250,620 | 570 | alexey-milovidov | ```
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l $'\xe2\x80\x8b' | xargs sed -i 's/'$'\xe2\x80\x8b''//g'
```
https://github.com/yandex/ClickHouse/commit/f24df4b648f352c068b3a3f9102e07d1969e1ab4 | 2017-03-09T04:19:56 | 2017-03-09T04:19:56 | {} | MEMBER |
ClickHouse | ClickHouse | 285,353,944 | 566 | artpaul | Strange, but I can't reproduce it with version 1.1.54164
Please let me known if you will have this problem in the next versions. | 2017-03-09T13:42:08 | 2017-03-09T13:42:08 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 285,537,714 | 569 | vavrusa | We usually just delete the path from ZooKeeper. | 2017-03-10T00:50:45 | 2017-03-10T00:50:45 | {
"+1": 1,
"-1": 14
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 285,544,926 | 569 | sangli00 | @vavrusa how to delete path from Zookeeper? | 2017-03-10T01:24:20 | 2017-03-10T01:24:20 | {} | NONE |
ClickHouse | ClickHouse | 287,895,778 | 615 | George3d6 | Sorry, the message was wrong. What I meant to say is that we would like to use the client programmatically, we capture the std::cerr and insert it in another stream, so it doesn't run in a standard tty/ptty with width&height.
If we add the --progress option when running in batch mode we are able to see some stats bu... | 2017-03-20T20:58:25 | 2017-03-20T20:58:25 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 289,448,823 | 633 | proller | fail in debian jessie
with openssl 1.0.1t | 2017-03-27T13:11:51 | 2017-03-27T13:11:51 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 284,229,846 | 559 | robot-metrika-test | Can one of the admins verify this patch? | 2017-03-05T14:03:01 | 2017-03-05T14:03:01 | {} | NONE |
ClickHouse | ClickHouse | 284,590,294 | 508 | sangli00 | @ztlpn
```
:] SHOW CREATE TABLE tx;
SHOW CREATE TABLE tx
┌─statement───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────... | 2017-03-07T01:21:21 | 2017-03-07T01:21:21 | {} | NONE |
ClickHouse | ClickHouse | 286,379,337 | 587 | alexey-milovidov | This is current behaviour, please don't rely on it.
We have intention to change it to standard behaviour as soon as possible. | 2017-03-14T10:21:10 | 2017-03-14T10:21:10 | {} | MEMBER |
ClickHouse | ClickHouse | 287,323,056 | 601 | ludv1x | Confirmed :+1:
It is a minimal example reproducing the problem:
```
DROP TABLE IF EXISTS test.master;
DROP TABLE IF EXISTS test.master_mv;
CREATE TABLE test.master (p Date, k Int8, d Int8) ENGINE = MergeTree(p, (p, k), 8192);
CREATE MATERIALIZED VIEW test.master_mv ENGINE = Memory POPULATE AS SELECT p, k FRO... | 2017-03-17T10:46:17 | 2017-03-17T10:46:17 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 287,988,777 | 613 | bamx23 | No, it starts without any errors in log:
```
2017.03.20 20:17:48.503849 [ 1 ] <Information> Application: Listening http://[::1]:8123
2017.03.20 20:17:48.504059 [ 1 ] <Information> Application: Listening tcp: [::1]:9000
2017.03.20 20:17:48.504427 [ 1 ] <Information> Application: Listening interserver: [::1]:9009
20... | 2017-03-21T06:29:51 | 2017-03-21T06:29:51 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 284,366,335 | 559 | robot-metrika-test | Can one of the admins verify this patch? | 2017-03-06T11:03:02 | 2017-03-06T11:03:02 | {} | NONE |
ClickHouse | ClickHouse | 284,596,845 | 508 | sangli00 | what happen in this error:
```
2017.03.07 09:56:20.898209 [ 3 ] <Error> default.tx (StorageReplicatedMergeTree, RestartingThread): Couldn't start replication: DB::Exception, DB::Exception: Replica /clickhouse/tables/tx/replicas/120.132.42.189 appears to be already active. If you're sure it's not, try again in a minut... | 2017-03-07T01:57:25 | 2017-03-07T01:57:25 | {} | NONE |
ClickHouse | ClickHouse | 285,937,360 | 580 | bamx23 | Why are you can't use `yandex/clickhouse-client` image? I don't think that a client should be a part of server image. | 2017-03-12T11:05:33 | 2017-03-12T11:05:33 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 285,962,271 | 583 | robot-metrika-test | Can one of the admins verify this patch? | 2017-03-12T18:04:02 | 2017-03-12T18:04:02 | {} | NONE |
ClickHouse | ClickHouse | 286,392,962 | 588 | proller | second problem:
-rw-rw-rw- 1 clickhouse clickhouse 4906 Feb 13 00:32 users-preprocessed.xml | 2017-03-14T11:23:03 | 2017-03-14T11:23:03 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 287,126,319 | 598 | ludv1x | Ok. Thank you for the report.
But it is not clear for me what such clause should do
```
CREATE TABLE IF NOT EXISTS tmp_mv_table AS tmp_mv;
```
Either materialized view
```
CREATE TABLE tmp_mv_table (date Date, name String, cc AggregateFunction(count)) ENGINE = AggregatingMergeTree(date, (name), 8192)
```
... | 2017-03-16T17:09:46 | 2017-03-16T17:18:14 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 287,467,255 | 605 | ludv1x | We don't plan to interpret +0.0 and -0.0 as equal numbers due to simplicity and efficiency reasons.
BTW, see a quote from the [doc](https://clickhouse.yandex/reference_en.html#Float32):
> Float32 and Float64 are not SQL compatible types, instead they are mapped directly to C++ float and double. | 2017-03-17T20:48:54 | 2017-03-17T20:49:10 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 289,452,031 | 633 | proller | fixed in poco - https://github.com/pocoproject/poco/commit/bfaa161c61cca06526eaf238bfdddd190381616b | 2017-03-27T13:24:28 | 2017-03-27T13:24:28 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 284,412,667 | 508 | ztlpn | I assume you mean ReplicatedMergeTree, not ReplacingMergeTree.
A table should have a unique path in ZooKeeper and each table replica should have a unique id. So, first you need to configure a replica id in macros:
```
<macros>
<replica>120.132.42.189</replica>
</macros>
```
(and a different replica id on a... | 2017-03-06T14:35:19 | 2017-03-06T14:35:19 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 286,248,855 | 520 | alexey-milovidov | We have experienced the following cases:
1. When replica is repaired, data is downloaded by too large number of parallel connections (equals to background_pool_size = 16 by default). As even one connection could utilize the network, each connection only downloaded data slower while total throughput is the same. It a... | 2017-03-13T21:25:50 | 2017-03-13T21:25:50 | {} | MEMBER |
ClickHouse | ClickHouse | 288,244,596 | 620 | robot-metrika-test | Can one of the admins verify this patch? | 2017-03-21T22:54:02 | 2017-03-21T22:54:02 | {} | NONE |
ClickHouse | ClickHouse | 288,729,994 | 621 | alexey-milovidov | This is fixed in another commit: https://github.com/yandex/ClickHouse/commit/31de60c5cab2d72d11876bd60e4b20f1127cf8de
FYI, background:
Init script initially was copied from Yandex.Metrika daemons. That daemons support running many instances on same server. Althrough it is possible to run multiple ClickHouse instanc... | 2017-03-23T14:07:33 | 2017-03-23T14:07:33 | {} | MEMBER |
ClickHouse | ClickHouse | 289,464,516 | 633 | proller | current fastest way - build with poco 1.7.8 manually:
```
cd
git clone --recursive --depth 1 --branch poco-1.7.8-release https://github.com/pocoproject/poco.git
cd ~/poco && cmake . && make -j `nproc || sysctl -n hw.ncp... | 2017-03-27T14:08:20 | 2017-03-27T14:08:41 | {} | CONTRIBUTOR |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.