owner stringclasses 15
values | repo stringclasses 15
values | id int64 116k 4.21B | issue_number int32 1 180k | author stringlengths 0 39 | body stringlengths 1 262k | created_at timestamp[us]date 2000-06-06 02:40:44 2026-04-09 03:22:08 | updated_at timestamp[us]date 2000-06-06 02:40:44 2026-04-09 03:28:07 | reactions unknown | author_association stringclasses 7
values |
|---|---|---|---|---|---|---|---|---|---|
ClickHouse | ClickHouse | 256,498,720 | 151 | Civil | Main problems with the compatibility:
1. Missing functions, e.x. clock_gettime, memrchr, etc
2. Werror triggers more warnings on clang on OS X
3. uint64_t - 'unsigned long long' on MacOS X, but 'unsigned long' on linux. UInt64 is 'unsigned long' on both platforms
4. Some missing includes (mostly '#include <array>')
5. ... | 2016-10-26T22:42:30 | 2016-10-26T22:42:30 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 258,219,342 | 159 | excitoon | @Civil
I wonder if mentioning somebody invites him into a PR.
| 2016-11-03T17:44:28 | 2016-11-03T17:45:21 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 258,640,160 | 163 | alexey-milovidov | For most cases, we rely on functional tests (that are located in `dbms/tests` directory).
Functional tests are run for each commit. Also, tests are run under valgrind each night.
Also we use test environment. As you are in Yandex, look at METR-22953 task.
Unit tests are not mandatory in our team. But we have some.
Loo... | 2016-11-05T20:57:40 | 2016-11-05T20:57:40 | {} | MEMBER |
ClickHouse | ClickHouse | 261,915,755 | 167 | goranc | Just idea for possible update/delete option with MergeTree family tables.
Delete can be covered using ReplacingMergeTree with functionality of version field of int type, just to allow using of -1 for deletion on merge. When merge is triggered then just skip record from main part when there is new part with -1 version. | 2016-11-21T11:45:04 | 2016-11-21T11:45:04 | {} | NONE |
ClickHouse | ClickHouse | 262,639,092 | 192 | ludv1x | Updated. | 2016-11-23T21:53:34 | 2016-11-23T21:53:34 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 255,003,606 | 141 | alexey-milovidov | It is not very easy, because no one of our developers is using Mac.
BTW, https://github.com/Civil is trying to address this issue right now, on their own initiative.
| 2016-10-20T04:00:59 | 2016-10-20T04:00:59 | {} | MEMBER |
ClickHouse | ClickHouse | 256,636,767 | 152 | alexey-milovidov | Thanks for the report!
You are right. Code is not good, because message for std::exception (and other exceptions not descendant of Poco::Exception) is lost. Fixed https://github.com/yandex/ClickHouse/commit/350f73da02a0a0be94bf1dee32496198a2c6f928
In your case, dictionaries could not load, because (as mentioned in do... | 2016-10-27T13:13:33 | 2016-10-27T13:13:33 | {} | MEMBER |
ClickHouse | ClickHouse | 256,645,268 | 152 | Abzac | Thanks for your quick reply and the solution! It is really great!
| 2016-10-27T13:47:01 | 2016-10-27T13:47:01 | {} | NONE |
ClickHouse | ClickHouse | 257,955,910 | 160 | alexey-milovidov | Need more details, because I couldn't reproduce on trivial example:
```
$ clickhouse-client --query="CREATE TABLE test.json (x Float64) ENGINE = Memory"
$ clickhouse-client --query="INSERT INTO test.json FORMAT JSONEachRow" <<< '{"x": 123.456}'
$ clickhouse-client --query="SELECT * FROM test.json"
123.456
```
Maybe y... | 2016-11-02T18:25:43 | 2016-11-02T18:25:58 | {} | MEMBER |
ClickHouse | ClickHouse | 258,061,129 | 158 | sichkarev | Alexey, thank you for answer! It sad restrictions.
Please tell me the best way to store birthdate user? May be date split by 3 columns: year, month and day? And say please how best way for grouping users by age and period 0 - 20, 20 - 40 years old?
Thank you so much!
| 2016-11-03T04:11:22 | 2016-11-03T04:11:22 | {} | NONE |
ClickHouse | ClickHouse | 258,524,048 | 162 | artpaul | Done.
| 2016-11-04T19:18:38 | 2016-11-04T19:18:38 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 259,431,276 | 167 | allyraza | I see but we already have several billion records we can't simply move data in out of tables affects our production system, all this time our operations were append only now we need to update to cater for new feature, do you guys have any plans to implement update and delete operation/queries.
| 2016-11-09T14:47:23 | 2016-11-09T16:14:57 | {} | NONE |
ClickHouse | ClickHouse | 263,796,043 | 164 | vavrusa | Looks like this was fixed in 1.1.54080, thanks gents! 🎉 | 2016-11-30T06:41:01 | 2016-11-30T06:41:01 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 264,245,966 | 220 | alexey-milovidov | У нас в команде нет людей, которые хорошо знают CMake.
Да, отправляйте патчи. Примем обязательно. | 2016-12-01T18:00:38 | 2016-12-01T18:00:38 | {} | MEMBER |
ClickHouse | ClickHouse | 264,276,478 | 221 | code-of-kpp | May be you can benefit from building all targets with Circle CI or something like that? | 2016-12-01T19:54:43 | 2016-12-01T19:54:43 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 255,631,384 | 146 | alexey-milovidov | We have this feature request from other customers too.
Implementation is not trivial, because ALTERs that changing columns are processed outside of usual replication queue, and adding rename without reworking of ALTERs will introduce race conditions in replicated tables.
| 2016-10-24T01:49:04 | 2016-10-24T01:49:04 | {} | MEMBER |
ClickHouse | ClickHouse | 258,258,392 | 161 | excitoon | That will fix problem with calling `getrlimit` on OS X. It returns junk in `rlim.rlim_max`.
| 2016-11-03T20:05:48 | 2016-11-03T20:06:40 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 258,663,722 | 163 | artpaul | ОК. Thanks for comment.
| 2016-11-06T06:44:50 | 2016-11-06T06:44:50 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 260,520,207 | 41 | zjjfly | I just copy file which glibc-2.14 installed, to centos5.5 ,now the glibc update to 2.14.I dont know whether this approach is right,but it works.
| 2016-11-15T01:33:31 | 2016-11-15T01:33:31 | {} | NONE |
ClickHouse | ClickHouse | 259,442,205 | 165 | hatarist | Thanks, didn't know that!
Would it be hard to implement the `||` operator support?
| 2016-11-09T15:30:02 | 2016-11-09T15:30:02 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 260,219,901 | 150 | ludv1x | It seems, that division by zero occur [here](https://github.com/yandex/ClickHouse/blob/1d836b2bf8fef378d47258957ff74ed3a4aff136/dbms/src/Interpreters/Quota.cpp#L112)
| 2016-11-13T23:04:44 | 2016-11-13T23:04:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 260,234,438 | 183 | alexey-milovidov | > I've also used std::call_once for the initialization of DateLUTImpl objects. Much cleaner IMHO.
Nice.
| 2016-11-14T02:25:39 | 2016-11-14T02:25:39 | {} | MEMBER |
ClickHouse | ClickHouse | 261,615,900 | 165 | alexey-milovidov | Thanks! You have convinced me that it is worth to implement.
| 2016-11-18T19:12:25 | 2016-11-18T19:12:25 | {
"hooray": 4
} | MEMBER |
ClickHouse | ClickHouse | 263,927,788 | 208 | alexey-milovidov | About statistics: good idea in general, but I already had some considerations about it.
1. Statistics are known only at end of query execution. But at end of query execution, we could have already sent some data to client. There are "streaming" queries, when data is output when it is read from a table. And even for ... | 2016-11-30T16:52:47 | 2016-11-30T16:52:47 | {} | MEMBER |
ClickHouse | ClickHouse | 264,258,634 | 220 | alexey-milovidov | Нашёлся один человек, который не так плохо знает CMake. | 2016-12-01T18:49:56 | 2016-12-01T18:49:56 | {} | MEMBER |
ClickHouse | ClickHouse | 254,627,199 | 129 | alexey-milovidov | Thanks, option to skip through errors in multiquery mode should be useful.
Break on first error is good default.
| 2016-10-18T20:20:05 | 2016-10-18T20:20:05 | {} | MEMBER |
ClickHouse | ClickHouse | 259,064,715 | 158 | sichkarev | 
I did it :)
@alexey-milovidov may be you think best way for task?
``` sql
select
sumIf(cnt, age between 0 and 13) as yo_13, /*от 0 до 13*/
sumIf(cnt, age between 14 and 17) as yo_17, /*от 14 до 17*/... | 2016-11-08T07:24:23 | 2016-11-08T09:19:32 | {
"+1": 1
} | NONE |
ClickHouse | ClickHouse | 259,526,901 | 150 | alexey-milovidov | Also, I don't see changes in /debian directory. Has been checked that packages is building successfully?
(`./release` script)
| 2016-11-09T21:07:43 | 2016-11-09T21:07:43 | {} | MEMBER |
ClickHouse | ClickHouse | 260,220,459 | 150 | alexey-milovidov | But no problem if you specify no intervals at all.
| 2016-11-13T23:12:32 | 2016-11-13T23:12:32 | {} | MEMBER |
ClickHouse | ClickHouse | 261,477,265 | 184 | alexey-milovidov | Fixed in
6d914bc4db55cae789bf88e8e689b9fd7aa80a57
643c2b747a9512b43355c314185497fa3114e8c4
But there is also the same issues with
- JOIN;
- array subscript and arrayFirst functions in case of missing element;
- parsing of JSONEachRow and TSKV format in case of missing Enum field.
when Enum data type doesn't have ze... | 2016-11-18T08:38:13 | 2016-11-18T08:38:13 | {} | MEMBER |
ClickHouse | ClickHouse | 262,316,880 | 197 | sichkarev | Зря вы так.
Я использовал у себя Ubuntu trusty и xenial.
Полет нормальный на обеих версиях, правда я ENGINE = Log не использую у себя, но по вашему примеру все нормуль отработало.

Возможно неправильн... | 2016-11-22T18:02:13 | 2016-11-22T18:02:51 | {} | NONE |
ClickHouse | ClickHouse | 264,275,229 | 221 | alexey-milovidov | I have just checked the build and it is fine.
BTW, in per-commit auto builds, and in release builds, we are building only clickhouse-server, not all targets. | 2016-12-01T19:50:12 | 2016-12-01T19:50:33 | {} | MEMBER |
ClickHouse | ClickHouse | 255,632,036 | 147 | alexey-milovidov | There are several implementation possibilities:
1. Allow to modify primary key if it cannot modify order of data (example: adding a column to end of primary key);
2. Allow to modify primary key if it actually does not modify order of data (perform check for that);
3. Allow to modify primary key for new parts, but leave... | 2016-10-24T01:55:59 | 2016-10-24T01:55:59 | {} | MEMBER |
ClickHouse | ClickHouse | 257,963,141 | 157 | alexey-milovidov | There is outdated `uatraits` library for user agent parsing: https://github.com/highpower/uatraits
(It was not updated on GitHub for many years and also performance is suboptimal.)
We have another, completely different library, that share data format with `uatraits`.
I am not sure we are going to open-source it, but i... | 2016-11-02T18:50:31 | 2016-11-02T18:50:31 | {} | MEMBER |
ClickHouse | ClickHouse | 259,265,650 | 141 | alexey-milovidov | Now it compiles and works. There still may be some difficulties, ask https://github.com/excitoon and https://github.com/Civil
| 2016-11-08T21:30:19 | 2016-11-08T21:30:19 | {} | MEMBER |
ClickHouse | ClickHouse | 259,403,853 | 166 | artpaul | @hatarist Changing of output format doesn't help. If I execute this sequence
`echo "create table t (a String) ENGINE = Memory" | POST 'http://localhost:8123`
`echo "insert into t values ('abc\xyz')" | POST 'http://localhost:8123/'`
`echo "select * from t FORMAT CSV" | POST 'http://localhost:8123/'`
I'v got just "abc".
... | 2016-11-09T12:29:37 | 2016-11-09T12:29:37 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 261,931,639 | 191 | ludv1x | What input FORMAT do you use ?
Could you also provide error message and an example reproducing the problem? | 2016-11-21T13:03:21 | 2016-11-21T13:03:21 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 262,004,293 | 191 | ludv1x | It actually writes to DB single character. To prove this I print `length(str)` in addition to `str`:
```
:) drop table if exists test.quoting;
DROP TABLE IF EXISTS test.quoting
Ok.
0 rows in set. Elapsed: 0.000 sec.
:) CREATE TABLE test.quoting (str String) ENGINE = Memory;
CREATE TABLE test.quoting
... | 2016-11-21T17:17:47 | 2016-11-21T17:17:47 | {
"+1": 5
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 254,998,849 | 140 | alexey-milovidov | This is duplicate of https://github.com/yandex/ClickHouse/issues/98#issuecomment-244261639
| 2016-10-20T03:17:26 | 2016-10-20T03:17:26 | {} | MEMBER |
ClickHouse | ClickHouse | 258,780,960 | 160 | Blasterdick | @alexey-milovidov Sorry, mate, my fault. You're right, it was a wrong schema problem, closing this issue.
| 2016-11-07T09:04:40 | 2016-11-07T09:04:40 | {
"+1": 1
} | NONE |
ClickHouse | ClickHouse | 261,919,143 | 64 | goranc | You can use tables with suffix based on hour, as stage tables, and insert data in specific table. Selecting using Merge table type as virtual view to all tables based on hour.
Eg. use script to create 365 x 24 tables in stage database, like stage.table_yyyymmdd_hh and use Merge(stage, '^table') to select data.
That w... | 2016-11-21T12:02:58 | 2016-11-21T12:02:58 | {
"+1": 3
} | NONE |
ClickHouse | ClickHouse | 261,939,134 | 192 | ludv1x | #164 | 2016-11-21T13:31:21 | 2016-11-21T13:31:21 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 262,191,247 | 196 | alexey-milovidov | Confirmed. | 2016-11-22T09:34:25 | 2016-11-22T09:34:25 | {} | MEMBER |
ClickHouse | ClickHouse | 262,639,101 | 192 | ludv1x | BTW Also, there are need to add accurate comparisons for non-64-bit types inside IFunctions to make filtering py PK consistent with filtering through full scan. | 2016-11-23T21:53:37 | 2016-11-23T21:54:25 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 254,627,630 | 111 | alexey-milovidov | > Do you plan to implement window functions as well?
We have it in plans only for distant future (Q2 2017 or later).
| 2016-10-18T20:21:47 | 2016-10-18T20:21:47 | {} | MEMBER |
ClickHouse | ClickHouse | 255,574,303 | 96 | alexey-milovidov | There was at least two bugs in this code:
- memory is not deallocated;
- allocation of memory and construction of object is not exception-safe;
Memory is leaking (though very slowly) when creating temporary tables (for example, when using GLOBAL IN/JOIN). It is easily observed with valgrind or address sanitizer.
(We h... | 2016-10-23T07:42:11 | 2016-10-23T07:42:11 | {} | MEMBER |
ClickHouse | ClickHouse | 257,333,680 | 157 | alexey-milovidov | Hello.
This is possible: we have a library for user-agent parsing. But I think, we are not going to disclose data for that library: parsing rules, that must be constantly updated to support all new user agents (tons of mobile phones for example).
| 2016-10-31T15:55:50 | 2016-10-31T15:55:50 | {} | MEMBER |
ClickHouse | ClickHouse | 259,934,112 | 127 | hatarist | I just noticed that the tables are affected even if there are views without UNION ALL.
If there's a column rename in the subquery, it messes with the latter INSERT queries to the table.
Also, ClickHouse seems to lose track of the current database.
Proof of concept:
```
:) CREATE TABLE hits
(
date Date,
... | 2016-11-11T11:02:05 | 2016-11-11T11:02:58 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 260,223,343 | 150 | ludv1x | Updated. Removed <intervals> section and added zero check for interval duration.
| 2016-11-14T00:02:03 | 2016-11-14T00:02:03 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 261,132,349 | 184 | alexey-milovidov | Confirmed. WITH TOTALS tries to generate a value with zero, not default value for enum. This is a bug.
| 2016-11-17T01:59:24 | 2016-11-17T01:59:24 | {} | MEMBER |
ClickHouse | ClickHouse | 261,759,452 | 165 | alexey-milovidov | Added to master: https://github.com/yandex/ClickHouse/commit/75a058fbab86e8cd67df84173862318521b17669
| 2016-11-20T05:08:02 | 2016-11-20T05:08:02 | {} | MEMBER |
ClickHouse | ClickHouse | 263,984,397 | 213 | vavrusa | Okay, fixed. | 2016-11-30T20:22:30 | 2016-11-30T20:22:30 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 258,265,684 | 157 | alexey-milovidov | Probably we should add integration with https://github.com/01org/hyperscan instead.
| 2016-11-03T20:34:13 | 2016-11-03T20:34:13 | {
"+1": 3
} | MEMBER |
ClickHouse | ClickHouse | 259,259,860 | 165 | alexey-milovidov | It is not obvious that we should implement it.
Some DBMS use operator `||` for that case.
I have checked queries
```
SELECT 'a' + 'b';
SELECT 'a' || 'b';
```
for various DBMS with http://sqlfiddle.com
MySQL:
Returns 0 for both queries. Probably depend on `sqlmode`.
PostgreSQL:
Works with ||.
Gives meaningful error... | 2016-11-08T21:07:15 | 2016-11-08T21:07:15 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 262,633,760 | 197 | alexey-milovidov | Коллега ludv1x уже догадался, по какой причине именно у вас оно неправильно работало. Исправление уже в пути. | 2016-11-23T21:26:17 | 2016-11-23T21:26:17 | {} | MEMBER |
ClickHouse | ClickHouse | 264,269,142 | 221 | ludv1x | Could you provide hash of a commit used for build?
It seems that you use outdated version.
Master branch now looks as follows:
https://github.com/yandex/ClickHouse/blob/master/dbms/src/Storages/tests/pk_condition.cpp#L35
(5 arguments in constructor) | 2016-12-01T19:28:22 | 2016-12-01T19:28:22 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 255,676,835 | 41 | zjjfly | hi,I followed your advice above to build clickhouse on Ubuntu Trusty ,and i want to start up clickhouse on centOS 5.5 whose glibc is 2.5.then It shows that it need glibc 2.10.so,i try to upgrade glibc to 2.10,but it seems that the 2.5 glibc is dependency of many things in centos5.5.Is there a way to start clickhouse on... | 2016-10-24T08:19:06 | 2016-10-24T08:19:06 | {} | NONE |
ClickHouse | ClickHouse | 257,251,209 | 156 | shalugin | Ok
| 2016-10-31T09:42:38 | 2016-10-31T09:42:38 | {} | NONE |
ClickHouse | ClickHouse | 260,160,928 | 150 | alexey-milovidov | Almost ready to merge :)
| 2016-11-13T01:45:25 | 2016-11-13T01:45:25 | {} | MEMBER |
ClickHouse | ClickHouse | 260,516,794 | 41 | alexey-milovidov | Could you afford at least CentOS 6?
It is possible to make compatibility with glibc 2.5, but it requires additional amount of work.
| 2016-11-15T01:13:43 | 2016-11-15T01:13:43 | {} | MEMBER |
ClickHouse | ClickHouse | 261,037,026 | 189 | alexey-milovidov | > but I will change to query context for clarity
Finally I decided to leave it as you implemented.
| 2016-11-16T18:54:35 | 2016-11-16T18:54:35 | {} | MEMBER |
ClickHouse | ClickHouse | 264,275,333 | 221 | code-of-kpp | I use last tag labeled as stable:
git checkout tags/v1.1.54083-stable
HEAD is now at 0a2d1eb... Attempt to improve merge selecting algorithm [#METR-23632].
| 2016-12-01T19:50:35 | 2016-12-01T19:50:35 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 255,002,891 | 140 | alexey-milovidov | Updated tcmalloc library to latest version, which was removed usage of obsolete malloc hooks.
| 2016-10-20T03:54:29 | 2016-10-20T03:54:29 | {} | MEMBER |
ClickHouse | ClickHouse | 255,003,011 | 98 | alexey-milovidov | Updated tcmalloc library to latest version, which was removed usage of obsolete malloc hooks.
| 2016-10-20T03:55:24 | 2016-10-20T03:55:24 | {} | MEMBER |
ClickHouse | ClickHouse | 256,984,289 | 150 | ludv1x | A lot of documentation should be added for `clickhouse-local` program and `File` storage. It is better to make in separate PR.
| 2016-10-28T17:47:48 | 2016-10-28T17:47:48 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 257,003,840 | 150 | alexey-milovidov | > A lot of documentation should be added for clickhouse-local program and File storage. It is better to make in separate PR.
Ok.
| 2016-10-28T19:10:37 | 2016-10-28T19:10:37 | {} | MEMBER |
ClickHouse | ClickHouse | 257,545,238 | 157 | Abzac | OK, that's just fine. It would be great if you'll make some functions for this. Any expectations for the time it will be implemented?
Then I can try to extract parsing rules database from some opensource ua parsing library if it would be possible to use this data in ClickHouse (like internal dictionaries filled from C... | 2016-11-01T11:33:52 | 2016-11-01T11:34:59 | {} | NONE |
ClickHouse | ClickHouse | 259,270,699 | 164 | alexey-milovidov | I will investigate this issue in few days.
| 2016-11-08T21:50:36 | 2016-11-08T21:50:36 | {} | MEMBER |
ClickHouse | ClickHouse | 261,546,832 | 165 | Tgarifullin | `||` as concatenation operator was defined in ANSI SQL2003 standard.
So maybe it will be better to be closer to ANSI SQL as possible.
| 2016-11-18T14:38:51 | 2016-11-18T14:38:51 | {} | NONE |
ClickHouse | ClickHouse | 262,193,260 | 193 | alexey-milovidov | Arrays in Nested (and multidimensional arrays in general) cannot be stored in MergeTree tables.
At least we need to add checks for that. | 2016-11-22T09:43:16 | 2016-11-22T09:43:16 | {} | MEMBER |
ClickHouse | ClickHouse | 263,088,268 | 134 | alexey-milovidov | https://github.com/Civil has intention to implement this task. Here is detailed description:
1. Add virtual method
`void syncAfterError()`
to `IRowInputStream`.
By default, it throws not implemented exception.
2. Implement these methods for TabSeparated, CSV, TSKV, JSONEachRow. They will ignore bytes in ReadBu... | 2016-11-26T21:56:15 | 2016-11-26T21:57:15 | {} | MEMBER |
ClickHouse | ClickHouse | 264,169,184 | 220 | funbringer | Поддерживаю!
Товарищи, я все понимаю ("официально" работает только на Ubuntu и т. д.), но очень обидно, что собирать проект под что-нибудь мало-мальски отличающееся от бубунты настолько сложно.
Конструктивное предложение: вы принимаете патчи для системы сборки? Я думаю, они бы пригодились. | 2016-12-01T13:08:26 | 2016-12-01T13:08:26 | {
"+1": 2
} | NONE |
ClickHouse | ClickHouse | 255,550,390 | 147 | f1yegor | I think it's by design, because data layout/sorted differently when primary key changes.
| 2016-10-22T19:58:35 | 2016-10-22T19:58:35 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 255,631,055 | 148 | alexey-milovidov | Thanks! By the way, we are getting rid of russian comments, only english is enough.
| 2016-10-24T01:44:59 | 2016-10-24T01:44:59 | {} | MEMBER |
ClickHouse | ClickHouse | 258,522,423 | 162 | alexey-milovidov | Thanks! Please, change also english one.
| 2016-11-04T19:11:23 | 2016-11-04T19:11:23 | {} | MEMBER |
ClickHouse | ClickHouse | 259,411,303 | 167 | hatarist | Kind of. There's no UPDATE statements. There are several choices though
1) [CollapsingMergeTree](https://clickhouse.yandex/reference_en.html#CollapsingMergeTree) or [ReplacingMergeTree](https://github.com/yandex/ClickHouse/blob/1d836b2bf8fef378d47258957ff74ed3a4aff136/dbms/tests/queries/0_stateless/00325_replacing_mer... | 2016-11-09T13:12:08 | 2016-11-09T13:20:30 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 260,137,165 | 158 | alexey-milovidov | I have no better solution. I wanted to propose the same.
| 2016-11-12T17:48:51 | 2016-11-12T17:48:51 | {} | MEMBER |
ClickHouse | ClickHouse | 263,991,177 | 208 | sjoerdmulder | I had exactly the same question, but it makes sense that the stats are only available at the end of the response.
I would like to vote for the Third option to use a trailer but only enable it when you specifiy a optional query parameter. e.g. `&withTrailerStats` so that client that do support it can enable it. Make... | 2016-11-30T20:50:15 | 2016-11-30T20:50:36 | {
"+1": 4
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 254,949,848 | 145 | alexey-milovidov | Thanks! Now much more clear.
| 2016-10-19T21:43:32 | 2016-10-19T21:43:32 | {} | MEMBER |
ClickHouse | ClickHouse | 259,462,488 | 170 | alexey-milovidov | Thanks!
| 2016-11-09T16:46:15 | 2016-11-09T16:46:15 | {} | MEMBER |
ClickHouse | ClickHouse | 259,708,564 | 176 | alexey-milovidov | Victor (jkee) will make decision.
I am a bit afraid of too many chats.
| 2016-11-10T14:48:05 | 2016-11-10T14:48:05 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 261,035,918 | 189 | alexey-milovidov | Instance of function is created for each query.
Query context, that is passed to function create method, will live for all time of query execution,
so you could capure a reference to it.
Current solution is Ok, but I will change to query context for clarity.
| 2016-11-16T18:50:36 | 2016-11-16T18:50:36 | {} | MEMBER |
ClickHouse | ClickHouse | 263,013,957 | 201 | alexey-milovidov | Duplicate of https://github.com/yandex/ClickHouse/issues/63
Now it is assigned. | 2016-11-25T19:27:47 | 2016-11-25T19:27:47 | {} | MEMBER |
ClickHouse | ClickHouse | 254,927,426 | 144 | alexey-milovidov | Yes, this is a bug.
| 2016-10-19T20:14:58 | 2016-10-19T20:14:58 | {} | MEMBER |
ClickHouse | ClickHouse | 256,498,999 | 141 | Civil | https://github.com/yandex/ClickHouse/pull/151 - I've made a PR request, that compiles on OS X 10.11 (don't have newer version). Though I've used gentoo-prefix as a source of packages and also used latest clang instead of xcode's one. In theory it should still be compilable with xcode's one and client most probably will... | 2016-10-26T22:44:07 | 2016-10-26T22:44:43 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 257,249,641 | 156 | alexey-milovidov | We are not maintaining descriptive changelog.
Internally, for each release, we have linked tasks with descriptions.
But task tracker is not publicly available. We want to address this issue and made most of tasks visible to public. It is not going to happen in near future (not in 2016).
| 2016-10-31T09:34:32 | 2016-10-31T09:34:32 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 259,406,456 | 166 | hatarist | Yeah, because `\xyz` is an (invalid) escape sequence, see [String literals](https://clickhouse.yandex/reference_en.html#String+literals).
> Notice that when that single backslash is not escaped, the select output is quite strange. Not sure whether this is a bug or feature.
> I'v got just "abc".
Regarding that: Clic... | 2016-11-09T12:44:59 | 2016-11-09T13:04:03 | {
"+1": 3
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 259,479,175 | 165 | alexey-milovidov | It is not hard to implement operator `||` (almost trivial).
I have some doubts... Probably it is worth to do.
Drawback is that it could be easily confused with logical or.
I will do, if I see, that some BI tool uses this operator.
| 2016-11-09T17:53:50 | 2016-11-09T17:53:50 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 259,754,042 | 167 | alexey-milovidov | We have plans for delete. (Currently without schedule, I expect in Q2 2017)
| 2016-11-10T17:31:12 | 2016-11-10T17:31:12 | {
"+1": 14
} | MEMBER |
ClickHouse | ClickHouse | 260,225,227 | 150 | alexey-milovidov | Release script does not work:
```
$ CC=gcc-6 CXX=g++-6 ./release --standalone
...
cp: cannot stat ‘debian/tmp//etc/clickhouse-client/config.xml’: No such file or directory
```
| 2016-11-14T00:34:29 | 2016-11-14T00:34:29 | {} | MEMBER |
ClickHouse | ClickHouse | 260,941,652 | 189 | PKartaviy | @alexey-milovidov fixed
| 2016-11-16T13:06:13 | 2016-11-16T13:06:13 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 261,947,047 | 191 | goranc | I'm using VALUES format, and I can insert single quote with escape like \\' but string is written in database with that escape, not like single quote (so it is selected back with backslash and single quote).
Just to answer after deeper investigation:
This is intentional by design !
When I select data with diff... | 2016-11-21T14:06:49 | 2016-11-21T17:05:45 | {} | NONE |
ClickHouse | ClickHouse | 257,961,811 | 158 | alexey-milovidov | Only dates after the beginning of the unix epoch are supported. As documented here:
https://clickhouse.yandex/reference_en.html#Date
You could use different data type (String or UInt32) to store broader range of dates,
but datetime functions will not work with them.
| 2016-11-02T18:45:48 | 2016-11-02T18:45:48 | {} | MEMBER |
ClickHouse | ClickHouse | 259,361,718 | 166 | hatarist | It inserts a single backslash when you do `abc\\xyz` - it unescapes the string.
It just displays an escaped representation of the data. If you change the format to - for instance - CSV, it will show the raw data, with a single backslash:
```
:) SELECT 'hello\\world' FORMAT CSV;
"hello\world"
```
To confirm the right... | 2016-11-09T08:49:02 | 2016-11-09T08:49:02 | {
"+1": 2
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 263,888,501 | 164 | alexey-milovidov | Yes, it is fixed. Thanks for the reminder! | 2016-11-30T14:36:09 | 2016-11-30T14:36:09 | {} | MEMBER |
ClickHouse | ClickHouse | 255,011,913 | 144 | alexey-milovidov | https://github.com/yandex/ClickHouse/commit/f373b500d4f83554af9b85503f674b4881cb58c9
| 2016-10-20T05:23:37 | 2016-10-20T05:23:37 | {
"+1": 1,
"heart": 1
} | MEMBER |
ClickHouse | ClickHouse | 256,496,711 | 151 | Civil | It's still very ugly and hackish, might have some bugs, failed tests, etc.
E.x. it's missing AIO support. Ulimits exception text is wrong on OS X, etc. But at least it's a start
| 2016-10-26T22:31:45 | 2016-10-26T22:31:45 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 258,472,783 | 131 | f1yegor | Fixed at 1.1.54030
| 2016-11-04T16:02:39 | 2016-11-04T16:02:39 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 260,241,618 | 164 | alexey-milovidov | Confirmed. Enums does not work correctly for index.
```
:) CREATE TABLE test.enum_index (d Date DEFAULT '2000-01-01', x Enum8('a' = 1, 'b' = 2)) ENGINE = MergeTree(d, x, 1)
CREATE TABLE test.enum_index
(
d Date DEFAULT '2000-01-01',
x Enum8('a' = 1, 'b' = 2)
) ENGINE = MergeTree(d, x, 1)
Ok.
0 rows in set.... | 2016-11-14T03:36:43 | 2016-11-14T03:36:43 | {} | MEMBER |
ClickHouse | ClickHouse | 262,639,680 | 197 | ludv1x | Да, там баг, который воспроизводится только на одноядерных машинах (или при использовании --max_threads=1) при селекте из пустой Log таблицы.
Исправление [однострочное](https://github.com/yandex/ClickHouse/pull/171/files#diff-85aff12c080bc4372b3f71e06d1a4482R694).
Поэтому так вышло, что оно уже едет с #171 | 2016-11-23T21:56:51 | 2016-11-23T21:59:05 | {
"+1": 1
} | CONTRIBUTOR |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.