feng lv
53fde56cb7
rewrite bitHammingDistance with FunctionBinaryArithmetic
...
fix
fix typo
2022-01-19 09:07:05 +00:00
tavplubix
cdcd93330a
Merge pull request #33743 from ClickHouse/better_exception_message
...
Better exception text on suspicious broken parts
2022-01-19 11:25:59 +03:00
Nikolay Degterinsky
eaad8eef7f
Merge pull request #33731 from Vxider/remove_unused_var
...
Remove unused variable
2022-01-19 10:35:18 +03:00
Amos Bird
f65d77cc74
Hotfix of missing header
2022-01-19 14:11:42 +08:00
alexey-milovidov
d222cb9771
Merge pull request #33695 from amosbird/buildimprove
...
Some build improvement
2022-01-19 03:19:22 +03:00
alesapin
127365658d
Followup
2022-01-18 22:00:52 +03:00
alesapin
e7ee116358
Update src/Storages/MergeTree/MergeTreeData.cpp
...
Co-authored-by: tavplubix <avtokmakov@yandex-team.ru>
2022-01-18 22:00:23 +03:00
alesapin
24f4a5040d
Better exception message
2022-01-18 21:59:54 +03:00
alesapin
358e3a165c
Better exception text on suspicious broken parts
2022-01-18 19:28:58 +03:00
alesapin
e5ec1aa446
Merge pull request #33642 from ClickHouse/add_integration_test_for_zero_duplication
...
Fix bug with background moves in zero copy replication
2022-01-18 18:32:16 +03:00
Kruglov Pavel
2295a07066
Merge pull request #33534 from azat/fwd-decl
...
RFC: Split headers, move SystemLog into module, more forward declarations
2022-01-18 17:22:49 +03:00
Maksim Kita
30dab61f97
Merge pull request #33526 from kitaisreal/dictionary-rename-fix
...
Dictionary rename fix
2022-01-18 13:11:34 +01:00
Dmitry Novik
43838c1b4c
Merge pull request #33355 from ucasfl/decimal-binary-op
...
Enable binary arithmetic between Decimal and Float
2022-01-18 14:04:26 +03:00
Vxider
fb62960836
remove unused variable
2022-01-18 09:34:26 +00:00
alesapin
eff85d3352
Review fixes
2022-01-18 11:27:01 +03:00
alexey-milovidov
19fadd8d41
Merge pull request #33707 from kitaisreal/h3-remove-functions-rads-to-degs
...
H3 remove functions degsToRads, radsToDegs
2022-01-18 03:32:38 +03:00
Anton Popov
a25f2518e3
Merge pull request #33141 from 1over/feature_default_keyword
...
Add support of DEFAULT keyword for INSERT
2022-01-18 02:04:37 +03:00
Maksim Kita
3ca17afa00
Fixed build
2022-01-17 20:35:52 +00:00
Maksim Kita
41fa490473
Merge pull request #33665 from azat/improve-collection-parsing
...
Slightly reduce memory usage for parsing collections (by using move ctor)
2022-01-17 15:43:44 +01:00
Maksim Kita
110b39add4
H3 remove functions degsToRads, radsToDegs
2022-01-17 14:42:50 +00:00
Amos Bird
6d62060e16
Build improvement
2022-01-17 22:36:27 +08:00
tavplubix
34b3894422
Merge pull request #33676 from ClickHouse/fix-8340
...
Correctly determine current database if CREATE TEMPORARY TABLE AS SELECT is queried inside a named HTTP session.
2022-01-17 16:52:09 +03:00
Maksim Kita
886b3c1ace
Merge pull request #33675 from ClickHouse/fix-7462
...
Allow `insertFrom` for `ColumnFunction`
2022-01-17 13:42:12 +01:00
alesapin
31fb93330e
Fix comment
2022-01-17 14:54:51 +03:00
alesapin
4caef03e6a
Add ephemeral lock in zookeeper
2022-01-17 14:52:51 +03:00
alesapin
b2271cc2d9
Merge pull request #33288 from JackyWoo/add_lower_bound_session_timeout_to_keeper
...
Add lower bound session timeout to keeper
2022-01-17 14:06:15 +03:00
alesapin
ccf990e887
Merge branch 'master' into add_integration_test_for_zero_duplication
2022-01-17 13:33:39 +03:00
Vitaly Baranov
bb620a93af
Merge pull request #33574 from vitlibar/fix-multiple-ldap-storages-in-same-config
...
Fix using multiple LDAP storages in the same config.
2022-01-17 13:58:12 +07:00
Vitaly Baranov
f707eb5531
Merge pull request #33401 from IlyaTsoi/master
...
Fixed crash of the LDAP authorization process if there are parentheses in the user_dn variable
2022-01-17 13:53:45 +07:00
Vitaly Baranov
1e5aaa4c10
Merge pull request #33492 from huzhichengdd/grant_bug_fixed
...
fix ContextAccess constructor to avoid coredump
2022-01-17 13:49:35 +07:00
alexey-milovidov
16feccbb34
Merge pull request #33672 from kitaisreal/functions-dict-get-has-implicit-key-cast
...
Functions dictGet, dictHas implicit key cast
2022-01-17 07:38:36 +03:00
Alexey Milovidov
56b25f4543
Review fixes
2022-01-17 04:14:16 +03:00
Maksim Kita
39ddd48435
Fix style check
2022-01-16 15:33:03 +00:00
Maksim Kita
886512694c
Fixed build
2022-01-16 15:30:23 +00:00
Maksim Kita
746c2a1306
Fix style check
2022-01-16 15:29:46 +00:00
Maksim Kita
0e6b90f513
Fix tests
2022-01-16 12:31:51 +00:00
Maksim Kita
dd62c3c93e
DictionarySourceCoordinator update interface
2022-01-16 12:22:22 +00:00
Maksim Kita
ff15e5af1d
Fixed tests
2022-01-16 11:45:36 +00:00
Alexey Milovidov
4ab7dfc741
Fix #8340
2022-01-16 08:12:55 +03:00
Alexey Milovidov
7848ea7d60
Allow insertFrom for ColumnFunction
2022-01-16 06:18:35 +03:00
Maksim Kita
a0ad7a1014
Update IExternalLoadable interface
2022-01-16 00:06:10 +00:00
Maksim Kita
0df98140af
Functions dictGet, dictHas implicit key cast
2022-01-15 23:25:05 +00:00
Azat Khuzhin
16adcc1666
Reduce memory usage for parsing collections (by using move ctor)
...
In case you pass array in VALUES section (ValuesBlockInputFormat), it
will be copied after it had been created.
This is not significant if array is small, however if you have huge
enough array, then this can become significant (especially for array of
bool, since for each element will be used Field anyway, and it's size is
56 byte).
Here is a simple reproducer:
$ curl -sS 'http://127.1:8123/?input_format_values_deduce_templates_of_expressions=0 ' -d@- <<<"insert into function null('_ Int') values (length([0,$(yes 1, | head -n2000000 | tr -d '\n')1]))"
But note, that there is lots of work (evalute constant expressions from #6781 )
after parsing collection, and so total memory usage for query does not
changed a lot (hence - no test).
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-15 21:13:05 +03:00
mergify[bot]
f877ae9539
Merge branch 'master' into fix-block-perf-context-description
2022-01-14 18:10:15 +00:00
alesapin
bf803472b1
Add a tests for a TTL bug in zero copy replication
2022-01-14 18:44:10 +03:00
Sergei Trifonov
f70c6320cf
use std::string_view instead of raw pointers
2022-01-14 18:41:41 +03:00
Kruglov Pavel
d2e9f37bee
Merge branch 'master' into format-by-extention
2022-01-14 18:36:23 +03:00
avogar
817a314263
Fix tests and style
2022-01-14 17:46:24 +03:00
Kruglov Pavel
f3359b4698
Merge pull request #33633 from Avogar/error-codes
...
Fix error codes order
2022-01-14 16:44:43 +03:00
avogar
eeec8c6c11
Fix error codes order
2022-01-14 16:36:12 +03:00