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 | 231,252,157 | 45 | plutov | Thanks, I got it.
| 2016-07-08T01:17:35 | 2016-07-08T01:17:35 | {} | NONE |
ClickHouse | ClickHouse | 233,180,651 | 59 | Ngalstyan4 | You mentioned IS NULL, IS NOT NULL _are developed_
Is it available in a release?
| 2016-07-17T12:53:36 | 2016-07-17T12:53:36 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 236,347,557 | 63 | bseng | Client only option will be great! Thanks
| 2016-07-30T06:30:23 | 2016-07-30T06:30:23 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 236,774,235 | 63 | bseng | okay then the `INTO OUTFILE` before `FORMAT` will work as well.
| 2016-08-02T02:17:11 | 2016-08-02T02:17:11 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 238,780,884 | 68 | alexey-milovidov | It has no clear semantic.
DateTime is represented and stored in database as unix timestamp internally.
As you know, unix timestamp is time zone independent.
Time zone matters only when value of DateTime type is formatted as String (or parsed from String),
either when data is output with text format or when using toSt... | 2016-08-10T06:53:00 | 2016-08-10T06:54:57 | {} | MEMBER |
ClickHouse | ClickHouse | 241,517,322 | 79 | alexey-milovidov | It is already supported for numeric types and String. But not for Date, DateTime.
| 2016-08-22T19:08:23 | 2016-08-22T19:08:23 | {
"+1": 6
} | MEMBER |
ClickHouse | ClickHouse | 241,690,020 | 79 | trivita | > It is already supported for numeric types and String. But not for Date, DateTime.
thanks, you mean the git version?
i'm still getting this
'Column 10, name: IsStored, type: UInt8, ERROR: text "<TAB><TAB>2<TAB>2<TAB><TAB><TAB><TAB><TAB>" is not like UInt8'
imho, this shouldnt be a problem. IsStored shoul... | 2016-08-23T10:25:09 | 2016-08-23T17:22:20 | {} | NONE |
ClickHouse | ClickHouse | 231,549,766 | 43 | code-of-kpp | Build is successful. Had to add zookeeper c headers to the system.
| 2016-07-09T18:53:04 | 2016-07-09T18:53:04 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 232,191,959 | 50 | alexey-milovidov | > I've read that jdbc driver will be open source later
Right.
> when will it be ready
I expect it in this week or next.
> where will the code go
Here: https://github.com/yandex
In separate repository with name like 'clickhouse-jdbc'.
| 2016-07-12T21:47:25 | 2016-07-12T21:47:25 | {
"+1": 4
} | MEMBER |
ClickHouse | ClickHouse | 232,228,059 | 50 | bseng | Thanks.
| 2016-07-13T01:13:48 | 2016-07-13T01:13:48 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 235,375,717 | 60 | bamx23 | При запуске клиента надо указать хост:
```
docker run -it --rm --link ccs:clickhouse-server yandex/clickhouse-client --host clickhouse-server
```
В каком случае не возвращался tty?
| 2016-07-26T19:19:56 | 2016-07-26T19:19:56 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 236,002,259 | 61 | alexey-milovidov | I have not investigate this issue yet. Also I have not tried to build on CentOS.
But there is another possibility to install ClickHouse on CentOS:
1. Temporarily obtain a server, VM or container with Ubuntu Trusty.
2. Build ClickHouse on Ubuntu Trusty according to the instructions: https://github.com/yandex/ClickHouse/... | 2016-07-28T19:38:46 | 2016-07-28T19:38:46 | {} | MEMBER |
ClickHouse | ClickHouse | 237,778,867 | 67 | vladimir-vg | Okay, great)
| 2016-08-05T07:42:01 | 2016-08-05T07:42:01 | {} | NONE |
ClickHouse | ClickHouse | 238,266,615 | 41 | alexey-milovidov | You may add 'link_directories' entry into root CMakeLists.txt file.
| 2016-08-08T15:05:43 | 2016-08-08T15:05:43 | {} | MEMBER |
ClickHouse | ClickHouse | 238,772,980 | 68 | bseng | #69 I've added those to the english documentation.
| 2016-08-10T05:58:03 | 2016-08-10T05:58:03 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 239,518,382 | 71 | alexey-milovidov | Ok, thanks!
| 2016-08-12T18:05:45 | 2016-08-12T18:05:45 | {} | MEMBER |
ClickHouse | ClickHouse | 236,202,905 | 65 | alexey-milovidov | Ok, thanks.
| 2016-07-29T14:56:00 | 2016-07-29T14:56:00 | {} | MEMBER |
ClickHouse | ClickHouse | 236,413,114 | 64 | andrea-s | What about selecting all the data that we need in a new table, dropping the old one, and selecting it back? Would that be safe, Alexey?
| 2016-07-31T06:05:21 | 2016-07-31T06:05:21 | {} | NONE |
ClickHouse | ClickHouse | 238,772,431 | 68 | bseng | Thanks only if I know Russian
| 2016-08-10T05:53:34 | 2016-08-10T05:53:34 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 238,785,353 | 68 | alexey-milovidov | All functions like `toHour` allow to pass time zone as second argument:
`toHour(datetime, 'US/Samoa')`
| 2016-08-10T07:17:49 | 2016-08-10T07:17:49 | {} | MEMBER |
ClickHouse | ClickHouse | 239,581,413 | 72 | alexey-milovidov | Need functional test. See dbms/tests directory.
Test may use 'round' function.
| 2016-08-12T23:11:49 | 2016-08-12T23:11:49 | {} | MEMBER |
ClickHouse | ClickHouse | 230,892,343 | 43 | alexey-milovidov | > So I need to apply patch from fa5e66c to the latest stable tag obtained by grepping your debian HTTP resource? Ok
Yes, if you need small binaries compiled with Release type. Otherwise just compile stable tag with default RelWithDebInfo type.
| 2016-07-06T20:13:58 | 2016-07-06T20:13:58 | {} | MEMBER |
ClickHouse | ClickHouse | 232,394,866 | 52 | Ngalstyan4 | Done,
Couple of points.
1.) At least for me there is a lot of confusion about what is called "write" and what is "read". As these are used extensively in the documentation.
2) I could not understand this sentence so just omitted it in english reference.
_При чтении, в качестве дополнительного поля, может присутствова... | 2016-07-13T15:38:05 | 2016-07-13T15:38:05 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 232,542,548 | 55 | alexey-milovidov | Added to documentation: https://clickhouse.yandex/reference_en.html#Third-party%20client%20libraries
| 2016-07-14T02:45:13 | 2016-07-14T02:45:13 | {} | MEMBER |
ClickHouse | ClickHouse | 240,558,145 | 14 | alexey-milovidov | We have not implemented any secondary indices, because when size of dataset is significantly larger than size of RAM, main concern is to maintain data locality on disk. When data is stored in order of primary key, it's difficult to achieve locality on another key without duplicating data.
But when dataset fits in RAM,... | 2016-08-17T21:41:54 | 2016-08-17T21:41:54 | {
"+1": 4
} | MEMBER |
ClickHouse | ClickHouse | 232,210,725 | 52 | alexey-milovidov | 1. It is misunderstanding about who does read/write.
See comments here: https://github.com/yandex/ClickHouse/issues/44
Maybe better to replace 'for reads' to 'for INSERTs' and 'for writes' to 'for SELECTs'?
Or to write 'this format is not suitable for parsing'. Or 'this format is only presentational, not for p... | 2016-07-12T23:19:16 | 2016-07-12T23:19:16 | {} | MEMBER |
ClickHouse | ClickHouse | 233,180,469 | 59 | alexey-milovidov | The idea is interesting but there are reasons of not doing it in that form or to postpone implementation:
1. Support for NULLs, Nullable data types and real IS NULL, IS NOT NULL operators is developed right now.
2. Suggested 'default' function, if implemented, would be very unusual. It is not ordinary function, but som... | 2016-07-17T12:48:33 | 2016-07-17T12:48:33 | {} | MEMBER |
ClickHouse | ClickHouse | 236,520,879 | 60 | 127 | Спасибо, теперь работает!
| 2016-08-01T08:34:54 | 2016-08-01T08:34:54 | {} | NONE |
ClickHouse | ClickHouse | 239,919,594 | 72 | alexey-milovidov | By the way, is bounds checking really needed?
In formula, all arguments are passed to periodic functions, doesn't it overlap naturally?
| 2016-08-15T20:31:21 | 2016-08-15T20:31:21 | {} | MEMBER |
ClickHouse | ClickHouse | 240,692,645 | 14 | ei-grad | Just put all data which you need to access by different key to a separate table. Or set up a different PK on the origin column.
| 2016-08-18T11:06:56 | 2016-08-18T11:07:28 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 232,862,286 | 57 | shinguz | I had a similar question earlier about recommendations for storing currencies. The answer was multiply by 100 an store it in UInt32/64. So I assume it similar here: Use Epoch TS x 1000 and store it as UInt64.
| 2016-07-15T05:23:09 | 2016-07-15T05:23:09 | {} | NONE |
ClickHouse | ClickHouse | 235,998,463 | 63 | alexey-milovidov | Probably
`SELECT * FROM temp_table FORMAT CSV INTO OUTFILE '~/results.csv'`
(for those who familiar with MySQL)
It will be client only option; client will send query to server without this modifier, receive result and write to outfile. If server will receive query with INTO OUTFILE, that was sent directly, it will und... | 2016-07-28T19:23:45 | 2016-07-28T19:23:45 | {} | MEMBER |
ClickHouse | ClickHouse | 236,376,601 | 63 | alexey-milovidov | Maybe we need to place `INTO OUTFILE` before `FORMAT`.
`SELECT * FROM temp_table INTO OUTFILE '~/results.csv' FORMAT CSV`
Because maybe we later would like to add support for something like `FROM FILE` for `INSERT` query, and in `INSERT` query, everything after `FORMAT` section is parsed as data for insertion by separ... | 2016-07-30T17:03:19 | 2016-07-30T17:03:19 | {
"+1": 2
} | MEMBER |
ClickHouse | ClickHouse | 240,651,009 | 14 | fengyuncrawl | @alexey-milovidov So when I select other columns from table doesn't use the primary key,the speed is so slowly!
| 2016-08-18T07:57:18 | 2016-08-18T07:57:18 | {} | NONE |
ClickHouse | ClickHouse | 233,436,552 | 50 | alexey-milovidov | Published at https://github.com/yandex/clickhouse-jdbc
| 2016-07-18T19:43:58 | 2016-07-18T19:43:58 | {} | MEMBER |
ClickHouse | ClickHouse | 239,911,995 | 72 | alexey-milovidov | Performance is decent. Dispatching overhead and bounds checking is insignificant comparing to math functions. Used syntetic test with query:
```
SELECT count() FROM system.numbers WHERE NOT ignore(greatCircleDistance(toFloat64(number % 90) AS x, x, x, x))
```
and `perf`.
| 2016-08-15T20:02:24 | 2016-08-15T20:02:24 | {} | MEMBER |
ClickHouse | ClickHouse | 230,887,592 | 43 | code-of-kpp | So I need to apply patch from fa5e66c1fc7a982e1cfdc8ba7ce5a2ccc593e92b to
the latest stable tag obtained by grepping your debian HTTP resource? Ok
On Jul 6, 2016 10:49 PM, "alexey-milovidov" notifications@github.com
wrote:
> 1.
>
> Debian packages are smaller because they are compressed.
> 2.
>
> There w... | 2016-07-06T19:55:34 | 2016-07-06T19:55:34 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 231,459,796 | 48 | alexey-milovidov | Thank you for detailed test case!
Reproduced...
| 2016-07-08T20:09:06 | 2016-07-08T20:09:06 | {} | MEMBER |
ClickHouse | ClickHouse | 232,482,495 | 55 | anaderi | will give it a try, thanks!
was not very obvious where to look for the driver though ))
| 2016-07-13T20:50:39 | 2016-07-13T20:50:39 | {} | NONE |
ClickHouse | ClickHouse | 233,179,897 | 53 | alexey-milovidov | I investigated this bug recently.
On some virtual machines, ClickHouse think, that there are zero number of CPU cores.
More precisely, it is the behavior of 'cpuid' library (https://github.com/anrieff/libcpuid).
Reason could be a bug in cpuid library or incorrect result of virtualized 'cpuid' instruction.
I have alre... | 2016-07-17T12:32:30 | 2016-07-17T12:32:30 | {} | MEMBER |
ClickHouse | ClickHouse | 234,932,006 | 51 | rasmus93 | For now working with aggregate functions in sub-queries is uncomfortable(I would even say impossible).
Because for "count" we can do union with one, OK. But for example for "avg" union will be much more complicate and we can't easy do sub-queries with aggregate functions.
@alexey-milovidov Can you, please, tell when... | 2016-07-25T11:48:20 | 2016-07-25T11:48:20 | {} | NONE |
ClickHouse | ClickHouse | 235,131,268 | 53 | alexey-milovidov | In release.
| 2016-07-26T00:53:45 | 2016-07-26T00:53:45 | {} | MEMBER |
ClickHouse | ClickHouse | 236,472,137 | 63 | bseng | I don't think `INTO OUTFILE` before `FORMAT` is necessary as `INTO` is already a keyword in `INSERT` so you can't use it twice, moreover I can't think of a scenario where you insert data to a database and also output that to a file.
| 2016-08-01T01:45:49 | 2016-08-01T01:45:49 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 231,196,282 | 44 | alexey-milovidov | Example 1:
```
SELECT toFixedString('Hello', 10) AS s
┌─s───────────────┐
│ Hello\0\0\0\0\0 │
└─────────────────┘
```
As you see, to convert string `Hello` to FixedString(10), server pads string with zero bytes,
and when server writes (output) result to client, it writes all that zero bytes.
Example 2:
```
SELECT ... | 2016-07-07T20:24:22 | 2016-07-07T20:24:22 | {} | MEMBER |
ClickHouse | ClickHouse | 232,447,861 | 52 | alexey-milovidov | Ok, but I will edit documentation further, because now, read and write concepts are used controversially.
> 1.) At least for me there is a lot of confusion about what is called "write" and what is "read". As these are used extensively in the documentation.
The only vaild way is to make changes in whole documentation.... | 2016-07-13T18:38:50 | 2016-07-13T18:38:50 | {} | MEMBER |
ClickHouse | ClickHouse | 233,180,055 | 53 | alexey-milovidov | https://github.com/anrieff/libcpuid/issues/50
| 2016-07-17T12:36:37 | 2016-07-17T12:36:37 | {} | MEMBER |
ClickHouse | ClickHouse | 233,184,099 | 59 | alexey-milovidov | Are in development (in a branch).
| 2016-07-17T14:16:50 | 2016-07-17T14:16:50 | {} | MEMBER |
ClickHouse | ClickHouse | 233,441,324 | 58 | alexey-milovidov | Certainly.
| 2016-07-18T20:02:05 | 2016-07-18T20:02:05 | {} | MEMBER |
ClickHouse | ClickHouse | 236,650,588 | 63 | alexey-milovidov | I mean different thing.
If we have an option to run clickhouse-client interactively, and then save query result to file,
than, for symmetry,
we also would like to have an option to run clickhouse-client interactively, and then use a file to read as source of data for INSERT query.
| 2016-08-01T17:35:02 | 2016-08-01T17:35:02 | {} | MEMBER |
ClickHouse | ClickHouse | 238,465,606 | 61 | greenx | For linker needed static library //-Bstatic -lanl
In openSUSE you must install package glibc-devel-static
In CentOS you must install glibc-staitc
| 2016-08-09T06:32:16 | 2016-08-09T06:33:31 | {} | NONE |
ClickHouse | ClickHouse | 238,786,135 | 68 | bseng | ah sweet, too good!
| 2016-08-10T07:21:54 | 2016-08-10T07:21:54 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 239,834,587 | 74 | alexey-milovidov | ODBC driver is not ready for production usage.
You should build ODBC driver only if you are going to participate in development.
Quick description:
ODBC driver is completely isolated from the rest of code base. All its sources are located in dbms/src/ODBC directory and build separately. This is intended to minimize d... | 2016-08-15T15:34:12 | 2016-08-15T15:34:12 | {} | MEMBER |
ClickHouse | ClickHouse | 230,886,023 | 43 | alexey-milovidov | 1. Debian packages are smaller because they are compressed.
2. There was an error in master. Please do checkout of stable tag.
How to obtain, what version is stable?
Look at packages in repository: http://repo.yandex.ru/clickhouse/trusty/pool/main/c/clickhouse/
You see version 1.1.53988. It means, that stable ... | 2016-07-06T19:49:35 | 2016-07-06T19:49:35 | {} | MEMBER |
ClickHouse | ClickHouse | 238,507,075 | 14 | fengyuncrawl | ClickHouse dont use the full index,so this is point!
| 2016-08-09T09:52:57 | 2016-08-09T09:52:57 | {} | NONE |
ClickHouse | ClickHouse | 238,773,241 | 69 | alexey-milovidov | Thanks.
| 2016-08-10T06:00:04 | 2016-08-10T06:00:04 | {} | MEMBER |
ClickHouse | ClickHouse | 240,819,936 | 76 | alexey-milovidov | Согласен - не очевидно (что это скрипты из пакета libwww-perl)
Лучше будет заменить все примеры на curl.
| 2016-08-18T18:50:46 | 2016-08-18T18:50:46 | {
"+1": 6
} | MEMBER |
ClickHouse | ClickHouse | 231,318,195 | 44 | shinguz | Hello Alexey
Thank you for the detailed explanation. I think I understand the problem know.
You are developer and have a developer view: READ from client and WRITE to client.
I am a user and have a user view: READ = SELECT, WRITE = INSERT. Which is exactly the opposite.
The same thing from different view points. So... | 2016-07-08T09:39:00 | 2016-07-08T09:39:00 | {} | NONE |
ClickHouse | ClickHouse | 232,542,717 | 52 | alexey-milovidov | Updated documentation: https://github.com/yandex/ClickHouse/commit/fe0c6ed801b7fe6ac47af9576a2956f2983c367e
| 2016-07-14T02:46:27 | 2016-07-14T02:46:27 | {} | MEMBER |
ClickHouse | ClickHouse | 235,133,041 | 53 | buremba | Thanks!
| 2016-07-26T01:05:03 | 2016-07-26T01:05:03 | {} | NONE |
ClickHouse | ClickHouse | 237,716,111 | 67 | alexey-milovidov | Confirmed.
```
$ clickhouse-client --query="CREATE TABLE IF NOT EXISTS test.defaults (id UInt32, track UInt8, codec String, content String, rdate Date DEFAULT today(), track_id String DEFAULT concat(toString(track), '-', codec, content)) ENGINE=MergeTree(rdate, (id, track_id), 8192)" ... | 2016-08-04T23:27:52 | 2016-08-04T23:27:52 | {} | MEMBER |
ClickHouse | ClickHouse | 239,095,265 | 61 | tqlihuiqi | Thanks guys, I've already been installed ClickHouse on Centos7.
| 2016-08-11T07:54:25 | 2016-08-11T07:54:25 | {} | NONE |
ClickHouse | ClickHouse | 239,366,062 | 70 | alexey-milovidov | Заметил, что исправлены не все предыдущие замечания - значит пока нельзя мерджить.
| 2016-08-12T05:48:03 | 2016-08-12T06:45:25 | {} | MEMBER |
ClickHouse | ClickHouse | 239,916,772 | 72 | alexey-milovidov | Difference between new function and manually written formula in SQL:
```
:) SELECT count() FROM system.numbers WHERE NOT ignore(toFloat64(number % 90) AS x1, x1 - 1 AS y1, x1 - 2 AS x2, x1 - 3 AS y2, greatCircleDistance(x1, y1, x2, y2))
SELECT count()
FROM system.numbers
WHERE NOT ignore(toFloat64(number % 90) AS x1, ... | 2016-08-15T20:20:34 | 2016-08-15T20:20:34 | {} | MEMBER |
ClickHouse | ClickHouse | 231,507,515 | 48 | alexey-milovidov | Fix is in master.
| 2016-07-09T01:42:34 | 2016-07-09T01:42:34 | {} | MEMBER |
ClickHouse | ClickHouse | 231,551,925 | 43 | code-of-kpp | binaries
docker pull podshumok/clickhouse
| 2016-07-09T19:37:31 | 2016-07-09T19:37:31 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 234,955,834 | 51 | alexey-milovidov | I hope, it is about few weeks.
| 2016-07-25T13:40:45 | 2016-07-25T13:40:45 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 236,414,406 | 64 | alexey-milovidov | Yes, it is safe
(create a new table, do INSERT SELECT of all "right" data into it, and then do DROP, RENAME).
| 2016-07-31T06:42:12 | 2016-07-31T06:42:12 | {
"+1": 3
} | MEMBER |
ClickHouse | ClickHouse | 238,253,492 | 41 | mkevac | How can you specify dir where libicu is located? If it's not in system dir.
| 2016-08-08T14:23:50 | 2016-08-08T14:23:50 | {} | NONE |
ClickHouse | ClickHouse | 238,772,247 | 68 | alexey-milovidov | In fact, time zones are already supported.
(it is not covered in english version of documentation)
To do transformations on DateTime in given time zone, pass second argument with time zone name:
```
SELECT
toDateTime('2016-06-15 23:00:00') AS time,
toDate(time) AS date_local,
toDate(time, 'Asia/Yekaterinb... | 2016-08-10T05:52:02 | 2016-08-10T05:52:02 | {
"laugh": 3
} | MEMBER |
ClickHouse | ClickHouse | 240,554,909 | 14 | alexey-milovidov | As far as I know, Druid is intended to do aggregations of data by predefined schemas (multidimensional OLAP), while ClickHouse's sweet spot is to build reports directly from non-aggregated data (relational OLAP). That's why direct comparison is difficult.
Nevertheless, comparison is possible. Maybe you could store non... | 2016-08-17T21:29:42 | 2016-08-17T21:29:42 | {} | MEMBER |
ClickHouse | ClickHouse | 232,458,576 | 54 | alexey-milovidov | There are two possibilities:
- document that it is implementation specific behavior;
- throw an exception (and document this behavior).
I like second variant, but first is more free. Because it is sometimes usable, and also it could be correct (well specified) in subset of cases.
By the way, it is impossible to speci... | 2016-07-13T19:18:13 | 2016-07-13T19:18:21 | {} | MEMBER |
ClickHouse | ClickHouse | 233,250,850 | 58 | nolouch | your parser seem to support on,will you plan to support ‘on’?
| 2016-07-18T07:10:04 | 2016-07-18T07:12:34 | {} | NONE |
ClickHouse | ClickHouse | 235,131,519 | 20 | alexey-milovidov | Better check was added.
| 2016-07-26T00:55:18 | 2016-07-26T00:55:18 | {
"+1": 2
} | MEMBER |
ClickHouse | ClickHouse | 238,776,568 | 68 | bseng | Sorry can we add this function to toDateTime as well so we can do
`toDateTime(datetime, 'US/Samoa')`
rather than
`toDateTime(toString(datetime, 'US/Samoa'))`
| 2016-08-10T06:25:39 | 2016-08-10T06:25:39 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 239,673,017 | 56 | isublimity | +1 vote
| 2016-08-14T13:17:30 | 2016-08-14T13:17:30 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 239,893,950 | 73 | alexey-milovidov | Added your examples.
https://github.com/yandex/ClickHouse/commit/9b07e449146f4492b84f7106818c877c9c4b6adc
| 2016-08-15T18:56:20 | 2016-08-15T18:56:20 | {} | MEMBER |
ClickHouse | ClickHouse | 240,308,661 | 75 | alexey-milovidov | It is known (documented) issue.
https://clickhouse.yandex/reference_en.html#JSONEachRow
> N.B. when using JSONEachRow format, complex default values are not supported, so when omitting a column its value will be zeros or empty string depending on its type.
The reason is that complex default values need expression eva... | 2016-08-17T04:09:36 | 2016-08-17T04:09:36 | {} | MEMBER |
ClickHouse | ClickHouse | 240,674,404 | 76 | vladimir-vg | Нет, это утилита /usr/bin/POST
| 2016-08-18T09:41:43 | 2016-08-18T09:41:43 | {} | NONE |
ClickHouse | ClickHouse | 231,194,134 | 45 | alexey-milovidov | TCP transport is more specific, we don't want to expose details.
Despite we have full compatibility of protocol of different versions of client and server, we want to keep the ability to "break" it for very old clients. And that protocol is not too clean to make a specification.
| 2016-07-07T20:16:05 | 2016-07-07T20:16:05 | {} | MEMBER |
ClickHouse | ClickHouse | 231,454,930 | 44 | alexey-milovidov | Documentation is for end user, of course.
I agree, the documentation should be written more explicitly.
3ca3d31b98db5de1f2c3e4dc86f9524e4b0986a0
595d0c8ace8f3e4fb5a8628e96c92f5263e9851c
(there is also minor inaccuracy, because, when using command-line client, the data is parsed/formatted by client, not server)
| 2016-07-08T19:46:02 | 2016-07-08T19:49:24 | {} | MEMBER |
ClickHouse | ClickHouse | 232,459,390 | 56 | alexey-milovidov | No settings right now.
Seems to be easy change...
Worth to do.
| 2016-07-13T19:21:25 | 2016-07-13T19:21:25 | {
"+1": 4
} | MEMBER |
ClickHouse | ClickHouse | 232,921,268 | 58 | alexey-milovidov | Only USING supported, as in documentation: https://clickhouse.yandex/reference_en.html#JOIN%20clause
| 2016-07-15T10:50:00 | 2016-07-15T10:50:00 | {} | MEMBER |
ClickHouse | ClickHouse | 236,279,062 | 64 | alexey-milovidov | There is no way to delete data with granularity less than partitions, and it is not possible to define custom partitions rather than month.
Both features are possible to implement and we have plans for it (not in near perspective, definitely later than Q3).
| 2016-07-29T19:59:51 | 2016-07-29T19:59:51 | {
"+1": 2
} | MEMBER |
ClickHouse | ClickHouse | 237,714,453 | 66 | alexey-milovidov | > I think an exception shall be thrown in this case to prevent some potential bugs.
Right, need to fix.
| 2016-08-04T23:19:13 | 2016-08-04T23:19:13 | {} | MEMBER |
ClickHouse | ClickHouse | 239,917,852 | 74 | shinguz | Thanks Alexey for the info!
But this is too short for me. I am not a dev. I came so far but stuck:
cd ClickHouse-master/contrib/libpoco
./configure --static --config=Linux
Unknown configuration: Linux
Please use the --config option to specify another build configuration
The following configurations are available:
ls:... | 2016-08-15T20:24:37 | 2016-08-15T20:24:37 | {} | NONE |
ClickHouse | ClickHouse | 240,550,032 | 14 | fengyuncrawl | @alexey-milovidov Comparison with Druid ? why not support bitmap index?
| 2016-08-17T21:12:21 | 2016-08-17T21:12:21 | {} | NONE |
ClickHouse | ClickHouse | 232,444,123 | 55 | alexey-milovidov | There is 3rd party python driver: https://github.com/Infinidat/infi.clickhouse_orm
> Or.. what is the best way of running queries from Python?
Try this driver.
Otherwise, simply send requests with `urllib2`.
| 2016-07-13T18:25:42 | 2016-07-13T18:25:42 | {} | MEMBER |
ClickHouse | ClickHouse | 235,380,515 | 60 | 127 | Если указать хост — то же самое.
Разве не должна вернуться консоль server-client при указании -ti?
| 2016-07-26T19:37:33 | 2016-07-26T19:37:33 | {} | NONE |
ClickHouse | ClickHouse | 235,999,207 | 62 | alexey-milovidov | Also possible to pass query to stdin:
`clickhouse-client < query.sql`
That avoids shell escaping issues.
| 2016-07-28T19:26:39 | 2016-07-28T19:26:39 | {} | MEMBER |
ClickHouse | ClickHouse | 240,899,344 | 14 | alexey-milovidov | When primary key is not used, ClickHouse will do full scan. Note, that:
- only requested columns are scanned;
- sometimes, ClickHouse will scan one of columns first to check condition and then read only that ranges of other columns, where condition is matched;
- ClickHouse tries his best to achieve maximum performance ... | 2016-08-19T00:51:18 | 2016-08-19T00:53:54 | {} | MEMBER |
ClickHouse | ClickHouse | 241,820,996 | 81 | alexey-milovidov | На всякий случай напишу сначала здесь. Потом можно будет перенести в документацию.
Уровень логгирования trace (по-умолчанию) - наиболее подробный уровень логгирования.
Несмотря на название, даже логгирование с уровнем trace не несёт каких-либо существенных проблем с объёмом лога или с производительностью, и уменьшать ... | 2016-08-23T18:03:59 | 2016-08-23T18:03:59 | {} | MEMBER |
ClickHouse | ClickHouse | 231,520,795 | 44 | shinguz | Hi Alexey
Thanks for this interesting architectural hint! I was wondering already why other solutions do not lay off the expensive parsing phase to the clients...
Regards,
Oli
| 2016-07-09T07:27:20 | 2016-07-09T07:27:20 | {} | NONE |
ClickHouse | ClickHouse | 232,922,202 | 57 | alexey-milovidov | Probably better solution is to store milliseconds separately as mentioned here:
https://groups.google.com/d/msg/clickhouse/N9tjlgNFnvU/3wPcGpqYAQAJ
> 1. Yes, DateTime have just seconds resolution.
> You need to store milliseconds in a separate column of type UInt16 (with values 0..999).
>
> By the way, storing mi... | 2016-07-15T10:55:33 | 2016-07-15T10:57:06 | {} | MEMBER |
ClickHouse | ClickHouse | 235,810,500 | 62 | bseng | I've found out whats wrong, when it run with batch mode the regexp get encode so \1 becomes \1 so nothing can be match.
you will need to put \\1 instead of \1
| 2016-07-28T06:29:38 | 2016-07-28T06:29:38 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 236,005,614 | 60 | bamx23 | Вызов на той же версии докера команд:
```
docker run -d -p 8123 --name ccs yandex/clickhouse-server
docker run -it --rm --link ccs:clickhouse-server yandex/clickhouse-client --host clickhouse-server
```
– приводит в консоль клиента.
В последней версии клиента была исправлена проблема с аргументами хоста. Попробуйте ... | 2016-07-28T19:51:36 | 2016-07-28T19:51:36 | {
"+1": 2
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 238,784,109 | 68 | bseng | yeah okay.
I'm asking because most of the time when you query the tables regarding timezone you always want to do analysis on it. e.g. `toHour(toDateTime(toString(datetime,'US/Samoa')))` and seems likes toString first and toDateTime complicated the operations.
| 2016-08-10T07:10:25 | 2016-08-10T07:10:25 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 240,040,793 | 72 | serebrserg | Thanks for the review.
Although the performance difference is not really big, the function is more convenient to use than explicit expression. By the way, I think user defined functions would do the trick for me.
Bounds checking isn't really needed - the function does overlap naturally, but since it has no significant... | 2016-08-16T08:47:10 | 2016-08-16T08:47:10 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 240,203,191 | 74 | alexey-milovidov | ODBC sources is build with 'stock' Poco library.
Install 'stock' version of Poco:
```
wget http://pocoproject.org/releases/poco-1.7.4/poco-1.7.4.tar.gz
cd poco-1.7.4
mcedit build/config/Linux
```
add `-fPIC` to `STATICOPT_CC` and `STATICOPT_CXX`
```
./configure --static --config=Linux
make -j24
sudo make install
`... | 2016-08-16T18:59:15 | 2016-08-16T18:59:53 | {} | MEMBER |
ClickHouse | ClickHouse | 240,687,822 | 76 | greenx | В этом же параграфе речь идет о методах HTTP GET и POST, думаю, поэтому не очевидно, что в примере имеется уже ввиду утилита. (не все жеж убунтийские перловоды :) )
| 2016-08-18T10:41:33 | 2016-08-18T10:41:33 | {} | NONE |
ClickHouse | ClickHouse | 241,503,137 | 79 | alexey-milovidov | Acknowledged. Will do.
| 2016-08-22T18:21:25 | 2016-08-22T18:21:25 | {} | MEMBER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.