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 | 241,854,555 | 81 | alexey-milovidov | Верю.
Вы правы: производительность может проседать из-за логгирования.
| 2016-08-23T19:49:28 | 2016-08-23T19:49:28 | {} | MEMBER |
ClickHouse | ClickHouse | 241,996,087 | 79 | trivita | ehh, yeah, but not seem to work with TabSeparatedWithNames
`Column 10, name: IsStored, type: UInt8, ERROR: text "<TAB><TAB>2<TAB>2<TAB><TAB><TAB><TAB><TAB>" is not like UInt8
`
| 2016-08-24T08:41:01 | 2016-08-24T08:42:24 | {} | NONE |
ClickHouse | ClickHouse | 243,559,714 | 96 | yurial | В StorageMergeTree теоретически можно было вставить код между созданием экземпляра класса и созданием std::shared_ptr<IStorage>. Если бы он вызывал исключение - мы бы получили утечку памяти, если вставить создание std::shared_ptr( res ) - получили бы double free после res->thisPtr(). Сейчас же создание класса и создани... | 2016-08-30T19:57:48 | 2016-08-30T19:57:48 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 244,262,127 | 97 | alexey-milovidov | For JOINs, only "subquery JOIN subquery" is well supported, as in examples in documentation.
For other cases, work in progress.
| 2016-09-02T01:46:15 | 2016-09-02T01:46:15 | {} | MEMBER |
ClickHouse | ClickHouse | 247,614,905 | 113 | PKartaviy | @aprudaev
| 2016-09-16T14:28:32 | 2016-09-16T14:28:32 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 248,188,443 | 114 | zhouhong | I Found "IDataTypeNumber.h" had wrote like this :
template <> inline void IDataTypeNumber<UInt64>::serializeTextJSON(const IColumn & column, size_t row_num, WriteBuffer & ostr) const
{
writeChar('"', ostr);
serializeText(column, row_num, ostr);
writeChar('"', ostr);
}
I guess that's the reason. And they w... | 2016-09-20T02:57:29 | 2016-09-20T02:57:29 | {} | NONE |
ClickHouse | ClickHouse | 248,752,719 | 114 | tobia | > Maybe better to add setting, which will allow to write UInt64 without quotes?
I think that would be very appropriate.
| 2016-09-21T21:46:44 | 2016-09-21T21:46:44 | {} | NONE |
ClickHouse | ClickHouse | 252,535,758 | 129 | vikaasbv | Thanks for the hint. I am using --multiquery option when I connect using the client. When I do not use the option, the client does not exit. However, I could not find any specific documentation about this behaviour
| 2016-10-10T04:15:14 | 2016-10-10T09:23:46 | {} | NONE |
ClickHouse | ClickHouse | 253,612,389 | 134 | Blasterdick | @alexey-milovidov Nice to hear, mate. Is there any ETA on its implementation, or may be an approximate date when this feature would be included in the release? Or I'm asking for too much?)
| 2016-10-13T19:22:30 | 2016-10-13T19:22:30 | {} | NONE |
ClickHouse | ClickHouse | 253,956,654 | 129 | vikaasbv | I believe that is really helpful - having to keep reconnecting on every failure was a bit painful, especially when connected to a remote system over a slow connection.
Just a thought on this behaviour. Would it have been better to allow the user 3 modes (say exit, break and continue). The default in interactive mode ... | 2016-10-15T02:16:44 | 2016-10-15T02:16:44 | {} | NONE |
ClickHouse | ClickHouse | 242,018,606 | 84 | excitoon | Ok.
| 2016-08-24T10:19:35 | 2016-08-24T10:19:35 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 246,961,520 | 110 | goranc | Thanks for your answer.
What I did was:
- increased memory to 8GB (it was on VM)
- upgraded gcc form 5.4.0 to 5.4.1 (without success to compile)
- upgraded gcc to 6.2.0 (successfully compiled and built deb packages)
| 2016-09-14T09:48:03 | 2016-09-14T09:52:57 | {} | NONE |
ClickHouse | ClickHouse | 247,423,987 | 111 | andrea-s | Hi Alexey, thanks for your answer!
I think this is a very common use case for analytics purposes, as it happens that often one would like to pivot through dimensions with vastly different cardinalities (e.g. get the top 10 pages for all countries - the result set here is roughly 3000 entries, whereas the total number ... | 2016-09-15T19:14:18 | 2016-09-15T19:18:13 | {} | NONE |
ClickHouse | ClickHouse | 253,949,737 | 129 | alexey-milovidov | It is intended for non-interactive mode.
I think, that in interactive mode, even with multiquery option, client should not exit.
| 2016-10-15T00:30:32 | 2016-10-15T00:30:32 | {} | MEMBER |
ClickHouse | ClickHouse | 254,006,989 | 132 | alexey-milovidov | What if file is written non-atomically and in moment of reload, server observe a file with incorrect XML?
When will be next reload after exception?
BTW, we already have this problem with dictionaries: if file is modified not with atomic rename, there are rare race conditions, when dictionaries are not updated.
| 2016-10-15T19:50:25 | 2016-10-15T19:50:25 | {} | MEMBER |
ClickHouse | ClickHouse | 253,956,199 | 135 | vikaasbv | Thanks for the detailed explanation. I have verified the settings and the behaviour with uniqCombined seems to be less accurate (more deviation from the exact result) in my use case. I suppose it may be due to the nature of the approximation techniques.
```
:) SET count_distinct_implementation = 'uniq';
SET count_di... | 2016-10-15T02:08:25 | 2016-10-18T20:15:08 | {} | NONE |
ClickHouse | ClickHouse | 241,831,466 | 81 | wavedocs | @alexey-milovidov не могу с Вами согласиться.
Буквально на днях заливали данные в базу на скорости 15К RPS, сегодня уровень логирования выставили в warning и выжали больше 80К RPS
| 2016-08-23T18:36:16 | 2016-08-23T18:36:16 | {} | NONE |
ClickHouse | ClickHouse | 241,853,353 | 81 | alexey-milovidov | Думаю, всё зависит от размера этого batch-а. Если поставите побольше - будет лучше.
| 2016-08-23T19:45:12 | 2016-08-23T19:45:12 | {} | MEMBER |
ClickHouse | ClickHouse | 241,870,902 | 83 | isublimity | > для чего может понадобиться запрос OPTIONS, нужна ли его реализация для нас?
OPTIONS нужен если используется метод отличный от GET и POST/HEAD, т/к в Clickhouse нет необходимости в этих методах, то поддержку OPTIONS можно опустить.
Не думаю что появится необходимость в методах PUT/DELETE напрямую из браузера.
> н... | 2016-08-23T20:39:09 | 2016-08-23T20:39:09 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 242,420,882 | 87 | kpp | @alexey-milovidov какой ты шустрый, однако
| 2016-08-25T15:04:01 | 2016-08-25T15:04:01 | {} | NONE |
ClickHouse | ClickHouse | 242,421,625 | 87 | alexey-milovidov | Не заметил твои комментарии.
| 2016-08-25T15:06:19 | 2016-08-25T15:06:19 | {} | MEMBER |
ClickHouse | ClickHouse | 244,948,569 | 107 | alexey-milovidov | Maybe it is an issue of Python client. Python clients are unofficial, we have not evaluated them.
By the way, there are few different Python clients.
Is problem persists, when you insert data with `clickhouse-client` from command line, as in tutorial?
| 2016-09-06T13:24:29 | 2016-09-06T13:24:29 | {} | MEMBER |
ClickHouse | ClickHouse | 246,601,553 | 111 | andrea-s | Following up with an example - with this query I get what I want:
```
SELECT
page,
arrayMap(lambda(tuple(i), countries[(i + 1)]), range(5)) AS countries,
arrayMap(lambda(tuple(i), countryImpressions[(i + 1)]), range(5)) AS countryImpressions,
totalImpressions
FROM
(
SELECT
page,
gro... | 2016-09-13T07:43:31 | 2016-09-13T07:47:13 | {} | NONE |
ClickHouse | ClickHouse | 253,046,759 | 133 | alexey-milovidov | Missing option `-sS` for curl (silent mode, but print errors).
Without that option, test fails with diagnostic:
```
Error Message
having stderror
Standard Error
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Spe... | 2016-10-11T21:08:23 | 2016-10-11T21:08:23 | {} | MEMBER |
ClickHouse | ClickHouse | 254,020,733 | 43 | alexey-milovidov | This was temporarily broken build of tests.
Do `git pull` on master. Or on `v1.1.54024-testing`.
| 2016-10-16T01:05:15 | 2016-10-16T01:05:15 | {} | MEMBER |
ClickHouse | ClickHouse | 246,956,896 | 110 | digitalist | thanks, I'll check this later today
| 2016-09-14T09:28:56 | 2016-09-14T09:28:56 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 250,262,951 | 121 | alexey-milovidov | PS. Missing shebang in test. Missing newline at end of file.
| 2016-09-28T18:50:17 | 2016-09-28T18:50:17 | {} | MEMBER |
ClickHouse | ClickHouse | 252,500,235 | 129 | alexey-milovidov | Could you please provide more details?
In interactive mode, client should not exit on error in query;
but in batch mode with `multiquery` option, client should exit (stop processing the script) on first error.
| 2016-10-09T17:34:52 | 2016-10-09T17:34:52 | {} | MEMBER |
ClickHouse | ClickHouse | 254,010,611 | 43 | code-of-kpp | New problem (54023-stable):
```
[ 89%] Building CXX object dbms/src/DataStreams/tests/CMakeFiles/json_streams.dir/json_streams.cpp.o
cd /tmp/build/dbms/src/DataStreams/tests && /usr/bin/g++ -I/tmp/src/github.com/yandex/ClickHouse/contrib/libcityhash/include -I/tmp/src/github.com/yandex/ClickHouse/contrib/liblz4/inc... | 2016-10-15T20:56:35 | 2016-10-15T21:09:45 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 242,504,661 | 93 | alexey-milovidov | Кроме отсутствующих пробелов ничего не нашёл.
```
loaded_ids(initial_array_size,false)
const String& string
const T& value
loaded_ids[id]? attr[id] : get_default(row))
```
https://github.com/yandex/ClickHouse/blob/master/doc/style_ru.md
1.22.
И ещё неплохо написать комментарий перед loaded_ids.
(В коде Андрея мало к... | 2016-08-25T19:12:48 | 2016-08-25T19:12:48 | {} | MEMBER |
ClickHouse | ClickHouse | 243,523,605 | 99 | alexey-milovidov | Почти всё Ок.
`grep "< Access-Control-Allow-Origin: *"`
Здесь неверно, надо:
`grep "< Access-Control-Allow-Origin: \*"`
И ещё можно добавить перевод строки в конце файла, чтобы его отсутствие не подсвечивал git.
| 2016-08-30T17:53:40 | 2016-08-30T17:53:40 | {} | MEMBER |
ClickHouse | ClickHouse | 246,462,879 | 110 | digitalist | I should try release branch though, so close this issue, if you found the bug
| 2016-09-12T19:27:55 | 2016-09-12T19:27:55 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 253,607,427 | 134 | alexey-milovidov | It is possible to add this feature.
Possible implementation:
Add `syncAfterError` method for input formats (`IRowInputStream`).
For example, for CSV, it will skip to next line.
And then add wrapper method, that will call `read` and `syncAfterError`.
| 2016-10-13T19:02:49 | 2016-10-13T19:02:49 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 253,903,034 | 135 | alexey-milovidov | Documentation on differenct `uniq`\* functions is here:
https://clickhouse.yandex/reference_en.html#uniq(x)
`COUNT(DISTINCT)` and `count_distinct_implementation` setting was added recently and are not documented. But behaviour is straighforward: COUNT(DISTINCT) acts as corresponding `count_distinct_implementation`.
A... | 2016-10-14T19:50:43 | 2016-10-14T19:50:43 | {} | MEMBER |
ClickHouse | ClickHouse | 254,159,890 | 132 | ludv1x | To update config on next reload, file's modification time observed at previous iteration should differs from currently observed modification time.
So, config will be reloaded if OS sets file's modification time after all data modifications.
Otherwise, described case can occur.
To avoid this, we need to save modificati... | 2016-10-17T09:36:59 | 2016-10-17T10:27:38 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 254,572,742 | 143 | velom | @alexey-milovidov
| 2016-10-18T17:03:21 | 2016-10-18T17:03:21 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 241,842,126 | 81 | wavedocs | Данные загружаем в виде sql batch insert. Тип MergeTree(Distributed-таблицу). Данные по дате уже структурированы.
| 2016-08-23T19:04:48 | 2016-08-23T19:04:48 | {} | NONE |
ClickHouse | ClickHouse | 242,165,255 | 79 | alexey-milovidov | Could you please provide complete example, because trivial examples working:
`CREATE TABLE test.tsv (a String, b UInt64, c Int64, d String) ENGINE = Log`
```
$ echo -e '\t\t\t' | clickhouse-client --query="INSERT INTO test.tsv FORMAT TabSeparated"
$ echo -ne 'a\tb\tc\td\n\t\t\t\n' | clickhouse-client --query="INSERT ... | 2016-08-24T18:33:25 | 2016-08-24T18:33:25 | {} | MEMBER |
ClickHouse | ClickHouse | 245,149,623 | 107 | alexey-milovidov | Ok. I suggest you to create an issue in infi.clickhouse_orm repository.
| 2016-09-07T01:39:04 | 2016-09-07T01:39:04 | {} | MEMBER |
ClickHouse | ClickHouse | 254,311,213 | 132 | alexey-milovidov | > So, config will be reloaded if OS sets file's modification time after all data modifications.
I am not sure about it.
> To avoid this, we need to save modification time if and only if XML was loaded successfully.
Also it is possible to reset modification time to zero on exception (means - retry next time).
> But ... | 2016-10-17T19:40:20 | 2016-10-17T19:40:20 | {} | MEMBER |
ClickHouse | ClickHouse | 241,839,379 | 81 | alexey-milovidov | Возможно, причина в том, что данные загружались слишком маленькими пачками.
https://clickhouse.yandex/reference_ru.html#%D0%9F%D1%80%D0%BE%D0%B8%D0%B7%D0%B2%D0%BE%D0%B4%D0%B8%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D0%BE%D1%81%D1%82%D1%8C%20%D0%BF%D1%80%D0%B8%20%D0%B2%D1%81%D1%82%D0%B0%D0%B2%D0%BA%D0%B5%20%D0%B4%D0%B0%D0%BD%D0%B... | 2016-08-23T18:55:55 | 2016-08-23T18:55:55 | {} | MEMBER |
ClickHouse | ClickHouse | 243,588,520 | 99 | alexey-milovidov | Ok.
| 2016-08-30T21:33:51 | 2016-08-30T21:33:51 | {} | MEMBER |
ClickHouse | ClickHouse | 246,816,195 | 102 | alexey-milovidov | Thanks. Fixed.
| 2016-09-13T20:39:08 | 2016-09-13T20:39:08 | {} | MEMBER |
ClickHouse | ClickHouse | 246,818,732 | 109 | alexey-milovidov | Thank you for suggestion!
By the way, there is already a way to specify it explicitly:
`arrayExists(x -> x IN (3, 4, 5), [1, 2, 3])`
and
`arrayAll(x -> x IN (3, 4, 5), [1, 2, 3])`
Implementation of ANY IN, ALL IN operators is possible, but I doubt, do we really need to extend syntax for this special case.
| 2016-09-13T20:47:31 | 2016-09-13T20:47:31 | {} | MEMBER |
ClickHouse | ClickHouse | 249,505,041 | 118 | alexey-milovidov | In Pretty formats, to render a table, we need to know maximum widths of columns.
To calculate them, we must buffer data for that table.
But we don't want to buffer all data, for two reasons:
1. We don't want to consume too much memory.
(Really not a reason because there is limit for 10 000 rows in Pretty formats)
2.... | 2016-09-26T08:06:47 | 2016-09-26T08:06:47 | {
"+1": 2
} | MEMBER |
ClickHouse | ClickHouse | 254,044,117 | 43 | code-of-kpp | I track *-stable tags
On Oct 16, 2016 04:05, "alexey-milovidov" notifications@github.com wrote:
> This was temporarily broken build of tests.
> Do git pull on master. Or on v1.1.54024-testing.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> https://... | 2016-10-16T12:28:18 | 2016-10-16T12:28:18 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 254,626,184 | 135 | alexey-milovidov | uniqCombined should be more accurate in most cases, but in some cases it could be less.
| 2016-10-18T20:16:20 | 2016-10-18T20:16:20 | {} | MEMBER |
ClickHouse | ClickHouse | 242,808,048 | 86 | alexey-milovidov | Default values are evaluated only for columns, that are not listed in INSERT query.
For example, if you type
`INSERT INTO xdr_tst (start_date,end_date,date)`
and send CSV/TSV without column `answered` (without whole column, not with column of empty values), then default values will be evaluated.
Evaluation of default... | 2016-08-26T18:04:45 | 2016-08-26T18:04:45 | {} | MEMBER |
ClickHouse | ClickHouse | 243,523,848 | 99 | alexey-milovidov | Или, лучше, `grep -F`.
| 2016-08-30T17:54:31 | 2016-08-30T17:54:31 | {} | MEMBER |
ClickHouse | ClickHouse | 250,573,867 | 123 | alexey-milovidov | Thanks!
| 2016-09-29T19:57:11 | 2016-09-29T19:57:11 | {} | MEMBER |
ClickHouse | ClickHouse | 254,056,024 | 43 | alexey-milovidov | I hope, it will be stable tomorrow.
| 2016-10-16T16:11:14 | 2016-10-16T16:11:14 | {} | MEMBER |
ClickHouse | ClickHouse | 241,852,855 | 83 | alexey-milovidov | Спасибо!
Можете на всякий случай проконсультировать по следующим вопросам:
- для чего может понадобиться запрос OPTIONS, нужна ли его реализация для нас?
- насколько нормально, что выдача заголовка может быть включена не только в конфиге, но и путём отправки параметра URL клиентом? Не портит ли это смысл задумки CORS?... | 2016-08-23T19:43:24 | 2016-08-23T19:43:24 | {} | MEMBER |
ClickHouse | ClickHouse | 241,872,770 | 83 | alexey-milovidov | Ok. Нормальное решение.
Действительно, ставить clickhouse-server принимать соединения из внешней сети напрямую неразумно. А для внутренней сети всё Ок.
К тому же, если его всё-таки открывают наружу, то только с включенной настройкой readonly, что не позволит включить CORS, если он выключен в конфиге.
| 2016-08-23T20:45:47 | 2016-08-23T20:45:47 | {} | MEMBER |
ClickHouse | ClickHouse | 244,733,622 | 105 | ludv1x | @alexey-milovidov Updated
| 2016-09-05T12:18:30 | 2016-09-05T12:18:30 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 244,939,276 | 107 | alexey-milovidov | How exactly (in what format, to what kind of table) do you insert your data?
By the way, when using `Values` format, there is slow path, when data contains expressions (example: `now()` for DateTime field) or requires type conversion (example: `'123'` in quotes for integer field). So, you should specify data in explic... | 2016-09-06T12:48:11 | 2016-09-06T12:48:11 | {} | MEMBER |
ClickHouse | ClickHouse | 246,686,513 | 106 | ludv1x | @alexey-milovidov Updated
| 2016-09-13T13:47:39 | 2016-09-13T13:47:39 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 249,263,729 | 117 | alexey-milovidov | > Hey, Happy Birthday to your company
Thanks for greetings!
> I understand that it's not a big deal, and I guess I can send a pull request later that reflects these issues in the documentation. Just wanted to let you know.
Better to fix these issues (It is not very hard).
Approved.
| 2016-09-23T18:11:32 | 2016-09-23T18:11:32 | {} | MEMBER |
ClickHouse | ClickHouse | 252,500,776 | 127 | alexey-milovidov | Confirmed. We have an issue with VIEWS and UNION ALL.
PS. Sorry for the delay, I was on conference trip this week.
| 2016-10-09T17:44:16 | 2016-10-09T17:44:16 | {} | MEMBER |
ClickHouse | ClickHouse | 253,950,410 | 129 | alexey-milovidov | Like this:
```
:) SELECT 1; SELECT a; SELECT 2;
SELECT 1
┌─1─┐
│ 1 │
└───┘
1 rows in set. Elapsed: 0.002 sec.
SELECT a
Received exception from server:
Code: 47. DB::Exception: Received from localhost:9000, 127.0.0.1. DB::Exception: Unknown identifier: a.
0 rows in set. Elapsed: 0.026 sec.
:)
```
| 2016-10-15T00:38:05 | 2016-10-15T00:38:05 | {} | MEMBER |
ClickHouse | ClickHouse | 242,187,174 | 83 | alexey-milovidov | Помержил. Остальное можно сделать следующими PR.
Если будет время, добавьте простенький тест.
См. директорию dbms/tests/queries/0_stateless/
Там будет достаточно добавить .sh и .reference файлы по аналогии с другими.
| 2016-08-24T19:52:19 | 2016-08-24T19:52:19 | {} | MEMBER |
ClickHouse | ClickHouse | 243,560,630 | 96 | alexey-milovidov | Понятно.
Про аллокатор можно не беспокоиться, так как не используем.
| 2016-08-30T20:00:58 | 2016-08-30T20:00:58 | {} | MEMBER |
ClickHouse | ClickHouse | 243,578,664 | 56 | isublimity | i think is close issue, in https://github.com/yandex/ClickHouse/pull/83
| 2016-08-30T20:58:20 | 2016-08-30T20:58:20 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 244,261,639 | 98 | alexey-milovidov | It because source code contains tcmalloc library, that was pre-configured (by running configure script) for specific system, where signatures of malloc hooks may differ than corresponding signatures on your system.
There are few different ways to avoid this problem:
1. Edit `contrib/libtcmalloc/src/config.h` file, lin... | 2016-09-02T01:42:38 | 2016-09-02T01:42:58 | {} | MEMBER |
ClickHouse | ClickHouse | 253,617,548 | 134 | alexey-milovidov | No ETA, it is not included in our plans right now.
BTW, if you are C++ developer or you have your collegues, who know C++, I may write more verbose task description.
| 2016-10-13T19:42:09 | 2016-10-13T19:42:09 | {} | MEMBER |
ClickHouse | ClickHouse | 253,950,354 | 129 | alexey-milovidov | I will implement the following behavior in interactive multiquery mode:
client will break processing list of queries at first error, but will not exit.
| 2016-10-15T00:37:29 | 2016-10-15T00:37:29 | {} | MEMBER |
ClickHouse | ClickHouse | 243,533,627 | 96 | alexey-milovidov | В остальном всё понятно. Жаль, что нет очевидных преимуществ: количество строк выросло, а сложность кода примерно такая же или чуть выше, чем была. Впрочем, всё Ок.
| 2016-08-30T18:25:38 | 2016-08-30T18:25:38 | {} | MEMBER |
ClickHouse | ClickHouse | 248,264,282 | 114 | tobia | Just to be obvious, Uint32 holds values from 0 to ~ 4 billions, while UInt64 goes from 0 to ~ 18 billion billions.
A JavaScript number is a double precision float, so it can store numbers from 0 to 2<sup>53</sup> (~ 9 million billions) with exact precision, and subsequent numbers up to the UInt64 range (and beyond) wi... | 2016-09-20T10:34:01 | 2016-09-21T21:49:07 | {} | NONE |
ClickHouse | ClickHouse | 250,407,070 | 107 | ishirav | Hi, infi.clickhouse_orm v0.7.1 includes several performance improvements that reduce the time it takes to insert large amounts of data. @fengyuncrawl - I would appreciate it if you could try it and report back whether it's working faster than before.
| 2016-09-29T08:46:07 | 2016-09-29T08:46:07 | {} | NONE |
ClickHouse | ClickHouse | 250,465,263 | 116 | ludv1x | Ok
| 2016-09-29T13:26:37 | 2016-09-29T13:26:37 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 252,931,215 | 124 | thias | Just a side note : If `GLIBC_COMPATIBILITY` is changed to be the default, I hope it can still be disabled, since it makes the build fail for me on RHEL7 with glibc 2.17 and gcc 6.2.1 (it builds fine without) :
```
[mockbuild@r2d2 build]$ make
[ 0%] Built target cityhash
[ 1%] Built target lz4
[ 2%] Built target do... | 2016-10-11T14:22:03 | 2016-10-11T14:22:03 | {} | NONE |
ClickHouse | ClickHouse | 253,027,529 | 133 | alexey-milovidov | All ok, but `getPort`, `getIPAddress` methods in Context are not enough descriptive, easily to be confused with port, that server is listening. Fix is not necessary right now, because later we will add more client properties (example: initial user name, initial IP address during distributed query execution; unix userna... | 2016-10-11T19:58:14 | 2016-10-11T19:58:14 | {} | MEMBER |
ClickHouse | ClickHouse | 254,002,428 | 111 | alikrubin | Hi Alexey,
LIMIT N BY expr(COL) sounds great.
Do you plan to implement window functions as well?
Some examples also "DISTRIBUTE BY" in Hadoop/Hive and "RANK OVER ... PARTITION BY" in SQL Server.
| 2016-10-15T18:30:57 | 2016-10-15T18:30:57 | {} | NONE |
ClickHouse | ClickHouse | 241,835,178 | 79 | alexey-milovidov | > thanks, you mean the git version?
For numeric types and String, empty is parsed as zero/empty string (this behaviour was from the beginning).
Example:
```
:) CREATE TABLE test.csv (a String, b UInt64, c Int64, d String) ENGINE = Log
...
$ echo ',,,' | clickhouse-client --query="INSERT INTO test.csv FORMAT CSV"
.... | 2016-08-23T18:45:08 | 2016-08-23T18:45:08 | {} | MEMBER |
ClickHouse | ClickHouse | 243,577,652 | 99 | isublimity | done ;)
Да, согласен grep -F -> is try
| 2016-08-30T20:55:02 | 2016-08-30T20:56:24 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 244,942,843 | 107 | fengyuncrawl | create table(id Int64,name String,open_time Date)MergeTree('open_time', ('id','name'))
when I use python client insert list to DB (for example: db.insert([p1,p2,p3...]))
| 2016-09-06T13:02:36 | 2016-09-06T13:02:36 | {} | NONE |
ClickHouse | ClickHouse | 247,396,471 | 112 | alexey-milovidov | For MongoDB, source is specified in following way:
```
<source>
<mongodb>
<host>localhost</host>
<port>27017</port>
<user></user>
<password></password>
<db>test</db>
<collection>dictionary_source</collection>
</mongodb>
</source>
```
And all other parameters as ... | 2016-09-15T17:33:41 | 2016-09-15T17:33:41 | {} | MEMBER |
ClickHouse | ClickHouse | 251,463,427 | 114 | ludv1x | PR #126 adds new option that switches "quoted" and unquoted formats of *Int64 numbers.
| 2016-10-04T17:56:21 | 2016-10-04T17:56:21 | {
"+1": 2
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 253,016,662 | 131 | alexey-milovidov | Yes, I will add creation of directories for default database at startup.
| 2016-10-11T19:17:45 | 2016-10-11T19:17:45 | {} | MEMBER |
ClickHouse | ClickHouse | 253,056,943 | 124 | alexey-milovidov | Thanks, I will remove SQLite from build. It is not used, and it is just an optional part of Poco/Data library.
(Probably it could be used as source for external dictionaries, if we will have request for it.)
| 2016-10-11T21:48:32 | 2016-10-11T21:48:32 | {} | MEMBER |
ClickHouse | ClickHouse | 245,015,814 | 107 | fengyuncrawl | I think so, the Python client lib is https://github.com/Infinidat/infi.clickhouse_orm ,so when I change to use clickhouse-client ,its so quickly! Thank for your answer.
| 2016-09-06T16:55:06 | 2016-09-06T16:55:06 | {} | NONE |
ClickHouse | ClickHouse | 246,652,328 | 110 | goranc | I also have problem with build on Ubuntu 16.04
[ 93%] Building CXX object dbms/CMakeFiles/dbms.dir/src/Functions/FunctionsArray.cpp.o
g++-5: internal compiler error: Killed (program cc1plus)
dbms/CMakeFiles/dbms.dir/build.make:6182: recipe for target 'dbms/CMakeFiles/dbms.dir/src/Functions/FunctionsArithmetic.cpp.o' fa... | 2016-09-13T11:27:28 | 2016-09-13T11:31:45 | {} | NONE |
ClickHouse | ClickHouse | 247,660,429 | 112 | alexey-milovidov | I am not much familiar with MongoDB.
As I see in our tested use case, we are using some other attribute (not `_id`) for dictionary key.
I am not sure, how `_id` will be returned and used by dictionaries. Maybe using `_id` is not suitable.
| 2016-09-16T17:34:01 | 2016-09-16T17:34:01 | {} | MEMBER |
ClickHouse | ClickHouse | 253,903,213 | 135 | alexey-milovidov | Comments in code will be eventually translated to english.
| 2016-10-14T19:51:28 | 2016-10-14T19:51:28 | {} | MEMBER |
ClickHouse | ClickHouse | 254,504,268 | 142 | meagon | i use version 1.1.54023, the master version fixed this issue!
| 2016-10-18T13:17:00 | 2016-10-18T13:17:00 | {} | NONE |
ClickHouse | ClickHouse | 241,854,062 | 81 | wavedocs | Возможно, но производительность проседала именно из-за логирования, т.к. кроме метода логирования, ничего не менялось.
| 2016-08-23T19:47:40 | 2016-08-23T19:47:40 | {} | NONE |
ClickHouse | ClickHouse | 242,158,780 | 84 | alexey-milovidov | Ok.
| 2016-08-24T18:12:53 | 2016-08-24T18:12:53 | {} | MEMBER |
ClickHouse | ClickHouse | 242,811,217 | 86 | alexey-milovidov | For TabSeparated, CSV, assumed semantic is not clear (in contrast to JSONEachRow format).
Unspecified numeric, Date, DateTime, Array field is easily distinguished,
but unspecified String field can not be distinguished from empty string.
Implementation only for all types except String is too hacky, and it's not approp... | 2016-08-26T18:17:02 | 2016-08-26T18:17:02 | {} | MEMBER |
ClickHouse | ClickHouse | 243,589,187 | 56 | alexey-milovidov | Yes.
Release build with this feature is not ready. Maybe on thursday or after 12 sept.
| 2016-08-30T21:36:23 | 2016-08-30T21:36:23 | {} | MEMBER |
ClickHouse | ClickHouse | 246,821,140 | 110 | alexey-milovidov | It is two different issues.
1. > g++-5: internal compiler error: Killed (program cc1plus)
It means that child program was killed. Usually it is caused by OOM Killer due to not enough memory in the system. See `dmesg` or `/var/log/kern.log`.
To fix this problem:
- lower number of build threads: for exam... | 2016-09-13T20:55:40 | 2016-09-13T20:56:54 | {} | MEMBER |
ClickHouse | ClickHouse | 247,541,551 | 112 | umaxfun | Thanks, Alexey! And what's the correct query to get names? My MongoDb collection `items` contains this kind of documents:
```
{
_id: ObjectId("507f1f77bcf86cd799439011"),
name: "Ohai",
DisplayName: "There!" // may be absent or not
}
```
Should it look like this?
`select id, DictGetStringOrDefault("items", "DisplayNa... | 2016-09-16T08:01:24 | 2016-09-16T08:01:24 | {} | NONE |
ClickHouse | ClickHouse | 252,541,582 | 61 | jijiuzhou | how to installed ClickHouse on Centos7?
| 2016-10-10T05:53:59 | 2016-10-10T05:53:59 | {} | NONE |
ClickHouse | ClickHouse | 253,950,624 | 129 | alexey-milovidov | https://github.com/yandex/ClickHouse/commit/b1f551d5bab27439e504d3258879ad43d87cf6c4
| 2016-10-15T00:40:31 | 2016-10-15T00:40:31 | {} | MEMBER |
ClickHouse | ClickHouse | 243,078,732 | 86 | kancom | ok, thanks for the answer.
if you have by chance approx terms for NULLs or missing defaults evaluations I'd highly appreciate.
we're using -1 as NULL for unsigned types...
| 2016-08-29T09:35:09 | 2016-08-29T09:35:09 | {} | NONE |
ClickHouse | ClickHouse | 247,399,200 | 111 | alexey-milovidov | Hello.
> Any ideas?
We had an idea to implement non-standard `LIMIT BY` clause. So, you write something like `LIMIT 5 BY Country`. It will be like extended version of DISTINCT.
Of course, it will be much more efficient and convenient than collecting all values into arrays.
If you appreciate this way to implement nee... | 2016-09-15T17:44:29 | 2016-09-15T17:44:29 | {} | MEMBER |
ClickHouse | ClickHouse | 248,190,752 | 114 | alexey-milovidov | > As far as I can tell, JSON does not put a limit on the size of a number, and most implementations use double precision floats, which are a superset of 53 bit integers (which should be enough for most needs, even if the field is 64 bit wide in CH.)
We need to make JSON format compatible with JavaScript.
JavaScript r... | 2016-09-20T03:18:10 | 2016-09-20T03:18:10 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 253,786,724 | 135 | vikaasbv | After searching through the net, I found the below link in the github test cases
https://github.com/yandex/ClickHouse/blob/master/dbms/tests/queries/0_stateless/00350_count_distinct.sql
The test case mentions several options for a setting called "count_distinct_implementation", one of which is "uniqExact". When this... | 2016-10-14T12:31:08 | 2016-10-14T16:46:26 | {
"+1": 1
} | NONE |
ClickHouse | ClickHouse | 248,741,398 | 114 | alexey-milovidov | I agree, but only partially.
UInt64 is frequently used for hash codes and identifiers. In that cases, loss of precision is inappropriate.
Maybe better to add setting, which will allow to write UInt64 without quotes?
| 2016-09-21T21:00:03 | 2016-09-21T21:00:03 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 250,266,852 | 116 | alexey-milovidov | Need to add test for array of numbers and array of strings types of arguments.
| 2016-09-28T19:03:28 | 2016-09-28T19:03:28 | {} | MEMBER |
ClickHouse | ClickHouse | 250,345,079 | 120 | alexey-milovidov | Yes, proposed `UUIDNumToString`, `UUIDStringToNum` functions would be much more convenient.
Implementation is simple.
| 2016-09-29T01:10:12 | 2016-09-29T01:10:12 | {} | MEMBER |
ClickHouse | ClickHouse | 252,500,603 | 124 | alexey-milovidov | Yes, we currently have no automatic builds on 16.10.
By the way, there are two possibilities for us:
- add 16.10 to auto-builds;
- to experiment further with `GLIBC_COMPATIBILITY` build option (it removed dependency of specific version of libc): maybe we should enable it by default.
And you could either:
- build on 1... | 2016-10-09T17:41:25 | 2016-10-09T17:41:25 | {} | MEMBER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.