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 | 264,279,057 | 221 | code-of-kpp | With Circle CI you can build in docker.
https://circleci.com/docs/docker/ | 2016-12-01T20:04:02 | 2016-12-01T20:04:02 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 264,591,466 | 214 | artpaul | Fixed in https://github.com/yandex/ClickHouse/commit/db294aab1afcc3a8f405f165cbb45d1821a7bdd1 | 2016-12-02T23:35:15 | 2016-12-02T23:35:15 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 266,785,572 | 248 | hatarist | It's better (both performance- and memory-wise) to store things like IPv4/IPv6/UUID in the compact datatypes (like `UInt32` for the IPv4 address and `FixedString(16)` for both IPv6 and UUID).
For instance, we use UUIDs as primary keys for the sessions, visits and whatever else. I've got 2x lower RAM usage and 2x f... | 2016-12-13T16:25:13 | 2016-12-13T16:25:13 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 267,645,847 | 228 | elukey | Some info: I do use the `release` script but I removed the debuild part since I am using git-pbuilder (Debian sid and latest git stable tag). | 2016-12-16T17:18:46 | 2016-12-16T17:18:46 | {} | NONE |
ClickHouse | ClickHouse | 268,243,199 | 228 | elukey | I also checked the /etc files produced by the build and I have some suggestions:
1) etc/cron.d/clickhouse-server
```
#*/10 * * * * root /etc/init.d/clickhouse-server condstart 1>/dev/null 2>&1
```
This functionality should not be present since admins usually prefer to manage them in other ways (for example leavi... | 2016-12-20T13:30:23 | 2016-12-20T13:30:23 | {} | NONE |
ClickHouse | ClickHouse | 268,281,947 | 246 | navdeep710 | Any updates on this issue , i am facing this issue when i pulled the repo today , previous week pull was working fine. | 2016-12-20T16:04:01 | 2016-12-20T16:04:01 | {} | NONE |
ClickHouse | ClickHouse | 264,294,308 | 221 | alexey-milovidov | It must be released to our production clusters. | 2016-12-01T21:04:05 | 2016-12-01T21:04:05 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 264,421,877 | 220 | AMDmi3 | Ну я лично увидел что зависимости бандлятся и сразу расхотелось трогать проект. ~~Если это не принципиально, и изменения где их использование будет убрано под опцию (а в идеале они вообще будут выкинуты из репозитория) будут приняты, то могу попробовать поковырять. Сразу вопрос, оно под FreeBSD имеет шанс собраться, ил... | 2016-12-02T10:23:19 | 2016-12-02T10:37:03 | {
"laugh": 5
} | NONE |
ClickHouse | ClickHouse | 264,930,462 | 227 | alexey-milovidov | Everything is fine, thanks! | 2016-12-05T18:11:36 | 2016-12-05T18:11:36 | {} | MEMBER |
ClickHouse | ClickHouse | 266,365,210 | 239 | alexey-milovidov | Also need to test performance in case when most of input strings are empty or short.
(Typical case: LinkURL field in test.visits; or result of extractURLParameter with rare parameter.)
Things could depend on inlining of your functions (your functions are not inlined). | 2016-12-12T08:02:11 | 2016-12-12T08:02:11 | {} | MEMBER |
ClickHouse | ClickHouse | 267,728,037 | 264 | alexey-milovidov | This commit https://github.com/yandex/ClickHouse/commit/927721baee09d603ad3085937adb2308b5c8a7fe shows that you had not even tried to run tests! | 2016-12-17T00:26:48 | 2016-12-17T00:26:48 | {} | MEMBER |
ClickHouse | ClickHouse | 267,758,856 | 265 | hatarist | Shouldn't you start it with the `-i` and `-t` flags to be able to control the container's terminal?
```
-i : Keep STDIN open even if not attached
-t : Allocate a pseudo-tty
```
> If you use `-t` and `-i` then `Control-C` will terminate the container.
> When using `-i` with `-t` then y... | 2016-12-17T11:56:36 | 2016-12-17T12:46:59 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 268,480,529 | 228 | elukey | > How we could make better packages, but leave this cron job as default or as a fallback solution?
I would personally leave the choice to the end user/admin. For example, systemd might be used to restart the service on failure or maybe an admin might not want to remember about the 10 minutes cron during maintenance ... | 2016-12-21T09:49:02 | 2016-12-21T09:49:02 | {} | NONE |
ClickHouse | ClickHouse | 264,427,889 | 220 | stalkerg | > Сразу вопрос, оно под FreeBSD имеет шанс собраться, или там что-то Linux-специфичное используется?
Я думаю это было бы совсем плохо если ClickHouse нельзя было бы собрать под FreeBSD. Под MacOSX вроде работает так что должно.
Правда сейчас без хаков CMake файлов ничего не собралось у меня
PS и ещё пришлось my... | 2016-12-02T10:53:49 | 2016-12-02T10:53:49 | {} | NONE |
ClickHouse | ClickHouse | 265,426,764 | 228 | elukey | I also noticed one thing using Lintian:
```
E: clickhouse source: license-problem-json-evil contrib/libpoco/doc/Acknowledgements.html
E: clickhouse source: license-problem-json-evil contrib/libpoco/doc/90100-Acknowledgements.page
E: clickhouse source: license-problem-json-evil contrib/libpoco/JSON/include/Poco/JS... | 2016-12-07T11:43:50 | 2016-12-07T11:43:50 | {} | NONE |
ClickHouse | ClickHouse | 266,355,445 | 241 | alexey-milovidov | Ok. The only problem is that function is using its own name in exception messages. | 2016-12-12T06:50:12 | 2016-12-12T06:50:12 | {} | MEMBER |
ClickHouse | ClickHouse | 266,450,830 | 120 | alexey-milovidov | > By the way - just wondering - are we historically keeping NumToString/StringToNum naming convention?
> There is, indeed, IPv4StringToNum, which fits an integer, but IPv6 and UUID are stored in FixedString(16).
Yes. Now we are using "Num" only for consistency with other functions. "Binary" will suite better than "... | 2016-12-12T14:54:40 | 2016-12-12T14:54:40 | {
"+1": 2
} | MEMBER |
ClickHouse | ClickHouse | 267,951,320 | 270 | ludv1x | Let denote "stable release" is when stable branch is build and published to ClickHouse deb repository (so you can update it via `apt-get`)
As I know, the contents of https://clickhouse.yandex/ is updated with respect to the contents of `doc/` directory on each "stable release".
It is worth noting that appearing o... | 2016-12-19T12:19:16 | 2016-12-19T12:20:59 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 269,026,564 | 220 | alexey-milovidov | > Сразу вопрос, оно под FreeBSD имеет шанс собраться, или там что-то Linux-специфичное используется?
Коллега на днях собрал под FreeBSD 11. https://github.com/yandex/ClickHouse/pull/286
Как раз вспоминал, кто просил об этой возможности. | 2016-12-23T18:10:45 | 2016-12-23T18:10:54 | {} | MEMBER |
ClickHouse | ClickHouse | 264,286,208 | 221 | alexey-milovidov | I have just created v1.1.54093-testing:
https://github.com/yandex/ClickHouse/releases/tag/v1.1.54093-testing
which is as stable as the latest stable tag. | 2016-12-01T20:31:29 | 2016-12-01T20:31:29 | {} | MEMBER |
ClickHouse | ClickHouse | 264,411,542 | 223 | Civil | Just a note - there are several non-yandex graphite proxies available:
https://github.com/lomik/carbon-clickhouse (writer, though you might want to use a 'custom-receiver' branch for performance)
https://github.com/lomik/graphite-clickhouse (reader part)
I also have my own stuff https://github.com/Civil/g2c (also ... | 2016-12-02T09:32:16 | 2016-12-02T09:33:12 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 266,856,300 | 228 | alexey-milovidov | > If you could remove it and release a stable version it would be massive!
Already removed. We have new stable version today, I just published it.
> For some reason I didn't see the stable branch, my bad :)
We have added stable and testing branched just few days ago.
> I followed up with your suggestions an... | 2016-12-13T20:44:19 | 2016-12-13T20:44:19 | {} | MEMBER |
ClickHouse | ClickHouse | 267,955,561 | 270 | alexey-milovidov | In fact, stable tag is created (and stable branch is updated) at publishing of packages.
Publishing of packages is ordered manually and usually done after release was deployed in production on our clusters. | 2016-12-19T12:43:25 | 2016-12-19T12:43:25 | {} | MEMBER |
ClickHouse | ClickHouse | 269,033,442 | 199 | artpaul | We have optimized execution of DISTINCT in https://github.com/yandex/ClickHouse/commit/d1383c5f62d8251d8e01c8a106847b6dfea317a0 . On our closed test-set we gained execution time closed to GROUP BY and even faster. But in some cases DISTINCT is still slower than GROUP BY. We will investigate and optimize it. | 2016-12-23T19:12:49 | 2016-12-24T10:03:44 | {
"+1": 4
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 264,279,669 | 221 | ludv1x | We considered different variants of CI build system to make results of per-commits builds and tests publicly available.
Circle CI and similar CI systems (CI as a service) have serious limitations.
For example, Circle CI allows to use only strictly pre-defined VM configurations, so we even cannot use gcc 5 to compile.... | 2016-12-01T20:06:20 | 2016-12-01T20:06:20 | {
"hooray": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 264,416,400 | 220 | stalkerg | Спасибо за конструктивный ответ.
1. В Yandex есть люди которые хорошо знают CMake к примеру @AMDmi3 ;)
2. Очень важный вопрос: какой был смысл стараться использовать только статические версии библиотек? Что бы как то вам помочь надо понять что вами двигало и как это лучше реализовать. | 2016-12-02T09:56:11 | 2016-12-02T09:56:11 | {} | NONE |
ClickHouse | ClickHouse | 265,270,948 | 222 | alexey-milovidov | It is not easy to apply derivative to array. We need to implement a function special for that purpose. | 2016-12-06T21:01:43 | 2016-12-06T21:01:43 | {} | MEMBER |
ClickHouse | ClickHouse | 265,944,093 | 232 | hatarist | I also tried to build it with the manually compiled libiconv-1.14 using the ca7d0a474 commit.
I had errors like that:
```
[ 81%] Linking CXX executable date_lut2
Undefined symbols for architecture x86_64:
"_iconv", referenced from:
_g_iconv in libglib-2.0.a(libglib_2_0_la-gconvert.o)
_g_convert_wit... | 2016-12-09T06:32:27 | 2016-12-09T06:33:15 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 266,496,014 | 242 | alexey-milovidov | Thanks for the report!
As a temporary workaround, try to set TZ to name, that server will recognize. For example, try "UTC+10" instead of "+10". For that, you may add line `TZ="UTC+10"` in /etc/init.d/clickhouse-server
| 2016-12-12T17:33:12 | 2016-12-12T17:33:12 | {} | MEMBER |
ClickHouse | ClickHouse | 267,314,676 | 239 | artpaul | Extra allocations inside loop was removed. | 2016-12-15T12:19:34 | 2016-12-15T12:19:34 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 267,409,834 | 228 | alexey-milovidov | We should use find_*.cmake scripts for `libanl` library, that is linked inside Poco. | 2016-12-15T18:54:48 | 2016-12-15T18:54:48 | {} | MEMBER |
ClickHouse | ClickHouse | 267,810,951 | 271 | alexey-milovidov | Ok, thanks! | 2016-12-18T09:12:52 | 2016-12-18T09:12:52 | {} | MEMBER |
ClickHouse | ClickHouse | 264,284,311 | 221 | code-of-kpp | While it is not possible to install gcc5 in Circle CI with free plan (with paid access you can ask their tech support to install everything you want), you are allowed to run `docker build` inside CircleCI instance.
Having that you can create builder image with newest GCC and other dependencies and than run `docker run... | 2016-12-01T20:24:16 | 2016-12-01T20:24:16 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 265,300,745 | 230 | alexey-milovidov | We have "query log".
To enable query log, set `log_queries` to 1.
To enable for all users, write `<log_queries>1</log_queries>` in /users/default element in `users.xml` file.
Query log is located in `system.query_log` table.
Each query is logged up to two times, on following events:
- begin of query execution ... | 2016-12-06T22:58:59 | 2016-12-06T22:59:46 | {
"+1": 11
} | MEMBER |
ClickHouse | ClickHouse | 265,608,048 | 230 | alexey-milovidov | That's fine. | 2016-12-07T23:34:36 | 2016-12-07T23:34:36 | {} | MEMBER |
ClickHouse | ClickHouse | 265,615,817 | 228 | alexey-milovidov | 1. In fact we don't use Poco/JSON, so I could just remove it from sources.
2. About stable tag. Latest stable tag is the right one.
Later we will also add two branches for convenience: stable and testing, so you could just checkout stable branch.
3. About linking with readline. Maybe your system is trying to lin... | 2016-12-08T00:19:19 | 2016-12-08T00:19:19 | {} | MEMBER |
ClickHouse | ClickHouse | 265,800,242 | 234 | Abzac | It is seems to be this is the same issue https://github.com/yandex/ClickHouse/issues/193 | 2016-12-08T17:26:00 | 2016-12-08T17:26:00 | {} | NONE |
ClickHouse | ClickHouse | 266,591,654 | 242 | Nopius | Thank you for reply and your suggestion. We try to keep the same timezone on all servers. Our full timezone name is not changed with new tzdata, it is still 'Asia/Vladivostok', what really changed is an alias (was VLAT became +10). So I prefer to keep timezone the same. I downgraded tzdata to version 2016a instead and... | 2016-12-12T23:53:14 | 2016-12-12T23:53:14 | {} | NONE |
ClickHouse | ClickHouse | 266,838,451 | 248 | bookin | Thanks for your time, help, and comments.
I did not know about uniqExact() (i forget about it), i added uniqExact() and GROUP BY instead of DISTINCT to requires.
About event_date in the primary key, i will test it later, thanks.
| 2016-12-13T19:34:48 | 2016-12-13T19:34:48 | {} | NONE |
ClickHouse | ClickHouse | 267,802,151 | 271 | alexey-milovidov | We have this option from the beginning: https://github.com/yandex/ClickHouse/commit/d605bfdc9daf388be29940710d057d7c359bd56f
Doesn't it work, and if not, do you know why? | 2016-12-18T04:03:09 | 2016-12-18T04:03:24 | {} | MEMBER |
ClickHouse | ClickHouse | 268,286,072 | 246 | alexey-milovidov | Please check the result of query:
```
SELECT * FROM system.settings WHERE name = 'max_threads'
```
The query should not return 0. If it returns 0, it indicates a bug.
Does the issue get fixed, if you specify setting max_threads manually, like
```
SET max_threads = 16
```
or in parameter of URL?
(recommende... | 2016-12-20T16:18:49 | 2016-12-20T16:18:49 | {} | MEMBER |
ClickHouse | ClickHouse | 268,304,885 | 246 | navdeep710 | thanks Alexey for such quick response , issue got resolved with setting max_threads .
| 2016-12-20T17:29:38 | 2016-12-20T17:29:38 | {} | NONE |
ClickHouse | ClickHouse | 264,551,121 | 222 | alexey-milovidov | We have "secret" solution for that purpose: `runningDifference` function.
`runningDifference(x)` - returns 0 in first row and difference with previous row for each next row.
This function is "secret", because it works only inside each processed block of data, and split of data by blocks is not explicitly controlled... | 2016-12-02T20:12:25 | 2016-12-02T20:12:25 | {
"+1": 2
} | MEMBER |
ClickHouse | ClickHouse | 265,253,050 | 228 | alexey-milovidov | This is reasonable.
But if user has compiled some dependencies from sources and have installed to `/usr/local` without using debian packages (example: gcc-6), then build will refuse to work.
Is it worth to specify build dependencies, considering that use case? | 2016-12-06T19:47:25 | 2016-12-06T19:47:25 | {} | MEMBER |
ClickHouse | ClickHouse | 265,981,271 | 233 | ludv1x | Updated | 2016-12-09T10:24:16 | 2016-12-09T10:24:16 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 266,789,832 | 248 | hatarist | Then, here comes the fun part.
(I decided to change the count() queries to count just the filtered rows)
```
SELECT count() FROM user_visit_ip_num WHERE event_date BETWEEN toDate('2016-10-13') AND toDate('2016-12-12');
SELECT count() FROM user_visit_ip_num WHERE event_date BETWEEN toDate('2016-10-13') AND toDate(... | 2016-12-13T16:39:15 | 2016-12-13T17:02:23 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 266,976,436 | 242 | goranc | We should be able to set timezone for database independent of server timezone settings.
This workaround with TZ setting in init.d should be implemented and supported, or available as setting in config.xml for database configuration. | 2016-12-14T08:45:23 | 2016-12-14T08:45:23 | {} | NONE |
ClickHouse | ClickHouse | 268,606,487 | 283 | f1yegor | sounds good | 2016-12-21T18:45:35 | 2016-12-21T18:45:35 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 265,418,333 | 228 | elukey | Hi Alexey,
thanks for the response! I got your point and I agree that this could impact other use cases different than mine, maybe it could be enough to mention it in build.md for people trying to build the deb package by themselves?
The other thing that I would add (for newbies like me) is a suggestion about wh... | 2016-12-07T10:59:35 | 2016-12-07T11:11:34 | {} | NONE |
ClickHouse | ClickHouse | 266,398,746 | 120 | hatarist | Functions `UUIDNumToString()` and `UUIDStringToNum()` were implemented in d77b4f12f and 31dbff77c by @alexey-milovidov. (#METR-23792)
Thanks a lot!
I also referenced these functions in the documentation. Pull request's on its way.
By the way - just wondering - are we historically keeping `NumToString`/`StringT... | 2016-12-12T10:54:01 | 2016-12-12T10:54:56 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 266,731,913 | 246 | valetanddama | Вывел 1 | 2016-12-13T12:58:07 | 2016-12-13T12:58:07 | {} | NONE |
ClickHouse | ClickHouse | 266,763,703 | 246 | alexey-milovidov | А что выводит
```
SELECT * FROM system.settings WHERE name = 'max_threads'
```
? | 2016-12-13T15:12:00 | 2016-12-13T15:12:00 | {} | MEMBER |
ClickHouse | ClickHouse | 266,799,435 | 248 | alexey-milovidov | Also two notes:
1. DISTINCT is slower than GROUP BY.
You could write:
`SELECT user_ip FROM user_visit_ip_num WHERE event_date between toDate('2016-10-13') AND toDate('2016-12-12') GROUP BY user_ip`
instead of
`SELECT distinct(user_ip) FROM user_visit_ip_num WHERE event_date between toDate('2016-10-13') AND toDate(... | 2016-12-13T17:11:24 | 2016-12-13T17:11:24 | {} | MEMBER |
ClickHouse | ClickHouse | 267,108,020 | 228 | elukey | > Already removed. We have new stable version today, I just published it.
Tested it, lintian does not complain anymore, nice!
> We have added CMake option USE_STATIC_LIBRARIES that may be turned off.
I used it (USE_STATIC_LIBRARIES=0) for v1.1.54112-stable and it removes all the linking issues except the follo... | 2016-12-14T18:05:43 | 2016-12-14T18:05:43 | {} | NONE |
ClickHouse | ClickHouse | 267,573,628 | 228 | elukey | Still very far from being able to build correctly on Debian:
```
ldd ./usr/bin/clickhouse-server
./usr/bin/clickhouse-server: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.23' not found (required by ./usr/bin/clickhouse-server)
linux-vdso.so.1 (0x00007ffc69583000)
libreadline.so.7 => not found
libtinfo.s... | 2016-12-16T11:21:25 | 2016-12-16T11:22:15 | {} | NONE |
ClickHouse | ClickHouse | 267,782,075 | 265 | miolini | Sorry. My fault. | 2016-12-17T19:28:25 | 2016-12-17T19:28:25 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 267,802,194 | 271 | alexey-milovidov | Ok, I understand, that it is because it is used in headers.
Please, also remove this option inside contrib/libboost/CMakeLists.txt to avoid duplication. | 2016-12-18T04:04:46 | 2016-12-18T04:04:46 | {} | MEMBER |
ClickHouse | ClickHouse | 268,110,831 | 270 | alexey-milovidov | I want single version of docs published: for single landing page.
(There are difficulties if many version of docs are available, especially for search traffic. Examples: MySQL, boost.) | 2016-12-19T23:38:07 | 2016-12-19T23:38:07 | {} | MEMBER |
ClickHouse | ClickHouse | 268,216,350 | 46 | zhxiaogg | +1 We need DETACH PARTs so we can purge data in a daily manner. | 2016-12-20T11:05:53 | 2016-12-20T11:05:53 | {} | NONE |
ClickHouse | ClickHouse | 264,441,574 | 220 | stalkerg | > Вообще не, мне это не интересно.
Я привёл тебя в пример только в том смысле, что всегда можно проконсультироваться у коллег. :) | 2016-12-02T12:15:02 | 2016-12-02T12:15:02 | {} | NONE |
ClickHouse | ClickHouse | 265,408,317 | 219 | artpaul | I'll take it. | 2016-12-07T10:13:34 | 2016-12-07T10:13:34 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 265,660,992 | 226 | alexey-milovidov | ```
if (NOT ENABLE_CXX11_ABI)
set (CXX11_ABI "-D_GLIBCXX_USE_CXX11_ABI=0")
endif ()
```
Totally incorrect.
We need to have three options:
1. use compiler/library default
2. -D_GLIBCXX_USE_CXX11_ABI=0
3. -D_GLIBCXX_USE_CXX11_ABI=1
| 2016-12-08T06:06:39 | 2016-12-08T06:06:39 | {} | MEMBER |
ClickHouse | ClickHouse | 267,952,677 | 270 | hatarist | > As I know, on each "stable release" contents of https://clickhouse.yandex/ is updated with respect to contents of doc/ directory of stable branch.
Hm, but there is no any mention of UUIDNumToString/UUIDStringToNum in https://github.com/yandex/ClickHouse/blob/stable/doc/reference_ru.html at the moment, but there is... | 2016-12-19T12:27:31 | 2016-12-19T12:27:31 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 268,378,998 | 280 | aSealBack | @alexey-milovidov Посмотри, пожалуйста | 2016-12-20T22:34:20 | 2016-12-20T22:34:20 | {} | NONE |
ClickHouse | ClickHouse | 268,599,959 | 282 | alexey-milovidov | Ok. Don't mind.
Anyway, there is difficult to read code. | 2016-12-21T18:20:36 | 2016-12-21T18:20:36 | {} | MEMBER |
ClickHouse | ClickHouse | 268,601,123 | 283 | alexey-milovidov | Will do. There is a task on `ludv1x`.
It will look like
```
KILL QUERY WHERE query_id = '...'
```
In WHERE you could specify any expression on columns of `system.processes`. | 2016-12-21T18:25:27 | 2016-12-21T18:25:39 | {
"heart": 1
} | MEMBER |
ClickHouse | ClickHouse | 269,026,343 | 221 | alexey-milovidov | We have several new stable releases since then.
Including release 1.1.54127 today. | 2016-12-23T18:08:43 | 2016-12-23T18:08:43 | {} | MEMBER |
ClickHouse | ClickHouse | 264,290,121 | 221 | code-of-kpp | What is the criteria for a tag to be "-stable"? | 2016-12-01T20:47:51 | 2016-12-01T20:47:51 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 265,640,702 | 226 | alexey-milovidov | ```
${OPENSSL_CRYPTO_LIBRARY}
${Boost_SYSTEM_LIBRARY}
${LINK_MONGOCLIENT}
${Boost_REGEX_LIBRARY}
```
Why so idiosyncratic? | 2016-12-08T03:03:13 | 2016-12-08T03:03:22 | {} | MEMBER |
ClickHouse | ClickHouse | 266,404,319 | 228 | elukey | Thanks a lot, sorry for the delay :)
1. If you could remove it and release a stable version it would be massive!
2. For some reason I didn't see the stable branch, my bad :)
3. I followed up with your suggestions and I was able to build the stable 54083 version changing the following:
```
diff --git a/CMakeLi... | 2016-12-12T11:22:31 | 2016-12-12T11:26:14 | {} | NONE |
ClickHouse | ClickHouse | 266,869,583 | 245 | alexey-milovidov | Thanks for the report!
We need to be able to reproduce it.
First, try to reproduce on your own data.
If you will successfully reproduce, then you could send me some (possibly anonymized) subset of test data.
Also, if you will have reproducible test case, you could run it on clickhouse-server version, compiled w... | 2016-12-13T21:37:18 | 2016-12-13T21:37:18 | {} | MEMBER |
ClickHouse | ClickHouse | 266,871,565 | 245 | alexey-milovidov | > Then after ~1-2 seconds I terminated it using a request like http://127.0.0.1:8123/?replace_running_query=1&query_id=old_query_id&query=SELECT+1.
Then, after about 15 minutes, a segfault occured:
Do I understand correctly, that query is continued to run for 15 minutes after you try to replace it, and then segfaul... | 2016-12-13T21:45:00 | 2016-12-13T21:45:00 | {} | MEMBER |
ClickHouse | ClickHouse | 267,763,631 | 268 | alexey-milovidov | Great, thanks! | 2016-12-17T13:45:57 | 2016-12-17T13:45:57 | {} | MEMBER |
ClickHouse | ClickHouse | 268,305,872 | 246 | navdeep710 | response of SELECT * FROM system.settings WHERE name = 'max_threads' is indeed 1 , but issue was not present in version 1.1.54083 but is present in 1.1.54112 | 2016-12-20T17:33:13 | 2016-12-20T17:33:13 | {} | NONE |
ClickHouse | ClickHouse | 264,616,133 | 222 | code-of-kpp | Thank you for sharing this secret!
Can I apply it to an Array somehow?
I have a simple table `(ip, time)`. I want to find `ip`'s doing requests too fast/too often.
I.e. I want something like `SELECT max(derivative(groupArray(time))) as max_freq GROUP BY ip ORDER BY max_freq` | 2016-12-03T04:36:21 | 2016-12-03T04:36:21 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 264,868,308 | 226 | alexey-milovidov | > ENABLE_CXX11_ABI, true by default;
We have a bug, see METR-23466.
Need to fix the bug or set default to false. | 2016-12-05T14:31:57 | 2016-12-05T14:31:57 | {} | MEMBER |
ClickHouse | ClickHouse | 267,038,950 | 250 | alexey-milovidov | That's fine! | 2016-12-14T13:53:43 | 2016-12-14T13:53:43 | {} | MEMBER |
ClickHouse | ClickHouse | 267,396,720 | 258 | alexey-milovidov | This is non-trivial issue. Scalar subqueries are processed and substituted outside of query plan.
We have plans to resolve this in Q1-Q2. | 2016-12-15T17:59:59 | 2016-12-15T17:59:59 | {} | MEMBER |
ClickHouse | ClickHouse | 264,277,705 | 221 | alexey-milovidov | We have investigated possibility of using Travis CI and Circle CI.
For Travis CI, maximum build time in free version is not enough.
For Circle CI, there is no root access to install custom packages.
We already have our internal CI, and our QA engineers could enable check for all targets. | 2016-12-01T19:59:08 | 2016-12-01T19:59:08 | {} | MEMBER |
ClickHouse | ClickHouse | 264,521,185 | 220 | AMDmi3 | Навскидку:
- Не должно быть никаких изменений ```CMAKE_INSTALL_PREFIX```, ```CMAKE_BUILD_TYPE```
- Никаких захардкоженных системных путей (```/usr/local```, ```/usr/lib/x86_64-linux-gnu/glib-2.0/include/``` и прочего)
- Изменения ```*_FLAGS``` только добавением (```set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ...```)
- Зави... | 2016-12-02T18:08:00 | 2016-12-02T18:08:49 | {
"+1": 2
} | NONE |
ClickHouse | ClickHouse | 265,021,983 | 199 | alexey-milovidov | Implementation of DISTINCT is somewhat distinct than GROUP BY.
1. For GROUP BY, we implemented many specializations for different combinations of types of columns to GROUP BY, but for DISTINCT, only generic implementation is used. This is fixable.
2. Query with DISTINCT could return result as soon as next block o... | 2016-12-06T00:21:09 | 2016-12-06T00:21:09 | {} | MEMBER |
ClickHouse | ClickHouse | 266,108,796 | 237 | alexey-milovidov | Ok, thank you! | 2016-12-09T20:00:15 | 2016-12-09T20:00:15 | {} | MEMBER |
ClickHouse | ClickHouse | 266,874,148 | 245 | hatarist | > First, try to reproduce on your own data.
> If you will successfully reproduce, then you could send me some (possibly anonymized) subset of test data.
Thank you! I tried several times, but wasn't able to reproduce it locally. I will try again though, on the original server and/or with the original data.
> Do I... | 2016-12-13T21:54:50 | 2016-12-13T21:54:50 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 267,766,304 | 266 | miolini | PR merged. Issue closed.
https://github.com/yandex/ClickHouse/pull/268 | 2016-12-17T14:42:06 | 2016-12-17T14:42:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 267,837,357 | 267 | artpaul | Fixed. | 2016-12-18T18:25:10 | 2016-12-18T18:25:10 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 268,398,264 | 280 | alexey-milovidov | Style and small cleanups:
https://github.com/yandex/ClickHouse/commit/02af261c07c8475cde92adeb86f654faeebbd6d5 | 2016-12-21T00:19:13 | 2016-12-21T00:19:13 | {} | MEMBER |
ClickHouse | ClickHouse | 266,002,753 | 232 | hatarist | BTW, I was able to successfully compile it using `USE_STATIC_LIBRARIES=0 cmake ..` but, obviously, it crashes on start after doing `brew uninstall libiconv`. But it is able to actually find libiconv that way. | 2016-12-09T12:28:47 | 2016-12-09T12:28:47 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 266,515,325 | 246 | alexey-milovidov | Попробуйте выполнить на этом сервере:
```
g++ -xc++ -std=c++11 - <<< '#include <thread>'$'\n''int main() { return std::thread::hardware_concurrency(); }' && ./a.out; echo $?
```
И посмотреть, что будет. | 2016-12-12T18:45:14 | 2016-12-12T18:45:20 | {} | MEMBER |
ClickHouse | ClickHouse | 268,740,646 | 283 | hatarist | I also have this in [clickhouse-cli](https://github.com/hatarist/clickhouse-cli) | 2016-12-22T07:56:40 | 2016-12-22T07:56:40 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 266,749,237 | 247 | hatarist | BTW, here's my snippet of a (not that well working 😀) CIDRtoRange function:
```
SELECT network, min_, max_ FROM (
SELECT
arrayJoin([
'42.61.141.0/24',
'10.1.1.16/29',
'192.168.0.0/23',
'8.8.8.8/24',
'127.0.0.... | 2016-12-13T14:17:10 | 2016-12-13T14:17:10 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 268,070,883 | 270 | ludv1x | @alexey-milovidov If per-commits builds will be introduced, we can add an artefact which will publish docs/ in master branch to https://clickhouse.yandex/master/ | 2016-12-19T20:34:23 | 2016-12-19T20:34:23 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 264,591,139 | 225 | alexey-milovidov | Thanks! | 2016-12-02T23:33:32 | 2016-12-02T23:33:32 | {} | MEMBER |
ClickHouse | ClickHouse | 267,022,443 | 245 | hatarist | I wasn't able to reproduce it locally with the data from the remote server :(
It occurred once again on the remote server, but then I've had some data inserted to that table and now the bug has disappeared.
But I managed to learn some new things:
```
:) SELECT * FROM click WHERE date = yesterday();
^C
Qu... | 2016-12-14T12:31:59 | 2016-12-14T12:31:59 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 267,353,673 | 228 | elukey | I was able to figure out the issue, I was missing `DAEMONS=clickhouse-server` before the git-buildpackage command. Without it, several files under debian/tmp/etc were not created triggering the build.
So the only outstanding issue is the remaining linking problem reported above! | 2016-12-15T15:20:54 | 2016-12-15T15:20:54 | {} | NONE |
ClickHouse | ClickHouse | 265,453,693 | 230 | f1yegor | By trial and error I think the right config should be
users.xml
```
<?xml version="1.0"?>
<yandex>
<profiles>
<default>
<log_queries>1</log_queries>
</default>
</profiles>
<users>
<default>
<profile>default</profile>
</de... | 2016-12-07T13:59:48 | 2016-12-07T14:00:57 | {
"+1": 6
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 266,348,351 | 240 | alexey-milovidov | All fine. | 2016-12-12T05:47:55 | 2016-12-12T05:47:55 | {} | MEMBER |
ClickHouse | ClickHouse | 266,381,236 | 243 | alexey-milovidov | Fine, thanks! | 2016-12-12T09:30:05 | 2016-12-12T09:30:05 | {} | MEMBER |
ClickHouse | ClickHouse | 266,979,569 | 252 | hatarist | Seems that it was merged a few days ago. https://github.com/yandex/ClickHouse/pull/70
```
$ ./build/dbms/src/Server/clickhouse --client
ClickHouse client version 1.1.54112.
Connecting to localhost:9000.
Connected to ClickHouse server version 1.1.54112.
:) select NULL;
SELECT NULL
┌─NULL─┐
│ \N │
└──... | 2016-12-14T09:00:31 | 2016-12-14T09:02:07 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 268,238,874 | 274 | alexey-milovidov | All fine. | 2016-12-20T13:07:47 | 2016-12-20T13:07:47 | {} | MEMBER |
ClickHouse | ClickHouse | 268,338,639 | 228 | alexey-milovidov | About cron and init script.
> admins usually prefer to manage them in other ways
We still must have some reasonable default.
How we could make better packages, but leave this cron job as default or as a fallback solution? | 2016-12-20T19:42:29 | 2016-12-20T19:42:43 | {} | MEMBER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.