Alexey Milovidov
d3168e33ef
Merge branch 'master' into get-table-performance-issue
2020-01-06 02:02:30 +03:00
Alexey Milovidov
ae2cc175ae
Fixed potential performance issue in "Context::getTable" method
2020-01-06 02:00:31 +03:00
Alexey Milovidov
31f4fd0e4b
Fixed test
2020-01-05 23:11:26 +03:00
Vasily Nemkov
08059ac640
Detailed docs with examples on DoubleDelta and Gorilla codecs
2020-01-05 12:33:13 +03:00
Alexey Milovidov
5620fb1561
Added tests
2020-01-05 10:22:08 +03:00
Alexey Milovidov
9a6531fc1c
Workaround for bug in zlib-ng; using zlib level 3 by default
2020-01-05 09:39:40 +03:00
Alexey Milovidov
ba6a56a485
Added a comment
2020-01-05 08:45:13 +03:00
Alexey Milovidov
ac163ce6c6
Added method "truncate" to StorageFile
2020-01-05 05:57:09 +03:00
Alexey Milovidov
3ddcfb88f1
Fixed error
2020-01-05 04:49:12 +03:00
Alexey Milovidov
5c8c990787
Fixed error
2020-01-05 01:59:08 +03:00
Alexey Milovidov
a01826059b
Fixed error
2020-01-04 21:50:19 +03:00
Nikolai Kochetov
63014126c2
Support reading from DirectoryMonitor.
2020-01-04 21:37:31 +03:00
Nikolai Kochetov
f094e8f565
Support reading from DirectoryMonitor.
2020-01-04 21:33:16 +03:00
Nikolai Kochetov
cf7b16d333
Support reading from DirectoryMonitor.
2020-01-04 21:05:42 +03:00
Nikolai Kochetov
253c6cd59a
Support reading from DirectoryMonitor.
2020-01-04 20:45:56 +03:00
Alexey Milovidov
46c37f2c94
Merge branch 'master' into general-compression-rework
2020-01-04 20:45:45 +03:00
alexey-milovidov
00ba767f5d
Merge pull request #8318 from excitoon-favorites/replicatedalterttl
...
Fixed ALTER TTL for replicated tables
2020-01-04 20:42:39 +03:00
Alexey Milovidov
5ca542d741
Fixed error
2020-01-04 20:00:28 +03:00
Nikolai Kochetov
5869d6708b
Support reading from DirectoryMonitor.
2020-01-04 17:45:11 +03:00
zhang2014
6a5e3e2dd9
try fix failure test & fix build failure
2020-01-04 16:47:03 +08:00
Alexey Milovidov
30e669c677
Removed bad code around general compression methods
2020-01-04 11:07:53 +03:00
Alexey Milovidov
0f4a58ecaa
Removed bad code around general compression methods
2020-01-04 10:31:00 +03:00
alexey-milovidov
42226b1a96
Added setting "min_bytes_to_use_mmap_io" ( #8520 )
...
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io": better error message
* Added setting "min_bytes_to_use_mmap_io": fixed error
2020-01-04 08:46:50 +03:00
Azat Khuzhin
2ee7cd03e2
Fix merge/OPTIMIZE of SimpleAggregateFunction(LowCardinality)
...
In AggregatingSortedBlockInputStream LowCardinality type will be
stripped (via RemovingLowCardinalityBlockInputStream), so it should be
stripped in addStreams, since otherwise it will find the stream by the
stream name.
Also addStreams interface should be reworked to accept DataTypePtr
(since recursiveRemoveLowCardinality() wants it).
Fixes : #8515
2020-01-04 03:59:28 +03:00
Azat Khuzhin
719f2a240b
IMergedBlockOutputStream: Add LOGICAL_ERROR if there is no such stream
2020-01-04 03:56:14 +03:00
alexey-milovidov
880044eabd
Merge pull request #8517 from ClickHouse/escaping-of-query-parameters
...
Changed serialization of query parameters
2020-01-03 19:25:34 +03:00
Alexey Milovidov
9a7f9e846e
Removed useless code from headers
2020-01-03 17:17:34 +03:00
Alexey Milovidov
74303e710d
Changed serialization of query parameters
2020-01-03 17:10:56 +03:00
Nikolai Kochetov
d884ab4318
Merge pull request #7792 from vzakaznikov/live_view_support_for_subquery
...
Live view support for subquery
2020-01-03 15:49:44 +03:00
Nikolai Kochetov
833499cfb6
Merged with master.
2020-01-03 15:34:17 +03:00
alexey-milovidov
35770403fc
Merge pull request #8335 from ClickHouse/better-priority-queue
...
Optimization of ORDER BY and merging
2020-01-03 14:55:25 +03:00
Nikolai Kochetov
1b48ccde79
Fix comparison for SimpleSortCursor.
2020-01-03 10:04:40 +03:00
Vitaliy Zakaznikov
25458a4865
Updates to make all live view tests to pass.
2020-01-03 02:48:15 +01:00
Azat Khuzhin
2aba254fb6
Add backQuoteIfNeed() in InterpreterCreateQuery::setEngine()
2020-01-03 02:17:57 +03:00
Azat Khuzhin
1d44977ae2
Avoid SIGSEGV on CREATE TABLE .. AS dictionary
2020-01-03 01:54:08 +03:00
Alexey Milovidov
c007c9fc17
Fixed assert in debug build
2020-01-03 00:23:10 +03:00
Nikolai Kochetov
73949f1614
Fix MergingSorted
2020-01-02 23:26:27 +03:00
Nikolai Kochetov
92baec6488
Fix MergingSorted
2020-01-02 23:07:07 +03:00
Vitaliy Zakaznikov
2c4bf0581f
Fixing compilation errors.
2020-01-02 20:31:04 +01:00
Alexey Milovidov
ab001c5b3a
Fixed build
2020-01-02 21:55:45 +03:00
Nikolai Kochetov
bb0454bb2e
Revert prev commit.
2020-01-02 21:11:43 +03:00
Vitaliy Zakaznikov
d43eae2db8
First changes.
2020-01-02 12:24:55 -05:00
Alexey Milovidov
9e78683c87
Fixed build
2020-01-02 19:32:17 +03:00
Alexander Burmak
70b3a1a0d8
Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs_log
2020-01-02 18:01:41 +03:00
Alexander Burmak
05869e6049
Addressed review comments
2020-01-02 17:37:31 +03:00
Kiran
ebb1864522
corrected control flow for clusterAllReplicas-TableFunction
2020-01-02 19:38:54 +05:30
zhang2014
9364397597
try fix some predicate optimizer bug
2020-01-02 21:14:48 +08:00
proller
4bb320627c
Merge remote-tracking branch 'upstream/master' into fix27
2020-01-02 14:29:48 +03:00
proller
5b9c12ba3b
Merge remote-tracking branch 'upstream/master' into fix27
2020-01-02 14:29:22 +03:00
Nikolai Kochetov
a3cdc0b4b8
Nicer code in SortingHeap.
2020-01-02 14:12:21 +03:00
Alexey Milovidov
d50609d44c
Merge branch 'better-priority-queue' of github.com:yandex/ClickHouse into better-priority-queue
2020-01-02 13:41:04 +03:00
Alexey Milovidov
218ab1b25b
Merge branch 'master' into better-priority-queue
2020-01-02 13:40:33 +03:00
Nikolai Kochetov
24a1ee4f55
Fix direction for SimpleSortCursor.
2020-01-02 13:38:11 +03:00
Alexey Milovidov
909ac8dcb8
Fixed build
2020-01-02 13:29:59 +03:00
Alexey Milovidov
18a27d532c
Stack trace for every exception (experimental)
2020-01-02 10:59:18 +03:00
Nikolai Kochetov
213f84580f
Lower number of threads.
2020-01-02 10:48:51 +03:00
Alexey Milovidov
c1699b9555
Stack trace for every exception (experimental)
2020-01-02 10:37:13 +03:00
Alexey Milovidov
221f99e5b7
Added another diagnostic trap
2020-01-02 10:31:25 +03:00
Alexey Milovidov
3367e42297
Stack trace for every exception (experimental)
2020-01-02 10:16:02 +03:00
Alexey Milovidov
73ae5ab7fc
Stack trace for every exception (experimental)
2020-01-02 10:09:56 +03:00
Alexey Milovidov
67afaa9d93
Stack trace for every exception (experimental)
2020-01-02 09:56:53 +03:00
Nikolai Kochetov
85e1c88d12
Disable affinity.
2020-01-02 09:27:53 +03:00
Vitaliy Zakaznikov
d0f7a2f3da
Fixing styling error.
2020-01-01 18:01:43 -05:00
Vitaliy Zakaznikov
aeeb4457ed
Updates to simply extractDependentTable
2020-01-01 23:57:18 +01:00
Nikolai Kochetov
cc67ab1107
Enable affinity only for multiple threads.
2020-01-01 21:42:15 +03:00
Vitaliy Zakaznikov
00d5997612
Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into live_view_support_for_subquery
2020-01-01 17:59:59 +01:00
Vitaliy Zakaznikov
2e36fd417d
Adding changes from https://github.com/ClickHouse/ClickHouse/pull/8217
2020-01-01 11:44:45 -05:00
Nikolai Kochetov
faf118fb15
Do not create extra thread in PipelineExecutor if num_threads is 1.
2020-01-01 14:18:24 +03:00
Nikolai Kochetov
3f35d143b3
Update num threads in processors.
2020-01-01 14:15:29 +03:00
Nikolai Kochetov
65a00150b2
Update num threads in processors.
2020-01-01 13:42:46 +03:00
Kiran
8274964b7d
formatted code with clang and updated tableFunction name
2020-01-01 13:48:30 +05:30
Kiran
f51412a2a2
added table function for clusterAll replicas
2020-01-01 13:09:10 +05:30
alexey-milovidov
51d4c8a53b
Merge pull request #8485 from PerformanceVision/simple_aggregation_group_bit
...
Add groupBit* aggregation function to the type SimpleAggregationFunction
2020-01-01 07:32:09 +03:00
alexey-milovidov
14563da602
Merge pull request #8447 from amosbird/c++20
...
C++20
2019-12-31 21:06:41 +03:00
alexey-milovidov
fdcf971dce
Merge pull request #8486 from amosbird/betterprewhere
...
Add prewhere test
2019-12-31 21:01:12 +03:00
alexey-milovidov
e712b22dda
Merge pull request #8484 from ClickHouse/obsolete-mark-cache-min-lifetime
...
Make "mark_cache_min_lifetime" setting obsolete
2019-12-31 20:56:54 +03:00
Nikolai Kochetov
04193460aa
Try disable affinity.
2019-12-31 12:10:44 +03:00
Amos Bird
05a420ab20
Add prewhere test
2019-12-31 16:09:37 +08:00
Guillaume Tassery
8909844387
Add groupBit* aggregation function to the type SimpleAggregationFunction
2019-12-31 08:17:39 +01:00
alexey-milovidov
3adf6853d5
Merge pull request #7769 from amosbird/betterprewhere
...
Optimize PREWHERE
2019-12-31 09:07:02 +03:00
Alexey Milovidov
92ddcf6a41
Removed obsolete unmaintained test
2019-12-31 07:42:26 +03:00
alexey-milovidov
17b413fd2e
Merge pull request #8458 from vitlibar/separate-variables-for-database-and-name
...
Separate variables for database and name in dictionaries.
2019-12-31 07:39:01 +03:00
alexey-milovidov
488b5c606a
Merge pull request #8481 from ClickHouse/kamalov-ruslan-master
...
Merging optimizations of if chains.
2019-12-31 07:35:45 +03:00
Alexey Milovidov
3339b8e0e5
Make "mark_cache_min_lifetime" setting obsolete
2019-12-31 05:47:10 +03:00
Alexey Milovidov
625e318b10
Update base64 and remove the obsolete check
2019-12-31 04:16:08 +03:00
Alexey Milovidov
33490e2517
Merge branch 'master' into base64-update
2019-12-31 04:13:33 +03:00
alexey-milovidov
fc41fc7b9d
Merge pull request #8479 from 4ertus2/joins
...
Fix crash in StorageJoin (add restriction)
2019-12-31 03:02:55 +03:00
Alexey Milovidov
6e74bea7ea
Added setting "optimize_if_chain_to_miltiif"
2019-12-31 03:00:41 +03:00
Vitaly Baranov
037eb85972
Automatic removing of config repositories to simplify the code.
2019-12-31 06:30:27 +07:00
Alexey Milovidov
6540eda331
Improvements, part 1
2019-12-31 01:24:19 +03:00
Alexey Milovidov
5b0966d585
Merge branch 'master' of https://github.com/kamalov-ruslan/ClickHouse into kamalov-ruslan-master
2019-12-31 00:31:20 +03:00
alexey-milovidov
6c10fc5578
Update StorageJoin.cpp
2019-12-31 00:30:25 +03:00
alexey-milovidov
96c9567449
Update StorageJoin.cpp
2019-12-30 23:24:02 +03:00
Nikolai Kochetov
42f86fe4f5
Better exceptions handling in PipelineExecutor.
2019-12-30 23:09:37 +03:00
chertus
928057c71f
better fix
2019-12-30 23:08:03 +03:00
Alexey Milovidov
53fbe0bb43
Avoid UBSan report
2019-12-30 23:04:10 +03:00
Alexey Milovidov
cdcdee66d6
Fixed typo in comment
2019-12-30 23:03:22 +03:00
Nikolai Kochetov
96a732ac02
Better exceptions handling in PipelineExecutor.
2019-12-30 22:45:27 +03:00
chertus
6b80ba52be
fix crash in StorageJoin (add restriction)
2019-12-30 22:43:40 +03:00
Alexander Tokmakov
3687900848
Merge branch 'master' into table_name_in_istorage
2019-12-30 21:30:24 +03:00
Nikolai Kochetov
1138162dc8
Better exceptions handling in PipelineExecutor.
2019-12-30 21:29:24 +03:00
Alexander Tokmakov
f19bb041b4
add asserts on invalid StorageID
2019-12-30 21:20:43 +03:00
alexey-milovidov
b4a4aeb39e
Merge pull request #8465 from ClickHouse/round-down-performance
...
Improved performance of function `roundDown`
2019-12-30 20:14:03 +03:00
alesapin
55c47106d4
Merge pull request #8456 from ClickHouse/refactor_alter_addition
...
Refactor alter addition
2019-12-30 17:50:34 +03:00
Nikolai Kochetov
1284d2eb4e
Try enable affinity
2019-12-30 15:26:14 +03:00
Alexander Tokmakov
250f170a69
Merge branch 'master' into table_name_in_istorage
2019-12-30 14:08:09 +03:00
alexey-milovidov
458f596e18
Merge pull request #8455 from amosbird/perfformat
...
Perf test format io without disk
2019-12-30 02:45:52 +03:00
Alexey Milovidov
8741c99677
Added threshold for linear search
2019-12-30 01:40:05 +03:00
Alexey Milovidov
434746d7c6
Improved performance of function roundDown
2019-12-30 01:00:15 +03:00
Nikolai Kochetov
40b0784528
Inline in sort cursor.
2019-12-30 00:07:20 +03:00
Nikolai Kochetov
84072fe977
Try disable affinity.
2019-12-29 23:09:11 +03:00
Alexey Milovidov
612b37b320
Minor addition to previous revision
2019-12-29 22:36:02 +03:00
Alexey Milovidov
9a2b781f4d
Fixed performance degradation of "boundingRatio" aggregate function
2019-12-29 22:30:08 +03:00
Alexey Milovidov
0ef507b2e2
Fixed performance degradation in argMin/argMax
2019-12-29 22:08:10 +03:00
Amos Bird
84c7589c9a
whitelist /dev/null in StorageFile
2019-12-30 02:37:55 +08:00
Vitaly Baranov
1fa64a2a86
Use separate variables for the database and name in dictionaries.
2019-12-29 23:48:10 +07: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
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
Nikolai Kochetov
d3060f42e0
Remove commented code.
2019-12-29 10:30:26 +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
proller
76890058b6
Merge remote-tracking branch 'upstream/master' into fix27
2019-12-28 23:54:38 +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
Nikolai Kochetov
755cd1bea2
Disable logging in processors pipeline.
2019-12-28 21:42:07 +03: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
proller
a4c8d29c96
Merge remote-tracking branch 'upstream/master' into fix27
2019-12-28 15:12:17 +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
proller
f4d2195329
Merge remote-tracking branch 'upstream/master' into fix27
2019-12-28 03:18:44 +03:00
Alexey Milovidov
3b6181afd5
Switched back to TurboBase64
2019-12-28 03:18:08 +03:00
Sergey Kononenko
d7b030dbff
Fix bad solution
2019-12-28 02:33:37 +03:00
Alexey Milovidov
b04586ef55
Merge remote-tracking branch 'origin/master' into base64-update
2019-12-28 02:27:32 +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
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
Alexander Tokmakov
94931f059d
minor improvements
2019-12-27 22:30:22 +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
Nikolai Kochetov
05fe9ef179
Add sort improvement to processors.
2019-12-27 21:59:50 +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
cb3a5b26f7
Merge branch 'master' into enable-experimental-indices-and-make-settings-obsolete
2019-12-27 21:12:30 +03:00
proller
7fd8452d56
Merge remote-tracking branch 'upstream/master' into fix27
2019-12-27 20:57:47 +03: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
proller
5be338b1e8
Merge remote-tracking branch 'upstream/master' into fix27
2019-12-27 18:29:38 +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
Ivan Lezhankin
bf22e12e4e
Initial replacement readline → replxx
2019-12-27 16:17:36 +03:00
Ivan Lezhankin
1268cddc61
Temporary build fix
2019-12-27 16:17:36 +03:00
Alexander Tokmakov
a2a155dcbd
Merge branch 'master' into table_name_in_istorage
2019-12-27 15:47:29 +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
Alexander Tokmakov
8987b027ba
fixes
2019-12-27 15:18:49 +03:00
proller
0f46f6d74e
Merge remote-tracking branch 'upstream/master' into fix27
2019-12-27 14:52:19 +03:00
Nikolai Kochetov
330676737a
Disable quota .
2019-12-27 13:59:43 +03:00
Alexander Burmak
9df9983641
Added fileName and parentPath utility functions
2019-12-27 13:42:30 +03:00
Alexander Burmak
f13f4c1617
Fixed merge issues
2019-12-27 12:49:23 +03:00
alesapin
ccb4ad450c
Merge branch 'master' into refactor_alter
2019-12-27 12:07:20 +03:00
Alexander Burmak
170bcf041a
Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs_log
2019-12-27 09:55:54 +03:00
Amos Bird
5570431a04
trivial
2019-12-27 13:51:52 +08:00
Amos Bird
a61a62e0b2
fix
2019-12-27 13:51:28 +08:00
Amos Bird
b4578c4be0
build fix
2019-12-27 11:41:11 +08:00
Amos Bird
1b52b8cbd5
groupArraySample
2019-12-27 11:41:11 +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
Nikolai Kochetov
0034afdf10
Better task queue for PipelineExecutor.
2019-12-26 21:23:31 +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
Alexander Tokmakov
42296cc80a
remove separate getTableName() and getDatabaseName()
2019-12-26 21:11:49 +03:00
Alexander Tokmakov
ef129b4b7c
use StorageID in views
2019-12-26 20:59:47 +03:00
Alexander Tokmakov
9319863a59
refactor table dependencies
2019-12-26 20:23:24 +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
Alexander Tokmakov
2e5d61cd81
better constructors of storages
2019-12-26 20:04:08 +03:00
Nikolai Kochetov
5a5d15c095
Enable quota for more processors.
2019-12-26 19:52:15 +03:00
Andrei Bodrov
1516a252ee
one line
2019-12-26 19:51:17 +03:00
Alexander Burmak
682b72551f
Fixed merge issues
2019-12-26 19:38:10 +03:00
Nikolai Kochetov
bb19e22bd7
Add threads quota for processors.
2019-12-26 19:34:08 +03:00
alexey-milovidov
7183c3a7b0
Update CompressionCodecDoubleDelta.cpp
2019-12-26 19:25:19 +03:00
alexey-milovidov
f7e87f18a4
Update CompressionCodecDoubleDelta.cpp
2019-12-26 19:24:07 +03:00
Alexander Tokmakov
cf5c998b30
refactor storage name
2019-12-26 19:23:38 +03:00
Nikolai Kochetov
9d9ab833b7
Add threads quota for processors.
2019-12-26 19:15:31 +03:00
Maxim Ulanovskiy
32995e3ad5
cosmetic doc fixes
2019-12-26 18:59:38 +03:00
Nikolai Kochetov
9417f672b0
Enable processors by default.
2019-12-26 18:51:25 +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
Nikolai Kochetov
fbbab2486f
Update pipelineExecutor
2019-12-26 17:47:48 +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
Alexander Burmak
3f1832355f
Added WriteMode enumeration
2019-12-26 17:28:22 +03:00
Nikolai Kochetov
3b2d6a66d1
Update pipelineExecutor
2019-12-26 17:23:34 +03:00
Alexander Burmak
764b506fd5
Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs_log
2019-12-26 17:03:32 +03:00
proller
c8301b69cc
Merge remote-tracking branch 'upstream/master' into fix27
2019-12-26 16:59:34 +03:00
Nikolai Kochetov
a5a8372713
Update pipelineExecutor
2019-12-26 15:58:09 +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
Vasily Nemkov
d480cfba7e
DD decoding: LUT for write spec when reading from BinReader
2019-12-26 06:56:11 +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
Alexey Milovidov
063682ef9c
Changed one base64 library to another
2019-12-25 22:44:00 +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
alesapin
d4987f86d3
Merge branch 'master' into immutable_parts
2019-12-25 11:44:47 +03:00
Alexander Burmak
544bfd105b
Corrected naming based on review feedback
2019-12-25 11:24:13 +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