Commit Graph

50245 Commits

Author SHA1 Message Date
Nikolai Kochetov
6177996d5b Fix gcc build. 2020-10-21 00:27:01 +03:00
Azat Khuzhin
3559e3355c Do not cache dictionary for dictGet*/dictHas*
There are places where ExpressionActionsPtr is cached
(StorageDistributed caching it for sharding_key_expr and
optimize_skip_unused_shards), and if the dictionary will be cached
within "query" then cached ExpressionActionsPtr will always have first
version of the query and the dictionary will not be updated after
reload.

For example this will fix dictGet in sharding_key (and similar places,
i.e. when the function context is stored permanently)

Fixes: 01527_dist_sharding_key_dictGet_reload
2020-10-21 00:22:40 +03:00
Azat Khuzhin
7e4494e268 Add a test for dictGet in sharding_key after dictionary reload 2020-10-21 00:22:40 +03:00
alexey-milovidov
8084ce75cb
Merge pull request #16105 from azat/allow_nondeterministic_optimize_skip_unused_shards
Add allow_nondeterministic_optimize_skip_unused_shards
2020-10-21 00:16:26 +03:00
alesapin
8097c696de Trying another fix 2020-10-20 23:05:20 +03:00
alexey-milovidov
2b00b5391a
Merge pull request #11844 from Enmk/AES_encrypt_decrypt
encrypt and decrypt functions
2020-10-20 22:57:35 +03:00
alexey-milovidov
8998829f66
Merge pull request #15685 from vivarum/enable-parsing-of-input-enum-values-by-id-10682
Enable parsing enum values by their ids for CSV, TSV and JSON input formats
2020-10-20 22:52:57 +03:00
alexey-milovidov
510e7ef0bf
Merge pull request #16151 from abyss7/pytest-python3
Fix pytest after migration to Python 3
2020-10-20 22:13:13 +03:00
alexey-milovidov
d8dff708dd
Merge pull request #16186 from antarctictardigrade/patch-4
Update: added query_start_time_microseconds.
2020-10-20 22:12:44 +03:00
alexey-milovidov
195526c033
Merge pull request #16187 from antarctictardigrade/patch-5
Update: added query_start_time_microseconds.
2020-10-20 22:11:57 +03:00
Azat Khuzhin
e76066718d Fix query comments in query_log and server log (w/ enable_global_with_statement)
Plus, I guess that enable_global_with_statement will be enabled by
default someday, so it may become significant.

The enable_global_with_statement had been introduced in #15451

Cc: @amosbird
2020-10-20 21:10:36 +03:00
Alexey Milovidov
70bf613a28 Merge branch 'simplify-init-script' of github.com:yandex/ClickHouse into simplify-init-script 2020-10-20 21:10:01 +03:00
Alexey Milovidov
104019bd87 Set capabilities with caution 2020-10-20 21:09:15 +03:00
Alexey Milovidov
1ab9c7fbb7 Merge branch 'master' into simplify-init-script 2020-10-20 21:08:42 +03:00
Alexander Kuzmenkov
7f7e6e809d debug and -Og again 2020-10-20 20:48:55 +03:00
Alexander Kuzmenkov
8a0435e178 some fixes for split build 2020-10-20 20:47:10 +03:00
Alexander Kuzmenkov
abcb3c2ff9
Update report.py 2020-10-20 20:06:51 +03:00
Alexander Kuzmenkov
6b0225ab8c
Update README.md 2020-10-20 19:52:37 +03:00
alexey-milovidov
75a02112bc
Merge pull request #15592 from sundy-li/readonly-metrics
sub ReadonlyReplica metric when detach readonly tables
2020-10-20 19:17:52 +03:00
Mikhail Filimonov
d7ea9b6d93
Add setTemporaryStorage to clickhouse-local to make OPTIMIZE work 2020-10-20 17:57:53 +02:00
Nikolai Kochetov
19ccce0305 Fix gcc build. 2020-10-20 18:56:05 +03:00
alesapin
439bbd9861 Blind performance fix 2020-10-20 18:30:46 +03:00
alexey-milovidov
ed8fe9c3ac
Merge pull request #16180 from ClickHouse/dependabot/pip/docs/tools/markdown-3.3.2
Bump markdown from 3.2.1 to 3.3.2 in /docs/tools
2020-10-20 18:20:35 +03:00
Vladimir Chebotarev
aa5f207fd4
Added disable_merges option for volumes in multi-disk configuration (#13956)
Co-authored-by: Alexander Kazakov <Akazz@users.noreply.github.com>
2020-10-20 18:10:24 +03:00
alesapin
df4620b7bd Merge branch 'master' into run_func_tests_in_parallel 2020-10-20 17:15:56 +03:00
Nikolai Kochetov
395b9293d5 Remove double space. 2020-10-20 17:03:54 +03:00
nikitamikhaylov
f33ae7f167 style 2020-10-20 16:34:57 +03:00
Nikolai Kochetov
a1d5adf8d5 Merge branch 'master' into new-block-for-functions-4 2020-10-20 16:16:08 +03:00
Nikolai Kochetov
295e612343 Fix build and tests. 2020-10-20 16:11:57 +03:00
nikitamikhaylov
4ce2670ab1 Merge branch 'master' of github.com:ClickHouse/ClickHouse into welch-t-test 2020-10-20 15:59:24 +03:00
Alexander Kuzmenkov
4080ad3cba Merge remote-tracking branch 'origin/master' into HEAD 2020-10-20 15:32:32 +03:00
Alexander Tokmakov
62a0ee8255 fix assertion in table function file() 2020-10-20 15:29:46 +03:00
Alexander Kuzmenkov
242ec7e56c make some tests faster 2020-10-20 15:12:06 +03:00
vladimir golovchenko
a64bc6c586 Fixed IPv4CIDRToRange/IPv6CIDRToRange functions to pass Const IP address. 2020-10-20 15:06:22 +03:00
vladimir golovchenko
dcceb11353 Added tests to cover cases with Const first column. 2020-10-20 15:06:22 +03:00
Alexander Kuzmenkov
84908df6d8 fix setting parent from HTTP traceparent 2020-10-20 14:35:13 +03:00
Ekaterina
2e3a9e31e8
Update: added query_start_time_microseconds.
Added query_start_time_microseconds.
2020-10-20 14:31:42 +03:00
Ekaterina
2bafc5443a
Update: added query_start_time_microseconds.
Added query_start_time_microseconds.
2020-10-20 14:31:28 +03:00
Nicolae Vartolomei
65013fcbd1 Explain why max_concurrent_queries_for_all_users exists 2020-10-20 12:00:04 +01:00
alexey-milovidov
b4f0e08369
Merge pull request #16158 from ClickHouse/minimal-ui
Added minimal web UI
2020-10-20 11:57:56 +03:00
Alexander Kuzmenkov
f3abb76e57 disable traceparent header in Arcadia
it interferes with the test_clickhouse.TestTracing.test_tracing_via_http_proxy[traceparent] test
2020-10-20 11:13:21 +03:00
dependabot-preview[bot]
c4d2aa3e07
Bump markdown from 3.2.1 to 3.3.2 in /docs/tools
Bumps [markdown](https://github.com/Python-Markdown/markdown) from 3.2.1 to 3.3.2.
- [Release notes](https://github.com/Python-Markdown/markdown/releases)
- [Commits](https://github.com/Python-Markdown/markdown/compare/3.2.1...3.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-20 06:12:16 +00:00
Vasily Nemkov
1cf9781d4e AES: Attempt to make performance tests faster and more stable. 2020-10-20 08:05:39 +03:00
alexey-milovidov
9a9ad20c6d
Update adopters.md 2020-10-20 04:38:36 +03:00
Alexey Milovidov
448c87363c Style 2020-10-20 04:29:34 +03:00
Alexey Milovidov
94592819ad Add comment 2020-10-20 04:29:13 +03:00
alexey-milovidov
5e46e7c670
Merge pull request #15723 from Jokser/idempotent-part-move
Possibility to move part to another disk/volume if first attempt was failed
2020-10-20 04:26:50 +03:00
alexey-milovidov
124379cccc
Update IMergeTreeDataPart.h 2020-10-20 04:24:30 +03:00
alexey-milovidov
26517ff08d
Update IMergeTreeDataPart.h 2020-10-20 04:23:23 +03:00
alexey-milovidov
14d9586735
Update AggregateFunctionRankCorrelation.h 2020-10-20 04:18:12 +03:00