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 | 603,361,539 | 9,844 | ortal650 | thanks but I get this error:
Syntax error (Multi-statements are not allowed): failed at position 97 (line 2, col 66): JSON;
Also, I'd like to to export the table to a local json file, so what is the path I should make for this?
| 2020-03-24T16:48:57 | 2020-03-24T16:48:57 | {} | NONE |
ClickHouse | ClickHouse | 603,400,679 | 8,102 | den-crane | > I tried this querie but got the issue: INTO OUTFILE is not allowed, e.what() = DB::Exception
> Any idea how to make it work?
it works only in clickhouse-client | 2020-03-24T17:43:20 | 2020-03-24T17:43:20 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,444,195 | 9,821 | alesapin | Possibly connected with https://github.com/ClickHouse/ClickHouse/issues/9846. | 2020-03-24T18:54:29 | 2020-03-24T18:54:29 | {} | MEMBER |
ClickHouse | ClickHouse | 603,663,625 | 9,844 | ortal650 | Thank you for your responses.
@den-crane Im using a nodejs server and from this server I want to export my table. I tried to make the select query by doing a http get request but I still get the error of INTO OUTFILE not allowed... Do you know what I should do to make a request as client from nodejs server?
Im reall... | 2020-03-25T06:23:47 | 2020-03-25T06:23:47 | {} | NONE |
ClickHouse | ClickHouse | 603,778,641 | 9,533 | alesapin | It was not completely fixed. Complete fix in https://github.com/ClickHouse/ClickHouse/pull/9860. | 2020-03-25T11:05:01 | 2020-03-25T11:05:01 | {} | MEMBER |
ClickHouse | ClickHouse | 602,995,068 | 8,814 | winter7 | Hi, I'm wondering if this deadlock bug will not occur without enabling trace_log? | 2020-03-24T03:38:34 | 2020-03-24T03:38:34 | {} | NONE |
ClickHouse | ClickHouse | 603,024,488 | 9,808 | alexey-milovidov | > except for filtering unused shards in the getQueryProcessingStage
Why not? | 2020-03-24T05:28:35 | 2020-03-24T05:28:35 | {} | MEMBER |
ClickHouse | ClickHouse | 603,388,938 | 9,844 | maqroll | I have no experience with tabbix but probably is using clickhouse http interface. it makes sense that INTO OUTFILE is not allowed. | 2020-03-24T17:26:49 | 2020-03-24T17:26:49 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,792,240 | 9,854 | alesapin | JFYI: `columns_lock` is removed in current master https://github.com/ClickHouse/ClickHouse/pull/9606. | 2020-03-25T11:37:57 | 2020-03-25T11:37:57 | {
"heart": 1
} | MEMBER |
ClickHouse | ClickHouse | 603,890,303 | 9,826 | KochetovNicolai | Hi @lu-yuki-matsumoto
I am trying to reproduce this bug, but have not succeed so far.
Could you please show me the whole query and `create table` statements?
If you could also send me table's data, it would be very helpful.
Or, probably, find a smaller reproducible example (like, create some tables and insert ... | 2020-03-25T15:01:11 | 2020-03-25T15:01:11 | {} | MEMBER |
ClickHouse | ClickHouse | 603,902,375 | 9,541 | hatrena | I used `PARTITION BY toYYYYMMDD(date)` with `table TTL`, and it worked perfectly. thanks | 2020-03-25T15:21:36 | 2020-03-25T15:21:36 | {} | NONE |
ClickHouse | ClickHouse | 603,163,479 | 9,826 | qoega | @KochetovNicolai can you check it is not related to processors?
@lu-yuki-matsumoto Can you check that it is reproducing even with `--experimental_use_processors 0` setting? | 2020-03-24T10:41:27 | 2020-03-24T10:41:27 | {} | MEMBER |
ClickHouse | ClickHouse | 603,399,111 | 9,844 | den-crane | Ask tabix author?
using curl
`echo 'SELECT 1 FORMAT JSON' | curl -o out.json 'http://localhost:8123/?user=user&password=password' -d @-` | 2020-03-24T17:41:04 | 2020-03-24T17:41:04 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,428,717 | 8,102 | den-crane | @ortal650
https://clickhouse.tech/docs/en/getting_started/install/
https://clickhouse.tech/docs/en/interfaces/cli/ | 2020-03-24T18:24:54 | 2020-03-24T18:24:54 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,774,063 | 4,567 | 4ertus2 | related but not fixed by #9739 | 2020-03-25T10:54:06 | 2020-03-25T10:54:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,810,980 | 9,864 | 4ertus2 | It should be fixed with #9830 | 2020-03-25T12:26:06 | 2020-03-25T12:26:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 602,923,146 | 9,833 | alexey-milovidov | > Compatibility check — Compatibility check passed | 2020-03-23T23:58:23 | 2020-03-23T23:58:23 | {} | MEMBER |
ClickHouse | ClickHouse | 603,272,729 | 9,806 | samz406 | thx | 2020-03-24T14:30:59 | 2020-03-24T14:30:59 | {} | NONE |
ClickHouse | ClickHouse | 604,016,516 | 9,860 | alesapin | Integration test failure is not connected with changes (failed on master). | 2020-03-25T18:41:15 | 2020-03-25T18:55:59 | {} | MEMBER |
ClickHouse | ClickHouse | 603,046,592 | 7,595 | yanggeorge | > No. But we have ANTLR4 grammar that is developed independently and mostly corresponds to the ClickHouse SQL parser. https://github.com/ClickHouse/ClickHouse/tree/master/utils/grammar
I have tried ClickHouseParser.g4 ,but I found it not working properly. | 2020-03-24T06:39:30 | 2020-03-24T06:39:30 | {} | NONE |
ClickHouse | ClickHouse | 603,216,961 | 8,846 | azat | Has issues with virtual columns, will be fixed shortly | 2020-03-24T12:44:26 | 2020-03-24T12:44:26 | {} | MEMBER |
ClickHouse | ClickHouse | 603,365,186 | 9,844 | maqroll | open your client with multi-statement support if you need it (flag -n).
Path is local to your client (not your server). | 2020-03-24T16:53:42 | 2020-03-24T16:55:08 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,653,857 | 9,849 | alexey-milovidov | What version of ClickHouse do you use? | 2020-03-25T05:50:09 | 2020-03-25T05:50:09 | {} | MEMBER |
ClickHouse | ClickHouse | 603,683,854 | 9,841 | alexey-milovidov | Maybe if we will make it by default, simpler solution exists. | 2020-03-25T07:27:33 | 2020-03-25T07:27:33 | {} | MEMBER |
ClickHouse | ClickHouse | 603,689,625 | 9,846 | alesapin | So, It seems like the column was added on the second instance only? Maybe you have different clickhouse versions on the first one? | 2020-03-25T07:44:21 | 2020-03-25T07:44:21 | {} | MEMBER |
ClickHouse | ClickHouse | 603,728,052 | 7,690 | Slach | @4ertus2 any news about this issue? | 2020-03-25T09:11:01 | 2020-03-25T09:11:01 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,753,581 | 9,841 | ghost | @alexey-milovidov
I modified the code to use the string equality operator instead of the comparator and fixed the corner case of `'strict_order'`.
It is good to make it by default, but I worry about something... If someone is already using `windowFunnel`, changing default behavior affects their software. So I added ... | 2020-03-25T10:08:15 | 2020-03-25T10:08:15 | {} | NONE |
ClickHouse | ClickHouse | 602,695,568 | 9,829 | amosbird | The CI errors seem irrelevant. | 2020-03-23T16:03:09 | 2020-03-23T16:03:09 | {} | COLLABORATOR |
ClickHouse | ClickHouse | 602,728,260 | 9,739 | zhang2014 | I'll try to fix it, but may take one or two weeks(after done ClickHouse WebTerminal :) ).
It seems that the 'JOIN Key ' is not handled correctly | 2020-03-23T16:58:54 | 2020-03-23T16:58:54 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,014,443 | 8,698 | alexey-milovidov | @taiyang-li I did not understand the code in the inner loop.
I tried to imagine the algorithm and have rewrite it to something more simple:
https://github.com/ClickHouse/ClickHouse/pull/9815/commits/27f0b932378c8ea2d7562a8e69404a51a1cd03d7
I'm not sure that it's 100% correct (I'm not into machine learning) but you... | 2020-03-24T04:54:02 | 2020-03-24T04:54:02 | {} | MEMBER |
ClickHouse | ClickHouse | 603,338,684 | 8,102 | ortal650 | I tried this querie but got the issue: INTO OUTFILE is not allowed, e.what() = DB::Exception
Any idea how to make it work?
| 2020-03-24T16:14:47 | 2020-03-24T16:14:47 | {} | NONE |
ClickHouse | ClickHouse | 604,007,005 | 9,867 | den-crane | CH streaming blocks not rows, and in multiple threads.
So it could be that your query will process 96*65536 rows to retrieve 1 row.
Try `set max_threads=1, max_block_size=1024` | 2020-03-25T18:23:09 | 2020-03-25T18:23:37 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 602,772,110 | 9,834 | alesapin | > heh, `clickhouse-test` doesn't have any extension, so it was not tested.
fixed | 2020-03-23T18:17:25 | 2020-03-23T18:17:25 | {} | MEMBER |
ClickHouse | ClickHouse | 602,776,122 | 9,822 | oandrew | @tgdkere2
You can't change the schema of messages on a topic because each message already contains a schema id which is used by ClickHouse to find the schema.
Schema id is globally unique and should not cause any issues when schema is cached.
In other words: ClickHouse doesn't even know which topic it consumes ... | 2020-03-23T18:25:08 | 2020-03-23T18:39:47 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 602,924,076 | 9,833 | alexey-milovidov | unit tests: cannot reproduce:
```
./unit_tests_dbms --gtest_filter=*ExceptionFromSchedule*
Running main() from ../contrib/googletest/googletest/src/gtest_main.cc
Note: Google Test filter = *ExceptionFromSchedule*
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[-----... | 2020-03-24T00:01:26 | 2020-03-24T00:01:26 | {} | MEMBER |
ClickHouse | ClickHouse | 603,043,690 | 9,808 | azat | >Maybe it's possible to return WithMergeableState even if only one shard remains after filtering but ensure that the data will be correctly processed up to Complete stage by InterpreterSelectQuery.
That was my first thought, so I changed [it](https://github.com/ClickHouse/ClickHouse/blob/9a2760d9143e7dd0c79b02f2af5c... | 2020-03-24T06:30:46 | 2020-03-24T06:31:13 | {} | MEMBER |
ClickHouse | ClickHouse | 603,420,943 | 9,844 | ortal650 | Indeed clickhouse use http interface. I made the querie from client side, using http get request but I still get error and really dont understand the problem.
the querie made is :
SELECT * FROM mytable INTO OUTFILE 'file.json' LIMIT 20 FORMAT JSON
and the error:
Syntax error: failed at position 64: LIMIT 20... | 2020-03-24T18:12:54 | 2020-03-24T18:13:21 | {} | NONE |
ClickHouse | ClickHouse | 603,441,158 | 5,562 | victorbonnet | Starting which version we can use subqueries in materialized views? | 2020-03-24T18:48:38 | 2020-03-24T18:48:38 | {} | NONE |
ClickHouse | ClickHouse | 603,445,816 | 9,845 | alexey-milovidov | > Functional stateless tests (unbundled)
Fixed. | 2020-03-24T18:57:49 | 2020-03-24T18:57:49 | {} | MEMBER |
ClickHouse | ClickHouse | 603,462,329 | 9,846 | m7shapan | at first
```
CREATE TABLE default.analytics_widget_boxes (`widget_id` String, `box_id` UInt8, `content_impressions` UInt64, `content_clicks` UInt64, `ads_impressions` UInt64, `ads_clicks` UInt64, `country_code` String, `device_type` String, `date` Date, `hour` UInt8) ENGINE = MergeTree PARTITION BY toYYYYMM(date) ... | 2020-03-24T19:33:11 | 2020-03-24T19:33:11 | {
"+1": 1
} | NONE |
ClickHouse | ClickHouse | 602,291,756 | 5,243 | knoguchi | For someone landed here from Google, this issue has been resolved. Kafka MV supports subqueries since 19.16.14.65. | 2020-03-22T23:13:37 | 2020-03-24T22:57:52 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,620,859 | 9,838 | den-crane | MV is an insert trigger.
You can store hourly numbers in one MV and calc using sum where ... and drop data older than 12h (using TTL or manually - drop partition).
also check LiveViews https://www.altinity.com/blog/tag/Live+Views
| 2020-03-25T03:31:56 | 2020-03-25T03:31:56 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,741,132 | 9,856 | alexey-milovidov | It may happen if client did not send any rows within 170 seconds. | 2020-03-25T09:40:46 | 2020-03-25T09:41:00 | {} | MEMBER |
ClickHouse | ClickHouse | 603,798,499 | 9,863 | 4ertus2 | Duplicate #9782 | 2020-03-25T11:54:44 | 2020-03-25T11:54:44 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,800,608 | 9,858 | ghuname | I believe that modified users.xml should be in /etc/clickhouse-server/users.d directory.
On https://clickhouse.tech/docs/en/operations/configuration_files/ there is an error in sentence:
"In addition, users_config may have overrides in files from the **users_config.d** directory (for example, users.d) and substitut... | 2020-03-25T11:59:52 | 2020-03-25T11:59:52 | {} | NONE |
ClickHouse | ClickHouse | 603,835,284 | 9,841 | ghost | @qoega I wrote a document at https://github.com/ClickHouse/ClickHouse/pull/9841/commits/140c7f39332f88671aa3a9ba431c723fa2dffa8c
| 2020-03-25T13:21:09 | 2020-03-25T13:21:09 | {} | NONE |
ClickHouse | ClickHouse | 603,024,161 | 9,808 | alexey-milovidov | Maybe it's possible to return WithMergeableState even if only one shard remains after filtering but ensure that the data will be correctly processed up to Complete stage by InterpreterSelectQuery. | 2020-03-24T05:27:25 | 2020-03-24T05:27:25 | {} | MEMBER |
ClickHouse | ClickHouse | 603,429,282 | 9,844 | maqroll | if you are using clickhouse-client:
SELECT * FROM mytable LIMIT 20 INTO OUTFILE 'file.json' FORMAT JSON
If you are using http interface listen to @den-crane.
El mar., 24 mar. 2020 19:13, ortal650 <notifications@github.com> escribió:
> Indeed clickhouse use http interface. I made the querie from client side,
... | 2020-03-24T18:25:50 | 2020-03-24T19:00:06 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,761,064 | 9,841 | hczhcz | > Returned value
>
> The maximum number of consecutive triggered conditions from the chain within the sliding time window.
> All the chains in the selection are analyzed.
A null result is more like a bug than a feature. It looks good to make it default. | 2020-03-25T10:24:55 | 2020-03-25T10:24:55 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,958,394 | 6,044 | alexey-milovidov | Now it's enabled only for .cpp files.
If we write
```
HeaderFilterRegex: 'dbms|base'
```
more issues will be found. | 2020-03-25T16:54:43 | 2020-03-25T16:54:43 | {
"+1": 1
} | MEMBER |
ClickHouse | ClickHouse | 602,753,488 | 9,812 | alexey-milovidov | ```
Functional stateless tests (debug) — fail: 1, passed: 1658, skipped: 7
Functional stateless tests (ubsan) — Some queries hung, fail: 2, passed: 1660, skipped: 4
```
\- not related. | 2020-03-23T17:43:19 | 2020-03-23T17:43:28 | {} | MEMBER |
ClickHouse | ClickHouse | 603,025,169 | 9,673 | alexey-milovidov | Unfortunately, these tests clearly indicate a bug (most likely not in your PR). | 2020-03-24T05:31:06 | 2020-03-24T05:31:45 | {} | MEMBER |
ClickHouse | ClickHouse | 603,167,317 | 9,822 | tgdkere2 | Hello @oandrew @maqroll ,
You are right, the problem was the long retention time configured in the Kafka topic.
Therefore it was still trying to get the old schema for the old records.
Thank you !
| 2020-03-24T10:49:01 | 2020-03-24T10:49:01 | {} | NONE |
ClickHouse | ClickHouse | 603,354,629 | 9,844 | maqroll | `
select * from table into OUTFILE 'table.json' FORMAT JSON;
`
exports both data and schema in json format.
[Available formats](https://clickhouse.tech/docs/en/interfaces/formats) | 2020-03-24T16:39:00 | 2020-03-24T16:41:25 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,414,166 | 9,845 | alesapin | > It's strange if we have used level 3 before.
> Our intention is to use more lightweight level as default.
No, we have used level 1, and for some reason, it works the same as level 3 in our contrib and ubuntu 18.04. In ubuntu 19.10 we have different behavior for level 1and level 2. Seems like our version backward ... | 2020-03-24T18:03:03 | 2020-03-24T18:03:03 | {} | MEMBER |
ClickHouse | ClickHouse | 603,683,135 | 9,841 | alexey-milovidov | ```
/AggregateFunctions/CMakeFiles/clickhouse_aggregate_functions.dir/AggregateFunctionNull.cpp.o -c ../dbms/src/AggregateFunctions/AggregateFunctionNull.cpp
2020-03-24 10:08:52 /build/obj-x86_64-linux-gnu/../dbms/src/AggregateFunctions/AggregateFunctionNull.cpp:30:17: error: do not use 'compare' to test equality of ... | 2020-03-25T07:25:39 | 2020-03-25T07:25:39 | {} | MEMBER |
ClickHouse | ClickHouse | 602,926,666 | 9,829 | alexey-milovidov | There are no performance tests that shows the benefit.
https://clickhouse-test-reports.s3.yandex.net/9829/0f15dd2fab9712e94b47ee1425c153df99173391/performance_comparison/report.html
Let's add relevant performance tests in next PR. | 2020-03-24T00:09:47 | 2020-03-24T00:09:47 | {} | MEMBER |
ClickHouse | ClickHouse | 603,096,324 | 9,822 | maqroll | My two cents...
A schema (subject + version) pushed into schema registry is (should be) inmutable. Kafka clients (for instance Kafka Streams) keep a similar cache without requiring a refresh.
A flush shouldn't be necessary. | 2020-03-24T08:22:32 | 2020-03-24T08:32:46 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,388,308 | 9,845 | alexey-milovidov | It's strange if we have used level 3 before.
Our intention is to use more lightweight level as default. | 2020-03-24T17:25:56 | 2020-03-24T17:25:56 | {} | MEMBER |
ClickHouse | ClickHouse | 603,445,561 | 9,574 | alexey-milovidov | Please merge/rebase with master (there were changes in Dockerfiles). | 2020-03-24T18:57:18 | 2020-03-24T18:57:18 | {} | MEMBER |
ClickHouse | ClickHouse | 603,765,168 | 9,194 | 4ertus2 | It's a fundamental restriction for now. We need tables reorder to support more CROSS to INNER cases. | 2020-03-25T10:33:45 | 2020-03-25T10:33:45 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,789,435 | 9,847 | azat | Test failures doesn't looks related, and functional had been fixed in #9845 I guess | 2020-03-25T11:30:51 | 2020-03-25T11:30:51 | {} | MEMBER |
ClickHouse | ClickHouse | 603,869,909 | 9,860 | alesapin | Test under address sanitizer consumes slightly more memory. Need to fix test. | 2020-03-25T14:27:15 | 2020-03-25T14:27:15 | {} | MEMBER |
ClickHouse | ClickHouse | 604,038,779 | 9,870 | den-crane | 20.3.3 by default uses adaptive index granularity. Such feature is not existed in 19.3.3.
Create tables without `adaptive index granularity`
20.3.3
create table ....
settings index_granularity =8192, index_granularity_bytes = 0;
19.3.3
create table ....
settings index_granularity =8192;
But there is on... | 2020-03-25T19:25:37 | 2020-03-25T19:25:37 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,022,388 | 9,815 | alexey-milovidov | The bottleneck is in std::sort. | 2020-03-24T05:21:18 | 2020-03-24T05:21:18 | {} | MEMBER |
ClickHouse | ClickHouse | 603,366,819 | 9,845 | alesapin | I think zstd version in ubuntu 19:04 was updated, so we faced a problem https://github.com/facebook/zstd/issues/1148#issuecomment-391496583. But I'm not sure that we should change default level in our code https://github.com/clickhouse/ClickHouse/blob/master/dbms/src/Compression/CompressionCodecZSTD.h#L14. | 2020-03-24T16:55:18 | 2020-03-24T16:55:18 | {} | MEMBER |
ClickHouse | ClickHouse | 603,377,941 | 9,844 | ortal650 | Sorry I am new in clickhouse and I don't really understand how it works.
Im using Tabix platform to create table and make queries. I did the querie you sent me in tabix and there I get the error. Is it the right way to do it? I dont really understand what I should do about the multi statement you talked about... Im ki... | 2020-03-24T17:11:05 | 2020-03-24T17:11:05 | {} | NONE |
ClickHouse | ClickHouse | 603,422,055 | 9,781 | Enmk | Will make sure it is fixed with https://github.com/ClickHouse/ClickHouse/pull/9574 | 2020-03-24T18:14:36 | 2020-03-24T18:14:36 | {
"+1": 2
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,459,747 | 9,846 | alesapin | Also `SHOW CREATE TABLE` would be useful. | 2020-03-24T19:27:56 | 2020-03-24T19:27:56 | {} | MEMBER |
ClickHouse | ClickHouse | 603,788,896 | 9,808 | azat | Test failures doesn't looks related | 2020-03-25T11:29:27 | 2020-03-25T11:29:27 | {} | MEMBER |
ClickHouse | ClickHouse | 603,796,662 | 9,858 | ghuname | Now I have put in system.d/users.xml "log_queries" tag so my file looks like:
```
<?xml version="1.0"?>
<yandex>
<profiles>
<default>
<log_queries>1</log_queries>
</default>
</profiles>
</yandex>
```
server recognized change in its log:
`2020.03.25 12:33:54.775735 [... | 2020-03-25T11:49:51 | 2020-03-25T11:49:51 | {} | NONE |
ClickHouse | ClickHouse | 603,859,095 | 9,403 | alexey-milovidov | No, it is the issue in this JavaScript. | 2020-03-25T14:06:58 | 2020-03-25T14:06:58 | {} | MEMBER |
ClickHouse | ClickHouse | 602,991,403 | 9,768 | YiuRULE | Saw than a similar PR has been pushed, will close this one then :) | 2020-03-24T03:26:00 | 2020-03-24T03:26:00 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,175,485 | 9,826 | lu-yuki-matsumoto | @qoega
I checked the query with `--experimental_use_processors 0` 20 times, Clickhouse returned 8 values in every execution.
It is **not reproducing with `--experimental_use_processors 0` setting.**
Thank you, | 2020-03-24T11:07:02 | 2020-03-24T11:07:34 | {} | NONE |
ClickHouse | ClickHouse | 603,291,805 | 5,116 | gothug | Excuse me, is it currently possible by any means (via http protocol) to get the information on how many rows were returned by the query? | 2020-03-24T15:03:55 | 2020-03-24T15:03:55 | {} | NONE |
ClickHouse | ClickHouse | 603,384,062 | 9,844 | ortal650 | I removed semicolon from the query end and I dont have multi statement error anymore.
but I get the error : FORMAT JSON . Expected identifier, e.what() = DB::Exception
When I try to remove the FORMAT JSON, then I get error: INTO OUTFILE is not allowed, e.what() = DB::Exception
What is making a problem?
| 2020-03-24T17:19:45 | 2020-03-24T17:19:45 | {} | NONE |
ClickHouse | ClickHouse | 603,443,046 | 9,846 | alesapin | Maybe you can show full table schema? | 2020-03-24T18:52:26 | 2020-03-24T18:52:26 | {} | MEMBER |
ClickHouse | ClickHouse | 603,778,101 | 9,860 | alesapin | Connected with https://github.com/ClickHouse/ClickHouse/issues/9859. | 2020-03-25T11:03:46 | 2020-03-25T11:03:46 | {} | MEMBER |
ClickHouse | ClickHouse | 603,806,709 | 9,859 | alesapin | cc: @CurtizJ | 2020-03-25T12:15:39 | 2020-03-25T12:15:39 | {} | MEMBER |
ClickHouse | ClickHouse | 603,087,062 | 9,808 | azat | >Why not?
Ok, done
>Maybe it's possible to return WithMergeableState even if only one shard remains after filtering but ensure that the data will be correctly processed up to Complete stage by InterpreterSelectQuery.
[test](https://github.com/ClickHouse/ClickHouse/pull/9808/files#diff-a5bd2272ba7da9b0064041f9f... | 2020-03-24T08:01:02 | 2020-03-24T08:08:09 | {} | MEMBER |
ClickHouse | ClickHouse | 603,458,586 | 9,846 | m7shapan | @alesapin I ran describe command more than one time
```
DESCRIBE TABLE analytics_widget_boxes
```
at first
```
widget_id,String
box_id,UInt8
content_impressions,UInt64
content_clicks,UInt64
ads_impressions,UInt64
ads_clicks,UInt64
country_code,String
device_type,String
date,Date
hour,UInt8
```
then... | 2020-03-24T19:25:31 | 2020-03-24T19:26:11 | {
"+1": 1
} | NONE |
ClickHouse | ClickHouse | 603,742,794 | 9,854 | alexey-milovidov | More details: it reproduces on RHEL due to GLibc bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=21298
https://bugzilla.redhat.com/show_bug.cgi?id=1485900
https://bugzilla.redhat.com/show_bug.cgi?id=1410052
https://sourceware.org/bugzilla/show_bug.cgi?id=14958
We will workaround it by substituting differe... | 2020-03-25T09:44:38 | 2020-03-25T09:44:38 | {
"+1": 2
} | MEMBER |
ClickHouse | ClickHouse | 603,812,600 | 9,849 | mvcalder-xbk | Sorry, I realize my message was sparse on details, but I didn't need to leave out knowable things:
ClickHouse client version 19.17.6.36 (official build).
Connected to ClickHouse server version 20.1.2 revision 54431.
I'm happy to try to isolate the problem. The actual query I'm using is just too complex to put he... | 2020-03-25T12:30:17 | 2020-03-25T12:30:17 | {} | NONE |
ClickHouse | ClickHouse | 603,841,158 | 9,858 | alexey-milovidov | You're right. Actually, the documentation is correct, because you can set up alternative name (istead of users.xml) for users config in config.xml. But it's very unclear, we need to fix it. | 2020-03-25T13:32:13 | 2020-03-25T13:32:13 | {} | MEMBER |
ClickHouse | ClickHouse | 604,020,743 | 9,844 | den-crane | In case of nodejs just do an http get request and save output stream into a file. https://stackoverflow.com/a/42297912/11644308
your question is not related to Clickhouse but to nodejs/javascript.
You obviously cannot use `INTO OUTFILE` with nodejs / http because this feature is a part of a specific application -... | 2020-03-25T18:49:22 | 2020-03-25T18:49:22 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 602,767,598 | 9,834 | alesapin | heh, `clickhouse-test` doesn't have any extension, so it was not tested. | 2020-03-23T18:08:43 | 2020-03-23T18:08:43 | {} | MEMBER |
ClickHouse | ClickHouse | 602,788,745 | 9,707 | oandrew | Sounds good to me, I will try to add it sometime soon (probably this/next week). | 2020-03-23T18:48:30 | 2020-03-23T18:48:30 | {
"+1": 1
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,478,710 | 5,562 | den-crane | 19.14.3.3 supports subqueries in materialized views
19.16.14.65 supports subqueries in Kafka materialized views | 2020-03-24T20:08:42 | 2020-03-24T20:08:42 | {
"hooray": 4
} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,223,131 | 9,810 | qoega | reproduces in master, 20.3 | 2020-03-24T12:58:20 | 2020-03-24T12:58:20 | {} | MEMBER |
ClickHouse | ClickHouse | 603,422,486 | 8,102 | ortal650 | How does work clickhouse-client?
Cant find anything on this, how do I install it and use it?
Thank you | 2020-03-24T18:15:17 | 2020-03-24T18:15:17 | {} | NONE |
ClickHouse | ClickHouse | 603,429,898 | 9,844 | den-crane | @ortal650 ` INTO OUTFILE` is part of clickhouse-client functionality.
use curl
echo 'SELECT 1 FORMAT JSON' | **curl -o out.json '** http://localhost:8123/?user=user&password=password' -d @-
| 2020-03-24T18:26:51 | 2020-03-24T18:26:51 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 603,655,324 | 9,821 | muyuqianjia | > Does the issue present if you update to 20.1.8 or 20.3.4?
When I upgrade to 20.3.4.10, this problem no longer appears. | 2020-03-25T05:55:36 | 2020-03-25T05:55:36 | {} | NONE |
ClickHouse | ClickHouse | 603,683,740 | 9,841 | alexey-milovidov | Is there a reson to not make it by default? | 2020-03-25T07:27:12 | 2020-03-25T07:27:12 | {} | MEMBER |
ClickHouse | ClickHouse | 603,778,444 | 9,670 | alesapin | It was not completely fixed. Complete fix in https://github.com/ClickHouse/ClickHouse/pull/9860. | 2020-03-25T11:04:33 | 2020-03-25T11:04:33 | {} | MEMBER |
ClickHouse | ClickHouse | 603,855,258 | 9,403 | alexey-milovidov | I found this fiddle:
http://jsfiddle.net/Lspz5k21/
But if I didn't missed something, it looks like that the polygon has multiple self-intersections. | 2020-03-25T13:59:47 | 2020-03-25T13:59:47 | {} | MEMBER |
ClickHouse | ClickHouse | 604,009,520 | 9,869 | den-crane | In 99.9999% cases `max_parallel_replicas=2` improves nothing because it's nature.
Moreover `max_parallel_replicas` is buggy and returns wrong results https://github.com/ClickHouse/ClickHouse/issues/9202
Do a proper tests to find out is it reasonable to use `max_parallel_replicas` or not. | 2020-03-25T18:27:43 | 2020-03-25T18:27:43 | {} | CONTRIBUTOR |
ClickHouse | ClickHouse | 577,575,441 | 8,789 | kushagra391 | thanks, yea seems `aggregatingmergetree` or `arrayReduce('uniqState', [A])` is probably the best bet for now.
| 2020-01-23T08:22:10 | 2020-03-25T21:49:04 | {} | NONE |
ClickHouse | ClickHouse | 603,680,676 | 9,838 | bzon | @den-crane thanks!
These are the new tables.
```sql
CREATE TABLE visits_6h (
hour DateTime,
total UInt64,
sum(status != 200) AS failed_total,
user String
)
ENGINE = SummingMergeTree()
PARTITION BY hour
ORDER BY (hour, user)
TTL hour + INTERVAL 12 HOUR;
```
```sql
CREATE MATERIALIZE... | 2020-03-25T07:18:17 | 2020-03-25T07:26:32 | {} | NONE |
ClickHouse | ClickHouse | 603,842,247 | 9,403 | alexey-milovidov | @vicchen7 I'm trying to figure out why the result is not correct.
By the way, what tool did you use to draw this picture? | 2020-03-25T13:34:20 | 2020-03-25T13:34:20 | {} | MEMBER |
ClickHouse | ClickHouse | 587,543,902 | 9,180 | filimonov | There are some plans to add some support for etcd, maybe experimental support will appear in mid of 2020.
https://clickhouse.tech/docs/ru/extended_roadmap/#19-2-podkliuchenie-etcd-ili-consul-kak-alternativy-zookeeper | 2020-02-18T16:18:30 | 2020-02-18T16:19:33 | {} | CONTRIBUTOR |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.