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 | 693,292,037 | 4,959 | vzagorskii | Hello! Meet the same error.
```
ru.yandex.clickhouse.except.ClickHouseException: ClickHouse exception, code: 33, host: {HOST}, port: {PORT}; Code: 33, e.displayText() = DB::Exception: Cannot read all data. Bytes read: 1. Bytes expected: 2. (version 20.4.9.110 (official build))
``` | 2020-09-16T09:36:04 | 2020-09-16T09:37:27 | {
"+1": 3
} | NONE |
ClickHouse | ClickHouse | 693,551,084 | 14,882 | alexey-milovidov | Thank you! | 2020-09-16T17:29:15 | 2020-09-16T17:29:15 | {} | MEMBER |
ClickHouse | ClickHouse | 693,706,826 | 14,436 | den-crane | but did you alter `bill` or `goods_invoicing` ? Are these tables related? Materialized view or View ?
| 2020-09-16T22:51:01 | 2020-09-16T22:51:21 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,947,768 | 14,735 | DBA-Ray | 2020.09.17 14:08:35.041259 [ 29778 ] {} <Error> MaterializeMySQLSyncThread: Code: 50, e.displayText() = DB::Exception: Unsupported type Decimal(16, 2), Stack trace (when copying this message, always include the lines below):
0. Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std:... | 2020-09-17T06:10:57 | 2020-09-17T06:10:57 | {} | NONE |
ClickHouse | ClickHouse | 693,984,882 | 14,863 | qinglok | I did the test in three ways.
Native export time used 3090s, file size 460,223,132 KB.
Native import time used 4423s.
RowBinary export time used 3519s, file size 460,706,927 KB.
RowBinary import time used 4673s.
CSV export time userd 9745s, file size 890,289,274 KB.
CSV import time used 8670s.
It should... | 2020-09-17T06:46:32 | 2020-09-17T06:46:32 | {} | NONE |
ClickHouse | ClickHouse | 694,009,855 | 14,846 | alesapin | > But clang builds are not covered by performance tests.
I just changed the compiler for performance build from gcc-10 to clang-11. Report https://clickhouse-test-reports.s3.yandex.net/14846/a12521dd4d699b06244eec159b2a0b3cdf3450e8/performance_comparison/report.html#fail1 | 2020-09-17T07:07:33 | 2020-09-17T07:07:33 | {} | MEMBER |
ClickHouse | ClickHouse | 693,240,066 | 14,839 | amosbird | Where did you specify the default storage policy? I thought it's at least in merge_tree_storage settings section which won't affect Distributed engines. I also hit related issues and proposed https://github.com/ClickHouse/ClickHouse/pull/13573 | 2020-09-16T07:55:03 | 2020-09-16T07:55:03 | {
"+1": 1
} | COLLABORATOR |
ClickHouse | ClickHouse | 693,255,117 | 14,872 | sundy-li | @roycyz did you register the function? see `registerFunctions.cpp` | 2020-09-16T08:24:37 | 2020-09-16T08:24:37 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,394,728 | 14,863 | den-crane | clickhouse-client -q "insert into T format Native" < file.native | 2020-09-16T13:11:07 | 2020-09-16T13:11:15 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,622,950 | 14,265 | filimonov | Test failed. Please take a look | 2020-09-16T19:37:12 | 2020-09-16T19:37:12 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,114,633 | 14,832 | den-crane | Do you have a reproducible example?
```
SELECT materialize(toDateTime('2019-01-13 00:00:00', 'UTC')) = toDate('2019-01-13 00:00:00', 'UTC') AS c
┌─c─┐
│ 1 │
└───┘
CREATE TABLE tt(ts DateTime)ENGINE = MergeTree ORDER BY ts;
insert into tt values('2019-01-13 00:00:00'), ('2019-01-14 00:00:00')
SELECT ... | 2020-09-16T01:25:03 | 2020-09-16T01:25:03 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,202,169 | 14,152 | MyroTk | @vitlibar The testflows check passed, could this be reviewed and merged? | 2020-09-16T06:28:57 | 2020-09-16T06:28:57 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,262,888 | 14,839 | azat | >You can declare default storage policy in the storage_configuration section. Just name this policy default and it will be applied for all engines support storage policies.
But it should not be applied for the StorageDistributed, since it uses storages only if the 5 argument is passed
Oh, I see this has been chan... | 2020-09-16T08:39:37 | 2020-09-16T08:47:35 | {} | MEMBER |
ClickHouse | ClickHouse | 693,300,446 | 14,867 | amosbird | for the reference
```
Alexey Milovidov, [16.09.20 17:53]
> @vitlibar It seems we also need to get rid of select.settings() clause after it's initialized, so that newly non-important settings won't break remote parser.
It's reasonable (so, the settings will be send with the query nevertheless), we can do it in se... | 2020-09-16T09:53:09 | 2020-09-16T09:53:09 | {} | COLLABORATOR |
ClickHouse | ClickHouse | 693,434,611 | 14,693 | hustnn | Some tests which shouldn't be related to this change also fail. A little strange. @alexey-milovidov Do you know why? | 2020-09-16T14:14:40 | 2020-09-16T14:15:11 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,528,693 | 14,881 | alexey-milovidov | You can use `clickhouse-local` on top of predefined catalog as in the example above.
In this catalog, you can have a table with engine File and arbitrary long list of columns. | 2020-09-16T16:46:03 | 2020-09-16T16:46:03 | {} | MEMBER |
ClickHouse | ClickHouse | 693,560,174 | 14,785 | dependabot-preview[bot] | OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`.
If you change your mind, just re-... | 2020-09-16T17:46:20 | 2020-09-16T17:46:20 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,288,808 | 14,821 | alexey-milovidov | The idea has failed - we don't have git repository when we run tests. | 2020-09-16T09:29:50 | 2020-09-16T09:29:50 | {} | MEMBER |
ClickHouse | ClickHouse | 693,310,223 | 14,152 | vitlibar | > @vitlibar The testflows check passed, could this be reviewed and merged?
Could you wait a bit (or split your PR)? I'm changing SHOW priviliges right now (https://github.com/ClickHouse/ClickHouse/pull/13986), and I'm going to slightly change the view privileges. | 2020-09-16T10:12:46 | 2020-09-16T10:15:17 | {} | MEMBER |
ClickHouse | ClickHouse | 693,529,068 | 14,881 | alexey-milovidov | `-- --path=.`
Can be also specified with `config.xml` in current directory. | 2020-09-16T16:46:44 | 2020-09-16T16:46:44 | {} | MEMBER |
ClickHouse | ClickHouse | 693,619,330 | 14,832 | mikolajsnioch | Regarding your question:
```
timedatectl status | grep "Time zone"
Time zone: Europe/Warsaw (CEST, +0200)
```
```/etc/clickhouse-server/config.xml``` has no timezone setting, i.e. it is commented out:
```
<!-- <timezone>Europe/Moscow</timezone> -->
```
I don't see any timezone related settings in the use... | 2020-09-16T19:29:41 | 2020-09-16T19:29:41 | {} | NONE |
ClickHouse | ClickHouse | 693,972,083 | 4,006 | zhang2014 | @imysm It implemented in https://github.com/ClickHouse/ClickHouse/pull/14535 (no merge) | 2020-09-17T06:33:20 | 2020-09-17T06:33:20 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,119,890 | 14,861 | little-tomato | 3ks,it‘s ok now。 | 2020-09-16T01:45:08 | 2020-09-16T01:45:08 | {
"laugh": 3
} | NONE |
ClickHouse | ClickHouse | 693,139,213 | 14,832 | mikolajsnioch | This example is a little more involved than what was presented before, but it works. Sorry about the csv file. Since it obviously worked in your example with neatly chosen dates, I thought some real, less tidy data may be helpful.
CSV, gzipped: [dates.tar.gz](https://github.com/ClickHouse/ClickHouse/files/5229318/da... | 2020-09-16T02:55:44 | 2020-09-16T02:58:50 | {} | NONE |
ClickHouse | ClickHouse | 693,259,341 | 14,839 | Jokser | > Where did you specify the default storage policy? I thought it's at least in merge_tree_storage settings section which won't affect Distributed engines. I also hit related issues and proposed #13573
You can declare `default` storage policy in the `storage_configuration` section. Just name this policy `default` and... | 2020-09-16T08:32:28 | 2020-09-16T08:32:28 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,528,021 | 14,881 | alexey-milovidov | ```
milovidov@milovidov-desktop:~/work/tmp$ cat metadata/local/test.sql
ATTACH TABLE test (x UInt64 /* long list here */) ENGINE = File(TSV, stdin);
milovidov@milovidov-desktop:~/work/tmp$ ls -lR
.:
drwxrwxr-x 3 milovidov milovidov 4096 сен 16 19:42 metadata
./metadata:
drwxrwxr-x 2 milovidov milovidov 4096 ... | 2020-09-16T16:44:50 | 2020-09-16T16:44:50 | {
"heart": 1
} | MEMBER |
ClickHouse | ClickHouse | 693,551,916 | 14,864 | alexey-milovidov | Ok. BTW, what tool did you use to do it? | 2020-09-16T17:30:49 | 2020-09-16T17:30:49 | {} | MEMBER |
ClickHouse | ClickHouse | 693,560,560 | 14,785 | alexey-milovidov | ```
Added lexers:
Arrow (PR#1481, PR#1499)
BARE (PR#1488)
Devicetree (PR#1434)
F* (PR#1409)
GDScript (PR#1457)
Pointless (PR#1494)
PromQL (PR#1506)
PsySH (PR#1438)
Singularity (PR#1285)
TiddlyWiki5 (PR#1390)
TNT (P... | 2020-09-16T17:47:06 | 2020-09-16T17:47:06 | {} | MEMBER |
ClickHouse | ClickHouse | 693,569,345 | 14,886 | bharatnc | @alexey-milovidov I think I can take a stab at this (probably assign to me?) | 2020-09-16T18:03:29 | 2020-09-16T18:03:29 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,602,278 | 14,847 | alexey-milovidov | @filimonov Could you please make this change and add a test in a PR? | 2020-09-16T19:06:05 | 2020-09-16T19:06:05 | {} | MEMBER |
ClickHouse | ClickHouse | 693,789,962 | 14,844 | shubham721 | I can do that, But I won't be able to write populate query
As I can't give a aggregate function inside another one
sum(count()) is not supported. | 2020-09-17T03:43:21 | 2020-09-17T03:43:21 | {} | NONE |
ClickHouse | ClickHouse | 694,031,280 | 14,889 | alesapin | AST Fuzzer:
```
56 Aborted (core dumped) ./clickhouse-server --config-file db/config.xml -- --path db 2>&1
```
But no errors in the server log and in the fuzzer log. | 2020-09-17T07:24:00 | 2020-09-17T07:24:00 | {} | MEMBER |
ClickHouse | ClickHouse | 693,190,069 | 13,875 | mjodeh | @filimonov
After the server went down and the `fs` was repaired it takes too long time till it's up, till now it took more than `30 hours` and the service is up but can not connect to it, and the logs it has is exactly https://github.com/ClickHouse/ClickHouse/issues/13875#issue-681555416 on all databases, is there an... | 2020-09-16T05:57:32 | 2020-09-16T05:57:32 | {} | NONE |
ClickHouse | ClickHouse | 693,201,552 | 10,759 | azat | @cw9
>One thing to note about the slow shard is that it has QueryProfilerSignalOverruns,11 in profile, non of the fast shards have this.
This is likely because the query execution took longer (hence it is more likely that there will be si_overrun)
>query_log for a slow shard:
It has:
- 40e3 ms user time
... | 2020-09-16T06:27:22 | 2020-09-16T06:27:22 | {} | MEMBER |
ClickHouse | ClickHouse | 693,216,417 | 11,092 | phatak-dev | Any update on this bug? Currently working by setting
```
optimize_trivial_count_query=0
``` | 2020-09-16T07:04:21 | 2020-09-16T07:13:58 | {} | NONE |
ClickHouse | ClickHouse | 693,314,432 | 14,846 | alexey-milovidov | It didn't help:
```
2020-09-16 08:30:49 ld.lld: error: contrib/libcxx-cmake/libcxx.a(algorithm.cpp.o): Invalid record
``` | 2020-09-16T10:20:40 | 2020-09-16T10:20:40 | {} | MEMBER |
ClickHouse | ClickHouse | 547,146,300 | 5,312 | den-crane | It's a documentation issue. ATTACH PARTITION works as designed.
I am not sure that workaround is working.
```
CREATE TABLE dw.test123 on cluster zzzz (x String) ENGINE = ReplicatedMergeTree ('/clickhouse/{cluster}/tables/test','{replica}') ORDER BY x;
insert into test123 values ('x');
alter table test123 detac... | 2019-10-28T21:07:31 | 2020-09-16T15:15:28 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,539,583 | 13,156 | azat | @akuzm looks like performance tests hanged, can you take a look please? | 2020-09-16T17:06:48 | 2020-09-16T17:06:48 | {} | MEMBER |
ClickHouse | ClickHouse | 693,567,561 | 14,864 | alexey-milovidov | Not yet. Just created: https://github.com/ClickHouse/ClickHouse/issues/14886 | 2020-09-16T18:00:07 | 2020-09-16T18:00:07 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 693,676,670 | 14,820 | den-crane | E121-02 ORDER BY columns need not be in select list No{.text-danger}
select 'a' from system.one order by dummy
Yes
----
E121-03 Value expressions in ORDER BY clause No{.text-danger}
select * from numbers(10) order by -number
Yes | 2020-09-16T21:31:11 | 2020-09-16T21:31:11 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,207,887 | 14,742 | alesapin | `test_materialize_mysql_database` flaky test, already reported and probably fixed. | 2020-09-16T06:44:08 | 2020-09-16T06:44:08 | {} | MEMBER |
ClickHouse | ClickHouse | 693,308,168 | 14,875 | alesapin | Let's check in branch | 2020-09-16T10:08:39 | 2020-09-16T10:08:39 | {} | MEMBER |
ClickHouse | ClickHouse | 693,337,110 | 14,846 | alexey-milovidov | > Try for libcxx or we will leave release build with clang-10?
Most likely it will fail somewhere else.
It looks like a bug either with ThinLTO or LLD.
If we will have a time, we should make a reproducible example and report to llvm developers. | 2020-09-16T11:11:21 | 2020-09-16T11:11:21 | {} | MEMBER |
ClickHouse | ClickHouse | 693,415,398 | 14,690 | Jokser | Hello,
Such problems can be resolved using ReplicatedMergeTree, but there is no deduplication on S3 side, each part for each replica is stored to S3 separately. Functionally ReplicatedMergeTree works well with S3 storage, but not optimally.
To resolve the deduplication problem we need to have a shared metadata engine... | 2020-09-16T13:45:08 | 2020-09-16T13:45:08 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,478,488 | 14,297 | alesapin | `00652_replicated_mutations_zookeeper` fixed in master. | 2020-09-16T15:21:52 | 2020-09-16T15:21:52 | {} | MEMBER |
ClickHouse | ClickHouse | 693,651,373 | 14,846 | alexey-milovidov | But clang builds are not covered by performance tests. | 2020-09-16T20:36:43 | 2020-09-16T20:36:43 | {} | MEMBER |
ClickHouse | ClickHouse | 693,674,108 | 11,083 | alexey-milovidov | Cancelled.
This PR will be left as an example for the case when this direction of work will be considered again. | 2020-09-16T21:25:33 | 2020-09-16T21:25:33 | {} | MEMBER |
ClickHouse | ClickHouse | 693,217,616 | 14,852 | bohutang | Good, passed the test https://gist.github.com/BohuTANG/55cac003a358eb70adce5923be0ee60d | 2020-09-16T07:06:58 | 2020-09-16T07:06:58 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,308,060 | 14,873 | alesapin | Let's check in branch | 2020-09-16T10:08:27 | 2020-09-16T10:08:27 | {} | MEMBER |
ClickHouse | ClickHouse | 693,423,724 | 14,863 | den-crane | > "export data from rocksdb to CSV file and import to ch as CSV"
can you show `wc file.csv`
1. How many rows in your CSV?
2. What size of CSV in bytes?
3. How long is the import? `-t` ` clickhouse-client -tq "insert into T format CSV" < file.CSV ` | 2020-09-16T13:57:43 | 2020-09-16T13:58:14 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,622,643 | 14,860 | nvartolomei | Polymorphic tests fail because they need special treatment. I think it is ok to disallow putting fingerprints on in memory parts for now. | 2020-09-16T19:36:34 | 2020-09-16T19:36:34 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,692,958 | 9,814 | alexey-milovidov | Found flaky tests: 00652_replicated_mutations_zookeeper, 00933_ttl_with_default. | 2020-09-16T22:12:12 | 2020-09-16T22:12:12 | {} | MEMBER |
ClickHouse | ClickHouse | 693,694,081 | 14,881 | alexey-milovidov | > it also means clickhouse-local can produce ready to attach parts
Yes.
Also it can be used for "maintanence mode" on server.
> Just a side note - may be smth like --queries-file (as an alternative for --query) is worth adding both for clickhouse-client and clickhouse-local
It's a good feature request, worth ... | 2020-09-16T22:15:04 | 2020-09-16T22:15:04 | {} | MEMBER |
ClickHouse | ClickHouse | 693,789,519 | 14,865 | wangbo9504 | i just try again, centOS does not have this problem, only macOS occurs it | 2020-09-17T03:41:35 | 2020-09-17T03:41:35 | {} | NONE |
ClickHouse | ClickHouse | 693,785,313 | 14,832 | mikolajsnioch | ```toDate('2019-01-13 00:00:00', 'UTC')
toDate produces Date type without TimeZone
'>'
comparison sign expands Date to DateTime with Europe/Warsaw
```
I understand now. Thank you for explaining. I set the timezone to UTC in ```config.xml``` to get the behavior I am after. This resolves the issue for me.
I w... | 2020-09-17T03:24:41 | 2020-09-17T05:34:00 | {} | NONE |
ClickHouse | ClickHouse | 693,994,051 | 14,436 | zhang2014 | We also encountered the same problem, which was solved by upgrading to 20.6.4.44(we have not encountered this problem so far). for more information: https://github.com/ClickHouse/ClickHouse/pull/11745 (Not sure why is tag is inconsistent with the actual release version) | 2020-09-17T06:55:13 | 2020-09-17T06:55:13 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 692,893,652 | 11,512 | gopala000 | Thanks for the fix. I see it scheduled for 20.10 build? I'm consuming as docker image. What is the timeline this will be available? | 2020-09-15T18:26:29 | 2020-09-15T21:55:36 | {} | NONE |
ClickHouse | ClickHouse | 693,121,258 | 14,774 | den-crane | Do not close this. Let's consider it as FR. | 2020-09-16T01:50:39 | 2020-09-16T01:50:39 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,220,385 | 14,839 | alesapin | Yes, seems like this test is flaky. | 2020-09-16T07:13:11 | 2020-09-16T07:13:11 | {} | MEMBER |
ClickHouse | ClickHouse | 693,307,932 | 14,870 | alesapin | Not needed. | 2020-09-16T10:08:08 | 2020-09-16T10:08:08 | {} | MEMBER |
ClickHouse | ClickHouse | 693,766,460 | 14,892 | vzakaznikov | Test `test_distributed_over_live_view_order_by_node` shows a bug where Distributed over LV returns a different result as compared to the Distributed table. This needs to be investigated. @KochetovNicolai, I might need your help to debug this.
As can be seen from the log below the query
```sql
SELECT * FROM distrib... | 2020-09-17T02:16:17 | 2020-09-17T02:16:17 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,970,238 | 14,735 | zhang2014 | decimal data type is implemented in https://github.com/ClickHouse/ClickHouse/pull/14535 (no merge)
There is currently no planned support for bit and json data types. | 2020-09-17T06:31:20 | 2020-09-17T07:02:39 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,441,914 | 14,693 | hustnn | /rebuild | 2020-09-16T14:26:04 | 2020-09-16T14:26:24 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,453,921 | 14,863 | den-crane | 1. You can transform CSV to Native using clickhouse-local
but I don't believe that it has sense. Because it's the same amount of job.
CSV -> native( clickhouse-local ) -> clickhouse
CSV -> clickhouse
2. Check the speed difference.
Download 1bil rows from CH `clickhouse-client -q 'select * from... | 2020-09-16T14:44:37 | 2020-09-16T14:45:07 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,689,091 | 9,516 | alexey-milovidov | Found flaky tests: 01133_max_result_rows, 01474_executable_dictionary. | 2020-09-16T22:03:14 | 2020-09-16T22:03:14 | {} | MEMBER |
ClickHouse | ClickHouse | 694,003,172 | 14,845 | alesapin | Performance not affected | 2020-09-17T07:02:24 | 2020-09-17T07:02:24 | {} | MEMBER |
ClickHouse | ClickHouse | 693,117,540 | 14,861 | den-crane | It seems you're using systemd based distro.
Use only systemctl command
sudo systemctl start clickhouse-server
sudo systemctl stop clickhouse-server
sudo systemctl status clickhouse-server
And don't use `service clickhouse-server` or `/etc/init.d/clickhouse-service`
https://github.com/ClickHouse/ClickHous... | 2020-09-16T01:35:57 | 2020-09-16T01:36:15 | {
"+1": 29,
"heart": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,126,418 | 14,436 | peaksnail | I execute `alter table add column` on table goods_invocing and its' blocked
I found the query was running and only cost 689ms
```
select * from (
select * from
(
select
*,
if(enableStock=1,openingStock,nan) as openingStock,
if(enableStock=1,openingCost,nan) as op... | 2020-09-16T02:11:07 | 2020-09-16T02:13:05 | {} | NONE |
ClickHouse | ClickHouse | 693,332,827 | 14,846 | alesapin | > It didn't help:
>
> ```
> 2020-09-16 08:30:49 ld.lld: error: contrib/libcxx-cmake/libcxx.a(algorithm.cpp.o): Invalid record
> ```
Try for libcxx or we will leave release build with clang-10? | 2020-09-16T11:01:50 | 2020-09-16T11:01:50 | {} | MEMBER |
ClickHouse | ClickHouse | 569,875,825 | 7,769 | amosbird | > But we already doing it (almost: we exclude conditions on the first primary key column).
This pr started to optimize away the heuristic of MergeTreeWhereOptimizer, but fails due to consequent findings during optimizing prewhere. Multistep prewhere might be only one dimension of the solution space to the problem. W... | 2019-12-31T06:49:24 | 2020-09-16T15:18:24 | {
"+1": 1
} | COLLABORATOR |
ClickHouse | ClickHouse | 693,560,156 | 14,785 | alexey-milovidov | No idea why we need this. 2 days ago - close. | 2020-09-16T17:46:18 | 2020-09-16T17:46:18 | {} | MEMBER |
ClickHouse | ClickHouse | 693,636,453 | 14,832 | den-crane | ```
$ cat /etc/default/clickhouse
export TZ=Europe/Warsaw
/etc/init.d/clickhouse-server restart
truncate table test.source_data;
truncate table test.aggregated;
SELECT timezone()
┌─timezone()────┐
│ Europe/Warsaw │
└───────────────┘
clickhouse-client --format_csv_delimiter="," --query="INSERT IN... | 2020-09-16T20:05:22 | 2020-09-16T20:14:15 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,668,113 | 13,383 | alexey-milovidov | `SELECT extractAllGroupsVertical(' ', '(\w*)');` | 2020-09-16T21:12:07 | 2020-09-16T21:12:07 | {} | MEMBER |
ClickHouse | ClickHouse | 693,446,092 | 14,863 | qinglok | 1. More than 10 billion lines
2. Close to 500GB
3. Import takes 5 hours or more | 2020-09-16T14:32:24 | 2020-09-16T14:34:19 | {} | NONE |
ClickHouse | ClickHouse | 693,482,214 | 14,760 | bharatnc | Rebased against master to resolve conflicts... | 2020-09-16T15:27:44 | 2020-09-16T15:27:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,565,620 | 14,152 | MyroTk | >
>
> > @vitlibar The testflows check passed, could this be reviewed and merged?
>
> Could you wait a bit (or split your PR)? I'm changing SHOW priviliges right now (#13986), and I'm going to slightly change the view privileges.
We can wait. What view changes will you be making? | 2020-09-16T17:56:23 | 2020-09-16T17:56:23 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,970,037 | 4,006 | imysm | Report issue:
when talbe include data type of timestamp(6) or timestamp(8) and so on,MaterializeMySQL could not create the table.
Error log is :
`2020.09.17 14:15:30.953389 [ 32249 ] {} <Error> MaterializeMySQLSyncThread(wxeedb): Query EXTERNAL DDL FROM MySQL(wxeedb, wxeedb) CREATE TABLE `dd_wxee_openids` (
`... | 2020-09-17T06:31:07 | 2020-09-17T06:31:07 | {} | NONE |
ClickHouse | ClickHouse | 693,176,172 | 14,678 | sundy-li | Processes:
1. update zookeeper's config
--> `ConfigReloader` check if it's valid
--> `ConfigReloader` call callback function
--> `global_context` new zookeeper if `ZooKeeperArgs` changed
2. For `StorageReplicatedMergeTree` And `DDLWorker`
zookeeper session expired --> retry to get zookeeper fro... | 2020-09-16T05:18:05 | 2020-09-16T08:08:02 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,496,837 | 14,865 | tavplubix | I cannot reproduce it in my environment, could you please also provide output of the following:
```
uname -a
docker -v
df -T
``` | 2020-09-16T15:50:46 | 2020-09-16T15:50:46 | {} | MEMBER |
ClickHouse | ClickHouse | 693,785,339 | 14,865 | wangbo9504 | > I cannot reproduce it in my environment, could you please also provide output of the following:
>
> ```
> uname -a
> docker -v
> df -T
> ```
> uname -a
**Darwin wangbodeMacBook-Pro-2.local 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64**
> ... | 2020-09-17T03:24:46 | 2020-09-17T03:25:50 | {} | NONE |
ClickHouse | ClickHouse | 693,333,574 | 14,846 | alesapin | strange random test failures... | 2020-09-16T11:03:27 | 2020-09-16T11:03:27 | {} | MEMBER |
ClickHouse | ClickHouse | 693,339,277 | 14,865 | alexey-milovidov | @tavplubix Looks like `supportsRenameat2Impl()` should be more sophisticated. | 2020-09-16T11:15:56 | 2020-09-16T11:15:56 | {} | MEMBER |
ClickHouse | ClickHouse | 693,396,974 | 14,863 | den-crane | Maybe I misunderstood the question.
Export data from RocksDB to CSV file and import to CH as CSV
clickhouse-client -q "insert into T format CSV" < file.CSV | 2020-09-16T13:14:49 | 2020-09-16T13:14:49 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,563,080 | 14,864 | bharatnc | > Ok. (BTW, I'm not a Python developer) We can find some linter/formatter that we can apply automatically.
> PS. Also there is a need to convert everything to Python 3.
Do we already have a ticket tracking the work for this? I can probably take a stab at Python 2 -> 3 and also perhaps a linter that checks the forma... | 2020-09-16T17:51:49 | 2020-09-16T17:53:52 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,608,505 | 14,832 | den-crane | Still could not reproduce.
What TZ do you use?
```
$ date
Wed 16 Sep 2020 07:18:17 PM UTC
wget https://github.com/ClickHouse/ClickHouse/files/5229318/dates.tar.gz
tar -zxf dates.tar.gz
ClickHouse client version 20.6.3.28 (official build).
Connecting to localhost:9000 as user default.
Connected to Cl... | 2020-09-16T19:18:46 | 2020-09-16T19:18:46 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,663,425 | 14,881 | filimonov | Cool! Didn't know that. BTW - it also means clickhouse-local can produce ready to attach parts.
Just a side note - may be smth like `--queries-file` (as an alternative for --query) is worth adding both for clickhouse-client and clickhouse-local | 2020-09-16T21:02:10 | 2020-09-16T21:02:10 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,305,870 | 14,874 | alesapin | Let's check in pr. | 2020-09-16T10:03:55 | 2020-09-16T10:03:55 | {} | MEMBER |
ClickHouse | ClickHouse | 693,380,164 | 14,693 | hustnn | @alexey-milovidov The change is still not correct. --!
I changed to [WIP] status first. | 2020-09-16T12:44:34 | 2020-09-16T12:44:34 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,420,674 | 14,863 | qinglok | I am using the mode of "export data from rocksdb to CSV file and import to ch as CSV", but I want to improve the overall speed.
I try to analyze the binary data exported by native mode, but I still can't analyze the rules. | 2020-09-16T13:53:11 | 2020-09-16T13:53:11 | {} | NONE |
ClickHouse | ClickHouse | 693,560,774 | 14,864 | bharatnc | Just relied on CLion:
Takes care of standard python formatting adhering to pep8 standards, cleaning up unused imports and code.

| 2020-09-16T17:47:27 | 2020-09-16T17:50:17 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,671,466 | 14,731 | azat | Not significant, but maybe someone can take a look? | 2020-09-16T21:19:48 | 2020-09-16T21:19:48 | {} | MEMBER |
ClickHouse | ClickHouse | 693,667,698 | 13,383 | alexey-milovidov | The bug is trivial: no protection from empty matches. | 2020-09-16T21:11:11 | 2020-09-16T21:23:00 | {} | MEMBER |
ClickHouse | ClickHouse | 693,871,423 | 14,894 | bohutang | Try remove the file /data/clickhouse/metadata/dmp_idm//.metadata.tmp | 2020-09-17T05:13:11 | 2020-09-17T05:13:11 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,120,701 | 14,436 | den-crane | Can you provide a CH logfile to see what queries were running at the same time as the error happen? | 2020-09-16T01:48:20 | 2020-09-16T01:48:20 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,403,876 | 14,862 | den-crane | https://github.com/ClickHouse/ClickHouse/blob/master/CHANGELOG.md
20.4.2.9
Added a setting max_server_memory_usage to limit total memory usage of the server.
The setting max_memory_usage_for_all_queries is now obsolete and does nothing.
To avoid OOM, set max_server_memory_usage to lower value, for example 85000... | 2020-09-16T13:26:10 | 2020-09-16T13:26:10 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 693,562,543 | 14,864 | alexey-milovidov | Ok. (BTW, I'm not a Python developer) We can find some linter/formatter that we can apply automatically.
PS. Also there is a need to convert everything to Python 3. | 2020-09-16T17:50:47 | 2020-09-16T17:50:47 | {} | MEMBER |
ClickHouse | ClickHouse | 693,602,056 | 14,847 | alexey-milovidov | I don't see any reasons why `finalizeAggregation` is marked as stateful.
Probably it was erroneously marked together with `runningAccumulate`? | 2020-09-16T19:05:41 | 2020-09-16T19:05:41 | {} | MEMBER |
ClickHouse | ClickHouse | 693,616,426 | 14,846 | alesapin | Almost ok, let's wait for performance tests. | 2020-09-16T19:27:03 | 2020-09-16T19:27:03 | {} | MEMBER |
ClickHouse | ClickHouse | 696,095,074 | 15,083 | den-crane | да, view будет созданно с Nullable колонкой
```sql
join_use_nulls = 1;
create or replace view tst as select test.id, test.val, test2.val2
from (select 1 id, 1 val) test
left join (select 2 id, 2 val2) test2 using id;
DESCRIBE TABLE tst
┌─name─┬─type────────────┬─default_type─┬─default_expression─┬─comm... | 2020-09-21T12:54:54 | 2020-09-21T12:55:19 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 696,263,881 | 15,062 | akuzm | AST Fuzzer: https://github.com/ClickHouse/ClickHouse/issues/15091 | 2020-09-21T17:37:50 | 2020-09-21T17:37:50 | {} | CONTRIBUTOR |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.