Commit Graph

40116 Commits

Author SHA1 Message Date
alexey-milovidov
884c2aa631
Merge pull request #10641 from ClickHouse/storage-buffer-nullptr-dereference
Fix nullptr dereference in StorageBuffer
2020-05-04 02:01:57 +03:00
alexey-milovidov
788b436275
Merge pull request #10640 from ClickHouse/fix-http-code-parse-error
Fix http code in case of some parse errors.
2020-05-04 02:00:47 +03:00
alexey-milovidov
72ca31511f
Merge pull request #10604 from vzakaznikov/fix_timeouts_in_new_live_view_tests
Fixing hard coded timeouts in new live view tests.
2020-05-04 01:55:35 +03:00
FawnD2
112758b99d Merge branch 'master' into arrow-io-format 2020-05-04 00:53:17 +03:00
alexey-milovidov
1c892734a8
Merge pull request #10643 from ClickHouse/fix-arcadia
Fix Arcadia #10569
2020-05-04 00:39:05 +03:00
Alexey Milovidov
a5bdc375ca Fix Arcadia #10569 2020-05-04 00:36:11 +03:00
alexey-milovidov
4f27ca701f
Merge pull request #10634 from ClickHouse/get_rid_of_external_linker
Get rid of external linker call
2020-05-04 00:15:32 +03:00
Alexey Milovidov
e37c649bc5 Moved benchmark HTML page to clickhouse-presentations, because it cannot display due to CSP policy 2020-05-04 00:06:30 +03:00
Alexey Milovidov
f8866af0c1 Fix nullptr dereference in StorageBuffer 2020-05-03 23:53:54 +03:00
Alexey Milovidov
12f1b055be Added a test #10636 2020-05-03 23:51:52 +03:00
Paramtamtam
54e24aa6ff
CR changes 2020-05-04 01:04:00 +05:00
FawnD2
2359ba3497 Correct stop condition 2020-05-03 22:59:19 +03:00
FawnD2
6b2e97fd56 Increate total read length while reading 2020-05-03 22:54:28 +03:00
FawnD2
b4898bdd19 Read single batch 2020-05-03 22:49:06 +03:00
Alexey Milovidov
bb6eabd82d Fix HTTP response code for some parse errors #10636 2020-05-03 22:47:07 +03:00
Alexey Milovidov
80d5db2b8f Avoid UBSan reports from zstd 2020-05-03 22:27:12 +03:00
FawnD2
a8d914a811 Read full table 2020-05-03 22:22:41 +03:00
Артем Стрельцов
5bce553d91 performance optimization 2020-05-03 22:08:45 +03:00
Sergei Shtykov
29cad997d6 Merge branch 'master' of github.com:ClickHouse/ClickHouse 2020-05-03 22:08:02 +03:00
BayoNet
65f0b02ae6
Revert "enbaskakova-DOCSUP-652 (#101)" (#107)
This reverts commit 639fee7610.
2020-05-03 22:05:25 +03:00
elenaspb2019
639fee7610
enbaskakova-DOCSUP-652 (#101)
* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

Co-authored-by: elenbaskakova <elenbaskakova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-05-03 21:56:38 +03:00
Alexey Milovidov
8f7374c6de Fix another UBSan warning 2020-05-03 21:39:52 +03:00
FawnD2
b86562b8bc Style fixes 2020-05-03 21:29:04 +03:00
Alexey Milovidov
9a344e681f Fix UBSan report in FixedHashTable 2020-05-03 21:24:11 +03:00
Alexey Milovidov
626b9a3ae9 Fix UBSan report in HashTable 2020-05-03 21:21:18 +03:00
Paramtamtam
7dcb74ab7c
Default user and database creation on image starting added 2020-05-03 23:15:18 +05:00
FawnD2
7cc7a87f9f Simplify interfaces 2020-05-03 21:12:14 +03:00
Артем Стрельцов
ff7b5db800 fixed bug with dictGetString 2020-05-03 21:03:41 +03:00
Anton Popov
615104c820
Merge pull request #10635 from GoToCoding/patch-2
Update developer-instruction.md
2020-05-03 20:25:52 +03:00
Ruzal Ibragimov
9d257528e7
Update developer-instruction.md 2020-05-03 20:14:29 +03:00
Ivan Blinkov
b497f99e34
Update build.py 2020-05-03 20:06:31 +03:00
Артем Стрельцов
31fb42cf01 removed unused arena 2020-05-03 19:12:17 +03:00
alexey-milovidov
add569364b
Merge branch 'master' into get_rid_of_external_linker 2020-05-03 18:49:43 +03:00
Ivan Blinkov
5d7fd78247
[docs] fix redirects generation for folders (#10633) 2020-05-03 18:40:56 +03:00
alexey-milovidov
8af997f3df
Merge pull request #10632 from ClickHouse/use-cmake-linker-for-blobs
Allow to use lld to link blobs
2020-05-03 18:34:02 +03:00
alesapin
6866601e2d Get rid of external linker call 2020-05-03 16:57:18 +03:00
Артем Стрельцов
20bbd30a13 french documentation added 2020-05-03 16:43:43 +03:00
Артем Стрельцов
a821bc5637 Merge branch 'layout_direct' of github.com:kekekekule/ClickHouse into layout_direct 2020-05-03 16:24:02 +03:00
Артем Стрельцов
f8d3999fa2 Merge branch 'master' of github.com:yandex/ClickHouse into layout_direct 2020-05-03 16:23:10 +03:00
Nikolay Degterinsky
a3e557a5d2 documentation is added & added 'direct' layout into integragion test 2020-05-03 15:55:22 +03:00
FawnD2
a590826fbb Format settings for Arrow 2020-05-03 15:26:39 +03:00
FawnD2
e5b59616cd Style fix 2020-05-03 15:25:53 +03:00
alexey-milovidov
0cdd48e468
Merge pull request #10598 from ClickHouse/sampling-memory-profiler
Add sampling memory profiler
2020-05-03 15:17:03 +03:00
Nikolay Degterinsky
2b46159a6f Merge branch 'layout_direct' of github.com:kekekekule/ClickHouse into dict_direct 2020-05-03 15:12:39 +03:00
Azat Khuzhin
14fccf572f Fix false-positive failures of the test_distributed_storage_configuration
After first INSERT for disk2 there should not be created any per-shard
directory, so find(1) should report an error, like:

  find: '/disk2/data/test/dist_foo/default@127%2E0%2E0%2E2:9000': No such file or directory"

But sometimes output can be fixed, and output of wc(1) will goes first
and python's int() will parse it and not fail, but if find(1) stderr
will goes first the int() will fail to parse.

And here is an example of such mixing:

  $ docker run --name alpine --rm -it alpine top
  $ docker exec alpine sh -c 'echo foo >&2 | wc -c'
  foo
  0
  $ docker exec alpine sh -c 'echo foo >&2 | wc -c'
  0
  foo
2020-05-03 14:48:00 +03:00
Azat Khuzhin
6ffdd53b6a Share auto-increment for first batch and tmp file in DistributedBlockOutputStream 2020-05-03 14:47:59 +03:00
Azat Khuzhin
53c470cab4 Fix directory monitor initialization from INSERT into Distributed
This also fixes hardlink code (when one file should be sent to multiple
servers, i.e. internal_replication == false) of writeToShard() with
distributed_storage_policy (i.e. when StorageDistributed::getPath() will
path to different filesystems).

Plus also cleanup DistributedBlockOutputStream::writeToShard() a little.
2020-05-03 14:47:51 +03:00
Azat Khuzhin
8ccaf1bf32 Add internal_replication example config.xml 2020-05-03 14:46:45 +03:00
Azat Khuzhin
0a75dc626b Add some comments int test_distributed_storage_configuration 2020-05-03 14:46:44 +03:00
Azat Khuzhin
e97e1f06db Do not schedule distributed send if there were no error
Since in this case it will be scheduled from the
DistributedBlockOutputStream with the
distributed_directory_monitor_max_sleep_time_ms, and this will overwrite
timer that was set by the DistributedBlockOutputStream, not good.
2020-05-03 14:46:44 +03:00