Commit Graph

31801 Commits

Author SHA1 Message Date
elenaspb2019
ff5cb84d72 docs(indexHint):The new description of indexHint function was edited. 2019-12-05 12:53:28 +03:00
elenaspb2019
a2bd2580cf docs(indexHint):The new description of indexHint function was added. 2019-12-05 12:52:15 +03:00
Vitaly Baranov
2cc78413ed
Merge pull request #7914 from azat/dist-send-extra-checksum
Add checksum for extra info/query in distributed sends
2019-12-05 11:43:08 +03:00
alesapin
a524e82a7f
Merge pull request #8029 from ClickHouse/fix_dict_partially_update_failover
Fix external dictionaries failover, when they have invalidate_query.
2019-12-05 11:12:17 +03:00
alexey-milovidov
9fafadf536
Update extended_roadmap.md 2019-12-05 05:17:46 +03:00
Azat Khuzhin
3a72e1c12a Add checksum for extra info/query in distributed sends
This extras includes:
- server revision
- query settings
- query

Otherwise the code can try to interpret data, and got for instance
std::length_error exception, which is not catched (to mark the part as
broken). Also this will protect from the corruptions on disk.

And add a simple test, since dbms/tests/integration/test_insert_into_distributed too complex.

Also simplify the code by using readStringBinary() over
readVarUInt()+b.readStrict() (this also gains additional checks that
string is not bigger then 1GB).

Refs: #4852 (8ef7f3589a)
v2: avoid ABI breakage (suggested by @vitlibar)
v3: minor code fixes (suggested by @vitlibar) and as a consequence clang-8 build fix
v4: drop DBMS_MIN_REVISION_WITH_EXTRAS_CHECKSUM_IN_DIST_BATCH and also
    revert some renames to make the patch cleaner
2019-12-04 22:54:38 +03:00
alesapin
172bbb1a2f Fix flappy test, because dictionaries are loaded lazily 2019-12-04 21:30:47 +03:00
alesapin
cfa1b37fd6
Merge pull request #8032 from ClickHouse/ddl_dictionaries_if_not_exists
Create dictionary if not exists
2019-12-04 21:28:05 +03:00
alesapin
7b8443710d Better code 2019-12-04 19:20:24 +03:00
alesapin
40c6966223 Don't check dictionary modification if it's already have an exception. 2019-12-04 18:23:18 +03:00
alesapin
2592e44eef
Merge pull request #8028 from ClickHouse/fix_libc_compatibility_of_odbc_bridge
Fix unintendent dependency from GLIBC 2.16 in clickhouse-odbc-bridge
2019-12-04 18:15:26 +03:00
alesapin
3128b62f0e Create dictionary if not exists 2019-12-04 18:11:36 +03:00
alesapin
a41764cccc Reload dictionary with invalidate query if it has exception 2019-12-04 17:45:56 +03:00
alesapin
ce05cea192 Add sleep for test 2019-12-04 17:22:49 +03:00
alesapin
711fb5e667 Added tests for external dictionary invalidate query failover 2019-12-04 16:53:05 +03:00
alesapin
516876becb Fix unintendent dependency from GLIBC 2.16 in clickhouse-odbc-bridge 2019-12-04 15:39:09 +03:00
alesapin
a651a1e05b
Merge pull request #8024 from ClickHouse/millb-fix_metric_suffix_in_settings_value
Merging [#7678]
2019-12-04 14:27:14 +03:00
alesapin
eb17d51dd4 Remove unused function 2019-12-04 12:49:54 +03:00
alesapin
d1d3bac744 Better 2019-12-04 12:48:08 +03:00
alesapin
ace44e0717 Add test for incorrect settings 2019-12-04 12:34:05 +03:00
alesapin
9e5f13e7af Merge branch 'fix_metric_suffix_in_settings_value' of https://github.com/millb/ClickHouse into millb-fix_metric_suffix_in_settings_value 2019-12-04 12:22:29 +03:00
alesapin
8877129d60
Merge pull request #8012 from ClickHouse/millb-url_engine_problem
Merging [#7154]
2019-12-04 12:13:15 +03:00
Ivan Blinkov
f737f222b2
Remove link to past meetup 2019-12-04 12:03:50 +03:00
BayoNet
a95e585d6a
DOCS-121: Introspection functions description (#7871)
* CLICKHOUSEDOCS-121: EN docs for the addressToLine function and the allow_introspection_functions setting.

* CLICKHOUSEDOCS-121: Introspection functions description.

* Update docs/en/query_language/functions/introspection.md

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* CLICKHOUSEDOCS-121: Update by the comments.
2019-12-04 09:55:13 +03:00
BayoNet
52d684614c
DOCS-265: Docs for the max_http_get_redirects setting (#7684)
* CLICKHOUSEDOCS-265: The max_http_get_redirects setting description.

* CLICKHOUSEDOCS-265: Clarification.

* CLICKHOUSEDOCS-265: Clarification.
2019-12-04 09:46:31 +03:00
alesapin
fa4728d44f Fix style 2019-12-03 20:57:00 +03:00
alesapin
f0e9715f10 Fix test 2019-12-03 20:36:02 +03:00
Nikolai Kochetov
7b3c56990d
Merge pull request #8005 from ClickHouse/add-more-checks-to-chunk
Add forgotten rows number check to chunk constructor.
2019-12-03 20:26:19 +03:00
alesapin
2a43daec5c Buildable code 2019-12-03 20:15:16 +03:00
Sergei Shtykov
22399ad7be CLICKHOUSEDOCS-121: Update by the comments. 2019-12-03 19:52:28 +03:00
alesapin
20e4e92c49 Fix some conflicts 2019-12-03 19:32:41 +03:00
alexey-milovidov
8cb5402179
Merge pull request #8006 from CurtizJ/and_perftest
Add perf test for function 'and'.
2019-12-03 19:06:26 +03:00
Sergei Shtykov
6d11f96106 Merge branch 'master' of github.com:ClickHouse/ClickHouse into en-docs/CLICKHOUSEDOCS-121-addressToLine 2019-12-03 18:05:07 +03:00
BayoNet
4205fe8c9b
Update docs/en/query_language/functions/introspection.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-12-03 18:00:45 +03:00
alexey-milovidov
da754943d8
Merge pull request #8008 from Alex-Burmak/typo_fix
Fixed typos in ExternalLoader.h and CrossToInnerJoinVisitor.cpp
2019-12-03 17:29:49 +03:00
Nikolai Kochetov
31d5c66867 Fix num rows in IRowInputFormat 2019-12-03 16:43:40 +03:00
alexey-milovidov
3855540e45
Merge pull request #8007 from ClickHouse/blinkov-patch-15
Fix toc_en.yml error
2019-12-03 16:42:40 +03:00
Alexander Burmak
108c792fd9 Fixed typos in ExternalLoader.h and CrossToInnerJoinVisitor.cpp 2019-12-03 16:39:42 +03:00
Ivan Blinkov
fa4894bd47
Fix toc_en.yml error 2019-12-03 16:34:19 +03:00
CurtizJ
828f3ac3b2 add perf test for function and 2019-12-03 16:28:07 +03:00
alesapin
54088db46a
Merge pull request #8001 from ClickHouse/add_time_to_func_tests
Added argument --print-time to tests.
2019-12-03 15:38:11 +03:00
alexey-milovidov
1b2297bcee
Merge pull request #7999 from litao91/typo_fix
Fix a minor typo on formatting UNION ALL AST
2019-12-03 15:29:49 +03:00
alexey-milovidov
aadf7c689c
Merge pull request #7993 from ClickHouse/merge-great-circle-distance
Merging #7307
2019-12-03 15:23:38 +03:00
alexey-milovidov
f09c29a2b6
Merge pull request #7992 from ClickHouse/excitoon-favorites-s3auth
Merging #7623
2019-12-03 15:21:12 +03:00
Nikolai Kochetov
448d755a3b Add forgotten rows number check to chunk constructor. 2019-12-03 14:56:51 +03:00
BayoNet
e86a1cd68e
DOCS-6182: The flatten function docs (#7661)
* Array flatten function description (#67)

* docs(flatten): add flatten description

* docs(flatten): flatten description

* docs(flatten): flatten description (minor changes)

* docs(flatten): add flatten description

* docs(flatten): flatten description

* docs(flatten): flatten description (minor changes)

* docs(flatten): changing description

* DOCAPI-6182: The flatten function docs

* Update docs/en/query_language/functions/array_functions.md

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* DOCAPI-6182: Switched names.
2019-12-03 13:11:13 +03:00
Nikolai Kochetov
f2ff3b3ddd Added argument --print-time to tests. 2019-12-03 12:59:41 +03:00
litao91
d9607c50fe
Fix a minor typo on formatting UNION ALL AST 2019-12-03 16:58:00 +08:00
Alexey Milovidov
40b0f12755 Removed tons of garbage from "greatCircleDistance" function. But algorithm is still unclear. 2019-12-03 05:25:23 +03:00
alexey-milovidov
0c904f1484
Merge pull request #7721 from 4ertus2/decimal
Basic GatherUtils support for Decimals
2019-12-03 05:15:38 +03:00