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
proller
0f46f6d74e
Merge remote-tracking branch 'upstream/master' into fix27
2019-12-27 14:52:19 +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
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
Vladimir Chebotarev
77944584fc
Fixed replicated alters of TTLs.
2019-12-26 22:34:15 +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
proller
08a6f33511
Merge remote-tracking branch 'upstream/master' into fix27
2019-12-26 18:21:04 +00:00
alesapin
d341b648d2
Better alter
2019-12-26 21:17:05 +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
Maxim Ulanovskiy
32995e3ad5
cosmetic doc fixes
2019-12-26 18:59:38 +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
proller
b96d3509df
Merge remote-tracking branch 'upstream/master' into fix27
2019-12-26 15:18:53 +00: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
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
proller
c8301b69cc
Merge remote-tracking branch 'upstream/master' into fix27
2019-12-26 16:59:34 +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
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
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
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
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
proller
b449ccb955
fix
2019-12-25 20:22:01 +00: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
alesapin
d4987f86d3
Merge branch 'master' into immutable_parts
2019-12-25 11:44:47 +03:00
Maxim Ulanovskiy
b98e85851a
cosmetics
2019-12-25 07:47:53 +03:00
Maxim Ulanovskiy
d3b827272f
fixed excessive var copy
2019-12-25 04:37:40 +03:00
Maxim Ulanovskiy
b43ea04548
Merge branch 'master' into parquet_list_reading_fix
2019-12-25 04:09:39 +03:00
Sergei Shtykov
0139d5003d
Fixed bug with multiple blocks output.
2019-12-25 04:09:15 +03:00
alexey-milovidov
e2d2f02d59
Merge pull request #8383 from ClickHouse/fix-race-in-directory-monitor
...
Fix race in StorageDistributedDirectoryMonitor
2019-12-25 01:30:16 +03:00
alexey-milovidov
1150169e55
Merge pull request #8385 from 4ertus2/joins
...
Relax ambiguous column check for multiple JOIN ON section
2019-12-25 01:28:17 +03:00
Alexey Milovidov
80f42a1f3b
Show physical addresses in StackTrace
2019-12-24 23:07:44 +03:00
alesapin
34d2afa354
Fix obvious bug
2019-12-24 23:03:33 +03:00
chertus
afaf860810
relax ambiguous column check for multiple JOIN ON section
2019-12-24 21:51:37 +03:00
Nikolai Kochetov
6a1dccd27c
Change initialization order for StorageDistributedDirectoryMonitor members.
2019-12-24 21:25:00 +03:00
alesapin
05b933b1d3
Better
2019-12-24 21:07:51 +03:00
Alexander Tokmakov
6325f8507c
fixes
2019-12-24 20:41:24 +03:00
Alexey Milovidov
8d190e6807
Fixed build
2019-12-24 20:16:38 +03:00
Alexey Milovidov
bc36c3f1a9
Avoid std::terminate in destructors of some WriteBuffers
2019-12-24 20:12:08 +03:00
Nikolai Kochetov
2148f09220
Disable affinity for apple and FreeBSD.
2019-12-24 20:00:43 +03:00
Nikolai Kochetov
2e8cf5356f
Merge pull request #8376 from ClickHouse/try-fix-tests-with-processors
...
Try fix tests with processors.
2019-12-24 19:59:04 +03:00
Alexander Tokmakov
60a47c3453
Merge branch 'master' into relative_paths_in_storages
2019-12-24 19:58:34 +03:00
tavplubix
7c1a6c726d
Merge pull request #8359 from ClickHouse/more_readable_interpreter_create
...
Refactor table creation
2019-12-24 18:07:43 +03:00
alexey-milovidov
aef617c144
Update FunctionHelpers.cpp
2019-12-24 16:59:00 +03:00
Nikolai Kochetov
6541b2db9e
Merge pull request #8351 from ClickHouse/fix-dict-with-clickhouse-source-and-subquery
...
Fix dict with clickhouse source and subquery
2019-12-24 16:56:48 +03:00
Nikolai Kochetov
e53b68d00f
Fix apple build.
2019-12-24 16:55:28 +03:00
Alexander Tokmakov
514868cebc
use relative paths in IStorage::rename(...)
2019-12-24 16:35:50 +03:00
Nikolai Kochetov
6fbc202bb3
Try fix tests with processors.
2019-12-24 16:30:28 +03:00
Vasily Nemkov
87f58864d3
Fixed type check in toDateTime64
2019-12-24 16:15:25 +03:00
alexey-milovidov
780481a4f9
Merge pull request #8372 from ClickHouse/compiled-aggregator-remove-unused-function
...
Removed unused method that is unneeded after removing compiled aggregator
2019-12-24 15:11:14 +03:00
alexey-milovidov
28c7e78d36
Merge pull request #8344 from ClickHouse/system-stack-trace
...
Added system.stack_trace table.
2019-12-24 12:15:48 +03:00
Alexey Milovidov
8bd22bf190
Removed unused method that is unneeded after removing compiled aggregator
2019-12-24 12:06:44 +03:00
Maxim Ulanovskiy
ee5df8bc4f
Merge branch 'master' into parquet_list_reading_fix
2019-12-24 10:03:21 +03:00
Alexey Milovidov
badbee2385
Added another mode of diagnostic trap
2019-12-23 23:26:46 +03:00
Alexander Tokmakov
ac3f53f300
refactor StorageFile construction
2019-12-23 23:07:31 +03:00
Alexey Milovidov
3b7f3b07cd
Better handling of signals
2019-12-23 22:23:54 +03:00
Alexey Milovidov
e907ce103e
Fixed warning
2019-12-23 21:58:42 +03:00
Alexey Milovidov
9da4b63fe9
Fixed Darwin build
2019-12-23 21:56:57 +03:00
alesapin
88c05c4a1f
Merge pull request #8237 from ClickHouse/synchronous_mutations
...
Add ability to execute mutations synchronously
2019-12-23 21:55:48 +03:00
Nikolai Kochetov
a82079ccc2
Set affinity for PipelineExecutor threads.
2019-12-23 19:55:11 +03:00
Alexey Milovidov
f04a2a5f7b
Fixed Darwin build
2019-12-23 19:54:51 +03:00
Nikolai Kochetov
9482cf2469
Enable processors by default.
2019-12-23 19:49:41 +03:00
Alexey Milovidov
56870c6b3b
Fixed -Wshadow
2019-12-23 19:49:06 +03:00
alesapin
25ecc38615
More correct separation between metadata and data alters for non replicated MergeTree.
2019-12-23 19:44:50 +03:00
Alexey Milovidov
239451a24d
Merge branch 'master' into system-stack-trace
2019-12-23 19:41:23 +03:00
Alexey Milovidov
131e1660aa
Merge remote-tracking branch 'origin/master' into compression-codec-fix
2019-12-23 18:55:45 +03:00
Alexander Tokmakov
5fab732408
use arbitrary relative path in *MergeTree
2019-12-23 18:37:55 +03:00
Alexander Tokmakov
4f58d662f7
make data path relative
2019-12-23 18:20:08 +03:00
Ruslan
ec04f54d14
OptimizeIfChains added
2019-12-23 18:08:18 +03:00
alesapin
73c9f0e71c
Remove redundant code
2019-12-23 17:46:00 +03:00
alesapin
f168977b9a
Merge branch 'master' into synchronous_mutations
2019-12-23 16:24:50 +03:00
Vitaly Baranov
297a5fd627
Merge pull request #8342 from vitlibar/fix-checks-localhost-is-allowed
...
Fix checks if a client host is allowed in case it's the localhost.
2019-12-23 16:03:29 +03:00
alesapin
cfeaea2627
Better exception message in case of duplicate dictionary
2019-12-23 12:35:37 +03:00
Nikolai Kochetov
68305165d1
Create query context for clickhouse dictionary source.
2019-12-23 12:25:58 +03:00
maxulan
031dbe465d
Merge branch 'master' into parquet_list_reading_fix
2019-12-23 10:01:41 +03:00
Maxim Ulanovskiy
e9021f6377
flatbuffers lib downloading replaced with contrib/flatbuffers
2019-12-23 09:51:35 +03:00
Guillaume Tassery
483d6287eb
cosmetic
2019-12-23 07:22:51 +01:00
Guillaume Tassery
15fb9ad6de
Merge branch 'master' into reload_dictionary
2019-12-23 10:46:02 +07:00
Azat Khuzhin
58055e6a94
Do not overcommit Buffer memory usage
...
During INSERT the check against existing rows and rows from the INSERT
block is performed and if they exceeded threshold the Buffer should be
flushed to avoid overcommit, while before this patch the second check
(in flushBuffer()) will ignore rows from INSERT block.
2019-12-23 01:39:37 +03:00
Alexey Milovidov
4d349e9ed0
Added TODO
2019-12-23 00:01:12 +03:00
Alexey Milovidov
c78443d939
Avoid using query_id from old threads
2019-12-22 23:50:33 +03:00
Alexey Milovidov
ca25e2f30f
Added query_id to "system.stack_trace"
2019-12-22 23:37:29 +03:00
Alexey Milovidov
9c868c910a
Simplification
2019-12-22 23:17:16 +03:00
Alexey Milovidov
e0000bef98
Added "system.stack_trace" table (development)
2019-12-22 20:20:33 +03:00
Vitaly Baranov
2e4174a54c
Fix checks if a client host is allowed in case it's the localhost.
2019-12-22 23:24:43 +07:00
dinosaur
17e1428813
Merge branch 'fix_8325' of github.com:769344359/ClickHouse
2019-12-22 22:04:30 +08:00
dinosaur
5f8f5458f2
fix_8325
2019-12-22 21:53:37 +08:00
alexey-milovidov
fee9fda34c
Merge pull request #8130 from CurtizJ/optimize-storage-merge
...
Implement ORDER BY optimization for Storage Merge.
2019-12-22 12:43:18 +03:00
alexey-milovidov
08669e512c
Merge pull request #8332 from Vdimir/prometheus-endpoint-fixes
...
Prometheus endpoint fixes
2019-12-22 12:37:31 +03:00
alexey-milovidov
89e3793db1
Merge pull request #8311 from ClickHouse/gcc-libcxx
...
Using libc++ even with gcc
2019-12-22 12:32:27 +03:00
maxim
558324e773
fixed reading of parquet files containing columns of type list
2019-12-22 10:15:51 +03:00
CurtizJ
d941643416
fix build
2019-12-22 05:44:04 +03:00
Alexey Milovidov
360c85c818
Merge remote-tracking branch 'origin/better-priority-queue' into gcc-libcxx
2019-12-22 00:51:47 +03:00
Alexey Milovidov
bc845ebce5
Optimization of sorting heap
2019-12-22 00:51:22 +03:00
Alexey Milovidov
2c63baa52a
Merge remote-tracking branch 'origin/better-priority-queue' into gcc-libcxx
2019-12-21 23:29:40 +03:00
Alexey Milovidov
8ff361eda4
Optimization of sorting heap
2019-12-21 23:28:51 +03:00
VDimir
cc5af3174e
Update async methics at program srartup
2019-12-21 17:48:35 +00:00
alexey-milovidov
d52547dc75
Merge pull request #8082 from moon03432/master
...
fix bitmapAnd error when intersecting an aggregated bitmap and a scalar bitmap
2019-12-21 18:14:27 +03:00
Sergei Shtykov
8747a1e538
Fixes.
2019-12-21 16:29:46 +03:00
Sergei Shtykov
1b9b326e4f
Merge branch 'master' of github.com:ClickHouse/ClickHouse into feature/randomASKII-function
2019-12-21 14:51:05 +03:00
Sergei Shtykov
6710279687
Fixes.
2019-12-21 14:48:20 +03:00
Alexey Milovidov
6997e9199c
Merge remote-tracking branch 'origin/better-priority-queue' into gcc-libcxx
2019-12-21 03:00:15 +03:00
Alexey Milovidov
6c03e1e91a
Optimization of sorting heap
2019-12-21 03:00:07 +03:00
Alexey Milovidov
b2ffab7cca
Merge remote-tracking branch 'origin/better-priority-queue' into gcc-libcxx
2019-12-21 02:59:25 +03:00