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 | 469,481,591 | 12 | victor-perov | I would like to add, that there are two telegram channels, where you can ask your questions.
* For English speaking community: https://t.me/clickhouse_en
* For Russian speaking guys: https://t.me/clickhouse_ru | 2019-03-05T00:19:43 | 2019-03-05T00:19:43 | {
"-1": 1
} | NONE |
ClickHouse | ClickHouse | 470,011,568 | 4,606 | filimonov | On versions after 19.1:
```SELECT boundingRatio(timestamp, network_in_bytes) FROM table```
(Not documented yet, check PR: https://github.com/yandex/ClickHouse/pull/3139 )
On previous versions:
```SELECT ( argMax(network_in_bytes, timestamp) - argMin(network_in_bytes, timestamp) ) / ( max(timsetamp) - min(timestam... | 2019-03-06T08:17:06 | 2019-03-06T08:17:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,839,114 | 4,625 | a58457432 | it is a bug | 2019-03-08T07:55:54 | 2019-03-08T07:55:54 | {} | NONE |
ClickHouse | ClickHouse | 471,223,303 | 4,636 | simPod | Not really, I was just hoping it could help with this https://github.com/yandex/ClickHouse/issues/4631
| 2019-03-09T21:25:02 | 2019-03-09T21:25:02 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 469,598,436 | 2,174 | adilets | Why we can't read from `foo` and write to `foo_2`? I really need to read from foo table.
I have like this structure:
```
kafkaA -> mv stream A \ table A -> mv stream B -> table B
kafkaB -> mv stream B /
```
@filimonov | 2019-03-05T09:05:08 | 2019-03-05T09:06:12 | {} | NONE |
ClickHouse | ClickHouse | 469,720,187 | 4,570 | 4ertus2 | #4598 | 2019-03-05T15:20:14 | 2019-03-05T15:20:14 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,513,782 | 4,617 | filimonov | Most probably it will work ok, with certain limitations:
* In versions before 19.1 your server will startup very slow (see https://github.com/yandex/ClickHouse/issues/2278#issuecomment-430469391 )
* the more tables you have the less granular partitioning you should use.
Most probably ClickHouse (in versions > 19)... | 2019-03-07T12:52:18 | 2019-03-07T13:16:34 | {
"+1": 5
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 469,851,273 | 4,572 | alexey-milovidov | No.
`new_job_or_shutdown.wait(lock, [this] { return shutdown || !jobs.empty(); });`
We wait for shutdown or when there are new jobs. No spurious wakeups possible.
If after wait we have `jobs.empty()`, it means that the ThreadPool is destroying (`shutdown` is true). And we can simply exit from thread.
This can... | 2019-03-05T20:48:27 | 2019-03-05T20:51:07 | {} | MEMBER |
ClickHouse | ClickHouse | 470,262,611 | 4,616 | BigBig-joe | yes. I fetch the first 2 columns only. full schema likes below.
`{"transactionnumber":177732656,"warehousenumber":"09","trackingnumber":"74899998266877023548","Weight":1,"DimensionWeight":0,"BoxNumber":"1 ","OrderType":101,"InvoiceNumber":"432730694","ServiceType":"114","CalculatedCharge":3.36,"ShippingCarri... | 2019-03-06T20:25:10 | 2019-03-06T20:25:10 | {} | NONE |
ClickHouse | ClickHouse | 470,507,203 | 4,616 | abyss7 | It looks like a bug for sure. I will try to reproduce. There are other mentions of problems when parsing messages from Kafka in this CH version. Will fix them all soon. | 2019-03-07T12:29:03 | 2019-03-07T12:29:03 | {
"+1": 5
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,848,172 | 3,985 | bkarlson | Same issue, had to import MySQL column as a string in such case. | 2019-03-08T08:32:41 | 2019-03-08T08:32:41 | {} | NONE |
ClickHouse | ClickHouse | 470,878,618 | 4,625 | filimonov | It is bug. We need more information - server version, table structure, and stacktrace,
You can find stacktrace in /var/log/clickhouse-server/clickhouse-server.err.log (after line containing Segmentation). Like that:
```bash
grep Segmentation -A 50 /var/log/clickhouse-server/clickhouse-server.err.log
``` | 2019-03-08T10:19:29 | 2019-03-08T10:21:42 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,182,951 | 4,611 | zlobober | Let me do some branch bookkeeping in order to get rid of merge commit in this PR... | 2019-03-06T16:45:50 | 2019-03-06T16:45:50 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,624,376 | 4,218 | 4ertus2 | It crashes with Nullable type itself too.
```
CREATE TABLE t1 ( id String ) ENGINE = Memory;
CREATE TABLE t2 ( id Nullable(String), not_id Nullable(String) ) ENGINE = Memory;
insert into t1 values ('');
SELECT t2.not_id = '' FROM t1 ANY LEFT JOIN t2 using(id); -- OK
SELECT assumeNotNull(t2.id) = '' FROM t1 AN... | 2019-03-07T17:42:43 | 2019-03-07T18:45:32 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,926,497 | 4,625 | den-crane | It could be OOM due lack of memory because of insert into a wide table or merge of a heavy blob column or not related to insert. | 2019-03-08T13:22:30 | 2019-03-08T13:22:30 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 471,319,884 | 4,361 | alexey-milovidov | You have to tell your experience and performance testing results with Redis dictionaries. | 2019-03-10T16:14:43 | 2019-03-10T16:14:43 | {} | MEMBER |
ClickHouse | ClickHouse | 469,705,149 | 4,596 | 4ertus2 | It probably needs push down for prewere section. | 2019-03-05T14:42:42 | 2019-03-05T14:42:42 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,109,727 | 4,599 | abyss7 | Do we need this in any 19.1 or 19.3 versions, when it gets merged? | 2019-03-06T13:37:44 | 2019-03-06T13:37:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,313,439 | 4,616 | filimonov | Did you build ClickHouse by your own? Or download package somewhere? | 2019-03-06T23:05:54 | 2019-03-06T23:05:54 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,323,187 | 4,599 | alexey-milovidov | Yes. | 2019-03-06T23:46:10 | 2019-03-06T23:46:10 | {} | MEMBER |
ClickHouse | ClickHouse | 470,435,843 | 4,315 | TH-HA | Hello , is there any workaround to this bug ?
Thanks in advance. | 2019-03-07T08:40:28 | 2019-03-07T08:40:28 | {} | NONE |
ClickHouse | ClickHouse | 470,924,827 | 3,779 | alexey-milovidov | @bgranvea The issue has been fixed in master.
Thank you for the detailed test case! | 2019-03-08T13:16:55 | 2019-03-08T13:16:55 | {} | MEMBER |
ClickHouse | ClickHouse | 471,155,673 | 4,617 | ggservice007 | @filimonov Thank you a lot. You are so awesome.
| 2019-03-09T07:53:22 | 2019-03-09T07:53:22 | {} | NONE |
ClickHouse | ClickHouse | 471,319,732 | 4,361 | alexey-milovidov | Tests must be converted to integration tests, because dictionary tests were deleted. | 2019-03-10T16:13:06 | 2019-03-10T16:13:06 | {} | MEMBER |
ClickHouse | ClickHouse | 471,356,228 | 4,634 | alexey-milovidov | @kirillDanshin It's unrelated: https://github.com/yandex/ClickHouse/commit/ac4045c55d40acb04898226dc4c00290c3c550dd | 2019-03-10T21:35:22 | 2019-03-10T21:35:22 | {} | MEMBER |
ClickHouse | ClickHouse | 471,372,357 | 4,633 | foolfish3 | 1. conv, mysql has this function, i used it to convert some string to bigint, e.g. item_id XYABCD1234 <-> bigint
2. that's ok | 2019-03-11T00:55:08 | 2019-03-11T00:55:08 | {} | NONE |
ClickHouse | ClickHouse | 469,710,377 | 4,586 | SaltTan | It works on the latest build (19.3.4.15) | 2019-03-05T14:55:56 | 2019-03-05T14:55:56 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,069,461 | 4,554 | 4ertus2 | fixed in master | 2019-03-06T11:15:49 | 2019-03-06T11:15:49 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,336,510 | 4,590 | foolfish3 | sorry 20m,20,000,000 | 2019-03-07T00:45:23 | 2019-03-07T00:45:23 | {} | NONE |
ClickHouse | ClickHouse | 470,950,133 | 4,622 | alexey-milovidov | ```
2019-03-08 16:45:57 00910_zookeeper_custom_compression_codecs_replicated: FAIL - return code 231
2019-03-08 16:45:57 Received exception from server (version 19.3.4):
2019-03-08 16:45:57 Code: 999. DB::Exception: Received from localhost:9000, ::1. Coordination::Exception. Coordination::Exception: Connection loss.... | 2019-03-08T14:38:54 | 2019-03-08T14:38:54 | {} | MEMBER |
ClickHouse | ClickHouse | 471,207,251 | 4,636 | alexey-milovidov | Ok.
BTW, you have missed description for the changelog. Does this PR relate to any issues? | 2019-03-09T18:07:43 | 2019-03-09T18:07:43 | {} | MEMBER |
ClickHouse | ClickHouse | 471,361,855 | 4,574 | orivej | This broke the build in the CLICKHOUSE_ONE_SHARED mode:
```
$ ninja dbms/programs/CMakeFiles/clickhouse.dir/main.cpp.o
[1/1] Building CXX object dbms/programs/CMakeFiles/clickhouse.dir/main.cpp.o
FAILED: dbms/programs/CMakeFiles/clickhouse.dir/main.cpp.o
/nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4... | 2019-03-10T22:44:52 | 2019-03-10T22:44:52 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 469,383,738 | 4,581 | alexey-milovidov | The issue is common for all dictionary sources. | 2019-03-04T19:15:06 | 2019-03-04T19:15:06 | {} | MEMBER |
ClickHouse | ClickHouse | 469,936,600 | 4,605 | CaiZhanqi | if value of insert is 1970-01-01 08:00:00 it will become to 0000-00-00 00:00:00 | 2019-03-06T02:03:35 | 2019-03-06T02:03:35 | {} | NONE |
ClickHouse | ClickHouse | 469,943,358 | 4,605 | den-crane | duplicate of #3470 | 2019-03-06T02:34:46 | 2019-03-06T02:34:57 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,107,234 | 4,607 | Felixoid | I doubt. @malsumis did you build ClickHouse today or was it during long time? | 2019-03-06T13:30:02 | 2019-03-06T13:30:02 | {} | MEMBER |
ClickHouse | ClickHouse | 470,370,940 | 4,606 | brucejrc | @filimonov thanks,I try another way like this
```
SELECT (runningDifference(network_in_bytes))/(runningDifference(timestamp)) FROM
(
SELECT network_in_bytes,timestamp FROM tables
order by network_in_bytes,timestamp
)
``` | 2019-03-07T03:31:18 | 2019-03-07T03:31:18 | {} | NONE |
ClickHouse | ClickHouse | 471,002,217 | 4,629 | bgranvea | The implementation is different from what I initially proposed in https://github.com/yandex/ClickHouse/issues/3852.
Wrapping an existing data (like it is done for Nullable and LowCardinality) was too complex because there are many places in the code where the type is directly tested (dynamic_cast<TypeDataNullable *... | 2019-03-08T17:05:58 | 2019-03-08T17:07:19 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 471,061,910 | 929 | filimonov | Probably can be closed? | 2019-03-08T20:14:18 | 2019-03-08T20:14:18 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 471,065,958 | 4,628 | sundarv85 | Thanks @den-crane. The INNER JOIN did the trick.
Could you explain more the difference between having a direct `SELECT` in the inner join, vs the `temporary table`. Why the former is `bad` while the other one is `better`
The issue is - this `sum(value)` and order changes based on the time range (1d or 1M) that i... | 2019-03-08T20:28:50 | 2019-03-08T20:29:20 | {} | NONE |
ClickHouse | ClickHouse | 469,668,732 | 4,554 | 4ertus2 | #4595 | 2019-03-05T12:53:02 | 2019-03-05T12:53:02 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 469,740,979 | 4,573 | alexey-milovidov | The issue has been fixed in 19.3.6. | 2019-03-05T16:11:59 | 2019-03-05T16:11:59 | {} | MEMBER |
ClickHouse | ClickHouse | 470,097,942 | 4,607 | filimonov | @Felixoid does your recent changes address that? | 2019-03-06T12:59:23 | 2019-03-06T12:59:23 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,104,483 | 4,590 | abyss7 | Can you tell any actions you do before the crash occurs? Maybe some queries, client connections? Can you provide your server configuration files and the way you run server, i.e. command line? | 2019-03-06T13:21:34 | 2019-03-06T13:21:34 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,113,933 | 4,607 | majedrze | I pasted only the table definition of rollup.xml and forgot to paste in the actual retention config:
> :) select * from system.graphite_retentions;
>
>SELECT *
>FROM system.graphite_retentions
>
>┌─config_name─┬─regexp─┬─function─┬─age─┬─precision─┬─priority─┬─is_default─┐
>│ graphite_rollup │ ^carbon\.... | 2019-03-06T13:50:28 | 2019-03-06T14:32:49 | {} | NONE |
ClickHouse | ClickHouse | 470,191,719 | 4,590 | foolfish3 | almost same as #4450,
i create a table
CREATE TABLE files ( rank_date Date, filename String, filetime Int64, content String) ENGINE = MergeTree PARTITION BY rank_date ORDER BY filetime SETTINGS index_granularity = 81920;
then use clickhouse-jdbc nativestream insert data continuous with batchsize 5000per query, onl... | 2019-03-06T17:08:06 | 2019-03-06T17:08:06 | {} | NONE |
ClickHouse | ClickHouse | 470,511,981 | 4,584 | Felixoid | Link to failed [Functional stateless tests (release)](https://clickhouse-test-reports.s3.yandex.net/4584/b34070a3a86980f5b7f87eacb952337ebbf69293/functional_stateless_tests_(release).html) for [b34070a](https://github.com/yandex/ClickHouse/pull/4584/commits/b34070a3a86980f5b7f87eacb952337ebbf69293) (the only failed tes... | 2019-03-07T12:46:29 | 2019-03-07T12:48:55 | {} | MEMBER |
ClickHouse | ClickHouse | 470,517,325 | 4,606 | filimonov | ah, you wanted pairwise rate no by 2 border points. So your solution is ok. | 2019-03-07T13:04:33 | 2019-03-07T13:04:33 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,893,670 | 2,802 | Crazylearner30 | can somebody explain how exactly the below partition works?
1. ENGINE = MergeTree PARTITION BY toYYYYMMDD(created_date)
with YYYYMMDD(created_date) it's creating 100's of partitions./
2. ENGINE = MergeTree PARTITION BY (created_date)
with just (created_date) it's creating 8 partitions for 1 weeks ... | 2019-03-08T11:12:32 | 2019-03-08T11:48:22 | {} | NONE |
ClickHouse | ClickHouse | 471,204,770 | 4,630 | nikvas0 | For some reason there is no button "ready for review". I'll reopen it.

| 2019-03-09T17:41:50 | 2019-03-09T17:41:50 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 469,562,821 | 4,467 | PhantomPhreak | Got the error today:
```
2019.03.05 13:39:16.077741 [ 31 ] {} <Warning> db.table (ReplicatedMergeTreePartCheckThread): Checking part 20190302_20190302_3092_3403_6
2019.03.05 13:39:16.078143 [ 31 ] {} <Warning> db.table (ReplicatedMergeTreePartCheckThread): Checking data of part 20190302_20190302_3092_3403_6.
2019.0... | 2019-03-05T06:56:24 | 2019-03-05T06:56:24 | {} | NONE |
ClickHouse | ClickHouse | 469,644,645 | 4,453 | AlexAkulov | Есть идеи? | 2019-03-05T11:24:26 | 2019-03-05T11:24:26 | {} | NONE |
ClickHouse | ClickHouse | 470,020,251 | 4,587 | filimonov | Cascading materialized view are not supported currently. You need to fill all dependent tables from the source directly (without any 'proxy' tables).
Try changing that:
```
CREATE MATERIALIZED VIEW IF NOT EXISTS by_day_view to data_by_day
AS
SELECT uniqMerge(id) as total,
event_date,
maxMerge(l... | 2019-03-06T08:45:43 | 2019-03-06T08:47:32 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,220,457 | 4,590 | den-crane | @foolfish3
1. index_granularity = 81920; or index_granularity = 8192; ?
How many rows in your table? select count() ?
2. https://github.com/yandex/clickhouse-jdbc or
https://github.com/housepower/ClickHouse-Native-JDBC ? | 2019-03-06T18:28:01 | 2019-03-06T18:28:57 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,227,666 | 4,614 | alexey-milovidov | + check for float argument (inf, nan, out of range) with UBSan build. | 2019-03-06T18:47:42 | 2019-03-06T18:47:42 | {} | MEMBER |
ClickHouse | ClickHouse | 470,260,378 | 4,616 | den-crane | @BigBig-joe can you provide some examples of your messages (JSONEachRow) ? | 2019-03-06T20:18:11 | 2019-03-06T20:18:11 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,641,955 | 4,620 | alexey-milovidov | What is the initial motivation for this improvement? | 2019-03-07T18:33:09 | 2019-03-07T18:33:09 | {} | MEMBER |
ClickHouse | ClickHouse | 470,918,974 | 4,622 | alexey-milovidov | After this change, the error in #4623 started to be visible in tests. | 2019-03-08T12:55:42 | 2019-03-08T12:55:42 | {} | MEMBER |
ClickHouse | ClickHouse | 470,124,503 | 4,607 | majedrze | I understand that. We have multiple metrics that do not start with "carbon". Metrics starting with carbon are only a very small subset of all metrics.
SELECT countDistinct(Path)
FROM graphite
PREWHERE Date = '2019-03-06'
WHERE Path NOT LIKE 'carbon%'
┌─uniqExact(Path)─┐
│ 8324970 │
1 rows in set. ... | 2019-03-06T14:21:19 | 2019-03-06T14:26:37 | {} | NONE |
ClickHouse | ClickHouse | 471,187,587 | 4,633 | den-crane | 1. from_base to_base? like 10 to binary 2 ? 0b101010 = 42 ? Why do you need this in database ?
```
2. SELECT extractAll('splitByString', '.') AS x
┌─x─────────────────────────────────────────────────────┐
│ ['s','p','l','i','t','B','y','S','t','r','i','n','g'] │
└───────────────────────────────────────────────... | 2019-03-09T15:08:16 | 2019-03-09T15:08:16 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 471,249,366 | 4,634 | kirillDanshin | @alexey-milovidov not sure if stateless tests failed due to this change | 2019-03-10T05:45:27 | 2019-03-10T05:45:27 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 469,567,600 | 4,587 | filimonov | Duplicate #2174 (workaround described in comments). | 2019-03-05T07:17:44 | 2019-03-05T07:17:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 469,686,179 | 4,467 | 0i | #4423 @PhantomPhreak | 2019-03-05T13:50:22 | 2019-03-05T13:51:01 | {} | NONE |
ClickHouse | ClickHouse | 469,963,452 | 4,248 | wawaka | in my case the error mostly appears in 19.3.* | 2019-03-06T04:26:35 | 2019-03-06T04:26:35 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,202,390 | 4,586 | SaltTan | It stopped working on 19.3.4.15 as well.
I'll try to reproduce | 2019-03-06T17:36:49 | 2019-03-06T17:36:49 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,992,338 | 4,628 | den-crane | bad
```
SELECT name, toRelativeMinuteNum(dateTime) r, ss, sum(value)
FROM TABLE inner join (SELECT name, sum(value) ss FROM TABLE GROUP BY name ORDER BY ss DESC LIMIT 5) using name
GROUP BY name, ss, r
```
better
```
create temporary table TX as
SELECT name, sum(value) ss FROM TABLE GROUP BY name ORDER B... | 2019-03-08T16:37:18 | 2019-03-08T16:37:18 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 471,325,296 | 4,499 | nikvas0 | Comparision between no index and ngram index (50 runs for each)
https://github.com/nikvas0/CHDataSkippingTest/blob/master/indices_test.ipynb

 Received signal Aborted (6).
2019.03.05 21:33:49.817172 [ 35 ] {} <Error> BaseDaemon: 0. /lib64/libc.so.6(gsignal+0x37) [0x7f7dfd58a277]
... | 2019-03-06T01:40:47 | 2019-03-06T01:40:47 | {} | NONE |
ClickHouse | ClickHouse | 469,963,798 | 4,442 | wawaka | `kafka_row_delimiter = '\n'` indeed fixes the issue.
Although, adding `\n` in the end of every message instead of `kafka_row_delimiter = '\n'` does not help. | 2019-03-06T04:28:58 | 2019-03-06T04:28:58 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,508,472 | 4,590 | foolfish3 | clickhouse-server-18.10.3 is working more than 24 hours insert more than 90 days data, seems don't have same problem | 2019-03-07T12:33:36 | 2019-03-07T12:33:36 | {} | NONE |
ClickHouse | ClickHouse | 470,535,519 | 4,617 | den-crane | https://github.com/yandex/ClickHouse/issues/1435#issuecomment-341669457 | 2019-03-07T13:59:23 | 2019-03-07T13:59:23 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 471,091,901 | 4,628 | den-crane | > Could you explain more the difference between having a direct `SELECT` in the inner join, vs the `temporary table`. Why the former is `bad` while the other one is `better`
I had an idea that a filter `WHERE name in (select name from TX)` makes the query faster but now I am not so sure, because perhaps `using name`... | 2019-03-08T22:04:29 | 2019-03-08T22:04:29 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 469,931,922 | 4,590 | foolfish3 | any one told me how to avoid this segment fault? | 2019-03-06T01:42:37 | 2019-03-06T01:42:57 | {} | NONE |
ClickHouse | ClickHouse | 470,069,964 | 4,570 | 4ertus2 | fixed in matser | 2019-03-06T11:17:30 | 2019-03-06T11:17:30 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,100,719 | 4,589 | filimonov | > Default values are evaluated only for columns, that are not listed in INSERT query.
So to make it work you need to change insert like that:
```sql
insert into lq_test_db.default_value_insert_failed_test (timestamp) values (1551772800000);
```
See also #86 | 2019-03-06T13:08:54 | 2019-03-06T13:08:54 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,161,143 | 4,572 | alexey-milovidov | But we still have an issue in our implementation of `ThreadFromGlobalPool`.
We lock mutex in one thread (when constructing `ThreadFromGlobalPool` object) and unlock in another (when `shared_ptr<std::mutex>` is destroyed in the task).
According to the C++ standard:
```
The mutex must be locked by the current thr... | 2019-03-06T15:53:46 | 2019-03-06T15:54:09 | {} | MEMBER |
ClickHouse | ClickHouse | 470,190,873 | 4,499 | nikvas0 | Some comparison (`ngrambf(3, 512, 2, 0)`, `tokenbf(512, 2, 0)` and no index)
https://gist.github.com/nikvas0/a6d66e833c0adaa42762fdf77a026e2b | 2019-03-06T17:05:52 | 2019-03-06T17:09:01 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,287,682 | 4,608 | alexey-milovidov | TODO: (as you suggested) move table locks to query context. | 2019-03-06T21:39:06 | 2019-03-06T21:39:06 | {} | MEMBER |
ClickHouse | ClickHouse | 470,334,528 | 4,590 | den-crane | 2000 **w** ? 2 000 000 000 ? 2billions / day? | 2019-03-07T00:36:37 | 2019-03-07T00:36:37 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,884,347 | 1,306 | Felixoid | Done with https://github.com/yandex/ClickHouse/pull/4426 | 2019-03-08T10:38:54 | 2019-03-08T10:38:54 | {} | MEMBER |
ClickHouse | ClickHouse | 471,152,082 | 929 | bgaifullin | Yes, thank you | 2019-03-09T06:49:03 | 2019-03-09T06:49:03 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 471,357,851 | 4,642 | alexey-milovidov | `protoc` failed to work with these assertions. | 2019-03-10T21:54:47 | 2019-03-10T21:54:47 | {} | MEMBER |
ClickHouse | ClickHouse | 469,625,034 | 4,546 | adubovikov | any feedback ? ;-)
| 2019-03-05T10:20:58 | 2019-03-05T10:20:58 | {} | NONE |
ClickHouse | ClickHouse | 469,755,077 | 3,852 | bgranvea | I've noticed that a class IDataTypeDomain was introduced for IPv4 and IPv6 data types in order to override the name of a DataType (and also override serialize/unserialize functions but I'm not interested in that).
My idea is to use that so that a SimpleAggregateFunction(anyLast,Nullable(Float64)) column type is tra... | 2019-03-05T16:43:46 | 2019-03-05T16:43:46 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,075,353 | 873 | 4ertus2 | Enabled in master with some restrictions:
- you need to list all selected columns. Asterisks (* / t.*) do not work
- prewhere does not work
- complex aliases in JOIN ON section do not work | 2019-03-06T11:36:41 | 2019-03-06T11:36:41 | {
"+1": 7,
"heart": 1,
"rocket": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,107,864 | 4,607 | majedrze | Actually we're using 18.14.18 | 2019-03-06T13:31:54 | 2019-03-06T13:31:54 | {} | NONE |
ClickHouse | ClickHouse | 470,123,216 | 4,607 | Felixoid | ```
┌─config_name─────┬─regexp───┬─function─┬─age───────┬─precision───┬─priority─┬─is_default─┐
│ graphite_rollup │ ^carbon. │ avg │ 0 │ 60 │ 1 │ 0 │
│ graphite_rollup │ .jmx. │ avg │ 0 │ 1 │ 2 │ 0 │
│ graphite_rollup │ .jmx. │ av... | 2019-03-06T14:17:33 | 2019-03-06T14:18:24 | {} | MEMBER |
ClickHouse | ClickHouse | 470,255,401 | 4,612 | alexey-milovidov | @ztlpn https://github.com/yandex/ClickHouse/pull/4612/commits/f49562bff3496bd288288c1934fa07ca1ac3c03a
Otherwise next query can reuse `current_thread` from previous query due to the fact that local ThreadPool is already joined but ThreadStatus is not destroyed and `current_thread` (thread-local pointer still has a val... | 2019-03-06T20:03:17 | 2019-03-06T20:04:17 | {} | MEMBER |
ClickHouse | ClickHouse | 470,506,635 | 936 | wangzhen11aaa | I came across this problem in clickhouse 18.1.6 version. I got the query log in every nodes of the cluster when Alter a distributed table 'test'. For example, DDLWorker: Processing task query-0000000005 (ALTER TABLE default.test ON CLUSTER replicated_stock ADD COLUMN nc String ), and it can be executed on every node s... | 2019-03-07T12:27:01 | 2019-03-07T12:27:01 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,855,123 | 4,590 | foolfish3 | clickhouse-server-19.1.10-1.el6 -> error
2019.03.08 08:47:25.199860 [ 2 ] {} <Error> BaseDaemon: (from thread 16) Received signal Segmentation fault (11).
2019.03.08 08:47:25.199920 [ 2 ] {} <Error> BaseDaemon: Address: 0x223135303430
2019.03.08 08:47:25.199942 [ 2 ] {} <Error> BaseDaemon: Access: write.
2019.03.... | 2019-03-08T08:59:19 | 2019-03-08T08:59:19 | {} | NONE |
ClickHouse | ClickHouse | 471,172,717 | 4,620 | proller | fix for arcadia - https://github.com/mfontanini/cppkafka/pull/175 | 2019-03-09T12:25:45 | 2019-03-09T12:25:45 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 469,708,932 | 4,583 | nvartolomei | ```
[14:23:21]FAILED: dbms/src/Dictionaries/CMakeFiles/clickhouse_dictionaries.dir/readInvalidateQuery.cpp.o
[14:23:21]/usr/local/bin/g++ -DBOOST_SYSTEM_NO_DEPRECATED -DPOCO_STATIC -DPOCO_UNBUNDLED_ZLIB -DUNALIGNED_OK -DWITH_GZFILEOP -DX86_64 -DZLIB_COMPAT -I../dbms/src -Idbms/src -I../libs/libcommon/include -Ilibs... | 2019-03-05T14:52:30 | 2019-03-05T14:52:30 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,179,605 | 4,567 | den-crane | случайно сам наступил :) (забыв дописать **с.**color_key) и долго не мог понять в чем проблема с результатом (в большом тестовом примере (другом)) :)
```
drop table fact;
drop table animals;
drop table colors;
create table fact(id Int64, animal_key Int64, color_key Int64) Engine = MergeTree order by tuple();... | 2019-03-06T16:37:20 | 2019-03-06T16:37:20 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,315,966 | 4,616 | BigBig-joe | > Did you build ClickHouse by your own? Or download package somewhere?
I download from Altinity .
https://packagecloud.io/Altinity/clickhouse/packages/el/7/clickhouse-server-common-19.3.6-1.el7.x86_64.rpm
| 2019-03-06T23:15:44 | 2019-03-06T23:15:44 | {} | NONE |
ClickHouse | ClickHouse | 470,400,998 | 4,589 | sdk2 | I understand it but I want to use "batch insert".
There are large amount of data, like
`INSERT INTO xxx (name, age) VALUES (Mike, 22), (John, NULL), (Lucy, 17)...`
I want to set "age" field default value is 18, John’s age should be 18.
Should I write two insert sql? | 2019-03-07T06:20:04 | 2019-03-07T06:20:04 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 470,325,303 | 4,590 | foolfish3 | 1 index_granularity = 81920,
partition by day,about 20m record per day*30day before die,content size from several byte to 100kb,20m records is about 15g after compress
2.https://github.com/yandex/clickhouse-jdbc 1.5.0
sendNativeStream | 2019-03-06T23:55:47 | 2019-03-07T00:44:33 | {} | NONE |
ClickHouse | ClickHouse | 471,233,278 | 4,631 | kmatt | I may be seeing a similar issue, where one or two nodes in a four node cluster, all consuming from the same group fall behind. Only a DROP/CREATE of the Kafka table consumers seems to bring things back in sync for a time.
In this chart, the left side shows the imbalance in rate, the peak near 2300 is when the consum... | 2019-03-09T23:56:42 | 2019-03-10T00:07:54 | {} | NONE |
ClickHouse | ClickHouse | 471,275,903 | 4,631 | simPod | This night it took 4:30h until it auto recovered.

| 2019-03-10T10:36:39 | 2019-03-10T10:36:39 | {} | CONTRIBUTOR |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.