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
Vasily Nemkov
6118fc7c9f
BitWriter with 128-bit buffer
2019-12-24 14:52:11 +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
Alexey Milovidov
8613b90d84
Using SortingHeap in MergingSortedTransform
2019-12-22 17:22:42 +03: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
906bfdbaa7
Merge branch 'master' into better-priority-queue
2019-12-22 14:13:21 +03:00
Alexey Milovidov
bd7eed1204
Cache comparison between next elements in heap
2019-12-22 14:13:10 +03:00
Alexey Milovidov
7ffa78ee95
Fixed error
2019-12-22 14:00:30 +03:00
Alexey Milovidov
53606c6e8f
Using optimization of single column sort in Processors
2019-12-22 12:55:43 +03:00
Alexey Milovidov
b4ba1becd4
Removed wrong code from MergingSortedBlockInputStream
2019-12-22 12:53:31 +03: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
48505446af
Addition to prev. revision
2019-12-22 04:49:38 +03:00
Alexey Milovidov
401c5eef81
Attempt to optimize merging sorted blocks
2019-12-22 04:37:56 +03:00
Alexey Milovidov
9f3afed5ff
Optimization of priority queue
2019-12-22 03:19:07 +03:00
Alexey Milovidov
eb9d6983c8
Added optimization for Processors; added reserve.
2019-12-22 01:16:39 +03:00
Alexey Milovidov
de4d7a5297
Optimization of sorting heap: minor modification that seems to be better
2019-12-22 01:02:12 +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
Alexey Milovidov
0820dc0c84
Optimization of sorting heap
2019-12-21 02:59:08 +03:00
Alexey Milovidov
9638d7c4b2
Merge remote-tracking branch 'origin/better-priority-queue' into gcc-libcxx
2019-12-21 02:58:29 +03:00
Alexey Milovidov
9960a79b36
Optimization of sorting heap
2019-12-21 02:57:57 +03:00
Alexey Milovidov
f483a32b5a
Merge commit 'dba9766575' into gcc-libcxx
2019-12-21 02:38:45 +03:00
Alexey Milovidov
dba9766575
Better priority_queue performance, part 1
2019-12-21 02:38:07 +03:00
alexey-milovidov
ea56001fc0
Merge pull request #8324 from ClickHouse/update-libcxx
...
Updated libc++
2019-12-21 00:44:48 +03:00
Sergey Kononenko
c339c1ca66
Reset column for runningAccumulate
2019-12-20 23:56:39 +03:00
alexey-milovidov
980cf16873
Merge pull request #8323 from ClickHouse/minor-improvements-backquote
...
Added quoting of db and table names where appropriate
2019-12-20 22:14:35 +03:00
Alexey Milovidov
61dbd52a3f
Fixed build after updating libcxx
2019-12-20 21:44:40 +03:00
alexey-milovidov
0d119a40eb
Merge pull request #8240 from vitlibar/sync-system-reload-dictionary
...
Synchronous system reload dictionary
2019-12-20 20:00:03 +03:00
Alexey Milovidov
41ed1ed471
Added quoting of db and table names where appropriate
2019-12-20 19:53:37 +03:00
proller
521e2e709e
Build fixes. Arm, minimal build
2019-12-20 17:46:00 +03:00
CurtizJ
75c5e02ec2
improve input order analyzing and turn on order by optimization with left/inner joins
2019-12-20 16:15:17 +03:00
Alexander Tokmakov
9041977bb6
InterpreterCreateQuery code cleanup
2019-12-20 15:51:51 +03:00
Alexander Tokmakov
10ad22faea
refactor InterpreterCreateQuery::createTable(...)
2019-12-20 15:51:51 +03:00
alexey-milovidov
7f10630873
Merge pull request #8308 from ClickHouse/deprecate-merge_tree_uniform_read_distribution
...
Deprecate "merge_tree_uniform_read_distribution" setting
2019-12-20 15:28:34 +03:00
philip.han
0b79811d8e
Fixed referencing invalid offset in bloom_filter with array.
2019-12-20 20:33:27 +09:00
alexey-milovidov
de01dd12b5
Merge pull request #8306 from ClickHouse/fix_rename_distributed
...
Fix rename distributed
2019-12-20 04:38:21 +03:00
alexey-milovidov
3ba09ed589
Merge pull request #8298 from 4ertus2/joins
...
Fix engine join crash
2019-12-20 04:12:43 +03:00
Alexey Milovidov
0ac868ed48
Deprecate "merge_tree_uniform_read_distribution" setting
2019-12-20 04:11:37 +03:00
Alexey Milovidov
371aef532c
Deprecate "merge_tree_uniform_read_distribution" setting
2019-12-20 02:49:41 +03:00
Alexey Milovidov
9ce8d5fe54
Deprecate "merge_tree_uniform_read_distribution" setting
2019-12-20 01:38:05 +03:00
Alexey Milovidov
3d2af60ad2
Minor style improvement
2019-12-20 00:29:37 +03:00
chertus
b5658ef1a3
remove qualification in StorageJoin JOIN case
2019-12-19 23:37:10 +03:00
Alexander Tokmakov
d1568c1614
fix rename distributed
2019-12-19 22:51:12 +03:00
Alexey Milovidov
5da506b67a
Fixed error in compression codecs.
2019-12-19 22:23:49 +03:00
alexey-milovidov
e83eeef731
Merge pull request #8258 from ClickHouse/update-llvm-bisect
...
Update LLVM in contrib
2019-12-19 22:22:32 +03:00
alexey-milovidov
0b70706f04
Merge pull request #8241 from vitlibar/fix-allowed-client-hosts-checks
...
Fix checking if a client host is allowed.
2019-12-19 21:09:29 +03:00
chertus
c72b0d4e2a
fix engine join crash [wip]
2019-12-19 18:50:28 +03:00
Vitaly Baranov
c3161b7610
Add DCL to manage row policies.
2019-12-19 18:40:21 +03:00
Vitaly Baranov
6baccb963d
Add functions currentRowPolicies() and system table 'system.row_policies'.
2019-12-19 18:40:15 +03:00
alesapin
0cc7ccfc2e
Remove unintended diff
2019-12-19 18:30:52 +03:00
alesapin
9fea941009
Make wait endless
2019-12-19 18:27:56 +03:00
Vitaly Baranov
ba328ad48e
Corrections after review.
2019-12-19 17:51:32 +03:00
alexey-milovidov
ad60f990cd
Merge pull request #8291 from Enmk/now64_crash_fix
...
Handling error from clock_gettime properly
2019-12-19 16:12:22 +03:00
alexey-milovidov
3e90352af1
Update now64.cpp
2019-12-19 16:12:13 +03:00
alesapin
88033a4333
Merge branch 'master' into synchronous_mutations
2019-12-19 15:44:02 +03:00
alesapin
e6cc87fc20
Fix broken unit test
2019-12-19 15:31:10 +03:00
Vitaly Baranov
9f5ab54fc2
Rework RowPolicy based on IAccessEntity.
2019-12-19 13:37:02 +03:00
Nikolai Kochetov
5f3d7cace4
Merge pull request #7898 from apbodrov/avg_weighted
...
avgWeighted
2019-12-19 12:56:38 +03:00
Vasily Nemkov
2292ec9592
Handling error from clock_gettime properly
2019-12-19 12:55:10 +03:00
alesapin
7b392d4e89
Merge pull request #8275 from ClickHouse/fix_range_dictionaries_ddl
...
DDL dictionaries Range fix
2019-12-19 12:54:39 +03:00
Guillaume Tassery
abbbf3e726
cosmetic
2019-12-19 10:29:13 +01:00
Guillaume Tassery
d5d8fd7004
refactor target_table to table for better hemogny
2019-12-19 10:27:12 +01:00
philip.han
89039abf69
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into bugfix_bloomfilter
2019-12-19 17:18:29 +09:00
Guillaume Tassery
9e808e4a0d
Let the command SYSTEM RELOAD DICTIONARY to use ON CLUSTER syntax
2019-12-19 08:54:43 +01:00
Guillaume Tassery
d5b4b40b4e
Add parser
2019-12-19 04:46:20 +01:00
Vitaly Baranov
41b0ba98dd
SYSTEM RELOAD db.dict syntax is now supported.
2019-12-19 03:38:24 +03:00
Vitaly Baranov
68187b5e08
Getting from a dictionary isn't blocked until SYSTEM RELOAD is finished.
2019-12-19 03:22:58 +03:00
Vitaly Baranov
bfcd437e91
Add an integration test.
2019-12-19 03:15:14 +03:00
Alexey Milovidov
766aced61c
Merge branch 'master' of github.com:yandex/ClickHouse into update-llvm-bisect
2019-12-19 00:36:18 +03:00
Amos Bird
630ef97854
Allow table identifier as the first arg to joinGet ( #7707 )
2019-12-18 23:36:51 +03:00
alexey-milovidov
f5a16b1229
Update KeyCondition.cpp
2019-12-18 22:04:33 +03:00
alexey-milovidov
b5cab7c721
Update KeyCondition.cpp
2019-12-18 22:03:57 +03:00
Alexey Milovidov
90795b7d4b
Added asserts to KeyCondition while evaluating RPN
2019-12-18 22:00:09 +03:00
alexey-milovidov
11db8b2b50
Merge pull request #8276 from ClickHouse/tid-preparation
...
Minimal change in preparation for #7477
2019-12-18 21:33:55 +03:00
Alexey Milovidov
d0073ac7cf
Minimal change in preparation for #7477
2019-12-18 19:47:51 +03:00
alesapin
742caced3f
Add ability to work with different types besides Date in RangeHashed external dictionary created from DDL query.
2019-12-18 19:26:46 +03:00
Alexey Milovidov
1d0854c7af
Using less number of LLVM libraries
2019-12-18 19:08:11 +03:00
Alexey Milovidov
a99773ca64
Merge branch 'master' of github.com:yandex/ClickHouse into update-llvm-bisect
2019-12-18 18:26:55 +03:00
Vasily Nemkov
6802025eb6
Fixed crash in now64() when it argument is a result of function call.
2019-12-18 17:51:35 +03:00
Vitaly Baranov
2b93cab88f
Fix checking of client hostname.
2019-12-18 16:40:51 +03:00
Andrei Bodrov
6ffa542c4c
fix build
2019-12-18 15:01:07 +03:00
Andrei Bodrov
cbcc7482ff
fix after merge
2019-12-18 13:05:22 +03:00
Andrei Bodrov
5ae834d153
fix conflict
2019-12-18 13:02:04 +03:00
alesapin
8116351f09
Fix setting description
2019-12-18 12:20:33 +03:00
alesapin
f110b70ad8
Merge branch 'master' into synchronous_mutations
2019-12-18 12:00:14 +03:00
Alexey Milovidov
b90b090040
Addition to prev. revision
2019-12-18 08:26:17 +03:00
Alexey Milovidov
f804ff5d1a
Make the setting obsolete
2019-12-18 08:19:56 +03:00
Alexey Milovidov
4ec492a50c
Merge branch 'master' into update-llvm-bisect
2019-12-18 08:12:18 +03:00
Alexey Milovidov
6d58d85579
Fixed warnings
2019-12-18 08:12:03 +03:00
Alexey Milovidov
12f21dd584
Removed useless memset
2019-12-18 08:11:26 +03:00
Alexey Milovidov
0bc4a64b89
Attempt to make it working
2019-12-18 07:21:06 +03:00
alexey-milovidov
fcbd76815c
Merge branch 'master' into update-llvm-bisect
2019-12-18 04:22:10 +03:00
Alexey Milovidov
55dd76cdbf
Fixed build
2019-12-18 03:38:20 +03:00
Alexey Milovidov
ffb506b073
Fixed build
2019-12-18 03:37:35 +03:00
Alexey Milovidov
8f67b0bf3d
Returned normal LLVM headers in ExpressionJIT
2019-12-18 03:35:54 +03:00
Alexey Milovidov
5e9d7c1b9d
Update to llvm-9.0.0
2019-12-18 02:29:48 +03:00
alexey-milovidov
a7384b4d07
Merge branch 'master' into MoreGCCWarnings
2019-12-18 02:01:39 +03:00
alexey-milovidov
06d124c073
Merge pull request #8229 from hczhcz/patch-2
...
Optimize rounding functions
2019-12-18 02:00:14 +03:00
alexey-milovidov
b2fcaff0dc
Merge pull request #8252 from 4ertus2/bugs
...
Fix crash in FULL JOIN with LowCard in key (attempt 2)
2019-12-18 01:58:56 +03:00
alexey-milovidov
c9887ccadc
Merge pull request #8250 from ClickHouse/no_mutation_number_by_default
...
No mutation number by default
2019-12-18 01:58:21 +03:00
Alexey Milovidov
eff1a95016
Update to 4637e15844661778c871b5f9642228e79a87e6e9
2019-12-18 01:09:29 +03:00
Alexey Milovidov
5378b2ade4
Update to 079df9ab2cd137141d5444f994ecc9721a6e2b68
2019-12-18 00:58:32 +03:00
Alexey Milovidov
5945644207
Update to 6cadc7c06ba
2019-12-18 00:51:47 +03:00
Alexey Milovidov
bc827c1649
Removed support for old LLVM
2019-12-18 00:00:01 +03:00
Alexander Kuzmenkov
89a2ec3944
Check Field type in get(). ( #7386 )
...
Allow silent conversion only between Int64 and UInt64.
2019-12-17 23:48:33 +03:00
Vasily Nemkov
09e6e8b2d3
Improved performance of BitReader
...
By using 128-bit buffer and significantly simplifying code.
2019-12-17 19:37:33 +03:00
alexey-milovidov
abd7e52272
Update S3Common.cpp
2019-12-17 18:38:50 +03:00
chertus
d7a2f45299
Fix crash in FULL JOIN with LowCard in key (attempt 2)
2019-12-17 18:02:42 +03:00
Pervakov Grigory
bdb9156843
Attach AWS SDK logging to CH logging system
2019-12-17 17:25:18 +03:00
Andrei Bodrov
3a7384b585
AvgData
2019-12-17 17:00:40 +03:00
alesapin
9a005d27ea
Merge branch 'master' into synchronous_mutations
2019-12-17 15:27:36 +03:00
alesapin
b2979546c3
Fix mutation number by default
2019-12-17 15:23:17 +03:00
Vitaly Baranov
d0d5c72e4d
Reloading of a dictionary now waits for results and shows errors.
...
Clearer names for load and reload functions in ExternalLoader.
2019-12-17 13:45:47 +03:00
Alexander Kuzmenkov
94b98e7f29
Set: initialize filter for Null values as well. ( #8235 )
...
Found with MemorySanitizer.
2019-12-17 13:20:04 +03:00
Alexander Kuzmenkov
8b1dae3f3d
Fix some implicit Field casts ( #8209 )
2019-12-17 13:19:21 +03:00
Guillaume Tassery
bdcee8b382
Merge branch 'master' of github.com:ClickHouse/ClickHouse into move_partition
2019-12-17 11:18:11 +01:00
alesapin
3ad6b482ab
Merge pull request #8127 from ClickHouse/restrictions_for_external_dictionaries_from_ddl
...
Add restrictions for several sources of external dictionaries
2019-12-17 12:18:39 +03:00
Olga Khvostikova
b47863a0c6
Fix segfault in table function file while inserting into it ( #8177 )
...
* Fix segfault in table function file while inserting into it
2019-12-17 11:06:39 +03:00
Guillaume Tassery
de9ab66935
fix merge conflict
2019-12-17 08:20:54 +01:00
Guillaume Tassery
595815bdf5
Add table as part destination type
2019-12-17 07:51:40 +01:00
Guillaume Tassery
dca0c83809
Merge branch 'master' into move_partition
2019-12-17 13:49:18 +07:00
alexey-milovidov
7092520617
Update BloomFilterHash.h
2019-12-17 08:46:46 +03:00
hcz
dabaef2836
Fix correctness
2019-12-17 10:57:11 +08:00
kreuzerkrieg
9612bb0e79
More GCC warnings
2019-12-16 23:19:50 +02:00
alesapin
a2180b0bb3
Merge branch 'master' into restrictions_for_external_dictionaries_from_ddl
2019-12-16 23:07:16 +03:00
alexey-milovidov
fcca420e91
Merge pull request #8231 from ClickHouse/enabling_values_optimization_by_default
...
Enable Values optimization by default
2019-12-16 22:13:50 +03:00
Alexey Milovidov
0bc1c6d91d
Changes after review of #8034
2019-12-16 21:51:42 +03:00
Alexey Milovidov
0042c8271e
Changes after review of #8034
2019-12-16 21:41:51 +03:00
alexey-milovidov
12b3dcdcb8
Merge pull request #8034 from hombit/h3support
...
h3 functions required for circle search
2019-12-16 21:35:19 +03:00
alexey-milovidov
ed942ce29c
Update h3kRing.cpp
2019-12-16 21:34:51 +03:00
Konstantin Malanchev
f0b6a540ec
Fix style of registerFunctionsGeo.cpp
2019-12-16 20:46:39 +03:00
Konstantin Malanchev
590627a658
Add h3EdgeAngle function
2019-12-16 20:46:39 +03:00
Konstantin Malanchev
1c1794d3d8
Add h3EdgeLengthM function
2019-12-16 20:46:38 +03:00
Konstantin Malanchev
9937fc7ff9
Add h3kRing function
2019-12-16 20:46:38 +03:00
alesapin
2695aa13c4
Add ability to execute mutations asynchronously
2019-12-16 18:51:15 +03:00
Alexander Tokmakov
9e566d997e
fix insert select from mysql(...)
2019-12-16 17:28:44 +03:00
hcz
a563ad0b21
Optimize rounding functions
2019-12-16 18:39:35 +08:00
Alexander Tokmakov
cab852dd0e
enable values optimization by default
2019-12-16 12:25:31 +03:00
alexey-milovidov
bf1414cc76
Merge pull request #8225 from ClickHouse/tcmalloc-deprecate
...
Deprecate tcmalloc
2019-12-16 03:20:56 +03:00
Alexey Milovidov
952351a033
Fixed build after merge
2019-12-16 02:54:56 +03:00
alexey-milovidov
575984b4a0
Merge pull request #8189 from ClickHouse/regions-more-languages
...
More languages for regions
2019-12-16 02:47:20 +03:00
alexey-milovidov
d0ef4b6b96
Merge branch 'master' into more-accurate-using-load-reload
2019-12-16 02:42:45 +03:00
alexey-milovidov
38353d1253
Merge pull request #8197 from filimonov/fix_kafka_mv_subqueries
...
Init query context for Kafka to make subqueries work
2019-12-16 02:40:00 +03:00
Alexey Milovidov
ebf16a8a17
Deprecated tcmalloc
2019-12-16 01:37:27 +03:00
alexey-milovidov
3399f9a73c
Merge pull request #8112 from hczhcz/patch-1210
...
Add function bankerRound
2019-12-15 23:57:13 +03:00
Andrei Bodrov
cae40d3d94
fix name, add exception, add tests
2019-12-15 16:36:44 +03:00
hcz
3ff7c1e4dc
Improve roundBankers implementation
2019-12-15 16:30:54 +08:00
Alexey Milovidov
6a34958fd2
Minor modifications
2019-12-15 02:00:18 +03:00
alexey-milovidov
3a265cd9f3
Merge pull request #8213 from ClickHouse/fix-exists-query
...
Fixed segfault in EXISTS query
2019-12-14 23:02:08 +03:00
Vitaliy Zakaznikov
cf22cde702
Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into live_view_support_for_subquery
2019-12-14 19:21:44 +01:00
Vitaliy Zakaznikov
0f9450433f
* Reverting back to the old logic.
...
* Removing redundant catch clauses.
* Updating createStorage function signature in StorageBlocks.h.
2019-12-14 18:29:34 +01:00
alexey-milovidov
cd556a35e6
Merge pull request #8210 from 4ertus2/bugs
...
Fix `There's no column` error for materialized and alias columns
2019-12-14 19:45:07 +03:00
alexey-milovidov
39a8f1e9c7
Merge pull request #8202 from zhang2014/feature/support_drop_mysql_database
...
ISSUES-6063 support drop mysql database engine
2019-12-14 19:44:17 +03:00
alexey-milovidov
e009584086
Merge pull request #8164 from nicelulu/master
...
Fix trivial count query with ConvertingBlockInputStream.
2019-12-14 19:39:49 +03:00
Alexey Milovidov
0998dcbda6
Fixed segfault in EXISTS query
2019-12-13 23:24:03 +03:00
Winter Zhang
690502a435
update _remove.flag suffix to .remove_flag suffix
2019-12-14 04:15:40 +08:00
chertus
8c9ca6891f
fix 'There's no column' error for materialized and alias columns
2019-12-13 21:46:55 +03:00
alexey-milovidov
8727f30ef8
Merge pull request #7790 from bgranvea/simple-aggregate-function-fix
...
Fix "Sizes of columns doesn't match" error with SimpleAggregateFunction
2019-12-13 20:56:03 +03:00
alexey-milovidov
d0408e8265
Merge pull request #8204 from ClickHouse/nullable-rand
...
rand and nullable argument
2019-12-13 20:50:07 +03:00
Nikolai Kochetov
28fcc6902f
Try to simplify code in StorageLiveView
2019-12-13 20:08:21 +03:00
hcz
6171e8b70c
Rename roundBankers
2019-12-13 22:50:14 +08:00
Nikolai Kochetov
1de6b244aa
Fix randConstant.
2019-12-13 16:47:28 +03:00
Vasily Nemkov
d8473c17a3
Improved performance of max(), min(), argMin(), argMax() for DateTime64
2019-12-13 16:40:09 +03:00
Nikolai Kochetov
bd2517343d
Fi rand and randConstant for nullable types.
2019-12-13 16:10:02 +03:00
zhang2014
713923e451
Support detach and drop table for mysql database engine
2019-12-13 19:48:38 +08:00