Alexey Milovidov
53826d6050
Updated tests
2019-12-29 19:42:07 +03:00
alesapin
e95fbecf03
Lock structure by default for generic alter implementation
2019-12-29 19:34:32 +03:00
alexey-milovidov
1b47aec9b5
Merge branch 'master' into enable_use_minimalistic_part_header_in_zookeeper
2019-12-29 19:30:34 +03:00
Alexey Milovidov
fc8a0a1f12
Improvement
2019-12-29 17:34:23 +03:00
Alexey Milovidov
68ef7a6e4b
Added comment
2019-12-29 17:32:46 +03:00
Alexey Milovidov
4ca3720a5a
Fixed error in performance test
2019-12-29 16:46:49 +03:00
Mikhail Nacharov
d6cd202860
refs #8443 fix logging
2019-12-29 18:08:33 +05:00
alexey-milovidov
4b4efa3b0b
Merge pull request #8451 from ClickHouse/BayoNet-feature/randomASKII-function
...
Merging #8401
2019-12-29 15:25:18 +03:00
alesapin
44370467f0
More comments
2019-12-29 14:25:26 +03:00
alesapin
247906a4d7
Move check alter to alter interpreter
2019-12-29 14:09:10 +03:00
alesapin
9ee7807f45
Remove redundant file
2019-12-29 14:04:42 +03:00
Alexey Milovidov
1b96ba5e10
Fixed error
2019-12-29 05:26:51 +03:00
Alexey Milovidov
88bb7b48bf
Merge branch 'master' of github.com:yandex/ClickHouse into BayoNet-feature/randomASKII-function
2019-12-29 04:15:23 +03:00
Alexey Milovidov
7e1aa3da4a
Fixed issue with rebuild time
2019-12-29 04:14:21 +03:00
Alexey Milovidov
84a08ff1ba
Fixed possible overflow
2019-12-29 04:12:19 +03:00
Alexey Milovidov
49cfe326e3
Fixed build after merge
2019-12-29 04:08:12 +03:00
alexey-milovidov
15c67f0a0e
Merge branch 'master' into refactor_databases
2019-12-29 03:52:07 +03:00
Alexey Milovidov
d42b50456f
Merging randomPrintableASCII #8401
2019-12-29 02:11:02 +03:00
Ruslan
af2b17fbcb
add tests and fix build
2019-12-29 01:08:18 +03:00
Alexey Milovidov
4faf2f5485
Merge branch 'feature/randomASKII-function' of https://github.com/BayoNet/ClickHouse into BayoNet-feature/randomASKII-function
2019-12-29 00:14:18 +03:00
alexey-milovidov
6830d7fa2d
Merge pull request #8440 from excitoon-favorites/bettercheckforpartsonanotherdisks
...
Improved check for parts on different disks
2019-12-29 00:10:47 +03:00
Alexey Milovidov
f4f2ed7a30
Fixed errors: checking the number of arguments; managing of state #8326
2019-12-28 23:54:50 +03:00
Alexey Milovidov
4f05295402
Merge branch 'kononencheg/runningAccumulate' of https://github.com/kononencheg/ClickHouse into kononencheg-kononencheg/runningAccumulate
2019-12-28 23:18:58 +03:00
alexey-milovidov
b9c7ecfa97
Merge pull request #8439 from ClickHouse/refactor_alter
...
[WIP] Refactor alter
2019-12-28 23:11:51 +03:00
Amos Bird
bbc736f2d9
c++20!
2019-12-29 03:08:25 +08:00
alexey-milovidov
95b43aa5ec
Merge pull request #8446 from ClickHouse/agg-throw
...
Added aggregate function `aggThrow`
2019-12-28 18:30:10 +03:00
Alexey Milovidov
24cc10177a
Fixed another bug found by Amos Bird
2019-12-28 18:29:07 +03:00
alesapin
10312a1d88
Merge with master
2019-12-28 12:56:14 +03:00
alesapin
9c42801c94
Fix stupid bug
2019-12-28 12:21:09 +03:00
Vladimir Chebotarev
1ad0c92873
Fixed logic error introduced in previous commit.
2019-12-28 10:30:12 +03:00
Alexey Milovidov
75f3075405
Updated exception message
2019-12-28 08:16:02 +03:00
Alexey Milovidov
0ec3f37921
Fixed error in "arrayReduce" aggregate function
2019-12-28 08:13:23 +03:00
Alexey Milovidov
56ec171fc0
Better check
2019-12-28 08:08:22 +03:00
Alexey Milovidov
608d8e854d
Allow any number of arguments
2019-12-28 07:30:46 +03:00
Alexey Milovidov
78402ade07
Simplification
2019-12-28 07:26:55 +03:00
Alexey Milovidov
579137486b
Added aggregate function aggThrow
2019-12-28 07:23:08 +03:00
alexey-milovidov
9d651526ca
Merge pull request #8343 from Felixoid/inherit_multiple_profiles
...
Inherit multiple profiles
2019-12-28 06:53:54 +03:00
alexey-milovidov
9d26920983
Update Settings.cpp
2019-12-28 06:52:47 +03:00
alexey-milovidov
9f7b56e926
Update SettingsConstraints.cpp
2019-12-28 06:52:21 +03:00
alexey-milovidov
1d21286209
Merge pull request #8318 from excitoon-favorites/replicatedalterttl
...
Fixed ALTER TTL for replicated tables
2019-12-28 06:49:42 +03:00
Sergey Kononenko
d7b030dbff
Fix bad solution
2019-12-28 02:33:37 +03:00
Sergey Kononenko
0616b35ac8
Fix style
2019-12-28 01:54:01 +03:00
Sergey Kononenko
96302d4949
Prevent aggregation function destroy repeat
2019-12-28 01:52:03 +03:00
alexey-milovidov
9e8c3acffc
Merge pull request #8442 from ClickHouse/ddlworker-trash
...
Removed trash from DDLWorker
2019-12-28 01:27:53 +03:00
Sergey Kononenko
50f3861358
Check arguments count
2019-12-27 23:55:42 +03:00
alesapin
c48f892e13
Merge with master
2019-12-27 23:12:54 +03:00
alesapin
fef681acfe
Fix style
2019-12-27 23:10:30 +03:00
Alexey Milovidov
2b04fccde7
Removed obsolete setting
2019-12-27 22:48:31 +03:00
alexey-milovidov
d989604d33
Merge pull request #8242 from achimbab/bugfix_bloomfilter
...
Fixed two bugs in the bloom_filter index.
2019-12-27 22:46:54 +03:00
Ruslan
bd01bdad97
git is hard((
2019-12-27 22:45:41 +03:00
Vladimir Chebotarev
04a9e0b615
Fixed typos.
2019-12-27 22:44:54 +03:00
Ruslan
8ff8e8e7f5
trying to fix git
2019-12-27 22:42:14 +03:00
Alexey Milovidov
eb04f0ea84
Removed trash from DDLWorker
2019-12-27 22:30:13 +03:00
Ruslan
0fbbdbab24
working on git fix
2019-12-27 22:25:01 +03:00
alesapin
5334103690
More usage of StorageInMemoryMetadata
2019-12-27 22:04:30 +03:00
Vladimir Chebotarev
3c2ddc5a81
Improved check for parts on different disks.
2019-12-27 21:58:59 +03:00
Ruslan
a7f2f8bb61
codestyle fix, bug fix
2019-12-27 21:52:18 +03:00
Ruslan
366171a959
Merge branch 'master' of github.com:yandex/ClickHouse
2019-12-27 21:37:53 +03:00
Alexey Milovidov
b17048f07a
Remove sleep by Azat suggestion, https://github.com/ClickHouse/ClickHouse/pull/8288#pullrequestreview-336615781
2019-12-27 21:24:22 +03:00
Alexey Milovidov
f394692728
Updated tests
2019-12-27 21:22:08 +03:00
Alexey Milovidov
cb3a5b26f7
Merge branch 'master' into enable-experimental-indices-and-make-settings-obsolete
2019-12-27 21:12:30 +03:00
Mikhail f. Shiryaev
06fb37dd42
Add tests and documentation for settings and constraints order
2019-12-27 18:15:55 +01:00
alexey-milovidov
1c28fccd9a
Merge pull request #8428 from amosbird/trivialbuildfix
...
trivial build fix
2019-12-27 20:09:28 +03:00
alesapin
2d40b33120
More usage of metadata
2019-12-27 19:34:50 +03:00
Nikolai Kochetov
11ee56213d
Merge pull request #8433 from ClickHouse/fix-sorting-aggregated-transform
...
Fix SortingAggregatedTransform.
2019-12-27 19:28:37 +03:00
alesapin
fcf3552750
Better changes
2019-12-27 18:07:53 +03:00
alesapin
d610bb215a
Remove cerr
2019-12-27 18:05:23 +03:00
alesapin
166c1da6c9
Removed redundat changes
2019-12-27 18:03:49 +03:00
alesapin
7ad59edf8f
Slightly more comments
2019-12-27 18:01:41 +03:00
alesapin
6916ac08c2
Rename fields
2019-12-27 17:46:11 +03:00
alesapin
716648bfa4
Something working
2019-12-27 17:36:59 +03:00
Nikolai Kochetov
2398dc954c
Fix SortingAggregatedTransform.
2019-12-27 15:46:39 +03:00
chertus
3e13157994
better engine Join tests
2019-12-27 15:41:55 +03:00
alesapin
ccb4ad450c
Merge branch 'master' into refactor_alter
2019-12-27 12:07:20 +03:00
Amos Bird
5570431a04
trivial
2019-12-27 13:51:52 +08:00
Vitaly Baranov
b75771be61
Merge pull request #7808 from vitlibar/RBAC-3
...
RBAC-3
2019-12-27 09:44:24 +07:00
alexey-milovidov
d021d5e0ec
Merge pull request #8419 from apbodrov/url_fix
...
[ISSUE-8157] incorrect parsing of file extension in URL
2019-12-27 02:25:39 +03:00
Mikhail f. Shiryaev
e0f43e99e2
Add tests for multiple profiles inheritance
2019-12-26 23:18:59 +01:00
Mikhail f. Shiryaev
a940a25684
Add a way to set multiple parent profiles
2019-12-26 23:18:21 +01:00
alexey-milovidov
d2e5827307
Merge pull request #8410 from excitoon-favorites/ttlcheckvaliddeestination
...
Added check for valid destination in a move TTL rule
2019-12-27 00:29:55 +03:00
alexey-milovidov
a16d0068dc
Merge pull request #8421 from maxulan/arrow_flatc_cleanup
...
Arrow flatc cleanup
2019-12-27 00:28:43 +03:00
alexey-milovidov
2934c09796
Merge pull request #8424 from ClickHouse/arg-min-max-simplification
...
Simplification of "use arena" property of min/max/any/argMin... aggregate functions
2019-12-27 00:28:27 +03:00
Alexander Kuzmenkov
fd3889b817
[wip] perf comparison: docker + some tweaks
2019-12-26 23:51:53 +03:00
Vladimir Chebotarev
77944584fc
Fixed replicated alters of TTLs.
2019-12-26 22:34:15 +03:00
Vladimir Chebotarev
cff368c1d1
Updated test_alter_multiple_ttls
.
2019-12-26 22:34:15 +03:00
Vladimir Chebotarev
7ed19c2a2d
Added test for ALTER TTL.
...
Co-authored-by: Vitaliy Zakaznikov <vzakaznikov@protonmail.com>
2019-12-26 22:34:08 +03:00
alexey-milovidov
89eeaa50e9
Merge branch 'master' into enable-experimental-indices-and-make-settings-obsolete
2019-12-26 22:16:50 +03:00
alexey-milovidov
1adc3cfb88
Merge pull request #8118 from excitoon-favorites/scan_all_disks
...
Check extra parts of `MergeTree` at different disks, in order to not allow to miss data parts at undefined disks
2019-12-26 22:10:53 +03:00
alexey-milovidov
938100dbe2
Update MergeTreeData.cpp
2019-12-26 22:10:04 +03:00
alexey-milovidov
6b997a0c61
Merge pull request #8288 from PerformanceVision/reload_dictionary
...
Implement ON CLUSTER syntax when we want to reload a dictionary
2019-12-26 22:05:41 +03:00
Alexey Milovidov
b77ac978d1
Changed the code from bad to normal #8341 #5311
2019-12-26 21:54:37 +03:00
Alexey Milovidov
fa1ef74fdb
Simplification, part 1 #8341
2019-12-26 21:46:08 +03:00
alexey-milovidov
ef8b28b74b
Merge pull request #8341 from 769344359/fix_8325
...
Fix 8325
2019-12-26 21:24:53 +03:00
alexey-milovidov
98ff26d78e
Update HelpersMinMaxAny.h
2019-12-26 21:22:47 +03:00
alesapin
d341b648d2
Better alter
2019-12-26 21:17:05 +03:00
Artem Zuikov
c8c4a3595b
Merge pull request #8415 from 4ertus2/some
...
Add test for storage join in view
2019-12-26 20:32:56 +03:00
alexey-milovidov
dd87b49203
Merge pull request #8370 from zhang2014/keep_alias_type_name
...
Keep alias type name to metadata
2019-12-26 20:08:34 +03:00
alexey-milovidov
1e7123083b
Update DataTypesDecimal.h
2019-12-26 20:06:01 +03:00
Andrei Bodrov
1516a252ee
one line
2019-12-26 19:51:17 +03:00
alexey-milovidov
4dda687114
Merge pull request #8407 from excitoon-favorites/testalterttl
...
Added `test_ttl_move::test_ttls_do_not_work_after_alter` test
2019-12-26 19:48:47 +03:00
Maxim Ulanovskiy
32995e3ad5
cosmetic doc fixes
2019-12-26 18:59:38 +03:00
chertus
8d60988e79
add test for storage join in view
2019-12-26 18:56:33 +03:00
Artem Zuikov
b282cbcc91
Merge pull request #8400 from 4ertus2/joins
...
New ANY JOIN + SEMI, ANTI JOIN for StorageJoin
2019-12-26 18:35:50 +03:00
Alexander Tokmakov
abcc7d30b9
fix
2019-12-26 18:17:54 +03:00
Vladimir Chebotarev
64b2b18d5b
Added a check for bad disk/volume as a destination of move TTL expression.
2019-12-26 18:04:55 +03:00
Vladimir Chebotarev
187d72d78d
Improved test_ttl_move::test_rule_with_invalid_destination
.
2019-12-26 18:04:51 +03:00
alexey-milovidov
cd95ece0ed
Merge pull request #8349 from Enmk/codecs_perf_tests
...
Perf tests for all supported codecs against Float64 and UInt64.
2019-12-26 17:54:36 +03:00
alexey-milovidov
f70632b95b
Merge pull request #8413 from achulkov2/shutted-down-storages-fix
...
Fix incorrect past tense in log
2019-12-26 17:38:59 +03:00
alexey-milovidov
db96e1deb6
Merge pull request #8375 from Enmk/toDateTime64_type_check_fix
...
Fixed type check in toDateTime64
2019-12-26 17:35:47 +03:00
alexey-milovidov
af3c52d5fc
Merge pull request #8334 from maxulan/parquet_list_reading_fix
...
Parquet list reading fix
2019-12-26 17:33:30 +03:00
achulkov2
f691143593
Fix incorrect past tense in log
2019-12-26 17:09:36 +03:00
Alexander Tokmakov
50200e245b
Merge branch 'master' into refactor_databases
2019-12-26 15:00:07 +03:00
alesapin
6f28e69e97
Merge pull request #8345 from azat/fix-flaky-test--Buffer_and_max_memory_usage
...
Fix buffer overcommit and 01019_Buffer_and_max_memory_usage flakiness
2019-12-26 13:21:47 +03:00
alexey-milovidov
3dd0e16a11
Merge pull request #8403 from ClickHouse/base64-update-2
...
Fixed TSan report in base64 library.
2019-12-26 13:15:22 +03:00
alexey-milovidov
c1d86809b5
Merge pull request #8404 from ClickHouse/compression-codec-fix
...
Fixed potential buffer overrun in decompress
2019-12-26 13:08:45 +03:00
alesapin
093d56f474
Merge pull request #8382 from ClickHouse/relative_paths_in_storages
...
Use relative paths in Storages
2019-12-26 13:05:37 +03:00
Nikolai Kochetov
3ccd33eeb8
Merge pull request #8362 from ClickHouse/processors-4.5
...
Affinity for processors pipeline. Fix integration tests.
2019-12-26 12:14:32 +03:00
Nikolai Kochetov
348b13af8c
Disable processors by default.
2019-12-26 12:13:14 +03:00
Sergei Shtykov
4b81715ad8
Fix.
2019-12-26 12:02:20 +03:00
Vladimir Chebotarev
1236c8a09a
Added test_ttl_move::test_rule_with_invalid_destination
test.
2019-12-26 11:42:19 +03:00
Vladimir Chebotarev
a9c4127c9d
Added test_ttl_move::test_ttls_do_not_work_after_alter
test.
2019-12-26 09:57:27 +03:00
zhang2014
1db716088c
Keep alias type name to metadata
2019-12-26 13:49:18 +08:00
Vasily Nemkov
9f08dbacff
Fixed style
2019-12-26 07:32:15 +03:00
Alexey Milovidov
7833ee3973
One more check
2019-12-26 06:07:38 +03:00
Alexey Milovidov
056b2fe1dd
Added test
2019-12-26 05:54:23 +03:00
Alexey Milovidov
0b894cf000
Merge branch 'master' into compression-codec-fix
2019-12-26 05:37:18 +03:00
Alexey Milovidov
51685f35e8
Fixed TSan report in base64 library
2019-12-26 04:42:51 +03:00
alexey-milovidov
a6bac3a60a
Merge pull request #8395 from ClickHouse/aku/log-to-console
...
Make log_to_console.xml log to stderr always.
2019-12-26 02:31:27 +03:00
Vladimir Chebotarev
c4e9784464
Fixed skipping parts algorithm while checking parts on other disks.
2019-12-26 01:12:17 +03:00
Vasily Nemkov
33b422d8cc
Argument validation fixes
...
* Fixed crash when converting nullptr char pointer to std::string
* Updatedexepected error code for toDateTime64
2019-12-26 00:07:53 +03:00
Vladimir Chebotarev
91b67af54f
Better cleaning up in test_multiple_disks::test_freeze
.
2019-12-25 23:32:15 +03:00
Vladimir Chebotarev
ab5171f403
Fixed tests.
2019-12-25 23:32:15 +03:00
Vladimir Chebotarev
29068663ea
Fixed build.
2019-12-25 23:32:15 +03:00
Vladimir Chebotarev
80056551ce
Check extra parts of MergeTree
at different disks, in order to not allow to miss data parts at undefined disks.
2019-12-25 23:32:15 +03:00
Nikolai Kochetov
438ea5bc22
Remove context from formats ( #8388 )
...
* Remove Context from formats.
2019-12-25 22:17:41 +03:00
alesapin
fe6a63a12a
Merge pull request #8361 from ClickHouse/immutable_parts
...
More correct alters for non replicated MergeTree
2019-12-25 22:08:20 +03:00
Nikolai Kochetov
5b2847fb90
Fix mysql_protocol integration tests.
2019-12-25 21:46:37 +03:00
tavplubix
982da98e60
Update InterpreterDropQuery.cpp
2019-12-25 20:36:13 +03:00
chertus
4fd7340416
New ANY JOIN for StorageJoin + SEMI, ANTI
2019-12-25 20:32:55 +03:00
Sergei Shtykov
a2b2aa950a
Pre-PR edits.
2019-12-25 20:26:40 +03:00
Alexander Tokmakov
f2d98731ae
remove getCreate from Context
2019-12-25 19:33:26 +03:00
Alexander Tokmakov
01de226df0
abstract path to table data
2019-12-25 19:18:08 +03:00
Vasily Nemkov
6f877abfb6
Merge branch 'toDateTime64_type_check_fix' of github.com:Enmk/ClickHouse into toDateTime64_type_check_fix
2019-12-25 17:58:10 +03:00
Vasily Nemkov
9947324d9f
Fixed failing tests
...
* Throwing with ErrorCodes::ILLEGAL_COLUMN (44) when column validation fails
* added ignored optional argument to toDate() function to preserve compatibility
* fixed toUnixTimestamp
Other minor fixes:
* Better documentation on FunctionArgumentDescriptor and validateFunctionArgumentTypes
* Fixed typos in validateFunctionArgumentTypes
* FunctionArgumentDescriptor::expected_type_description can now be null to avoid confusing type names in case of generic functions.
2019-12-25 17:50:13 +03:00
Alexander Tokmakov
7ab471ef5e
merge similar functions
2019-12-25 16:58:15 +03:00
Alexander Tokmakov
7c48396689
refactor databases: inherit from DatabaseOnDisk
2019-12-25 16:23:38 +03:00
alexey-milovidov
8d1165ed92
Merge pull request #8387 from ClickHouse/stack-trace-physical-addresses
...
Show physical addresses in stack traces
2019-12-25 16:02:41 +03:00
Alexander Tokmakov
86e55e34d6
refactor databases: add DatabaseWithDictionaries
2019-12-25 15:39:28 +03:00
alesapin
3b6e3db0c2
Remove redundant alter_lock, because parts cannot be altered concurrently.
2019-12-25 15:34:04 +03:00
Alexander Tokmakov
73203a4b6b
refactor IDatabase
2019-12-25 15:20:16 +03:00