tavplubix
044f143463
Update ThreadPool.cpp
2020-11-06 18:53:33 +03:00
alexey-milovidov
7fb53b205c
Merge pull request #16637 from azat/mt-read_in_order-spread-fix
...
Fix spreading for ReadInOrderOptimizer with expression in ORDER BY
2020-11-06 17:36:03 +03:00
Amos Bird
2b0085c106
Pruning is different from counting
2020-11-06 19:58:03 +08:00
Nikita Mikhaylov
e5cb09cb5f
Merge pull request #16613 from nikitamikhaylov/with_totals_having_assert
...
Fix fuzzer found error (with totals)
2020-11-06 14:41:16 +03:00
alexey-milovidov
dd83a35842
Merge pull request #16722 from CurtizJ/fix-transform-null-in
...
Fix transform_null_in with sets of tuples
2020-11-06 12:39:57 +03:00
alexey-milovidov
0da1127440
Merge pull request #16729 from azat/dist-cleanup-empty-dirs-at-start
...
Remove empty directories for async INSERT at start of Distributed engine
2020-11-06 12:39:31 +03:00
taichong
9ce6c4dcb8
according to review modify code
2020-11-06 15:04:05 +08:00
Amos Bird
aa436a3cb1
Transform single point
2020-11-06 14:59:55 +08:00
Amos Bird
30bf5e6d26
Prune partition in verbatim way.
2020-11-06 09:56:13 +08:00
Azat Khuzhin
b2e17916e4
Mask password in data_path in the system.distribution_queue
2020-11-06 00:10:25 +03:00
Azat Khuzhin
f23995d290
Remove empty directories for async INSERT at start of Distributed engine
...
Will be created by DistributedBlockOutputStream on demand.
2020-11-05 23:50:30 +03:00
Azat Khuzhin
59cdc964a1
Do not store reference to BackgroundSchedulePool in DirectoryMonitor (useless)
2020-11-05 23:43:34 +03:00
alexey-milovidov
7bda6dba3c
Merge pull request #16657 from ucasFL/reinterpret
...
Allow reinterpret between integers and floats of the same size
2020-11-05 23:21:59 +03:00
alexey-milovidov
6d5e852356
Merge pull request #16677 from ClickHouse/field-infinite-convert-to-int
...
Fix UBSan report when trying to convert infinite floating point number to integer
2020-11-05 23:20:25 +03:00
robot-clickhouse
f7b7854ace
Auto version update to [20.12.1.1] [54443]
2020-11-05 21:52:50 +03:00
alexey-milovidov
ee3e289ec2
Merge pull request #15983 from ClickHouse/no_background_pool_no_more
...
Replace BackgroundProcessingPool with SchedulePool task and ThreadPool.
2020-11-05 21:38:22 +03:00
Anton Popov
8d42305184
fix transform_null_in with sets of tuples
2020-11-05 21:07:44 +03:00
nikitamikhaylov
83af1f9bbb
style
2020-11-05 19:11:32 +03:00
nikitamikhaylov
488909208b
style
2020-11-05 19:10:44 +03:00
nikitamikhaylov
2593b37c00
style
2020-11-05 19:09:45 +03:00
nikitamikhaylov
aceb82ae6a
better
2020-11-05 19:00:05 +03:00
alexey-milovidov
39cd1c0371
Merge pull request #16700 from ClickHouse/better-arcadia
...
Improve Arcadia
2020-11-05 15:34:34 +03:00
Anton Popov
bea0984d12
Merge pull request #16642 from kitaisreal/bloom-filter-index-added-big-int-and-uuid-support
...
BloomFilter index added big integers and UUID support
2020-11-05 15:26:08 +03:00
Alexander Kuzmenkov
2efbcbaa14
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-05 14:28:56 +03:00
Alexander Kuzmenkov
14f31f5117
add support of settings to URL, fix url and file table functions
2020-11-05 14:28:20 +03:00
alexey-milovidov
9cb0b76c16
Merge pull request #16631 from ildus/fix_16087
...
fix bug in minMap and maxMap with zero values
2020-11-05 14:14:19 +03:00
alexey-milovidov
5954b7ec8b
Merge pull request #16570 from JacobHayes/add-farmfingerprint64
...
Add farmFingerprint64 function
2020-11-05 13:36:59 +03:00
Alexey Milovidov
b56486510f
Improve Arcadia
2020-11-05 12:55:01 +03:00
Alexey Milovidov
f06abe03da
utils/generate-ya-make/generate-ya-make.sh
2020-11-05 12:48:53 +03:00
Alexey Milovidov
65aa226bcd
Fix test
2020-11-05 12:26:51 +03:00
alexey-milovidov
36cbf7af37
Merge pull request #16635 from ClickHouse/tavplubix-patch-2
...
Fix possible modification of global context in DDLWorker
2020-11-05 12:21:58 +03:00
alexey-milovidov
5d8844b66e
Merge pull request #16675 from ClickHouse/max_parallel_replicas_without_sampling
...
Fix 'max_parallel_replicas' without sampling.
2020-11-05 12:16:23 +03:00
taichong
fb5e03ebaf
sync MySQL DDL atomicly
...
Now ClickHouse will write metadata and then execute DDL from MySQL.
But If ClickHouse is crashed and it just begin to execute DDL, we
restart the server and then the sync will may be stopped.
e.g.:
MySQL : create table foo.a(id int key); uuid1:1
ClickHouse : write uuid1:1 to .metadata -> server crashed;
Because of ClickHouse's metadata records: uuid1:1, if MySQL run a
query:`insert into foo.a values(1);` ClickHouse will throw a exception:
the table foo.a is not exist.
2020-11-05 17:01:14 +08:00
Nikolai Kochetov
40a9648269
Merge pull request #16308 from nikitamikhaylov/totals-having
...
Incorrect behaviour of SELECT WITH TOTALS
2020-11-05 11:27:28 +03:00
Kruglov Pavel
c494f6f5ff
Merge branch 'master' into collation-support
2020-11-05 01:28:30 +03:00
Maksim Kita
b1e75ec6f5
CreateQuery compound column type indendation fix
2020-11-04 23:43:11 +03:00
alexey-milovidov
ef111f104c
Merge pull request #16660 from ClickHouse/ornull-minor
...
Minor modification: less templates
2020-11-04 23:42:49 +03:00
Maksim Kita
7dd749fc4c
BloomFilter index added big integers and UUID support
2020-11-04 23:41:10 +03:00
alexey-milovidov
6575a92804
Merge pull request #16671 from ClickHouse/inconsistent-h3
...
Fix inconsistent code around H3
2020-11-04 23:39:53 +03:00
alexey-milovidov
199c32b585
Merge pull request #16672 from ClickHouse/remote-ttests
...
Remove T-Tests
2020-11-04 23:38:12 +03:00
alexey-milovidov
dbdff0d779
Merge pull request #16661 from ClickHouse/optimize-or-fill
...
Optimize -OrNull and -OrDefault aggregate functions by providing specializations
2020-11-04 23:37:11 +03:00
alexey-milovidov
97b4534eb3
Update AggregateFunctionOrFill.cpp
2020-11-04 19:57:00 +03:00
Alexey Milovidov
22954cc123
Fix UBSan report when trying to convert infinite floating point number to integer
2020-11-04 19:48:36 +03:00
Alexey Milovidov
1bcf22d42f
Fix 'max_parallel_replicas' without sampling.
2020-11-04 18:59:14 +03:00
Alexey Milovidov
ffeee2b471
Remove T-Tests
2020-11-04 18:03:32 +03:00
alexey-milovidov
b8b9c6d409
Update reinterpretAs.cpp
2020-11-04 17:55:05 +03:00
Alexey Milovidov
d966bb939e
Fix inconsistent code around H3
2020-11-04 17:51:41 +03:00
Ildus Kurbangaliev
4ff1dacaa0
Fix the test case for maxMap function
2020-11-04 14:20:11 +00:00
feng lv
269e96f17e
fix
2020-11-04 12:15:31 +00:00
feng lv
7ec73e1f20
fix build
2020-11-04 11:21:59 +00:00
Alexey Milovidov
c848deed1e
Fix test
2020-11-04 14:07:54 +03:00
Alexey Milovidov
c7618ea99e
Remove obsolete code from JOIN
2020-11-04 14:02:12 +03:00
feng lv
56b34d511c
Merge branch 'master' of github.com:ClickHouse/ClickHouse into agg-func-setting-null-for-empty
2020-11-04 10:59:29 +00:00
Alexey Milovidov
155c11d29c
Optimize -OrNull and -OrDefault aggregate functions by providing specializations #16123
2020-11-04 13:53:10 +03:00
Alexey Milovidov
85f81f9d9e
Minor modification: less templates
2020-11-04 13:38:04 +03:00
Alexey Milovidov
ff8f80b6b6
Remove old file
2020-11-04 13:34:47 +03:00
alexey-milovidov
6f004e4abd
Merge branch 'master' into agg-func-setting-null-for-empty
2020-11-04 13:24:39 +03:00
hcz
4dccc51332
Fix typo
2020-11-04 18:21:59 +08:00
Alexey Milovidov
f7c77b4a25
Fix unit tests
2020-11-04 13:14:23 +03:00
Alexey Milovidov
5cfd84249b
Merge branch 'master' into register-formats
2020-11-04 12:41:59 +03:00
alexey-milovidov
4fede5b008
Merge pull request #16438 from azat/errorCode-v2
...
Add errorCodeToName() and system.errors
2020-11-04 12:40:47 +03:00
alexey-milovidov
7b468c0c3a
Merge pull request #16575 from amosbird/cte2
...
Allow WITH subqueries to take effect immediately
2020-11-04 12:14:27 +03:00
alexey-milovidov
c82d8dde3d
Fix inconsistent whitespace.
2020-11-04 12:11:43 +03:00
alexey-milovidov
6d62f2163d
Merge pull request #16589 from amosbird/applyp
...
Allow parameterized functions in APPLY
2020-11-04 12:06:41 +03:00
feng lv
9b8dbf37cc
fix
...
fix
2020-11-04 08:56:15 +00:00
alexey-milovidov
6091a7a4ff
Merge pull request #16617 from nikitamikhaylov/field-assert-decimal
...
Removed an incorrect check from Field::get().
2020-11-04 11:43:29 +03:00
alexey-milovidov
654d127ce6
Merge pull request #16630 from sundy-li/patch-6
...
better change the config
2020-11-04 11:36:07 +03:00
alexey-milovidov
74ebe952d1
Update Context.cpp
2020-11-04 11:32:20 +03:00
alexey-milovidov
0456cb2a09
Merge pull request #16638 from azat/simplify-ReadInOrderOptimizer
...
[RFC] Do not pass StoragePtr to ReadInOrderOptimizer::getInputOrder()
2020-11-04 11:29:06 +03:00
alexey-milovidov
397d02f828
Merge pull request #16643 from ClickHouse/quantile-merge-perf
...
Improve performance of quantileMerge
2020-11-04 11:28:07 +03:00
alexey-milovidov
864feaee39
Merge pull request #16644 from ClickHouse/row-input-format-better-diagnostics
...
Provide row number when "Cannot read all data" during parsing input
2020-11-04 11:26:54 +03:00
feng lv
cd711039fb
Allow reinterpret between integers and floats of the same size
2020-11-04 07:56:27 +00:00
Nikolai Kochetov
69fa23a927
Merge pull request #16634 from Avogar/execute_query_fix
...
Remove redundant check
2020-11-04 08:59:41 +03:00
Azat Khuzhin
2389406c21
Fix spreading for ReadInOrderOptimizer with expression in ORDER BY
...
This will fix optimize_read_in_order/optimize_aggregation_in_order with
max_threads>0 and expression in ORDER BY
2020-11-04 07:07:26 +03:00
Ivan
64bd63ca49
Try to parse DataType arguments as another nested type ( #16262 )
...
* Try to parse DataType arguments as another nested one
* Allow mixed lists of arguments of data types
* Restore croaring back
* Fix tests
2020-11-04 03:08:55 +03:00
alexey-milovidov
973c1d7983
Merge pull request #16529 from azat/log_queries_min_time
...
Add log_queries_min_query_duration_ms
2020-11-04 01:47:18 +03:00
alexey-milovidov
8a3f38f332
Merge branch 'master' into errorCode-v2
2020-11-04 01:40:41 +03:00
alexey-milovidov
09805399d9
Merge pull request #16560 from azat/test_input_format_parallel_parsing_memory_tracking-flackiness
...
Fix test_input_format_parallel_parsing_memory_tracking flackiness
2020-11-04 01:37:25 +03:00
alexey-milovidov
225f7e2696
Merge pull request #16594 from amosbird/qpi
...
Query parameter type : Identifier
2020-11-04 01:35:23 +03:00
alexey-milovidov
df83291603
Merge pull request #16612 from ClickHouse/alter-name-collision
...
Fix possible name collision in calculation of DEFAULT expression.
2020-11-04 01:34:31 +03:00
Alexey Milovidov
f5ed9adad3
Remove old code
2020-11-03 23:52:57 +03:00
Alexey Milovidov
0b1c96db51
Provide row number when "Cannot read all data" during parsing input
2020-11-03 23:32:18 +03:00
Alexey Milovidov
5fe679324e
Improve performance of quantileMerge #16640
2020-11-03 23:26:55 +03:00
Azat Khuzhin
e7f15dff55
Do not pass StoragePtr to ReadInOrderOptimizer::getInputOrder()
...
Looks like this is not required anymore, since #11745
2020-11-03 21:22:46 +03:00
nikitamikhaylov
a9d4c0a4f9
open telementry log
2020-11-03 19:59:45 +03:00
Nikolai Kochetov
d7de4509a3
Update ActionsVisitor.cpp
2020-11-03 19:07:27 +03:00
nikitamikhaylov
7c2361af45
yet another logs
2020-11-03 18:19:24 +03:00
Pavel Kruglov
b67465b010
Fix style
2020-11-03 18:00:51 +03:00
Pavel Kruglov
822bbcfdba
Make Cmp with template
2020-11-03 17:25:52 +03:00
Nikolai Kochetov
726be794a4
Update ExpressionAnalyzer.cpp
2020-11-03 17:14:34 +03:00
Alexey Milovidov
9868b58531
Minor change
2020-11-03 17:09:37 +03:00
Alexey Milovidov
cd86f98aec
Minor fixes
2020-11-03 17:09:37 +03:00
Alexey Milovidov
bcd660bb57
Minor fixes
2020-11-03 17:09:37 +03:00
Pavel Kruglov
cf3f39ed29
Small changes
2020-11-03 17:09:37 +03:00
Pavel Kruglov
4d399fff3e
Support collation for Array and Tuple
2020-11-03 17:09:37 +03:00
Pavel Kruglov
5c296365e2
Fix build error
2020-11-03 17:08:40 +03:00
Pavel Kruglov
2892252b36
Support collate in LowCardinality(String) and Nullable(String) and refactor ColumnString
2020-11-03 17:06:21 +03:00
nikitamikhaylov
bf1ea39392
fix logs
2020-11-03 16:59:17 +03:00
tavplubix
cc8932e7a1
Update DDLWorker.h
2020-11-03 15:51:26 +03:00
Pavel Kruglov
a8f325ba84
Remove redundant check
2020-11-03 14:41:46 +03:00