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 | 619,852,277 | 6,728 | alesapin | Yes, it works properly
```
:) select * from system.mutations where table='minmax_idx'\G
SELECT *
FROM system.mutations
WHERE table = 'minmax_idx'
Row 1:
──────
database: test
table: minmax_idx
mutation_id: mutation_2.txt
command: UP... | 2020-04-27T09:23:27 | 2020-04-27T09:23:27 | {} | MEMBER |
ClickHouse | ClickHouse | 619,873,572 | 10,520 | astudnev | Yes, https://github.com/PNixx/clickhouse-activerecord used as ActiveRecord engine to connect to clickhouse. This one used for testing and in production configuration. I had to fork it because of some issues with building queries to https://github.com/bitquery/clickhouse-activerecord.git | 2020-04-27T09:59:27 | 2020-04-27T09:59:27 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 619,940,712 | 10,200 | AlexanderJLiu | @KochetovNicolai
> Sorry for not answering for long time.
It's ok. And thank you for your reply.
> It may be likely caused by hardware errors or by random memory corruption.
To some extent I think so.
**I find two weried things:**
One is most crashes happened between 10:40 and 11:10 am (UTC+8), wha... | 2020-04-27T12:03:52 | 2020-04-27T12:13:32 | {} | NONE |
ClickHouse | ClickHouse | 619,952,084 | 8,093 | abcfy2 | https://mirrors.tuna.tsinghua.edu.cn/clickhouse/ | 2020-04-27T12:22:26 | 2020-04-27T12:22:26 | {} | NONE |
ClickHouse | ClickHouse | 619,511,377 | 10,475 | zhouxiujue | > Try to change `httpPost.setEntity(new UrlEncodedFormEntity(paramList, "UTF-8"));` to `httpPost.setEntity(new StringEntity(sql));`
It worked!Thank you very much! | 2020-04-26T08:46:59 | 2020-04-26T08:46:59 | {} | NONE |
ClickHouse | ClickHouse | 619,624,463 | 6,229 | alexey-milovidov | @richardartoul
> My understanding was that they exist only to resolve situations like this
You're absolutely right. Supertype is used when we have to convert values of multiple types to one common type. | 2020-04-26T21:03:06 | 2020-04-26T21:03:06 | {} | MEMBER |
ClickHouse | ClickHouse | 619,629,529 | 5,733 | alexey-milovidov | It should not work without sampling at all. | 2020-04-26T21:42:46 | 2020-04-26T21:42:46 | {} | MEMBER |
ClickHouse | ClickHouse | 619,565,019 | 10,506 | den-crane | It's not a problem. It's a debug message that currently all free space is booked by running merges/mutations and this mutation will wait for free resources.
Mutations and merges book twice space as their parts sizes. | 2020-04-26T14:54:29 | 2020-04-26T22:22:05 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 619,690,892 | 10,517 | Kondzolko | It looks like this problem gone after updated ClickHouse to the last version!
Sorry for bothering! | 2020-04-27T03:25:41 | 2020-04-27T03:25:41 | {} | NONE |
ClickHouse | ClickHouse | 619,907,320 | 10,200 | KochetovNicolai | @AlexanderJLiu
Sorry for not answering for long time.
All this crashes look unusual for me, because they have different traces and happen sometimes in places which haven't changed recently (like parsing of data type string, or destructor of `MergeTreeReadTask`). It may be likely caused by hardware errors or by rando... | 2020-04-27T11:00:29 | 2020-04-27T11:00:29 | {} | MEMBER |
ClickHouse | ClickHouse | 619,980,809 | 10,200 | KochetovNicolai | Increased number of inserted rows technically may explain `HardPageFaults`.
While data is inserted into `materialized view`, it's inner query is executed. Segfaults also may be caused by it.
1.1.54343 is a very old version. Migration may be not very smooth.
You can also try to install 19.16 before 20.3 to exclude ... | 2020-04-27T13:19:19 | 2020-04-27T13:19:19 | {} | MEMBER |
ClickHouse | ClickHouse | 619,563,206 | 10,488 | den-crane | How many columns in your table? 10 ? 100? 1000?
| 2020-04-26T14:42:23 | 2020-04-26T14:42:23 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 619,620,146 | 6,787 | alexey-milovidov | Next steps: enable Atomic as default database engine. | 2020-04-26T20:28:02 | 2020-04-26T20:28:02 | {} | MEMBER |
ClickHouse | ClickHouse | 619,622,410 | 10,509 | alesapin | What I've learned:
1. AMQP-CPP is not a standalone library. It works on top of other event-based libraries, like `libevent` https://libevent.org/, `boost::asio` https://www.boost.org/doc/libs/1_66_0/doc/html/boost_asio.html and so on.
2. I have just tried the `libevent` example https://github.com/hoxnox/examples.amqp... | 2020-04-26T20:45:59 | 2020-04-26T20:46:21 | {} | MEMBER |
ClickHouse | ClickHouse | 619,628,961 | 5,762 | alexey-milovidov | This issue may happen due to ALTER queries that prevent merges to execute.
ALTER queries may be locked by other (INSERT, SELECT) queries, look at SHOW PROCESSLIST.
The issue has been fixed in recent release (version 20.3), because now ALTERs don't block merges. | 2020-04-26T21:37:46 | 2020-04-26T21:37:46 | {} | MEMBER |
ClickHouse | ClickHouse | 619,632,825 | 5,206 | alexey-milovidov | Yes, it makes sense.
When you type `timeBerlin = '2019-05-06 12:00:00'` you are comparing DateTime column with constant string literal. It is already a special case (it is supported only for constant string literals) and it is different from `timeBerlin = toDateTime('2019-05-06 12:00:00')` when you are comparing Dat... | 2020-04-26T22:11:23 | 2020-04-26T22:12:34 | {} | MEMBER |
ClickHouse | ClickHouse | 619,639,426 | 5,618 | jangorecki | @alexey-milovidov is there any issue tracker for that where I can follow the status of that? | 2020-04-26T23:10:31 | 2020-04-26T23:10:31 | {} | NONE |
ClickHouse | ClickHouse | 619,896,076 | 10,162 | KochetovNicolai | @salamanderrex
I do not know anything specific about this crash. Also can't easily reproduce it locally. What may help me:
1. `show create table` result for distributed table and local tables.
2. Query which is sent from remote server to local servers. Actually, it will be nice to look at any logs with failed query... | 2020-04-27T10:41:02 | 2020-04-27T10:41:02 | {} | MEMBER |
ClickHouse | ClickHouse | 619,981,247 | 6,229 | nvartolomei | @alexey-milovidov I see `SELECT v FROM d ORDER BY v; -- { clientError 36 }` in the test and this issue closed, are you saying that enum's work as expected and that you are not planning to change their behaviour? Do you have suggestions for workarounds on how to make 0-downtime ALTERs in this case? | 2020-04-27T13:20:06 | 2020-04-27T13:20:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 619,564,341 | 7,005 | tavplubix | [Fixed](https://github.com/ClickHouse/ClickHouse/blob/d1464a441f0fc49114353c51a5cd00031dcd0397/src/Interpreters/InterpreterCreateQuery.cpp#L632) in #7512 | 2020-04-26T14:50:04 | 2020-04-26T14:50:04 | {} | MEMBER |
ClickHouse | ClickHouse | 619,629,404 | 5,746 | alexey-milovidov | Expiration of a session with ZooKeeper is normal behaviour, because session will be established again automatically. | 2020-04-26T21:41:32 | 2020-04-26T21:41:32 | {} | MEMBER |
ClickHouse | ClickHouse | 619,630,744 | 5,464 | alexey-milovidov | The usage example is available on the main website page: https://clickhouse.tech/ (see "Other Linux"). | 2020-04-26T21:53:11 | 2020-04-26T21:53:11 | {} | MEMBER |
ClickHouse | ClickHouse | 619,635,620 | 4,020 | alexey-milovidov | The layout of our Debian repository might be slightly incorrect but there is almost no chance it is going to be fixed. | 2020-04-26T22:37:38 | 2020-04-26T22:37:38 | {} | MEMBER |
ClickHouse | ClickHouse | 619,678,354 | 10,506 | BernieJiangDL | > It's not a problem. It's a debug message that currently all free space is booked by running merges/mutations and this mutation will wait for free resources.
>
> Mutations and merges book twice space as their parts sizes.
Thanks Denis. But this did cause other side-effects like the inserts and DDL queries which ... | 2020-04-27T02:43:35 | 2020-04-27T02:43:35 | {} | NONE |
ClickHouse | ClickHouse | 619,871,148 | 10,520 | qoega | I see that activecube uses another project https://github.com/PNixx/clickhouse-activerecord. | 2020-04-27T09:55:40 | 2020-04-27T09:55:40 | {} | MEMBER |
ClickHouse | ClickHouse | 619,584,328 | 7,334 | alexey-milovidov | Minimal reproducing example:
```
SELECT positionCaseInsensitiveUTF8(materialize('test ß test'), 'ß')
``` | 2020-04-26T16:53:46 | 2020-04-26T16:53:46 | {} | MEMBER |
ClickHouse | ClickHouse | 619,588,305 | 10,449 | alexey-milovidov | Ok.
Please note that memory tracking counters will most likely show bogus results, similar to MemoryTrackingForMerges - it becomes negative and slowly decreases, because memory is mostly freed during merges. | 2020-04-26T17:15:58 | 2020-04-26T17:15:58 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 619,589,242 | 10,383 | alexey-milovidov | ```
2020-04-23 09:21:26 /build/obj-x86_64-linux-gnu/../src/Interpreters/Aggregator.cpp:984:10: error: 'auto &function' can be declared as 'const auto &function' [readability-qualified-auto,-warnings-as-errors]
2020-04-23 09:21:26 for (auto & function : aggregate_functions)
2020-04-23 09:21:26 ^~~~~~
20... | 2020-04-26T17:21:42 | 2020-04-26T17:21:42 | {} | MEMBER |
ClickHouse | ClickHouse | 619,637,949 | 5,618 | alexey-milovidov | We have to copy the relevant information from comment https://github.com/ClickHouse/ClickHouse/issues/5618#issuecomment-575831276 into docs. | 2020-04-26T22:57:38 | 2020-04-26T22:57:38 | {} | MEMBER |
ClickHouse | ClickHouse | 619,716,951 | 6,383 | 631068264 | How to change partition @den-crane
| 2020-04-27T04:53:48 | 2020-04-27T04:53:48 | {} | NONE |
ClickHouse | ClickHouse | 619,507,938 | 10,475 | AlexanderJLiu | Try to change `httpPost.setEntity(new UrlEncodedFormEntity(paramList, "UTF-8"));` to `httpPost.setEntity(new StringEntity(sql));` | 2020-04-26T08:21:18 | 2020-04-26T08:21:18 | {} | NONE |
ClickHouse | ClickHouse | 619,617,995 | 10,508 | matwey | Great to know! Thanks! | 2020-04-26T20:11:33 | 2020-04-26T20:11:33 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 619,626,298 | 6,134 | alexey-milovidov | Follow-up: https://github.com/ClickHouse/ClickHouse/issues/10273 | 2020-04-26T21:17:30 | 2020-04-26T21:17:30 | {} | MEMBER |
ClickHouse | ClickHouse | 619,942,451 | 7,572 | qoega | Can you remove also here
https://github.com/ClickHouse/ClickHouse/blob/17e7d4d88a705b4eb0cdf8ee80519cc0074c8476/programs/server/ya.make#L21 | 2020-04-27T12:06:32 | 2020-04-27T12:06:32 | {} | MEMBER |
ClickHouse | ClickHouse | 619,516,698 | 8,159 | gubinjie | @amosbird
I haven't solved this problem yet, but someone seems to be able to solve this problem by installing clickhouse using docker. I also need to try this solution when I have time.If you have other good solutions, you can post them to tell us, thank you! | 2020-04-26T09:25:07 | 2020-04-26T09:25:07 | {} | NONE |
ClickHouse | ClickHouse | 619,527,775 | 8,915 | zhang2014 | > SELECT alias AS value FROM remote('ch-19-16', system.settings)
> Code: 215. DB::Exception: Received from localhost:9000. DB::Exception: Received from ch-19-16:9000. DB::Exception: Column value is not under aggregate function and not in GROUP BY..
`remote('ch-19-16', system.settings)` -> This bug was not fixed in ... | 2020-04-26T10:46:41 | 2020-04-26T10:48:20 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 619,546,047 | 10,024 | alexey-milovidov | I found the explanation in Wikipedia:
> freedesktop.org was formerly known as the X Desktop Group, and the abbreviation "XDG" remains common in their work. | 2020-04-26T13:01:28 | 2020-04-26T13:01:35 | {} | MEMBER |
ClickHouse | ClickHouse | 619,558,719 | 8,915 | SaltTan | I don't see how shards have any control over what the initiator sends to them.
They receive an incorrect query:
```
SELECT alias AS value FROM system.settings
ALL INNER JOIN
(SELECT value AS alias, name
FROM system.settings
HAVING alias = 'enable_optimize_predicate_expression')
USING (name)
WHERE value = ... | 2020-04-26T14:20:17 | 2020-04-26T14:20:43 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 619,572,894 | 7,540 | alexey-milovidov | #9143 | 2020-04-26T15:46:56 | 2020-04-26T15:46:56 | {} | MEMBER |
ClickHouse | ClickHouse | 619,626,999 | 5,873 | alexey-milovidov | It does not reproduce in recent releases. | 2020-04-26T21:22:28 | 2020-04-26T21:22:28 | {} | MEMBER |
ClickHouse | ClickHouse | 619,630,677 | 5,464 | alexey-milovidov | `tgz` packages are available and tested. | 2020-04-26T21:52:33 | 2020-04-26T21:52:33 | {} | MEMBER |
ClickHouse | ClickHouse | 619,634,735 | 4,562 | alexey-milovidov | CC @azat | 2020-04-26T22:29:09 | 2020-04-26T22:29:09 | {} | MEMBER |
ClickHouse | ClickHouse | 619,634,345 | 8,915 | zhang2014 | > I don't see how shards have any control over what the initiator sends to them.
You can try the following SQL(Upgrade version better):
```sql
SELECT alias AS value
FROM remote('ch-19-16', system.settings)
ALL INNER JOIN
(
SELECT
value AS alias,
name
FROM system.settings
GROUP... | 2020-04-26T22:25:25 | 2020-04-26T22:29:21 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 619,769,835 | 10,502 | oandrew | looks good now | 2020-04-27T06:54:39 | 2020-04-27T06:54:39 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 619,577,744 | 10,449 | azat | >ClickHouse build check — 15/16 builds are OK
>Functional stateless tests (debug) — fail: 1, passed: 1770, skipped: 9
Check failures looks unrelated | 2020-04-26T16:15:25 | 2020-04-26T16:15:25 | {} | MEMBER |
ClickHouse | ClickHouse | 619,585,884 | 9,363 | was-av | have same trouble | 2020-04-26T17:02:36 | 2020-04-26T17:02:36 | {} | NONE |
ClickHouse | ClickHouse | 619,630,507 | 5,518 | alexey-milovidov | But I cannot confirm that your use case was resolved because there is no steps to reproduce provided. | 2020-04-26T21:51:08 | 2020-04-26T21:51:08 | {} | MEMBER |
ClickHouse | ClickHouse | 619,972,164 | 4,469 | alexey-milovidov | Fixed in master:
```
milovidov-desktop :) CREATE TABLE test_alter (x Date, s String) ENGINE = MergeTree ORDER BY s PARTITION BY x
CREATE TABLE test_alter
(
`x` Date,
`s` String
)
ENGINE = MergeTree
PARTITION BY x
ORDER BY s
Ok.
0 rows in set. Elapsed: 0.002 sec.
milovidov-desktop :) ALT... | 2020-04-27T13:03:36 | 2020-04-27T13:03:36 | {} | MEMBER |
ClickHouse | ClickHouse | 619,621,028 | 10,507 | matwey | Thanks! | 2020-04-26T20:35:09 | 2020-04-26T20:35:09 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 619,628,445 | 5,818 | alexey-milovidov | Minimal illustrating example:
```
SELECT CAST(CAST(NULL AS Nullable(String)) AS Nullable(Enum8('Hello' = 1)))
``` | 2020-04-26T21:33:36 | 2020-04-26T21:33:36 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 619,630,944 | 5,401 | alexey-milovidov | Implemented in https://github.com/ClickHouse/ClickHouse/pull/5757 | 2020-04-26T21:54:56 | 2020-04-26T21:54:56 | {} | MEMBER |
ClickHouse | ClickHouse | 619,631,607 | 5,275 | alexey-milovidov | Most likely fixed in https://github.com/ClickHouse/ClickHouse/pull/5924 | 2020-04-26T22:00:28 | 2020-04-26T22:00:28 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 619,948,301 | 10,484 | alexey-milovidov | Ok, let's make all builds successfull and merge.
PS. I don't care about `clickhouse-test` package at all. | 2020-04-27T12:15:52 | 2020-04-27T12:15:52 | {} | MEMBER |
ClickHouse | ClickHouse | 619,963,130 | 8,093 | blinkov | Earlier this year the official repository have moved to https://repo.clickhouse.tech which sits behind global CDN so it usually behaves better than the old one in terms of throughput, including downloads from China. | 2020-04-27T12:46:16 | 2020-04-27T12:46:16 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 619,964,864 | 10,498 | jason-godden | Hey @vzakaznikov
I was wondering how this would work with materialized views - so something like:
```sql
CREATE MATERIALIZED VIEW x TO replicated_merge_tree AS
WATCH some_live_view
```
I'm not sure how the current INSERT INTO x WATCH some_live_view would work - does it run continuously until the server is... | 2020-04-27T12:49:37 | 2020-04-27T12:49:37 | {} | NONE |
ClickHouse | ClickHouse | 619,574,935 | 9,335 | alexey-milovidov | I can reproduce the issue with the following queries:
```
SELECT toDateTime('1970-01-01 05:50:34', 'Asia/Calcutta');
SELECT toDateTime(toUnixTimestamp('1970-01-01 05:50:34'), 'Asia/Calcutta');
``` | 2020-04-26T15:59:57 | 2020-04-26T15:59:57 | {} | MEMBER |
ClickHouse | ClickHouse | 619,584,708 | 7,334 | alexey-milovidov | We will implement the use case when upper and lower cases are represented by the same number of code points but with different number of bytes in UTF-8. Examples: ẞ and ß.
```
┌─hex('ẞ')─┬─hex('ß')─┐
│ E1BA9E │ C39F │
└──────────┴──────────┘
```
But implementing the case when upper and lower cases split... | 2020-04-26T16:55:46 | 2020-04-26T16:56:48 | {} | MEMBER |
ClickHouse | ClickHouse | 619,616,874 | 10,508 | alexey-milovidov | @matwey This warning is false positive. It is a bug in gcc.
But gcc-10 is not released yet. There are multiple [serious regressions](https://gcc.gnu.org/bugzilla/buglist.cgi?bug_file_loc_type=allwordssubstr&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=SUSPENDED&bug_status=WAITING&bug_status=REO... | 2020-04-26T20:02:18 | 2020-04-26T20:05:01 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 619,830,966 | 10,520 | astudnev | Added | 2020-04-27T08:49:26 | 2020-04-27T08:49:26 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 619,551,440 | 10,506 | BernieJiangDL | How dose this happen from very beginning ? | 2020-04-26T13:41:10 | 2020-04-26T13:41:10 | {} | NONE |
ClickHouse | ClickHouse | 619,617,580 | 10,508 | alexey-milovidov | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94335
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92955 | 2020-04-26T20:07:56 | 2020-04-26T20:07:56 | {} | MEMBER |
ClickHouse | ClickHouse | 619,821,360 | 10,520 | blinkov | @astudnev could you make the same patch for other documentation languages? | 2020-04-27T08:32:09 | 2020-04-27T08:32:09 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 619,861,488 | 10,484 | qoega | > > tests/config/readonly.xml → tests/ctest/config/readonly.xml
>
> These configs are used in Docker images for tests.
I see only one way how this configs are used in docker images.
All of them are included in clickhouse-test Debian package. Thus this configs are not a part of Docker image and test, but change w... | 2020-04-27T09:39:32 | 2020-04-27T09:39:32 | {} | MEMBER |
ClickHouse | ClickHouse | 619,561,587 | 10,502 | alexey-milovidov | ```
2020-04-26 04:40:31 01060_avro: [ FAIL ] 0.41 sec. - return code 1
2020-04-26 04:40:31 ../src/Common/assert_cast.h:50:12: runtime error: downcast of address 0x00002e9ac1a0 which does not point to an object of type 'DB::ColumnVector<unsigned long>'
2020-... | 2020-04-26T14:33:19 | 2020-04-26T14:33:19 | {} | MEMBER |
ClickHouse | ClickHouse | 619,590,088 | 10,394 | mbtolou | I use join table with date column
SELECT joinGet('DATE_INFO_DICT', 'SHAMSI', today())
| 2020-04-26T17:26:42 | 2020-04-26T17:26:42 | {} | NONE |
ClickHouse | ClickHouse | 619,631,947 | 5,618 | jangorecki | @alexey-milovidov as the issue was closed, is there any change to get a commit id which resolved it? or a link to documentation directly. I would like to implement those informations that I am waiting for in this thread to be documented. | 2020-04-26T22:03:36 | 2020-04-26T22:03:36 | {} | NONE |
ClickHouse | ClickHouse | 619,633,403 | 5,155 | alexey-milovidov | Fixed long time ago and works perfectly. | 2020-04-26T22:17:16 | 2020-04-26T22:17:16 | {} | MEMBER |
ClickHouse | ClickHouse | 619,742,761 | 10,498 | jason-godden | This is a great feature. Will this also work within materialised views to provide continuous aggregations and as input into versioned Replacing MergeTree? | 2020-04-27T05:58:35 | 2020-04-27T05:58:35 | {} | NONE |
ClickHouse | ClickHouse | 619,823,855 | 10,521 | patsevanton | I reinstall zookeper and clickhouse-server
Log:
```
2020.04.27 11:35:50.335011 [ 1 ] {} <Information> : Starting ClickHouse 20.1.4.14 with revision 54431
2020.04.27 11:35:50.335076 [ 1 ] {} <Information> Application: starting up
2020.04.27 11:35:50.341895 [ 1 ] {} <Debug> Application: rlimit on number of file de... | 2020-04-27T08:37:19 | 2020-04-27T08:37:19 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 619,619,184 | 10,507 | alexey-milovidov | We have this build variant in our CI: https://clickhouse-builds.s3.yandex.net/0/11bb3e3afa67390ed3f132a9ef388b87e2e793f5/build_log_662005463_1587931596.txt
It is named "unbundled" build.
But you can see the same warnings, and this build completes successfully, because `-Werror` is disabled for it. | 2020-04-26T20:20:17 | 2020-04-26T20:20:17 | {} | MEMBER |
ClickHouse | ClickHouse | 619,620,631 | 6,728 | alexey-milovidov | @alesapin It might be fixed long time ago. | 2020-04-26T20:31:59 | 2020-04-26T20:31:59 | {} | MEMBER |
ClickHouse | ClickHouse | 619,636,334 | 3,972 | alexey-milovidov | 1. Use regular expression with `match` function:
```
SELECT match('Paris Saint-Germain', '^\\d\\d\\d\\d-\\d\\d-\\d\\d[ T]\\d\\d:\\d\\d:\\d\\d$')
```
2. Use `parseDateTimeBestEffort` function:
```
SELECT parseDateTimeBestEffort('Paris Saint-Germain')
Received exception from server (version 20.4.1):
Code: 4... | 2020-04-26T22:43:13 | 2020-04-26T22:43:13 | {} | MEMBER |
ClickHouse | ClickHouse | 619,952,086 | 10,498 | vzakaznikov | > This is a great feature. Will this also work within materialised views to provide continuous aggregations and as input into versioned Replacing MergeTree?
@jason-godden, Hi Jason, could you provide an example of what you have in mind?
For example, do you mean something like `INSERT INTO some_materialized_view WA... | 2020-04-27T12:22:26 | 2020-04-27T12:26:22 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 619,977,776 | 4,469 | alexey-milovidov | It will be released in version 20.4. | 2020-04-27T13:13:51 | 2020-04-27T13:13:51 | {
"hooray": 1
} | MEMBER |
ClickHouse | ClickHouse | 619,556,806 | 10,498 | vzakaznikov | Resolving the issue with the `url` table function by adding the `output_format_enable_streaming` setting. Most row output formats can be updated to support streaming mode by flushing their output buffers after each block is consumed.
| 2020-04-26T14:10:59 | 2020-04-26T16:06:45 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 619,619,770 | 6,813 | alexey-milovidov | @abyss7 Is it still relevant? | 2020-04-26T20:24:49 | 2020-04-26T20:24:49 | {} | MEMBER |
ClickHouse | ClickHouse | 619,624,271 | 6,229 | alexey-milovidov | @KochetovNicolai forgot about this task but it is fixed nevertheless. | 2020-04-26T21:01:35 | 2020-04-26T21:01:35 | {} | MEMBER |
ClickHouse | ClickHouse | 619,630,384 | 5,518 | alexey-milovidov | Inefficiencies in index analysis stage were resolved by @CurtizJ in recent pull requests. | 2020-04-26T21:49:58 | 2020-04-26T21:49:58 | {} | MEMBER |
ClickHouse | ClickHouse | 619,636,657 | 3,393 | alexey-milovidov | Now we provide official RPM packages, no need to build manually. | 2020-04-26T22:45:54 | 2020-04-26T22:45:54 | {} | MEMBER |
ClickHouse | ClickHouse | 619,637,298 | 2,528 | alexey-milovidov | Now you can specify ORDER BY clause and PRIMARY KEY with subset of columns from ORDER BY. | 2020-04-26T22:51:42 | 2020-04-26T22:51:42 | {} | MEMBER |
ClickHouse | ClickHouse | 619,819,921 | 10,519 | Crazylearner30 | Thanks for the quick response. Will try to upgrade version.
Is it same for importing data into table as well? | 2020-04-27T08:29:11 | 2020-04-27T08:30:29 | {} | NONE |
ClickHouse | ClickHouse | 619,500,268 | 10,475 | zhouxiujue | > I think you should better use [clickhouse-jdbc](https://github.com/ClickHouse/clickhouse-jdbc).
>
> These test [examples](https://github.com/ClickHouse/clickhouse-jdbc/tree/master/src/test/java/ru/yandex/clickhouse) may be help.
Thank you!I had used jdbc in some project. But now I need to use chproxy which via ... | 2020-04-26T07:20:59 | 2020-04-26T07:20:59 | {} | NONE |
ClickHouse | ClickHouse | 619,622,565 | 6,268 | alexey-milovidov | I'm happy to say that we have implemented the desired behaviour together:
```
milovidov-desktop :) SELECT path('/path/for/download/file.exe')
SELECT path('/path/for/download/file.exe')
┌─path('/path/for/download/file.exe')─┐
│ /path/for/download/file.exe │
└─────────────────────────────────────┘
1 ... | 2020-04-26T20:47:11 | 2020-04-26T20:47:11 | {} | MEMBER |
ClickHouse | ClickHouse | 619,626,695 | 6,134 | alexey-milovidov | @CAspeling `maxIf` on empty matching rows returns:
- NULL if the data type of the argument is Nullable;
- 0 if the data type is numeric;
- empty string if the data type is String.
The functions `sum` and `avg` cannot work on String types and cannot return empty strings.
The function `avg` returns nan on empty se... | 2020-04-26T21:20:09 | 2020-04-26T21:20:09 | {} | MEMBER |
ClickHouse | ClickHouse | 619,633,218 | 5,182 | alexey-milovidov | #10510 | 2020-04-26T22:15:29 | 2020-04-26T22:15:29 | {} | MEMBER |
ClickHouse | ClickHouse | 619,648,789 | 10,504 | azat | > It seems the maximum threads for one clickhouse node is 4096. After reach this limit, any command at any node in a cluster will result a DB::Exception: Cannot schedule a task error
AFAIR the threads limit is 10000, looks related to #9154
> 2317 DistrDirMonitor
After #10263 this can be configured, but there i... | 2020-04-27T00:22:57 | 2020-04-27T00:22:57 | {} | MEMBER |
ClickHouse | ClickHouse | 619,812,458 | 10,519 | AlexanderJLiu | I think you used the low version of clickhouse that doesn't support Parquet format.
Try to update your clickhouse to 19.4.0.49 or higher version. | 2020-04-27T08:13:56 | 2020-04-27T08:13:56 | {} | NONE |
ClickHouse | ClickHouse | 619,865,162 | 5,089 | alesapin | It's not hardcoded for a long time, we use `http_receive_timeout` setting from query settings https://github.com/clickhouse/ClickHouse/blob/master/src/Storages/StorageXDBC.cpp#L128. By default, it's `DEFAULT_HTTP_READ_BUFFER_TIMEOUT=1800` and when we start bridge we convert this value to microseconds. It's OK because b... | 2020-04-27T09:46:17 | 2020-04-27T09:46:17 | {} | MEMBER |
ClickHouse | ClickHouse | 619,898,014 | 10,519 | alexey-milovidov | > Is it same for importing data into table as well?
Yes. | 2020-04-27T10:44:32 | 2020-04-27T10:44:32 | {} | MEMBER |
ClickHouse | ClickHouse | 619,944,682 | 7,572 | alexey-milovidov | Current reviewer is @tavplubix | 2020-04-27T12:10:08 | 2020-04-27T12:10:08 | {} | MEMBER |
ClickHouse | ClickHouse | 619,505,427 | 8,159 | amossavez | I also got the problem ,
> @nickevin Here is the draft
>
> The path part of `URT` may cantain HDFS nameservice instead of host/ip and port. In this case it will read HDFS configuration values that are configured with hdfs-client.xml. By default the location of hdfs-client.xml is in working directory. Or special e... | 2020-04-26T08:01:53 | 2020-04-26T08:01:53 | {} | NONE |
ClickHouse | ClickHouse | 619,620,347 | 6,743 | alexey-milovidov | Add a setting `alter_partitions_throw_if_noop` and throw if no partition is selected. | 2020-04-26T20:29:32 | 2020-04-26T20:29:32 | {} | MEMBER |
ClickHouse | ClickHouse | 619,622,141 | 6,263 | alexey-milovidov | > Does one table have only one format or one table can have different formats (part in memory, part in disk)?
One table can have parts in multiple different formats. E.g. small parts in compact (write-optimized) format and larger parts in wide (read optimized) format.
This feature is implemented and available in ... | 2020-04-26T20:43:34 | 2020-04-26T20:43:34 | {
"heart": 1
} | MEMBER |
ClickHouse | ClickHouse | 619,622,244 | 6,263 | alexey-milovidov | Next step: enable it with reasonable threshold by default. | 2020-04-26T20:44:34 | 2020-04-26T20:44:34 | {} | MEMBER |
ClickHouse | ClickHouse | 619,627,475 | 5,873 | alexey-milovidov | I've added a test just in case. | 2020-04-26T21:26:17 | 2020-04-26T21:26:17 | {} | MEMBER |
ClickHouse | ClickHouse | 619,638,273 | 4,562 | azat | Some basic information is missing, in particular:
- version of the server (and I assume that you do not use distributed storage policy, 5-th argument during `Distributed` creation, since I bet your version is too old and it does not have such setting).
- some server settings, can you please send `select name, value, ... | 2020-04-26T23:00:24 | 2020-04-26T23:01:18 | {} | MEMBER |
ClickHouse | ClickHouse | 619,665,990 | 10,488 | surekhasaharan | I have about 60 columns | 2020-04-27T01:51:00 | 2020-04-27T01:51:00 | {} | NONE |
ClickHouse | ClickHouse | 619,897,849 | 7,572 | zhang2014 | @alexey-milovidov @filimonov
Sorry for delay. I think this pr is ready for review | 2020-04-27T10:44:16 | 2020-04-27T10:44:16 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 618,352,751 | 9,545 | alexey-milovidov | @And42 Yes, queries reuse threads from pool. | 2020-04-23T11:40:43 | 2020-04-23T11:40:43 | {} | MEMBER |
ClickHouse | ClickHouse | 618,356,905 | 5,666 | nikitamikhaylov | It is not reproduced :eyes:
```sql
ClickHouse client version 20.4.1.1.
Connecting to localhost:9000 as user default.
Connected to ClickHouse server version 20.4.1 revision 54434.
jakalletti :) create table json(a int, b int default 7) engine File(JSONEachRow);
CREATE TABLE json
(
`a` int,
`b` in... | 2020-04-23T11:50:48 | 2020-04-23T11:50:48 | {} | MEMBER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.