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 | 459,192,443 | 3,927 | lostsnow | My fault, DB permission configuration is incorrect. | 2019-01-31T02:37:02 | 2019-01-31T02:37:02 | {} | NONE |
ClickHouse | ClickHouse | 459,211,304 | 2,675 | krasnoperov | @abyss7 thanks for that attempt.
Now with clickhouse:19.1.6 kafka engine *silently* drops messages both with kafka_skip_broken_messages = 1 and kafka_skip_broken_messages = 0.
Is there any change to log errors for skipped messages? | 2019-01-31T04:31:43 | 2019-01-31T04:31:43 | {
"+1": 2
} | NONE |
ClickHouse | ClickHouse | 459,286,271 | 4,175 | mkarmona | as suggested from @alesapin and @filimonov I am moving my report to this issue. I got a core dump, not sure same problem though; breaking even from a simple query as this on my side
```sql
select
rs_id,
position,
ref_allele,
alt_allele,
most_severe_consequence,
raw,
phred
from ot.varian... | 2019-01-31T10:01:47 | 2019-01-31T10:01:47 | {} | NONE |
ClickHouse | ClickHouse | 459,403,702 | 4,047 | andywow | @alesapin, here is log example:
```
2019.01.31 15:39:16.661361 [ 8 ] {} <Debug> logdb.logs (StorageReplicatedMergeTree): Fetching part 20190131_45182_45182_0 from /clickhouse/logs/tables/1/logs/replicas/clickhouse-0.clickhouse-headless.clickhouse.svc.cluster.local
2019.01.31 15:39:16.680103 [ 29 ] {} <Debug> logdb.l... | 2019-01-31T16:13:33 | 2019-01-31T16:13:33 | {} | NONE |
ClickHouse | ClickHouse | 459,737,047 | 4,218 | den-crane | Current CH way
SELECT id
FROM table1 ANY LEFT JOIN (select parent_id, parent_id as x from table2) ON table1.id = x
where parent_id = ''
Much faster way (using sort-key in MergeTree) https://gist.github.com/den-crane/fb1108e4843250a71bac7528a79700c2
select id from table1 where id not in (select parent_id fro... | 2019-02-01T14:19:02 | 2019-02-01T14:20:47 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 460,038,098 | 2,061 | alexey-milovidov | We have fixed similar issues in past releases.
Does the issue reproduce in the latest stable? | 2019-02-03T09:57:59 | 2019-02-03T09:57:59 | {} | MEMBER |
ClickHouse | ClickHouse | 458,937,435 | 4,168 | blinkov | @zhang2014 no, we'll add documentation versioning later in a different manner. | 2019-01-30T13:09:22 | 2019-01-30T13:09:22 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,693,762 | 4,213 | nvartolomei | Can Socket#poll be used for this without abusing read and making too many assumptions about how Poco handles sockets? | 2019-02-01T11:31:13 | 2019-02-01T11:31:13 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,707,344 | 3,145 | 4ertus2 | Am I right that only unsolved issue here is incorrect result with 'join_use_nulls = 1'?
```
use test;
drop table if exists t;
drop table if exists s;
create table t(a Int64, b Int64) engine = TinyLog;
create table s(a Int64, b Int64) engine = TinyLog;
insert into t values(1,1), (2,2);
insert into s valu... | 2019-02-01T12:28:41 | 2019-02-01T12:28:41 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,709,948 | 4,160 | 4ertus2 | fixed in master | 2019-02-01T12:39:07 | 2019-02-01T12:39:07 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,718,018 | 3,145 | den-crane | I think 3d and 6 also wrong and they have 2 issues.
```
select * from t all left join (select a,b,a s_a, b s_b from s) using (a,b)
┌─a─┬─b─┬─a─┬─b─┬─s_a─┬─s_b─┐
│ 1 │ 1 │ 1 │ 1 │ 1 │ 1 │
│ 2 │ 2 │ 2 │ 2 │ 0 │ 0 │
└───┴───┴───┴───┴─────┴─────┘
expected
┌─a─┬─b─┬─a─┬─b─┬─s_a─┬─s_b─┐
│ 1 │ 1 │ 1 │ 1 │ 1... | 2019-02-01T13:11:57 | 2019-02-01T13:17:05 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 460,036,703 | 3,492 | alexey-milovidov | It's a bug: `currentDatabase()` is not expanded and remains in table definition. | 2019-02-03T09:33:30 | 2019-02-03T09:33:30 | {} | MEMBER |
ClickHouse | ClickHouse | 459,050,534 | 4,168 | alexey-milovidov | > @alexey-milovidov Have we considered deleting them?
They're still used in production. | 2019-01-30T18:15:58 | 2019-01-30T18:15:58 | {} | MEMBER |
ClickHouse | ClickHouse | 459,321,145 | 4,203 | den-crane | clickhouse-client --insert_deduplicate 0
https://clickhouse.yandex/docs/en/operations/table_engines/replication/
Data blocks are deduplicated. For multiple writes of the same data block (data blocks of the same size containing the same rows in the same order), the block is only written once. The reason for this i... | 2019-01-31T12:08:09 | 2019-01-31T12:08:09 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,349,609 | 4,199 | igor-sh8 | Show create table statement:
`CREATE TABLE db1.table1 ( Col0 Int32, Col1 String, Col2 Date, Col3 Int16, Col4 Int16, Col5 Int16, Col6 Int64, Col7 Int64, Col8 Int64, Col9 Int64, Col10 Int64) ENGINE = ReplicatedSummingMergeTree('/clickhouse/tables/{shard}/table1', '{replica}', Col2, (Col2, Col3, Col4, Col5, Col... | 2019-01-31T13:47:20 | 2019-01-31T13:47:30 | {} | NONE |
ClickHouse | ClickHouse | 459,423,645 | 3,946 | sartor | First of all, thank you for your work!
I've already check this feature and it is working!
But:
1) Are you planning to allow multiple left joins?
2) There is problem now with aliases: If all table has alias - we must use prefix for column that are ambiguous in query and we do not allow to use column name with alias ... | 2019-01-31T17:04:36 | 2019-01-31T17:17:35 | {} | NONE |
ClickHouse | ClickHouse | 459,717,672 | 3,604 | 4ertus2 | fixed in master | 2019-02-01T13:10:38 | 2019-02-01T13:10:38 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,958,723 | 4,228 | alexey-milovidov | Let's also add a test with `SELECT ... FROM numbers(10)`. | 2019-02-02T11:46:44 | 2019-02-02T11:46:44 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 460,038,522 | 2,679 | alexey-milovidov | ClickHouse parallelize work for different rows (actually - for blocks of data).
In your case, the `groupArray` aggregation is almost not parallelized, because most of the time is spent on collecting data in the single huge result row.
Processing of multiple rows is parallelized, but for single huge array - it is no... | 2019-02-03T10:04:46 | 2019-02-03T10:04:46 | {} | MEMBER |
ClickHouse | ClickHouse | 458,939,303 | 4,175 | filimonov | Same? https://gist.github.com/donmikel/e52033c68c5ec040e4b0f3f8b5af197b | 2019-01-30T13:15:41 | 2019-01-30T13:15:41 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,284,154 | 4,187 | alesapin | @mkarmona Your issue is same with https://github.com/yandex/ClickHouse/issues/4175 and it will be fixed in next release.
But @rpfennin problem is something different. He get null pointer while loading marks to marks cache. | 2019-01-31T09:55:02 | 2019-01-31T09:55:02 | {} | MEMBER |
ClickHouse | ClickHouse | 459,368,555 | 4,175 | filimonov | @nvartolomei in a meanwhile you can also try to disable use_uncompressed_cache temporary. | 2019-01-31T14:41:47 | 2019-01-31T14:42:04 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,442,439 | 4,208 | den-crane | ? related to https://github.com/yandex/ClickHouse/issues/3469 | 2019-01-31T17:57:24 | 2019-01-31T17:57:24 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,749,606 | 3,145 | den-crane | I did typo and got
select * from t left outer join s on (t.a=s.a and t.b = s.a);
DB::Exception: Not found column dw.s.a in block. There are only columns: dw.s.b. | 2019-02-01T14:57:02 | 2019-02-01T14:57:02 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,966,136 | 4,234 | alexey-milovidov | Almost Ok. | 2019-02-02T13:43:46 | 2019-02-02T13:43:46 | {} | MEMBER |
ClickHouse | ClickHouse | 460,037,412 | 2,546 | alexey-milovidov | Solved in https://github.com/yandex/ClickHouse/pull/4233 | 2019-02-03T09:46:15 | 2019-02-03T09:46:15 | {} | MEMBER |
ClickHouse | ClickHouse | 458,925,764 | 4,187 | filimonov | Can you check out also /var/log/clickhouse-server/clickhouse-server.log at the moment of failure?
It would be helpful also if you can provide extra information like table structure which was processed at that time, and a mutations which were executed (if any) | 2019-01-30T12:26:10 | 2019-01-30T12:28:21 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,390,874 | 4,208 | healiseu | @filimonov here is the [TSV file][1]. It does have a header and therefore `TabSeparatedWithNames` is the right one to use in `file(path, format, structure)` function.
Do consider also that using a `File()` engine as the source of the `INSERT INTO table SELECT` command produces the same problem.
```sql
CREATE TABLE... | 2019-01-31T15:40:32 | 2019-01-31T16:08:41 | {} | NONE |
ClickHouse | ClickHouse | 459,390,996 | 4,197 | alesapin | Unfortunately `libhdfs3` call `SYS_getrandom` syscall. Seems like this syscall is absent in your kernel (available since 3.17). We will try to fix this in next release. Maybe you able to try to read from `HDFS` on newer kernel? | 2019-01-31T15:40:49 | 2019-01-31T16:24:23 | {} | MEMBER |
ClickHouse | ClickHouse | 459,447,795 | 4,208 | healiseu | I see, thanks @den-crane, hopefully this time this bug will not escape their attention :-) | 2019-01-31T18:13:06 | 2019-01-31T18:13:48 | {} | NONE |
ClickHouse | ClickHouse | 459,711,426 | 3,567 | 4ertus2 | fixed in master | 2019-02-01T12:45:17 | 2019-02-01T12:45:17 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,969,414 | 4,237 | alexey-milovidov | Please fill description and add a test. | 2019-02-02T14:29:24 | 2019-02-02T14:29:24 | {} | MEMBER |
ClickHouse | ClickHouse | 459,975,090 | 4,201 | filimonov | > It seems, that's what you need.
Not exactly. WHile that feature (DDL for dicts) is really cool, i was telling about scope of usage of (visibility) dictionaries, not the scope of definition.
I.e. `dictGetString('dictionary',...)` called while we are inside `database_rc` should use one dictionary (attached to `rc... | 2019-02-02T15:45:11 | 2019-02-02T15:55:45 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 460,034,542 | 3,470 | alexey-milovidov | Now it returns `2106-02-07 06:28:16`. Even better. | 2019-02-03T08:58:51 | 2019-02-03T08:58:51 | {
"+1": 2,
"-1": 3,
"eyes": 1
} | MEMBER |
ClickHouse | ClickHouse | 458,913,246 | 4,170 | alesapin | Autotests flap on:
```
stateless.00411_long_accurate_number_comparison
stateless.00417_kill_query
``` | 2019-01-30T11:37:43 | 2019-01-30T11:37:43 | {} | MEMBER |
ClickHouse | ClickHouse | 459,054,805 | 4,046 | alexey-milovidov | @filimonov
BTW, ClickHouse is trying to do the best when the client is connected to the wrong port:
```
milovidov@milovidov-Pro-P30:~/work/ClickHouse/dbms$ curl http://localhost:9000/
Port 9000 is for clickhouse-client program.
You must use port 8123 for HTTP.
milovidov@milovidov-Pro-P30:~/work/ClickHouse/dbms... | 2019-01-30T18:28:10 | 2019-01-30T18:31:40 | {} | MEMBER |
ClickHouse | ClickHouse | 459,327,076 | 4,197 | krs-app | Hi,
I checked it by executing following command on master node
hadoop fs -ls hdfs://172.82.99.12:9000/
Found 3 items
drwxrwxrwx - hadoop supergroup 0 2019-01-30 16:53 hdfs://172.29.61.12:9000/saurabh_hdfs
drwxr-xr-x - hadoop supergroup 0 2019-01-31 17:57 hdfs://172.29.61.12:9000/test_hdf... | 2019-01-31T12:30:34 | 2019-01-31T12:30:34 | {} | NONE |
ClickHouse | ClickHouse | 459,711,903 | 4,218 | den-crane | https://github.com/yandex/ClickHouse/issues/3145#issuecomment-436349352 | 2019-02-01T12:47:14 | 2019-02-01T12:47:14 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,712,882 | 3,145 | den-crane | 5, 3, 6 have wrong results.
```
set join_use_nulls = 1;
select t.*, s.* from t all left join s using (a,b) format PrettyCompact; -- NULLs expected
```
current result
```
┌─a─┬─b─┬─s.a─┬─s.b─┐
│ 1 │ 1 │ 1 │ 1 │
│ 2 │ 2 │ 0 │ 0 │
└───┴───┴─────┴─────┘
```
expected result
```
┌─a─┬─b─┬─s.a─┬─s.... | 2019-02-01T12:51:18 | 2019-02-01T13:30:24 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 460,039,380 | 2,376 | alexey-milovidov | The issues with OS X build are likely to have been fixed in the meantime.
Recently we have developers hackaton with numerous attendees and there was no issues compiling in Mac OS X.
If you still experience this issue, you should disable CapNProto library in cmake:
`cmake -D ENABLE_CAPNP=0`
| 2019-02-03T10:18:04 | 2019-02-03T10:18:04 | {} | MEMBER |
ClickHouse | ClickHouse | 458,933,802 | 4,187 | rpfennin | Here's the relevant table schema:
CREATE TABLE analytics.event_local
(
user_id UInt32,
created DateTime,
eventday Date,
eventhour DateTime,
eventminute DateTime,
campaign_id Nullable(String),
message_id Nullable(String),
ip String,
fromaddress Nullable(String),
toad... | 2019-01-30T12:56:11 | 2019-01-30T12:56:11 | {} | NONE |
ClickHouse | ClickHouse | 459,055,877 | 4,046 | alexey-milovidov | Do you have multiple old data chunks to be sent in the data directory of Distributed table? | 2019-01-30T18:31:08 | 2019-01-30T18:31:08 | {} | MEMBER |
ClickHouse | ClickHouse | 459,187,941 | 3,927 | lostsnow | ```
clickhouse :) CREATE TABLE xxx ENGINE = MergeTree ORDER BY id AS SELECT * FROM MySQL('xxx', 'xxx', 'xxx', 'xxx', 'xxx');
CREATE TABLE xxx
ENGINE = MergeTree
ORDER BY id AS
SELECT *
FROM MySQL('xxx', 'xxx', 'xxx', 'xxx', 'xxx')
Received exception from server (version 19.1.6):
Code: 46. DB::Exception: Re... | 2019-01-31T02:13:32 | 2019-01-31T02:13:32 | {} | NONE |
ClickHouse | ClickHouse | 459,412,919 | 4,202 | bithavoc | I was able to compile it with clang by modifying `CMakeLists.txt` as follows:
```patch
diff --git a/dbms/CMakeLists.txt b/dbms/CMakeLists.txt
index 3eb84d8ee..7a4584d11 100644
--- a/dbms/CMakeLists.txt
+++ b/dbms/CMakeLists.txt
@@ -40,7 +40,7 @@ option (WEVERYTHING "Enables -Weverything option with some excepti... | 2019-01-31T16:36:58 | 2019-01-31T16:36:58 | {} | NONE |
ClickHouse | ClickHouse | 459,696,231 | 4,209 | alexey-milovidov | Ok. | 2019-02-01T11:41:20 | 2019-02-01T11:41:20 | {} | MEMBER |
ClickHouse | ClickHouse | 459,740,773 | 4,201 | s-mx | Hello @filimonov . Very soon we will merge this PR https://github.com/yandex/ClickHouse/pull/4178 which allows create dictionaries in SQL-like queries and it definition will be attached to database with engine Dictionary.
So user can create, for example, database a with next query
`CREATE DATABASE a engine = Dictiona... | 2019-02-01T14:30:54 | 2019-02-01T14:30:54 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,746,469 | 3,145 | den-crane | And let's remove a setting **asterisk_left_columns_only**
It's broken in master anyway and has no sense. | 2019-02-01T14:48:11 | 2019-02-01T14:48:11 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 460,035,472 | 3,702 | alexey-milovidov | This PR is just an example (not ready for merge). | 2019-02-03T09:13:07 | 2019-02-03T09:13:07 | {} | MEMBER |
ClickHouse | ClickHouse | 458,869,209 | 4,170 | alesapin | @alexey-milovidov Now `clickhouse-odbc-bridge` contained in clickhouse-server package as binary. Is this expected behaviour? | 2019-01-30T09:15:19 | 2019-01-30T10:45:57 | {} | MEMBER |
ClickHouse | ClickHouse | 459,019,381 | 4,194 | filimonov | Возможно дубликат:
https://github.com/yandex/ClickHouse/issues/3976
https://github.com/yandex/ClickHouse/issues/4104 | 2019-01-30T16:51:03 | 2019-01-30T16:51:03 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,052,466 | 4,200 | alexey-milovidov | Missing test.
We can create a test (in `dbms/tests/queries` directory) to just ensure that the format exists and the output is as expected. | 2019-01-30T18:21:27 | 2019-01-30T18:21:27 | {} | MEMBER |
ClickHouse | ClickHouse | 459,271,508 | 4,187 | mkarmona | @filimonov , do you want me to move my report to the issue you mention? Otherwise, I will leave it here for now. | 2019-01-31T09:13:50 | 2019-01-31T09:13:50 | {} | NONE |
ClickHouse | ClickHouse | 459,322,414 | 4,197 | chenxing-xc | for the read problem, could you please check if the namenode:port '172.82.99.12:9000' is correct? | 2019-01-31T12:13:13 | 2019-01-31T12:13:13 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 372,659,786 | 2,011 | ludv1x | Confirm.
It actually compares Unix timestamp representation of DateTime (UInt32) and Date (UInt16) as ordinary integers. | 2018-03-13T13:11:06 | 2019-02-03T09:01:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 460,037,222 | 2,642 | alexey-milovidov | Do the following MergeTree settings work for you?
```
/** After specified amount of time passed after replication log entry creation \
* and sum size of parts is greater than threshold, \
* prefer fetching merged part from replica i... | 2019-02-03T09:42:36 | 2019-02-03T09:44:00 | {} | MEMBER |
ClickHouse | ClickHouse | 458,875,470 | 4,192 | zhang2014 | fixed in https://github.com/yandex/ClickHouse/commit/a40f8f97089778f33a81a399771a6f3cbf4ef2b6 .
@alesapin The problem may be the order in which data is returned? union all queries can be serialized by `set max_threads = 1` . | 2019-01-30T09:34:47 | 2019-01-30T09:34:47 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 458,923,490 | 4,168 | zhang2014 | Maybe we can add version information for each function? for example, what version of the function to add? @blinkov | 2019-01-30T12:17:02 | 2019-01-30T12:17:02 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 458,951,605 | 4,171 | alesapin | Now it looks more stable, so I'll merge it. | 2019-01-30T13:54:39 | 2019-01-30T13:54:39 | {} | MEMBER |
ClickHouse | ClickHouse | 459,025,066 | 4,201 | filimonov | Also. Something like SYSTEM UNLOAD DICTIONARY would be cool (to free the memory used by dictionary, and put it to 'init on demand' state, like for lazy load case) | 2019-01-30T17:05:36 | 2019-01-30T17:05:36 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,302,292 | 4,202 | proller | Currently contrib/librdkafka have broken macos support, we should update it.
Now you can try update it manually and compile:
```
cd contrib/librdkafka
git checkout master
git pull
``` | 2019-01-31T10:55:50 | 2019-01-31T10:55:50 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,321,227 | 4,197 | blinkov | сс @chenxing-xc | 2019-01-31T12:08:29 | 2019-01-31T12:08:29 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,705,672 | 4,216 | dmitriyshashkin | It seems that the same problem exists in earlier versions as well. Reproduced it in 19.1.5 and 18.16.1 | 2019-02-01T12:21:57 | 2019-02-01T12:21:57 | {} | NONE |
ClickHouse | ClickHouse | 458,889,008 | 3,890 | zhang2014 | The failure test was fixed in https://github.com/yandex/ClickHouse/commit/a40f8f97089778f33a81a399771a6f3cbf4ef2b6
| 2019-01-30T10:16:27 | 2019-01-30T10:16:27 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 458,896,320 | 3,891 | alesapin | @andywow Can you describe in https://github.com/yandex/ClickHouse/issues/4047? | 2019-01-30T10:38:50 | 2019-01-30T10:38:50 | {} | MEMBER |
ClickHouse | ClickHouse | 459,282,694 | 4,197 | alesapin | Hi.
About read:
Which version of kernel and linux do you use?
About write:
Write support was added in 19.1.6 only.
| 2019-01-31T09:50:31 | 2019-01-31T09:50:31 | {} | MEMBER |
ClickHouse | ClickHouse | 459,970,855 | 4,236 | yurriy | > Performance comparison?
[pdqsort.log](https://pastebin.com/syF5sKh9)
[stdsort.log](https://pastebin.com/ZjWKaTNL) | 2019-02-02T14:49:34 | 2019-02-02T14:49:34 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,972,585 | 4,236 | kvinty | > > Performance comparison?
>
> [pdqsort.log](https://pastebin.com/syF5sKh9)
> [stdsort.log](https://pastebin.com/ZjWKaTNL)
Performance Test:
https://gist.github.com/kvinty/355480231f0af2788191d91e0459217e
Data:
https://gist.github.com/alexey-milovidov/811ce0a62cc142227e4910e525c06116
https://gist.github... | 2019-02-02T15:11:27 | 2019-02-02T15:11:27 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 458,933,505 | 4,187 | rpfennin | Here's the output from the server log:
2019.01.29 13:19:46.133460 [ 33594 ] {} <Trace> analytics.event_local (Replicated PartsService): Sending part 20190129_20190129_4478454_4478454_0
2019.01.29 13:19:46.135124 [ 14 ] {} <Debug> MergingSortedBlockInputStream: Merge sorted 2 blocks, 12608 rows in 0.01 sec., 157596... | 2019-01-30T12:55:08 | 2019-01-30T12:55:08 | {} | NONE |
ClickHouse | ClickHouse | 459,053,292 | 4,200 | alexey-milovidov | This PR fixes #929 | 2019-01-30T18:23:53 | 2019-01-30T18:23:53 | {} | MEMBER |
ClickHouse | ClickHouse | 459,307,352 | 4,175 | nvartolomei | @alesapin thanks for the fix. I'll wait for next `-testing` tag and try it out. | 2019-01-31T11:14:39 | 2019-01-31T11:14:39 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,422,082 | 4,022 | ztlpn | A single ALTER FREEZE command will operate on a snapshot of data (just as a single SELECT does). So yes there can be some consistency problems if you backup using multiple statements at once. Maybe the new variant of the ALTER FREEZE command that first appeared in 18.16.0 and backs up all table at once will suit you. N... | 2019-01-31T17:00:26 | 2019-01-31T17:00:26 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,448,449 | 4,108 | 4ertus2 | right & full appended to #4184
Complex RIGHT|FULL JOIN ON is not working yet:
```
select X.*, Y.* from X full join Y on (X.id + 1) = (Y.id + 1) order by id;
DB::Exception: Not found column plus(id, 1) in block. There are only columns: id, x_name.
``` | 2019-01-31T18:15:05 | 2019-01-31T18:21:34 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,715,953 | 3,145 | den-crane | 19.1.6. still wrong with table qualifiers
```
select x, z.y, z.x from (select 666 x) t any left join (select 555 x, x as y) z using(x)
┌───x─┬─y─┬─z.x─┐
│ 666 │ 0 │ 666 │
└─────┴───┴─────┘
expected
┌───x─┬─y─┬───x─┐
│ 666 │ 0 │ 0 │
└─────┴───┴─────┘
```
----------------------------
```
select x, ... | 2019-02-01T13:03:51 | 2019-02-01T13:04:23 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,967,301 | 4,236 | alexey-milovidov | Performance comparison? | 2019-02-02T14:00:29 | 2019-02-02T14:00:29 | {} | MEMBER |
ClickHouse | ClickHouse | 459,974,193 | 4,228 | nezed | Sadly, but i don't know how to finish this solution for now.
Currently i can't override operators priority, and `NOT BETWEEN` produces parsing error.
Query:
```sql
SELECT number FROM ( SELECT number FROM system.numbers LIMIT 10 ) WHERE number NOT BETWEEN 2 AND 4
```
Result:
```
DB::Exception: Syntax error: fa... | 2019-02-02T15:33:43 | 2019-02-02T15:33:43 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 460,035,306 | 3,890 | alexey-milovidov | Thank you! | 2019-02-03T09:10:28 | 2019-02-03T09:10:28 | {} | MEMBER |
ClickHouse | ClickHouse | 459,285,735 | 4,187 | mkarmona | @alesapin thanks for your explanation. That's what I understood from @rpfennin but not sure if you wanted me to move my issue description to the other one. I will do it just to not mess up with the bug described here on this issue. | 2019-01-31T10:00:02 | 2019-01-31T10:00:02 | {} | NONE |
ClickHouse | ClickHouse | 459,582,028 | 4,213 | nvartolomei | Hopefully poco doesn’t support pipelining, this may break things *. | 2019-02-01T02:24:33 | 2019-02-01T02:24:33 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 460,036,423 | 3,587 | alexey-milovidov | No such plans as of 2019. | 2019-02-03T09:29:09 | 2019-02-03T09:29:09 | {} | MEMBER |
ClickHouse | ClickHouse | 460,036,904 | 3,260 | alexey-milovidov | Run `docker exec -it your-container-name /bin/bash`.
Now you're inside your container and can explore it.
The issue is most likely related to the volume or filesystem configuration of your container.
| 2019-02-03T09:36:46 | 2019-02-03T09:36:46 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 459,421,990 | 4,208 | filimonov | You're right. It looks like a bug:
```sql
SELECT count()
FROM url('http://gistcdn.githack.com/healiseu/a885d8f85028cdaf6a1c12beed7d7484/raw/7f1f092d91b19c4d26ab938527cd326bd3509cf6/spc_all.tsv', 'TSVWithNames', 'FLD2 UInt16,FLD3 UInt16,FLD4 Nullable(String),FLD5 Nullable(Date),FLD6 Nullable(Float32),FLD7 Nullable(... | 2019-01-31T17:00:10 | 2019-01-31T17:00:47 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,710,064 | 3,698 | 4ertus2 | fixed in master | 2019-02-01T12:39:37 | 2019-02-01T12:39:37 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 460,036,195 | 3,824 | alexey-milovidov | Looks like ZooKeeper issue.
For unknown reason, every ZooKeeper replica refused connections from ClickHouse: we sent handshake and connection is immediately closed by ZooKeeper.
PS. But I don't understand all the details:
- do you have ClickHouse and ZooKeeper instances on different or on the same VMs?
- what ins... | 2019-02-03T09:25:12 | 2019-02-03T09:25:46 | {} | MEMBER |
ClickHouse | ClickHouse | 458,941,291 | 4,175 | alesapin | Yes, same line
```
$ addr2line -iCe /usr/bin/clickhouse 0x76aab9f
/tmp/buildd/clickhouse-19.1.6/obj-x86_64-linux-gnu/../dbms/src/Compression/CachedCompressedReadBuffer.cpp:66
``` | 2019-01-30T13:22:18 | 2019-01-30T13:22:29 | {} | MEMBER |
ClickHouse | ClickHouse | 459,055,406 | 4,046 | alexey-milovidov | It can be related to insertion to `Distributed` tables.
@ztlpn any ideas? | 2019-01-30T18:29:50 | 2019-01-30T18:29:50 | {} | MEMBER |
ClickHouse | ClickHouse | 459,375,714 | 4,208 | filimonov | Not exactly understand your sample, but maybe you just need to use format [TabSeparated](https://clickhouse.yandex/docs/en/interfaces/formats/#tabseparated) instead of [TabSeparatedWithNames](https://clickhouse.yandex/docs/en/interfaces/formats/#tabseparatedwithnames)?
> TabSeparatedWithNames ... During parsing, the... | 2019-01-31T15:00:24 | 2019-01-31T15:00:24 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 458,896,130 | 4,047 | alesapin | @andywow Can you describe in more details? Maybe provide some logs? We got `No message received` error in our tests, but in this PR https://github.com/yandex/ClickHouse/pull/3932 problem was fixed. Maybe you have other problem with same 'awesome' message. | 2019-01-30T10:38:14 | 2019-01-30T10:38:14 | {} | MEMBER |
ClickHouse | ClickHouse | 458,954,633 | 4,170 | alexey-milovidov | > Now clickhouse-odbc-bridge contained in clickhouse-server package as binary. Is this expected behaviour?
Yes. | 2019-01-30T14:03:13 | 2019-01-30T14:03:13 | {} | MEMBER |
ClickHouse | ClickHouse | 459,021,767 | 4,181 | filimonov | Usability problem.
Workaround is
```sql
CREATE TABLE report
(
date Date,
clicks AggregateFunction(count, UInt64)
)
ENGINE = AggregatingMergeTree() PARTITION BY (toYYYYMM(date)) ORDER BY (date);
```
or in general case it's handier to create such tables by a select (harder to make mistake)
```sql... | 2019-01-30T16:57:12 | 2019-01-30T16:58:17 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,187,225 | 3,983 | hodgesrm | > So, we should just set `OPENSSLDIR` to `/etc/ssl/certs` at the build time?
That should fix it on Ubuntu at least. Thanks for the fix. I'll check the next release. | 2019-01-31T02:09:57 | 2019-01-31T02:09:57 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,322,560 | 4,199 | den-crane | Probably you've chosen a wrong partitioning key (partitions are too small so inserted block has been divided into many small pieces).
Please show table DDL. | 2019-01-31T12:13:46 | 2019-01-31T12:13:46 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,332,517 | 3,891 | andywow | @alesapin, here is:
```
2019.01.31 15:39:16.661361 [ 8 ] {} <Debug> logdb.logs (StorageReplicatedMergeTree): Fetching part 20190131_45182_45182_0 from /clickhouse/logs/tables/1/logs/replicas/clickhouse-0.clickhouse-headless.clickhouse.svc.cluster.local
2019.01.31 15:39:16.680103 [ 29 ] {} <Debug> logdb.logs (Replic... | 2019-01-31T12:50:08 | 2019-01-31T12:50:08 | {} | NONE |
ClickHouse | ClickHouse | 459,190,115 | 3,927 | lostsnow | ```
clickhouse :) CREATE TABLE xxx ENGINE = MergeTree ORDER BY id AS SELECT * FROM mysql('xxx', 'xxx', 'xxx', 'xxx', 'xxx');
CREATE TABLE xxx
ENGINE = MergeTree
ORDER BY id AS
SELECT *
FROM mysql('xxx', 'xxx', 'xxx', 'xxx', 'xxx')
Received exception from server (version 19.1.6):
Code: 1000. DB::Exception: ... | 2019-01-31T02:24:07 | 2019-01-31T02:24:07 | {} | NONE |
ClickHouse | ClickHouse | 459,320,260 | 4,197 | krs-app | Hi,
We are using:
cat /proc/version
Linux version 3.10.0-327.10.1.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Tue Feb 16 17:03:50 UTC 2016
cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="... | 2019-01-31T12:04:40 | 2019-01-31T12:04:40 | {} | NONE |
ClickHouse | ClickHouse | 459,536,225 | 1,510 | mcarbonneaux | By day and column identifying the source serveur of the information on destination table and by month for source table | 2019-01-31T22:46:37 | 2019-01-31T22:47:35 | {} | NONE |
ClickHouse | ClickHouse | 459,780,511 | 4,080 | den-crane | For search and history.
18.16.1 (fixed in 19.1)
select arrayMap(x -> tuple(a[x+1],b[x+1]), range(length(a))) from (select [4,5,6] a, ['a','b','c'] b)
DB::Exception: Unknown identifier: b.
SELECT arrayFilter(x -> xxx <= x AND x < zzz, [1,2,3]) FROM (SELECT 0 AS xxx, 0 AS zzz ))
DB::Exception: Unknown identifier... | 2019-02-01T16:26:37 | 2019-02-01T16:26:37 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 459,966,284 | 4,233 | alexey-milovidov | (obsolete)
Let's write `.sh` test. See `/dbms/tests/queries/*.sh`
At least check that the help exists.-- | 2019-02-02T13:45:52 | 2019-02-02T17:48:24 | {} | MEMBER |
ClickHouse | ClickHouse | 460,034,455 | 3,507 | alexey-milovidov | Postponed. | 2019-02-03T08:57:16 | 2019-02-03T08:57:16 | {} | MEMBER |
ClickHouse | ClickHouse | 460,034,711 | 2,011 | alexey-milovidov | Fixed in master. | 2019-02-03T09:01:38 | 2019-02-03T09:01:38 | {} | MEMBER |
ClickHouse | ClickHouse | 460,039,626 | 1,615 | alexey-milovidov | Fixed in #4233 | 2019-02-03T10:22:02 | 2019-02-03T10:22:02 | {} | MEMBER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.