alexey-milovidov
8f75797801
Merge pull request #8906 from zlobober/key_conditions
...
Extend KeyCondition interface so that it returns BoolMask.
2020-01-30 18:52:47 +03:00
Baudouin Giard
9216c5761c
Fix crash in corner case of MergeTreeRangeReader::ReadResult::shrink
...
It looks like most times the original number of rows per granule is
pretty much consistent across all granules, except for the last one,
however there seems to be cases (Issue #7713 ) where that's not the case.
The only way I have to reproduce the crash involves using proprietary
data, and unfortunately I haven't been able to come up with a test case
that would highlight the problem - just like the person who opened issue
7713. I can't share my dataset.
Reading the code, it looks pretty obvious to me here - unless I'm
missing something, that the intention here is to copy the corresponding
granules to one another so it makes sense to index
rows_per_granule_original with the same variable as rows_per_granule.
Signed-off-by: Baudouin Giard <bgiard@bloomberg.net>
2020-01-30 15:40:48 +00:00
achulkov2
68cf5104e1
Fix types
2020-01-30 18:17:20 +03:00
proller
cd0e9217da
Merge remote-tracking branch 'upstream/master' into fix27
2020-01-30 18:11:22 +03:00
achulkov2
07699df1e8
Address comments
2020-01-30 17:59:16 +03:00
Ivan Lezhankin
a42c5b4076
Initialize TraceCollector before setting signal handlers
2020-01-30 17:31:01 +03:00
Nicolae Vartolomei
fd42d1ee87
ALTER <materialized view name> MODIFY QUERY <select_query>
...
Trying to resurrect https://github.com/ClickHouse/ClickHouse/pull/7533 .
I'd like to get this PR in if we have an agreement on syntax and general
direction, after that I'll rebase actual alter functionality from above mentioned PR.
2020-01-30 14:12:49 +00:00
Avogar
75fe61251b
Add test for data in square brackets in JSONEachRow.
2020-01-30 17:03:07 +03:00
Avogar
c5b0b6ba29
Merge branch 'master' of github.com:yandex/ClickHouse into json_each_row
2020-01-30 16:43:32 +03:00
alesapin
d0e5243ad8
Send updates in entry
2020-01-30 15:54:52 +03:00
Avogar
e219fc1e68
Change method of parsing data in square brackets by adding parsing stages.
2020-01-30 15:05:27 +03:00
Ivan Lezhankin
d36f082094
Merge remote-tracking branch 'upstream/master' into memory-profiler
2020-01-30 14:36:59 +03:00
Guillaume Tassery
c18fb015ac
Merge branch 'master' of github.com:ClickHouse/ClickHouse into jit_nullable
2020-01-30 12:31:36 +01:00
Guillaume Tassery
be45e1b3b6
cosmetic
2020-01-30 12:31:21 +01:00
Guillaume Tassery
7d3c677921
Accept nullable for JIT function
2020-01-30 12:31:21 +01:00
Guillaume Tassery
a0e91fc9f6
Accept nullable values when we use the JIT feature
2020-01-30 12:31:21 +01:00
millb
236f461420
attempt
2020-01-30 14:15:43 +03:00
Nikolai Kochetov
3c4fe4f20e
Fix StorageBuffer/
2020-01-30 13:30:48 +03:00
alesapin
453be4c587
Removed changed node struct
2020-01-30 13:30:35 +03:00
Nikolai Kochetov
00546498b6
Fix StorageBuffer/
2020-01-30 13:26:25 +03:00
Nikolai Kochetov
9eb97e6db2
Fix StorageBuffer/
2020-01-30 13:22:59 +03:00
Vladimir Chebotarev
4b2eff8551
Added passing ttl info between replicas.
2020-01-30 13:21:40 +03:00
Nikolai Kochetov
5fd9db4370
Fix BufferSource.
2020-01-30 10:32:54 +03:00
Nikolai Kochetov
a5b016eb61
Fix BufferSource.
2020-01-30 10:28:49 +03:00
Nikolai Kochetov
ab5c4bed3a
Merge pull request #8823 from ClickHouse/storage-system-processors
...
Processors and system storages.
2020-01-30 10:22:31 +03:00
millb
f7ab01b746
Merge branch 'Prohibition_secondary_index_with_old_format_merge_tree' of https://github.com/millb/ClickHouse into Prohibition_secondary_index_with_old_format_merge_tree
2020-01-30 10:13:52 +03:00
millb
7e1a23d910
fixed
2020-01-30 10:13:09 +03:00
Vladimir Chebotarev
9706374066
Fixed error messages.
2020-01-30 09:17:55 +03:00
Azat Khuzhin
ca8d9ac7f8
Fix error message for force_optimize_skip_unused_shards
2020-01-30 09:01:54 +03:00
Azat Khuzhin
c6d95e9dfd
Rename tables to match the test number for 01071_force_optimize_skip_unused_shards
2020-01-30 09:01:45 +03:00
Vitaly Baranov
e37eda3bdf
DROP TEMPORARY TABLE now drops only a temporary table.
2020-01-30 02:41:22 +03:00
Maxim Akhmedov
fa16149e1a
Fix style checks.
2020-01-30 02:36:39 +03:00
Maxim Akhmedov
2d3321e003
Extend KeyCondition interface so that it returns BoolMask.
2020-01-30 00:40:22 +03:00
Alexander Kuzmenkov
09b8f34370
Merge pull request #8896 from ClickHouse/aku/enum-wrong-value
...
Report BAD_ARGUMENTS for a wrong user-supplied enum value.
2020-01-30 00:25:17 +03:00
Ubuntu
bc0fbd688a
Make sumMap accept String keys
...
Adapt sumMap to accept an array of strings as the key column. This is useful when we do not want or cannot make the keys be numbers.
Signed-off-by: Baudouin Giard <bgiard@bloomberg.net>
2020-01-29 19:38:41 +00:00
achulkov2
0bece0c43e
Fix error with consecutive detach and attach
2020-01-29 21:45:03 +03:00
Nikolai Kochetov
d1bc3513a2
Fix build.
2020-01-29 21:22:09 +03:00
Nikolai Kochetov
0c4f6eaca9
Fix build.
2020-01-29 21:18:12 +03:00
Nikolai Kochetov
84a392402f
Processors reading for StorageBuffer.
2020-01-29 21:14:40 +03:00
alesapin
0893f7d49c
Mutate from alter metadata task
2020-01-29 20:28:39 +03:00
Nikolai Kochetov
bded6e5cff
Added holded contexts and storages to Pipe.
2020-01-29 19:59:11 +03:00
alexey-milovidov
b567907431
Merge pull request #8868 from amosbird/countoptfix
...
Fix `MakeSet` in Group By
2020-01-29 19:53:41 +03:00
Ivan Lezhankin
56f6199b11
Try to simplify TraceCollector initialization.
...
It allows to workaround first call inside signal handler
2020-01-29 19:34:55 +03:00
Nikolai Kochetov
e7a29b24e5
Added table locks to Pipe.
2020-01-29 18:55:13 +03:00
Nikolai Kochetov
6cb86cef24
Added AddingMissedTransform.
2020-01-29 18:35:43 +03:00
Nikolai Kochetov
81d4fd9579
Add prepared pipe to InterpreterSelectQuery.
2020-01-29 18:04:46 +03:00
achulkov2
cdfffd343d
Fix unreachable check
2020-01-29 17:57:22 +03:00
Nikolai Kochetov
162a2cb2f4
update SourceFromSingleChunk
2020-01-29 17:32:38 +03:00
Alexander Kuzmenkov
975f042dc0
Report BAD_ARGUMENTS for a wrong user-supplied enum value.
...
Before we reported LOGICAL_ERROR that is incorrect.
2020-01-29 17:17:34 +03:00
achulkov2
61ff06be70
Experimenting
2020-01-29 16:12:11 +03:00
alexey-milovidov
f65b75ce5a
Merge pull request #8874 from abyss7/issue-6964
...
Initialize query profiler for all threads in a group
2020-01-29 15:41:59 +03:00
Nikolai Kochetov
74d1eb90df
Automatically call progress for SourceWithProgress.
2020-01-29 13:26:08 +03:00
Nikolai Kochetov
57100fc962
Merge branch 'master' into storage-system-processors
2020-01-29 13:17:18 +03:00
Nikolai Kochetov
8ce6040306
Merge pull request #7796 from ClickHouse/processors-4.3
...
Processors and system.numbers
2020-01-29 13:11:13 +03:00
Guillaume Tassery
79b4b48528
cosmetic
2020-01-29 11:09:27 +01:00
Guillaume Tassery
0f348eb121
add tests
2020-01-29 11:02:10 +01:00
Guillaume Tassery
da67f408a3
Fix out of bounds error when we have a constant
2020-01-29 11:01:42 +01:00
alesapin
2bb8fe6f79
Merge branch 'master' into alter_on_top_of_mutations
2020-01-29 12:35:07 +03:00
alesapin
9b822e926a
Merge pull request #8882 from CurtizJ/fix-integration-test
...
Fix integration test 'prefer_localhost_replica'.
2020-01-29 11:34:39 +03:00
alesapin
abe9ce8774
Merge pull request #8884 from azat/client-suggest-merge_tree_settings
...
Add system.merge_tree_settings into clickhouse-client suggest
2020-01-29 11:26:24 +03:00
alexey-milovidov
2f9dd8e80f
Merge pull request #8877 from ClickHouse/aku/trace-readability
...
Reformat stack traces for readability.
2020-01-29 02:19:18 +03:00
alexey-milovidov
bcab6e7ac1
Merge pull request #8880 from ClickHouse/Akazz-clickhouse-test-patch-1
...
A followup to #8858 : fixed awk invokation in hung queries check
2020-01-29 02:14:43 +03:00
Amos Bird
b650f1563a
Fix MakeSet
in Group By
2020-01-29 04:49:39 +08:00
Azat Khuzhin
60d63081da
Fix min_marks_for_seek for the data skipping indexes
2020-01-28 23:10:06 +03:00
Azat Khuzhin
3aeea41369
Add system.merge_tree_settings into clickhouse-client suggest
2020-01-28 22:25:43 +03:00
alexey-milovidov
e2860f8525
Merge pull request #8883 from ClickHouse/fix-storage-file-too-many-open-files
...
Updated internal testing script.
2020-01-28 22:21:58 +03:00
Alexey Milovidov
569e1ff666
Update testing script
2020-01-28 22:17:30 +03:00
alexey-milovidov
30c11474c8
Merge pull request #8834 from zlobober/comparable_nulls
...
Make NULLs comparable to everything.
2020-01-28 21:58:59 +03:00
CurtizJ
3144e81cb5
fix test prefer_localhost_replica
2020-01-28 21:54:25 +03:00
Alexander Kazakov
cebeae0055
Fixed awk invokation in hung queries check
2020-01-28 20:21:57 +03:00
alesapin
974e9a6b7a
Broke things
2020-01-28 20:15:22 +03:00
Alexey Milovidov
3a5de8b874
Update script for CHYT
2020-01-28 19:59:32 +03:00
Nikolai Kochetov
196bb81a6e
Update TreeExecutor.
2020-01-28 19:59:28 +03:00
Pavel Kovalenko
e0cd6b1073
Formatting issues.
2020-01-28 19:09:24 +03:00
Pavel Kovalenko
efeb9e92be
StorageLog Gtest
2020-01-28 19:08:30 +03:00
Ivan Lezhankin
df0a3ce221
Merge remote-tracking branch 'upstream/master' into memory-profiler
2020-01-28 18:34:19 +03:00
Ivan Lezhankin
354ceeda80
Fix TSan tests
2020-01-28 18:30:49 +03:00
Alexander Kuzmenkov
37daed2830
Reformat stack traces for readability.
2020-01-28 17:42:58 +03:00
Mikhail Filimonov
dc43728dea
Test showing the problem with partial commit of polled batch + fix
2020-01-28 15:21:36 +01:00
achulkov2
34eee12d47
Fix style check
2020-01-28 17:21:02 +03:00
alesapin
736711d21c
Merge branch 'master' into alter_on_top_of_mutations
2020-01-28 17:10:34 +03:00
Ding Xiang Fei
55b81c97e6
Set signal before rethrowing exception ( #8736 )
...
* set signal before rethrowing exception
* Add comment
2020-01-28 16:47:47 +03:00
Pavel Kovalenko
856592e26b
Comments fixed.
2020-01-28 16:46:02 +03:00
Pavel Kovalenko
a12c318f35
Optimize includes.
2020-01-28 16:38:46 +03:00
Andrei Chulkov
5f2ed57c49
Add some comments & new tests for different input types
2020-01-28 16:25:55 +03:00
Mikhail Filimonov
5dafccf410
Test for flushing by time and by block size (+fix), one extra test for virual columns
2020-01-28 14:24:37 +01:00
Nikolai Kochetov
fea33f8b60
Add processlist to PipelineExecutor. Throw exception if query was killed.
2020-01-28 16:16:02 +03:00
Pavel Kovalenko
0572f96656
Formatting issues.
2020-01-28 16:15:47 +03:00
Pavel Kovalenko
baa3c8e55b
Formatting issues.
2020-01-28 16:05:37 +03:00
Pavel Kovalenko
3eb59d1ed3
Formatting issues.
2020-01-28 16:01:08 +03:00
Nikolai Kochetov
5a8a367228
Add processlist to PipelineExecutor. Throw exception if query was killed.
2020-01-28 15:59:34 +03:00
Pavel Kovalenko
d4707ca911
Seek reworking.
2020-01-28 15:48:01 +03:00
Pavel Kovalenko
861ddbcadd
DiskS3 Metadata refactoring.
2020-01-28 15:46:39 +03:00
Maxim Akhmedov
65356ea893
And one more fix.
2020-01-28 15:33:25 +03:00
Maxim Akhmedov
ead37dc294
Fix comparison between decimal field and null.
2020-01-28 15:31:17 +03:00
Ivan Lezhankin
eb5e577f14
Use memory tracker on query level.
2020-01-28 15:31:10 +03:00
Andrei Chulkov
d2e4f4e778
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into polygon-dict-basic-interface-improvements
2020-01-28 15:06:36 +03:00
Ivan Lezhankin
27986b6658
Revert "Merge pull request #8831 from ClickHouse/revert-8820-issue-6964"
...
This reverts commit a21d3712eb
, reversing
changes made to 667e9ed6d4
.
2020-01-28 15:01:45 +03:00
Ivan Lezhankin
a592049ca3
Merge remote-tracking branch 'upstream/master' into issue-6964
2020-01-28 15:01:33 +03:00
Ivan Lezhankin
06f5a274ec
Fix initialization of QueryProfiler with regard to query context.
2020-01-28 14:59:06 +03:00
Nikolai Kochetov
a19c8b3d37
Update LimitTransform.
2020-01-28 14:50:22 +03:00
alesapin
e27a3170bc
Less flaps in tests
2020-01-28 13:58:37 +03:00
alexey-milovidov
1f90d2f078
Merge pull request #8866 from achulkov2/issue-8865_unnamed_tuples_should_not_be_flattened
...
Issue 8865 unnamed tuples should not be flattened
2020-01-28 12:32:58 +03:00
alexey-milovidov
45dce57a8c
Merge pull request #8830 from zlobober/storage_properties
...
Explicitly specify storage features
2020-01-28 01:49:53 +03:00
alexey-milovidov
74786e3584
Merge pull request #8858 from ClickHouse/Akazz-clickhouse-test-patch-1
...
In clickhouse-test: Updated check for hung queries
2020-01-28 01:45:32 +03:00
alexey-milovidov
acc5fad41a
Merge pull request #8848 from ClickHouse/fix-pipeline-dump
...
Do not dump pipeline in exception message.
2020-01-28 01:44:23 +03:00
alexey-milovidov
7795c9c889
Merge pull request #8861 from ClickHouse/fix-storage-file-too-many-open-files
...
Fix StorageFile too many open files error
2020-01-28 01:35:39 +03:00
Vladimir Chebotarev
f98de4e098
Added tests for _file
and _path
in S3 storage.
2020-01-28 01:09:21 +03:00
Vladimir Chebotarev
11a5cab7bd
Added some tests.
2020-01-28 00:44:18 +03:00
Andrei Chulkov
7395c0eadc
Rename columns to avoid ambiguity with sql
2020-01-28 00:09:38 +03:00
Andrei Chulkov
d8f7383fd7
Add test
2020-01-28 00:04:46 +03:00
Andrei Chulkov
33339e6347
tmp
2020-01-27 23:28:20 +03:00
achulkov2
b7c9075e53
Stop flattening unnamed nested tuples
2020-01-27 23:26:39 +03:00
Vladimir Chebotarev
533011a5f5
Minor review and style fixes.
2020-01-27 23:08:43 +03:00
Pavel Kovalenko
cb3693f071
Formatting issues.
2020-01-27 22:51:48 +03:00
alexey-milovidov
75ebebde4f
Merge pull request #8845 from ClickHouse/client-vertical-fix
...
Fixed ugly error with vertical format in Client
2020-01-27 22:36:12 +03:00
Pavel Kovalenko
699a031c7f
Code style issues.
2020-01-27 22:27:52 +03:00
Pavel Kovalenko
47e7c8d474
Formatting issues.
2020-01-27 22:17:22 +03:00
Pavel Kovalenko
0df5f89a47
Minor formatting.
2020-01-27 22:01:18 +03:00
Pavel Kovalenko
6501ca735b
Minor formatting.
2020-01-27 21:59:52 +03:00
Pavel Kovalenko
07755ec8f7
Merge branch 'master' into idisk-seekable-readbuffer
...
# Conflicts:
# dbms/programs/server/config.xml
2020-01-27 21:45:53 +03:00
Pavel Kovalenko
abfacdaadc
SeekableReadBuffer refactoring.
...
Store size and multiple references for S3 metadata file.
Log engine support for S3.
2020-01-27 21:44:30 +03:00
Maxim Akhmedov
2e9538f768
Another fix for tests. Better handling of MV.
2020-01-27 21:28:37 +03:00
Alexey Milovidov
390745cc81
Fixed the issue with too many open files when using StorageFile with globs
2020-01-27 21:26:58 +03:00
Alexey Milovidov
1ce32211cf
Fixed the issue with too many open files when using StorageFile with globs
2020-01-27 21:25:54 +03:00
Alexey Milovidov
59ef3c8034
Fixed the issue with too many open files when using StorageFile with globs
2020-01-27 21:13:02 +03:00
Nikolai Kochetov
d34cf8a5bb
Fix build.
2020-01-27 21:12:27 +03:00
Avogar
e8dc8bc0ec
Allow data in square brackets in JSONEachRowFormat.
2020-01-27 21:09:36 +03:00
Nikolai Kochetov
f94eb7a0ff
Update ISource.
2020-01-27 21:09:20 +03:00
Alexander Kazakov
6b355aa273
Moved around some logic of hung_check detector
2020-01-27 21:04:12 +03:00
Alexander Kazakov
c6c3c4347b
Keep stderr when collecting stacktraces
2020-01-27 20:47:05 +03:00
Nikolai Kochetov
733df795a3
Fix IBlockInputStream
2020-01-27 20:12:55 +03:00
achulkov2
e30956d05a
Rewrite some code and try new input methods 1.0
2020-01-27 20:08:29 +03:00
Alexey Milovidov
a1f05d3a56
Fixed the issue with too many open files when using StorageFile with globs
2020-01-27 20:06:32 +03:00
Nikolai Kochetov
43455d79b4
Add time limit to SourceWithProgress.
2020-01-27 19:58:25 +03:00
Alexander Kazakov
0106040a2f
In clickhouse-test: Updated check for hung queries
2020-01-27 19:51:48 +03:00
Nikolai Kochetov
45741eb03a
Add cancell to SourceFromInputStream.
2020-01-27 19:16:06 +03:00
Nikolai Kochetov
6a656e8ee8
Add cancell to SourceFromInputStream.
2020-01-27 19:03:55 +03:00
proller
936c357e05
Merge remote-tracking branch 'upstream/master' into fix27
2020-01-27 17:54:43 +03:00
Nikolai Kochetov
902b977d9d
Add cancell to SourceFromInputStream.
2020-01-27 17:39:14 +03:00
Nikolai Kochetov
73ee23c1d8
Add cancell to SourceFromInputStream.
2020-01-27 17:31:40 +03:00
Maxim Akhmedov
af7e66f0da
Make NULLs comparable to everything.
2020-01-27 17:28:57 +03:00
Maxim Akhmedov
675d0f549f
Add replication and deduplication properties.
2020-01-27 17:14:49 +03:00
Maxim Akhmedov
419f2c2c2b
Fix segmentation fault.
2020-01-27 16:04:01 +03:00
Nikolai Kochetov
ef268d7016
Fix TablesBlockSource.
2020-01-27 16:00:18 +03:00
Alexey Milovidov
205c0f7fbb
Added comment
2020-01-27 15:43:28 +03:00
alexey-milovidov
4613615b4a
Merge pull request #8850 from excitoon-favorites/fixcolumns
...
Fixed `StorageInput::StorageInput` a little bit
2020-01-27 15:26:10 +03:00
CurtizJ
a5d9975e37
better checking if table has TTL
2020-01-27 14:53:50 +03:00
Nikolai Kochetov
a9c09b88c3
Update ISource
2020-01-27 13:59:54 +03:00
chertus
0886bfb9bc
fix test
2020-01-27 13:57:31 +03:00
Vladimir Chebotarev
18804407aa
Properly added _file
and _path
columns.
2020-01-27 13:22:49 +03:00
Vladimir Chebotarev
3d0d31f62a
Fixed StorageInput::StorageInput
a little bit.
2020-01-27 13:19:14 +03:00
Nikolai Kochetov
2c025a8bd1
Add progress.
2020-01-27 13:05:57 +03:00
Nikolai Kochetov
77cefbbd42
Do not dump pipeline in exception message.
2020-01-27 12:14:01 +03:00
alexey-milovidov
9ba383cf46
Merge pull request #8843 from ClickHouse/remove-useless-files
...
Remove useless files
2020-01-26 22:06:27 +03:00
alexey-milovidov
581b20748e
Trigger CI
2020-01-26 21:55:12 +03:00
Alexey Milovidov
47178f1413
Update test
2020-01-26 21:53:24 +03:00
alexey-milovidov
2787960ba2
Merge pull request #8793 from ClickHouse/fix-null-format-for-processors
...
Update ConvertingAggregatedToChunksTransform.
2020-01-26 21:51:00 +03:00
alexey-milovidov
994192080d
Merge pull request #8837 from ClickHouse/query-profiler-workaround-google-cloud-runner
...
Added workaround for Google Cloud Run
2020-01-26 21:46:16 +03:00
Alexey Milovidov
87ee9ac099
Fixed ugly error in Client
2020-01-26 21:43:44 +03:00
Alexey Milovidov
5d52261266
Remove useless files
2020-01-26 18:25:58 +03:00
Vladimir Chebotarev
a7d05211c5
Added _file
and _path
columns.
2020-01-26 17:05:51 +03:00
Alexey Milovidov
4d13f020cd
Removed obsolete setting from test
2020-01-26 16:36:37 +03:00
Vladimir Chebotarev
61e80e4872
Attempt to add S3 globbing to StorageS3::read
.
2020-01-26 16:12:15 +03:00
Vladimir Chebotarev
d2ccbcfb32
Attempt to add S3 globbing function.
2020-01-26 16:03:47 +03:00
alexey-milovidov
056aba49ff
Update QueryProfiler.cpp
2020-01-26 14:27:12 +03:00
alexey-milovidov
9602e67050
Update QueryProfiler.cpp
2020-01-26 14:25:28 +03:00
Alexey Milovidov
2acb71337f
Added workaround for Google Cloud Runner
2020-01-26 14:19:04 +03:00
Nikolai Kochetov
679e38e336
Added comments.
2020-01-26 10:52:34 +03:00
alexey-milovidov
066b4e745c
Merge pull request #8402 from excitoon-favorites/atomicdelete
...
"Atomically" remove parts on destroy.
2020-01-26 04:08:13 +03:00
alexey-milovidov
97a75dd8c9
Merge pull request #8786 from millb/X-ClickHouse-Exception-Code
...
X-ClickHouse-Exception-Code in HTTP Header
2020-01-26 03:43:38 +03:00
Alexey Milovidov
940804ee6d
Don't allow strange expressions in ALTER ... PARTITION query
2020-01-26 03:22:34 +03:00
alexey-milovidov
2df93a6d21
Merge pull request #8756 from azat/distributed_storage_configuration
...
Multiple disks/volumes for storing data for send in Distributed engine
2020-01-26 02:19:28 +03:00
Maxim Akhmedov
382eed249f
Fix style issue.
2020-01-26 00:33:32 +03:00
Vladimir Chebotarev
ca2d381743
Prettier removal of part data on destroy.
2020-01-26 00:27:46 +03:00
Vladimir Chebotarev
b35a6d1ce3
Got rid of ugly relative paths while deleting on destroy.
2020-01-26 00:27:46 +03:00
Vladimir Chebotarev
fdef1d6935
Increased some timeouts in test_multiple_disks
and test_ttl_move
.
2020-01-26 00:27:46 +03:00
Vladimir Chebotarev
2d749630b7
Fixed temporary path for part being erased.
2020-01-26 00:27:46 +03:00
Vladimir Chebotarev
3f11569d94
"Atomically" remove parts on destroy.
2020-01-26 00:27:46 +03:00
alexey-milovidov
49c77c65f2
Update Settings.h
2020-01-26 00:04:34 +03:00
alexey-milovidov
196ed889b9
Merge branch 'master' into joins
2020-01-26 00:03:56 +03:00
alexey-milovidov
9814831c8f
Merge pull request #8827 from zlobober/disable_mmap
...
Allow disabling mmapping
2020-01-25 23:42:04 +03:00
Maxim Akhmedov
338bd3e919
Remove commented line.
2020-01-25 23:39:53 +03:00
alexey-milovidov
9f3bbea6eb
Merge pull request #8806 from ClickHouse/vzakaznikov-issue_7878_3
...
Reworking fix for issue 7878 (version 4)
2020-01-25 23:39:49 +03:00
alexey-milovidov
aff87dbd82
Update AggregatingTransform.cpp
2020-01-25 23:36:25 +03:00
alexey-milovidov
328dc523c5
Update AggregatingTransform.cpp
2020-01-25 23:36:12 +03:00
alexey-milovidov
ab172eb0bd
Revert "Initialize query profiler for all threads in a group"
2020-01-25 23:34:22 +03:00
Maxim Akhmedov
d6f72dc2ce
Specify supported features for each storage engine, expose them via system.table_engines table, properly check feature support in storage factory.
2020-01-25 22:44:52 +03:00
Maxim Akhmedov
2f12866bc2
Introduce macro for disabling allocator mmapping.
2020-01-25 22:17:18 +03:00
Alexey Milovidov
667e9ed6d4
Added example to config.xml and fixed formatting after previous committers #8794
2020-01-25 21:47:02 +03:00
alexey-milovidov
1bf614b3a2
Trigger tests.
2020-01-25 21:39:50 +03:00
alexey-milovidov
1630e88c81
Merge pull request #8820 from abyss7/issue-6964
...
Initialize query profiler for all threads in a group
2020-01-25 21:33:46 +03:00
Azat Khuzhin
5c641b7485
Cover storage_configuration for Distributed engine
2020-01-25 20:52:31 +03:00
Azat Khuzhin
e5a43d2751
Add ability to use multiple disks/volumes for Distributed engine
...
Now Distributed() has gain the 5-th argument -- policy name (for storing
data to send):
CREATE TABLE foo (key Int) Engine=Distributed(test_shard_localhost, currentDatabase(), some_table, key%2, 'default');
2020-01-25 20:52:31 +03:00
alexey-milovidov
dc90d42e1e
Merge pull request #8305 from ClickHouse/Vxider-parallel-insert
...
Vxider parallel insert
2020-01-25 20:30:50 +03:00
alexey-milovidov
2a6b628db9
Merge pull request #8794 from zlobober/custom_query_log_engine
...
Make system log engine customizable via config.
2020-01-25 17:38:50 +03:00
alexey-milovidov
df4f0c7379
Merge pull request #8805 from azat/force_optimize_skip_unused_shards
...
force_optimize_skip_unused_shards setting to throw if skipping is not possible
2020-01-25 17:37:59 +03:00
alexey-milovidov
cf2cd05906
Merge pull request #8824 from ClickHouse/fix_loading_live_view
...
Fix LiveView dependencies
2020-01-25 17:37:29 +03:00
alexey-milovidov
43230c9e5a
Merge pull request #8809 from azat/text_log.level
...
Add text_log.level to limit entries that goes to system.text_log table
2020-01-25 17:28:35 +03:00
Alexey Milovidov
bf59e09901
Fixed style check
2020-01-25 16:18:17 +03:00
Azat Khuzhin
3c6ce640b0
Cover text_log.level
2020-01-25 14:04:56 +03:00
Azat Khuzhin
6a73cf2381
Add text_log.level to limit entries that goes to system.text_log table
...
v2: use INT_MAX as default (since 0 is none)
2020-01-25 14:04:49 +03:00
alexey-milovidov
2627e34ddf
Merge pull request #8808 from zlobober/weak_check_stack_size
...
Make checkStackSize symbol weak.
2020-01-25 03:10:41 +03:00
alexey-milovidov
8bde8e5e14
Update checkStackSize.cpp
2020-01-25 03:10:09 +03:00
alexey-milovidov
095f666677
Update checkStackSize.cpp
2020-01-25 03:06:13 +03:00
alexey-milovidov
eeeaa3243e
Update Defines.h
2020-01-25 03:05:43 +03:00
alexey-milovidov
85237ad27d
Merge pull request #8819 from ClickHouse/add_test_for_constraints
...
Add test for constraints
2020-01-25 02:56:47 +03:00
Alexander Tokmakov
f9cfc6be3a
fix LiveView dependencies
2020-01-25 01:51:23 +03:00
CurtizJ
c1624f0d9d
strict field casts while making sets
2020-01-25 00:36:28 +03:00
Alexey Milovidov
43be567512
Added two internal testing scripts [#CLICKHOUSE-4774]
2020-01-24 23:17:34 +03:00
Nikolai Kochetov
302d6b55ca
Fix build.
2020-01-24 21:33:47 +03:00
Nikolai Kochetov
7385d3f643
Processors for StorageSystemTables.
2020-01-24 21:25:21 +03:00
Nikolai Kochetov
d53aa80d83
Processors for StorageSystemStoragePolicies.
2020-01-24 21:17:02 +03:00
Azat Khuzhin
6939ffeabf
force_optimize_skip_unused_shards setting to throw if skipping is not possible
2020-01-24 21:15:40 +03:00
Azat Khuzhin
c0ba5ed06b
Update link to the poco logging levels
2020-01-24 21:13:28 +03:00
Nikolai Kochetov
16106a03c6
Processors for StorageSystemReplicas.
2020-01-24 21:13:17 +03:00
Nikolai Kochetov
0e6362ef7f
Processors for StorageSystemPartsBase.
2020-01-24 21:01:21 +03:00
Nikolai Kochetov
9a223a05a5
Processors for StorageSystemOne.
2020-01-24 20:57:27 +03:00
Nikolai Kochetov
ffa3b3c665
Processors for StorageSystemDisks and StorageSystemDetachedParts.
2020-01-24 20:49:14 +03:00
Nikolai Kochetov
f8bf32e99a
Added more comments.
2020-01-24 20:35:17 +03:00
Mikhail Korotov
aeb9557edf
tests added
2020-01-24 20:04:42 +03:00
Nikolai Kochetov
be0bf9e6f6
Added more comments.
2020-01-24 20:04:41 +03:00
Mikhail Korotov
9e5a88ec89
Merge branch 'Prohibition_secondary_index_with_old_format_merge_tree' of https://github.com/millb/ClickHouse into Prohibition_secondary_index_with_old_format_merge_tree
2020-01-24 19:48:17 +03:00
millb
3299db778b
changes applied
2020-01-24 19:47:05 +03:00
Nikolai Kochetov
c3d0c26659
Processors for SystemColumns.
2020-01-24 19:13:46 +03:00
Nikolai Kochetov
dc49635ed4
Processors for IStorageSystemOneBlock.
2020-01-24 18:42:31 +03:00
Ivan Lezhankin
09b39b78e4
Remove obsolete pointer for trace collector in context.
2020-01-24 18:40:08 +03:00
Nikolai Kochetov
61154da744
Processors for IStorageSystemOneBlock.
2020-01-24 18:32:17 +03:00
chertus
a9d0d74720
remove bad MergeJoin optimization
2020-01-24 18:28:40 +03:00
Nikolai Kochetov
cab636cb62
Merged with master.
2020-01-24 18:10:24 +03:00
Ivan Lezhankin
9d30f3c876
Initialize query profiler for all threads in a group
2020-01-24 17:47:38 +03:00
alesapin
47f8679810
Add test for constraints
2020-01-24 17:28:10 +03:00
alexey-milovidov
b3d34da57b
Merge pull request #8072 from millb/suffix_in_settings_value
...
Parsing suffix for settings values
2020-01-24 17:15:25 +03:00
Mikhail Korotov
474e16fadb
Update 01071_http_header_exception_code.sh
2020-01-24 17:11:13 +03:00
Mikhail Korotov
b9b1dd5cdd
tests fixed
2020-01-24 17:08:56 +03:00
Mikhail Korotov
800f8adfee
Update 01071_http_header_exception_code.sh
2020-01-24 14:29:03 +03:00
Mikhail Korotov
79fe132f58
Update 01071_http_header_exception_code.sh
2020-01-24 14:23:49 +03:00
chertus
dbb42e07d8
rename function
2020-01-24 14:19:34 +03:00
Mikhail Korotov
046717fd3f
Update ReadHelpers.h
2020-01-24 13:56:27 +03:00
millb
4480ed5b14
Comments fixed
2020-01-24 13:54:24 +03:00
CurtizJ
14f0b9e137
add query 'ALTER ... MATERIALIZE TTL'
2020-01-24 13:53:14 +03:00
Anton Popov
9fe94ca5f7
fix confusing logic (addition to #8800 )
2020-01-24 13:47:19 +03:00
alesapin
95fbef59c9
Fix prometheus test
2020-01-24 12:16:34 +03:00
Nikolai Kochetov
0bfc267f4b
Try to fix tests.
2020-01-24 12:09:47 +03:00
alesapin
32783b3cea
Fix integration test
2020-01-24 11:55:36 +03:00
Nikolai Kochetov
0b43bd53a4
fix 01019_materialized_view_select_extra_columns
2020-01-24 10:48:22 +03:00
Nikolai Kochetov
d161799b57
Merge branch 'master' into fix-null-format-for-processors
2020-01-24 10:38:19 +03:00
Nikolai Kochetov
b55ae23bb9
Merge pull request #8797 from ClickHouse/fix-null-format-for-processors-2
...
Skip blocks for Null format with processors.
2020-01-24 10:34:13 +03:00
Alexey Milovidov
b1fcea78b8
Merge branch 'fix-paren'
2020-01-24 07:05:32 +03:00
Alexey Milovidov
3a5c7370b2
Addition to prev. revision #8811
2020-01-24 07:05:15 +03:00
alexey-milovidov
2105c02e85
Merge pull request #8811 from ClickHouse/fix-paren
...
Fixed bug with parentheses
2020-01-24 07:04:13 +03:00
alexey-milovidov
de32863f73
Merge pull request #8791 from excitoon-favorites/fixdestructeddatapart
...
Fixed bug with `MergeTreeReadPool`
2020-01-24 06:37:18 +03:00
alexey-milovidov
105b61b2af
Merge pull request #8800 from CurtizJ/fix-alter-with-ttl
...
Fix alters if there is set TTL for table.
2020-01-24 06:30:45 +03:00
alexey-milovidov
528d231a6b
Merge pull request #8750 from azat/temporary_data_configuration
...
Multiple paths (disks/volumes) for storing temporary data support
2020-01-24 06:21:52 +03:00
alexey-milovidov
5c9393df97
Merge pull request #8717 from ClickHouse/oandrew-avro
...
Merging Avro format.
2020-01-24 06:14:09 +03:00
Alexey Milovidov
12d980259e
Fixed bug with parentheses
2020-01-24 05:38:03 +03:00
CurtizJ
d8331d9dcb
fix in operator with constant arrays
2020-01-24 03:48:40 +03:00
alexey-milovidov
ab162170d2
Merge pull request #8799 from millb/query_log
...
Fixed 01070_exception_code_in_query_log_table test
2020-01-24 02:30:53 +03:00
Maxim Akhmedov
af54c378ce
Make checkStackSize symbol weak.
2020-01-23 23:30:40 +03:00
alexey-milovidov
c698132cca
Merge pull request #8769 from traceon/format-name-http-header
...
Set X-ClickHouse-Format HTTP response header to the format name
2020-01-23 22:23:26 +03:00
alexey-milovidov
761a3e56a5
Update SystemLog.cpp
2020-01-23 22:21:57 +03:00
Alexey Milovidov
680da3d7ed
Merge remote-tracking branch 'origin/master' into oandrew-avro
2020-01-23 22:08:08 +03:00
chertus
d38bf7b4b2
add test
2020-01-23 21:32:16 +03:00
alexey-milovidov
119c7a9670
Update SystemLog.cpp
2020-01-23 21:28:37 +03:00
Nikolai Kochetov
5a8932488d
Romve commented code.
2020-01-23 21:02:13 +03:00
Nikolai Kochetov
50f66433e0
Update PushingToViewsBlockOutputStream
2020-01-23 20:51:43 +03:00
Azat Khuzhin
c9cc1ef516
Cover tmp_policy
2020-01-23 20:31:19 +03:00
Azat Khuzhin
88bfb788a9
Add ability to use multiple disks/volumes for temporary data
...
This patch adds <tmp_policy> config directive, that will define the
policy to use for storing temporary files, if it is not set (default)
the <tmp_path> will be used.
Also tmp_policy has some limitations:
- move_factor is ignored
- keep_free_space_bytes is ignored
- max_data_part_size_bytes is ignored
- must have exactly one volume
2020-01-23 20:31:01 +03:00
Nikolai Kochetov
9635c8d5c5
Update PushingToViewsBlockOutputStream
2020-01-23 20:11:49 +03:00
Nikolai Kochetov
7d4d063f38
Try to remove some code.
2020-01-23 18:53:58 +03:00
chertus
3571cdb4b5
correct row limit for many right blocks case
2020-01-23 18:47:49 +03:00
Nikolai Kochetov
25ea3d83e2
Merge branch 'issue_7878_2' of https://github.com/vzakaznikov/ClickHouse into vzakaznikov-issue_7878_2
2020-01-23 18:45:24 +03:00
Nikolai Kochetov
4a4de82648
Merged with master
2020-01-23 18:44:26 +03:00
alexey-milovidov
f563d7f4b3
Merge pull request #8801 from vitlibar/fix-race-system-reload-all-dictionaries
...
Fix race when executing SYSTEM RELOAD ALL DICTIONARIES.
2020-01-23 18:10:17 +03:00
Nikolai Kochetov
405f9f0696
Fix LazyOutput.
2020-01-23 17:58:50 +03:00
alesapin
1fa6adacbe
Merge pull request #8790 from ClickHouse/disable_flappy_tests
...
Disable some flappy tests
2020-01-23 17:41:17 +03:00
Mikhail Korotov
c05652067e
Update HTTPHandler.cpp
2020-01-23 16:40:16 +03:00
Mikhail Korotov
276d1c233e
Update 01071_http_header_exception_code.sh
2020-01-23 16:38:55 +03:00
Vitaly Baranov
6a6ec36d63
Fix race when executing SYSTEM RELOAD ALL DICTIONARIES.
2020-01-23 16:35:12 +03:00
CurtizJ
5162ece940
Merge branch 'function_result_with_operator_in' of https://github.com/Enmk/ClickHouse into merging-in-arrays
2020-01-23 16:24:43 +03:00
CurtizJ
1764ba5219
test for alter with ttl
2020-01-23 16:11:06 +03:00
CurtizJ
b5d8baee71
fix alters if ttl is set
2020-01-23 16:04:06 +03:00
Nikolai Kochetov
b3e33b8330
Enable block skip for null format in processors pipeline.
2020-01-23 15:59:01 +03:00
Nikolai Kochetov
f85e7ca36d
Enable block skip for null format in processors pipeline.
2020-01-23 15:53:32 +03:00
millb
c441c2fc9c
tests fixed
2020-01-23 15:47:13 +03:00
alexey-milovidov
39e34e0339
Merge pull request #8795 from abyss7/replxx
...
Restore support for \G suffix
2020-01-23 15:37:04 +03:00
Nikolai Kochetov
b6a819c5d8
Fix ConvertingAggregatedToChunksTransform.
2020-01-23 14:45:12 +03:00
Nikolai Kochetov
bceb084512
Fix ConvertingAggregatedToChunksTransform.
2020-01-23 14:44:43 +03:00
Vitaliy Zakaznikov
024dce32d8
Fixing NameOrDefault mode in ConvertingBlockInputStream.
2020-01-23 12:40:27 +01:00
Nikolai Kochetov
8839defb63
Fix ConvertingAggregatedToChunksTransform.
2020-01-23 14:39:42 +03:00
Maxim Akhmedov
86a7f1d97b
Make system log engine customizable via config.
2020-01-23 14:22:06 +03:00
Ivan Lezhankin
bfdab88efb
Restore \G suffix support
2020-01-23 14:18:47 +03:00
Vladimir Chebotarev
a362664cc1
Better handling of per_part_columns_lock
.
2020-01-23 13:08:35 +03:00
Nikolai Kochetov
f431b10e38
Update TCPHandler.
2020-01-23 13:04:18 +03:00
Ivan Lezhankin
a982309cff
Fix client hanging on quit
2020-01-23 12:42:58 +03:00
alesapin
e6958c0e49
Disable some flappy tests
2020-01-23 12:01:55 +03:00
Nikolai Kochetov
0e906b29e1
Merge pull request #8783 from ClickHouse/loop-math-perf
...
Math perftest.
2020-01-23 11:53:30 +03:00
Ivan
b80e3dcd46
Refactoring of replxx ( #8748 )
2020-01-23 11:18:19 +03:00
alexey-milovidov
2e849490bc
Merge pull request #8770 from millb/query_log
...
Created column exception_code in query_log table
2020-01-23 06:01:48 +03:00
Alexey Milovidov
64baafd245
Updated Avro test
2020-01-23 05:51:49 +03:00
Alexey Milovidov
d853cffe61
Returned back DateTime64
2020-01-23 05:44:22 +03:00
Alexey Milovidov
9a8211cbff
Added Avro roundtrip test
2020-01-23 05:39:58 +03:00
Alexey Milovidov
fb89ffdbb3
Added comments
2020-01-23 05:12:11 +03:00
Alexey Milovidov
35726ac2dd
Fixed error in Avro format
2020-01-23 05:03:53 +03:00
Alexey Milovidov
a75ce4477b
Fixed error in Avro format
2020-01-23 05:01:58 +03:00
Alexey Milovidov
9f0230d4ba
Addition to prev. revision
2020-01-23 04:09:17 +03:00
Alexey Milovidov
fde33ddc47
Addition to prev. revision
2020-01-23 04:06:53 +03:00
Alexey Milovidov
39565eb0b0
Addition to prev. revision
2020-01-23 04:03:32 +03:00
Alexey Milovidov
0c18bcf415
Addition to prev. revision
2020-01-23 03:41:37 +03:00
Alexey Milovidov
b213f08f1c
Added type conversions in AvroInputFormat
2020-01-23 03:04:50 +03:00
Alexey Milovidov
ef93eb47a6
Removed old garbage
2020-01-23 02:50:57 +03:00
Alexey Milovidov
12bd78ecf8
Merge branch 'master' into oandrew-avro
2020-01-23 02:10:38 +03:00
Vitaliy Zakaznikov
76af9dedc5
Going back to NameOrDefault mode in ConvertingBlockInputStream
...
as the other approach caused test regressions. This time we just
erase the columns that need to be set to the default value or expression.
2020-01-22 22:26:08 +01:00
Mikhail Korotov
d7cd319ee0
Update 01071_http_header_exception_code.sh
2020-01-23 00:19:42 +03:00
tavplubix
8cfe9a4d66
Update ParsedTemplateFormatString.cpp
2020-01-22 23:09:23 +03:00
proller
f4c23c2f4f
Merge remote-tracking branch 'upstream/master' into fix27
2020-01-22 22:30:47 +03:00
tavplubix
c00636bfa7
Update ParsedTemplateFormatString.cpp
2020-01-22 22:23:59 +03:00
Mikhail Korotov
7a96702a21
tests are added
2020-01-22 21:42:06 +03:00
Alexander Kuzmenkov
55be790199
Do not crash if the row template file is empty.
2020-01-22 21:27:09 +03:00
Denis Glazachev
b6fe187e59
Fix test/check failures
2020-01-22 22:52:04 +05:30
Nikolai Kochetov
f0b7422dcb
Loop queries for math perftest.
2020-01-22 19:56:49 +03:00
millb
7c6312fcb2
first attempt
2020-01-22 19:32:18 +03:00
Pavel Kovalenko
dce424fe11
SeekableReadBuffer initial implementation. IDisk readFile should return SeekableBuffer.
2020-01-22 19:17:25 +03:00
Alexander Kuzmenkov
8bf260454e
MemorySanitizer should work now
2020-01-22 19:08:46 +03:00
millb
eadb9022c8
Tests are changed
2020-01-22 18:32:38 +03:00
Ivan Lezhankin
7706e0a35c
Some renames
2020-01-22 18:20:19 +03:00
Vitaliy Zakaznikov
54c8234379
Reworking fix for missing columns.
2020-01-22 16:15:42 +01:00
CurtizJ
771e429d35
fix tests
2020-01-22 17:10:35 +03:00
Mikhail Korotov
d68f8d1f8e
Update QueryLog.h
2020-01-22 16:58:36 +03:00
alexey-milovidov
c683c77633
Merge pull request #8768 from ClickHouse/processors-default
...
Enable Processors
2020-01-22 16:55:52 +03:00
millb
6fc7a827f6
Fixed bug with empty exception
2020-01-22 16:52:26 +03:00
Vitaliy Zakaznikov
78ab3127ce
Trying to fix issue with calculating default expressions. (Not working yet)
2020-01-22 14:34:00 +01:00
millb
6cd6b4d3b2
exception_code is changed
2020-01-22 15:29:30 +03:00
chertus
d0b29b17fd
minor change
2020-01-22 15:23:33 +03:00
millb
4eacd514ec
Style is fixed
2020-01-22 15:10:38 +03:00
Artem Zuikov
289f16978f
Merge pull request #8764 from 4ertus2/bugs
...
Fix toDecimalOrNull() with exception inside
2020-01-22 14:18:34 +03:00
Anton Popov
8183a79100
make all parts wide by default
2020-01-22 13:37:16 +03:00
alesapin
0d484be01a
Merge pull request #8767 from ClickHouse/aku/null-format
...
Fix sending no data to client with Null format.
2020-01-22 13:06:16 +03:00
Nikolai Kochetov
47ffa40f99
Merge pull request #8766 from vzakaznikov/issue_7878
...
Fix issue #7878
2020-01-22 12:54:59 +03:00
chertus
d0a8faef5b
better InflatingExpressionTransform
2020-01-22 10:46:14 +03:00
Denis Glazachev
d414131c3c
Update callback type and name
2020-01-22 05:03:57 +05:30
Yuriy
f916e7d079
enabled MySQL wire protocol by default on port 9004
2020-01-22 01:38:20 +03:00
alexey-milovidov
2d599cb1cb
Update HTTPHandler.cpp
2020-01-21 23:28:35 +03:00
Mikhail Korotov
3b7fdaa534
changes made
2020-01-21 23:00:43 +03:00
millb
4cffb62b41
Created exception_code column in query_log table
2020-01-21 22:49:42 +03:00
chertus
cc61fb9408
Merge branch 'master' into joins
2020-01-21 22:23:58 +03:00
chertus
97517075c2
fix pmj with processors
2020-01-21 22:20:15 +03:00
Alexey Milovidov
5d33bedf80
Whitespace
2020-01-21 22:18:40 +03:00
alexey-milovidov
5e7f80c664
Merge pull request #8760 from kreuzerkrieg/GCCSuggestOverride
...
Add GCC warning to suggest virtual function override
2020-01-21 22:12:26 +03:00
Denis Glazachev
79085bf629
Set X-ClickHouse-Format
HTTP response header to the format name
2020-01-22 00:33:33 +05:30
Mikhail Korotov
584826424a
Merge branch 'suffix_in_settings_value' of github.com:millb/ClickHouse into suffix_in_settings_value
2020-01-21 21:32:54 +03:00
Alexey Milovidov
de5da5db2e
Enable Processors
2020-01-21 21:12:45 +03:00
chertus
69fee6812b
variant without catch
2020-01-21 21:04:22 +03:00
Alexander Kuzmenkov
c7b94c70e8
Fix sending no data to client with Null format.
...
Looks like before it could only work accidentally due to some mighty
NRVO.
2020-01-21 20:48:08 +03:00
alesapin
bef1eaeb98
Merge pull request #8753 from ClickHouse/fix_database_memory_wrong_data_path
...
Fix wrong data path in DatabaseMemory
2020-01-21 20:21:10 +03:00
Ivan Lezhankin
2899fbfb52
Remove unused diff
2020-01-21 19:43:42 +03:00
Ivan Lezhankin
d444bc7a11
Remove unused diff
2020-01-21 19:39:52 +03:00
Ivan Lezhankin
008faaa760
Add settings for soft limit raising.
2020-01-21 19:39:52 +03:00
Ivan Lezhankin
1934706ca9
[WIP]
2020-01-21 19:39:52 +03:00
Ivan Lezhankin
c566f406c5
Add new trace type to system.trace_log table
2020-01-21 19:39:52 +03:00
Vitaliy Zakaznikov
507609b611
Fixing styling issues.
2020-01-21 11:18:41 -05:00
Vitaliy Zakaznikov
b2bfa6f938
Removing code used for debugging.
2020-01-21 17:11:21 +01:00
Vitaliy Zakaznikov
1b5f6e37cb
First attempt to fix issue https://github.com/ClickHouse/ClickHouse/issues/7878
2020-01-21 17:02:40 +01:00
kreuzerkrieg
4225ca4eec
Add GCC warning to suggest virtual function override
2020-01-21 17:34:55 +02:00
CurtizJ
9275225527
Merge remote-tracking branch 'upstream/master' into polymorphic-parts
2020-01-21 17:21:52 +03:00
chertus
cc5fc0a825
fix toDecimalOrNull with exception inside
2020-01-21 16:24:54 +03:00
CurtizJ
13709875ea
add some tests
2020-01-21 14:56:46 +03:00
CurtizJ
6a29525fa3
add some comments
2020-01-21 14:56:01 +03:00
Alexander Tokmakov
cdfc17e9b1
check path in constructor
2020-01-21 14:11:11 +03:00
kreuzerkrieg
a256741cf9
Add GCC warning to suggest virtual function override
2020-01-21 13:10:32 +02:00
proller
4ea13e1ca1
Merge remote-tracking branch 'upstream/master' into fix27
2020-01-21 14:06:06 +03:00
chertus
414de57b99
fix hash join with processors
2020-01-21 13:11:30 +03:00
Nikolai Kochetov
c28e224e24
Merge pull request #8735 from ClickHouse/processors-5.12
...
Processors 5.12
2020-01-21 11:51:07 +03:00
Nikolai Kochetov
d9738bb88e
Disable processors by default.
2020-01-21 11:50:43 +03:00
alexey-milovidov
2a1fb20c27
Merge pull request #8720 from ClickHouse/GrigoryPervakov-vfs-s3
...
Merging DiskS3
2020-01-21 02:06:41 +03:00
proller
d84fb03b75
Merge remote-tracking branch 'upstream/master' into fix27
2020-01-21 00:49:26 +03:00
alexey-milovidov
c4e2d71b48
Merge pull request #8749 from ikopylov/function-bitCount-Int16-Int8-perf
...
bitCount performance: special handling for Int16 and Int8
2020-01-21 00:12:34 +03:00
Alexander Tokmakov
05c4405b65
fix
2020-01-20 23:08:47 +03:00
Alexey Milovidov
e4ff88a604
Added a test from Zlobober #5610
2020-01-20 22:43:57 +03:00
alexey-milovidov
9f550fc97f
Merge pull request #8744 from filimonov/test_for_incremental_filling_with_feedback
...
Test for incremental filling with feedback
2020-01-20 22:03:29 +03:00
CurtizJ
d0731878c9
fix mutations
2020-01-20 22:00:11 +03:00
proller
a5eb48de7b
Fix H3_INCLUDE_DIR find
2020-01-20 20:48:06 +03:00
proller
4bb2d513f3
Fix H3_INCLUDE_DIR find
2020-01-20 20:41:58 +03:00
Nikolai Kochetov
ccb124ebdf
Update SortingTransform.
2020-01-20 19:48:15 +03:00
chertus
6e304d5aef
Merge branch 'master' into joins
2020-01-20 19:39:55 +03:00
chertus
b26c9a1f67
add test for pmj with consts and nullables
2020-01-20 19:36:21 +03:00
ikopylov
f5f36f0199
bitCount performance: special handling for Int16 and Int8
2020-01-20 19:36:03 +03:00
Alexey Milovidov
856962b290
Fixed test
2020-01-20 19:33:43 +03:00
Alexey Milovidov
24a8bfe096
Minor improvements
2020-01-20 18:57:13 +03:00
alesapin
47578b8dc1
Remove some garbage
2020-01-20 17:28:51 +03:00
chertus
0669eff031
version with processors
2020-01-20 17:17:55 +03:00
Mikhail Filimonov
bfb448b209
Test for incremental filling from 2 sources with feedback
2020-01-20 14:04:16 +01:00
Alexey Milovidov
d547c23300
Minor modification
2020-01-20 15:58:55 +03:00
Alexey Milovidov
09f3890b20
Merge branch 'master' into GrigoryPervakov-vfs-s3
2020-01-20 15:39:15 +03:00
alesapin
3716d4f7e3
Merge with master
2020-01-20 12:21:05 +03:00
Nikolai Kochetov
76171c7afc
Do not add resize transform for SystemNumbers.
2020-01-20 10:24:28 +03:00
Nikolai Kochetov
cd369bea4e
Do not add resize transform for SystemNumbers.
2020-01-19 23:05:01 +03:00
Alexey Milovidov
d159570309
Added a test for fun
2020-01-19 22:09:03 +03:00
Alexey Milovidov
40e35c36e7
Minor modifications
2020-01-19 20:02:29 +03:00
alexey-milovidov
9e1ab408f6
Merge pull request #8728 from Akazz/fixing_ternary_logic_for_batches
...
A followup to #8718 : Simpler and faster code in logical functions
2020-01-19 16:22:30 +03:00
alexey-milovidov
c2e95c008e
Merge pull request #8724 from yurriy/less-mysql-logging
...
Proper logging levels in MySQL compatibility server
2020-01-19 16:19:30 +03:00
Alexey Milovidov
41263dc3f9
Merge remote-tracking branch 'origin/master' into oandrew-avro
2020-01-19 15:27:11 +03:00
Alexey Milovidov
98d393c957
Fixed LineReader
2020-01-19 15:26:49 +03:00
alexey-milovidov
9fa877341b
Merge pull request #8719 from ClickHouse/bitCount-improve-performance
...
Reasonable performance for function bitCount
2020-01-19 15:23:32 +03:00
Azat Khuzhin
cbebb94f25
Fix ryu_test compilation (missing <cstring> for memcpy) with libstdc++
...
libc++ has <cstring> in <string> while libstdc++ does not:
$ fgrep -r '#include <cstring>' /usr/include/c++/v1/
/usr/bin/../include/c++/v1/vector:#include <cstring>
/usr/bin/../include/c++/v1/ext/__hash:#include <cstring>
/usr/bin/../include/c++/v1/memory:#include <cstring>
/usr/bin/../include/c++/v1/algorithm:#include <cstring>
/usr/bin/../include/c++/v1/string:#include <cstring>
/usr/bin/../include/c++/v1/utility:#include <cstring>
$ fgrep -r '#include <cstring>' /usr/include/c++/9.2.0/
/usr/include/c++/9.2.0/experimental/buffer:#include <cstring>
/usr/include/c++/9.2.0/regex:#include <cstring>
/usr/include/c++/9.2.0/x86_64-pc-linux-gnu/bits/stdc++.h:#include <cstring>
/usr/include/c++/9.2.0/x86_64-pc-linux-gnu/32/bits/stdc++.h:#include <cstring>
$ clang++ -stdlib=libc++ -o /dev/null -c /tmp/test.cpp
/tmp/test.cpp:7:30: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
return memcpy(0, 0, 0);
~ ^
/tmp/test.cpp:7:30: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
return memcpy(0, 0, 0);
~ ^
2 warnings generated.
$ clang++ -o /dev/null -c /tmp/test.cpp
/tmp/test.cpp:7:16: error: use of undeclared identifier 'memcpy'; did you mean 'wmemcpy'?
return memcpy(0, 0, 0);
^~~~~~
wmemcpy
/usr/include/wchar.h:262:17: note: 'wmemcpy' declared here
extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
^
1 error generated.
2020-01-19 14:14:41 +03:00
Nikolai Kochetov
4523f9b2f9
Update ResizeProcessor.cpp
...
remove comment
2020-01-19 10:11:21 +03:00
Alexander Kazakov
bffd66fcba
More effective code + some cleanup
2020-01-19 09:22:01 +03:00
Alexander Kazakov
3b6499cce9
Made code in OperationApplier more generic
2020-01-19 09:07:30 +03:00
alexey-milovidov
c711ce500b
Merge pull request #8422 from excitoon-favorites/bettertestalterttl
...
Fixed `ALTER MODIFY TTL`
2020-01-19 04:53:11 +03:00
alexey-milovidov
36a7a40a08
Merge pull request #8718 from Akazz/fixing_ternary_logic_for_batches
...
Fixed ternary logic (OR/AND/XOR) calculation in multiple batches
2020-01-19 04:49:04 +03:00
Alexey Milovidov
b5ff5341d5
Support more types for output
2020-01-19 04:22:27 +03:00
Yuriy
6f4431b79f
proper logging levels
2020-01-19 01:19:06 +00:00
Alexey Milovidov
4fdfb02b2f
Fixed build
2020-01-19 03:43:59 +03:00
alexey-milovidov
901009d9b0
Merge branch 'master' into oandrew-avro
2020-01-19 03:37:29 +03:00
Alexey Milovidov
db1bb630e0
Fixed configuration of replxx
2020-01-19 03:23:35 +03:00
Alexey Milovidov
47f6156ad8
Correct configuration of replxx
2020-01-19 03:01:49 +03:00
Alexey Milovidov
6eef7de47f
Removed questionable code
2020-01-19 02:42:46 +03:00
Alexey Milovidov
2d39e5ad8c
Merging DiskS3
2020-01-19 02:18:23 +03:00
Alexey Milovidov
4da00994d1
Merging DiskS3
2020-01-19 01:17:48 +03:00
Alexey Milovidov
ae7b9a652b
Merge branch 'vfs-s3' of https://github.com/GrigoryPervakov/ClickHouse into GrigoryPervakov-vfs-s3
2020-01-19 01:12:05 +03:00
alexey-milovidov
530e7e381a
Update DiskMemory.cpp
2020-01-19 01:07:03 +03:00
alexey-milovidov
feabcf53cb
Update DiskMemory.cpp
2020-01-19 01:05:37 +03:00
alexey-milovidov
7583f8744a
Merge branch 'master' into bettertestalterttl
2020-01-19 01:03:25 +03:00
Alexey Milovidov
28ad3b46da
Reasonable performance for function bitCount
2020-01-19 00:59:07 +03:00
Alexey Milovidov
ae185a24d2
Disable AvroConfluent
2020-01-19 00:45:16 +03:00
Alexey Milovidov
d732f854b7
Added timeouts for schema request
2020-01-19 00:42:51 +03:00
alexey-milovidov
93887371f3
Merge pull request #8716 from ClickHouse/bitCount-perf-test
...
Added performance test for bitCount function
2020-01-19 00:05:57 +03:00
Alexander Kazakov
be091a5133
Tiny optimization
2020-01-19 00:03:45 +03:00
Alexander Kazakov
f29db2ed68
Fixed problem with calculating ternary logic OPs in multiple batches
2020-01-19 00:02:43 +03:00
Alexander Kazakov
b2fd151dd0
More stable XorImpl code for XOR
2020-01-18 23:49:12 +03:00
Alexander Kazakov
0f22b5ec85
Fixed "newlines"
2020-01-18 23:45:41 +03:00
Alexey Milovidov
3c7df7ca31
Minor modifications
2020-01-18 23:42:50 +03:00
Alexander Kazakov
5fb75b3b9e
Added tests for batched logical OPs
2020-01-18 23:35:12 +03:00
Alexey Milovidov
457c50c7d7
Code cleanups around
2020-01-18 23:19:10 +03:00
Alexey Milovidov
216b39a30d
Minor changes for consistency
2020-01-18 23:15:49 +03:00
Alexey Milovidov
ac46498f60
Minor modification
2020-01-18 23:12:58 +03:00
Alexey Milovidov
f0b4fcee1f
Minor modifications
2020-01-18 23:10:32 +03:00
Alexey Milovidov
85f2e86e5b
Added performance test for Avro format
2020-01-18 23:10:11 +03:00
Alexey Milovidov
e6b407a961
Added TODO
2020-01-18 22:34:09 +03:00
Alexey Milovidov
997ea7ed53
Fixed error
2020-01-18 22:29:53 +03:00
Alexey Milovidov
f9e1f25189
Added comment to DiskMemory
2020-01-18 22:15:21 +03:00
Alexey Milovidov
76e04b9843
Merge branch 'avro' of https://github.com/oandrew/ClickHouse into oandrew-avro
2020-01-18 21:23:55 +03:00
alexey-milovidov
2ba89d169e
Merge branch 'master' into readline-to-replxx-docs-and-corrections
2020-01-18 20:58:24 +03:00
alexey-milovidov
52e8252653
Merge pull request #8650 from ClickHouse/remove_istorage_weak_ptr
...
Get rid of StorageWeakPtr
2020-01-18 20:28:53 +03:00
alexey-milovidov
3f3a9e69b0
Merge pull request #8672 from excitoon/patch-7
...
Fixed `MergeTreeData::areBackgroundMovesNeeded` according to move TTL feature
2020-01-18 20:20:00 +03:00
alexey-milovidov
85f395a8ee
Merge pull request #8680 from excitoon-favorites/criticalbugwithmove
...
Fixed a bug with double move which corrupt original part
2020-01-18 20:19:03 +03:00
alexey-milovidov
86a062110d
Merge pull request #8704 from kreuzerkrieg/MoreGCCWarnings
...
Enable -Wmissing-include-dirs for GCC
2020-01-18 20:12:56 +03:00
Alexey Milovidov
157e6539de
Added performance test for bitCount function
2020-01-18 18:50:18 +03:00
alexey-milovidov
0ceed79d4e
Merge pull request #8710 from ClickHouse/ifNotFinite
...
Added function 'ifNotFinite'
2020-01-18 18:47:22 +03:00
Alexey Milovidov
c0a5c664a9
Replace readline to replxx: docs and corrections
2020-01-18 18:44:08 +03:00
Alexey Milovidov
f7efa5e2c7
Merge branch 'replxx' of https://github.com/abyss7/ClickHouse into abyss7-replxx
2020-01-18 17:00:59 +03:00
Alexey Milovidov
eeea89e0a4
Added test
2020-01-18 16:06:19 +03:00
Alexey Milovidov
71763c9ab6
Fixed error
2020-01-18 16:06:02 +03:00
Nikolai Kochetov
0fcb36ac7c
Drop outputs in StrictResizeProcessor.
2020-01-18 14:39:48 +03:00
alexey-milovidov
3fe83a1006
Merge pull request #8708 from ClickHouse/bitCount
...
Added function bitCount
2020-01-18 14:37:08 +03:00
alexey-milovidov
3e680b59ee
Merge pull request #8709 from ClickHouse/client-clusters-in-suggest
...
Added cluster names to suggestions in interactive mode in clickhouse-client
2020-01-18 14:36:43 +03:00
alexey-milovidov
3f603b7141
Merge pull request #8711 from ClickHouse/speedup-exception-while-insert-test
...
Speedup "exception while insert" test
2020-01-18 14:33:32 +03:00
alexey-milovidov
b93309f1e2
Merge pull request #8712 from ClickHouse/benchmark-dont-interpolate-quantiles
...
Do not interpolate quantiles in clickhouse-benchmark
2020-01-18 14:33:03 +03:00
alexey-milovidov
e587e1baf8
Merge pull request #8713 from ClickHouse/join-add-test-just-in-case
...
Added a test from Bindu Madhavi
2020-01-18 14:30:28 +03:00
alexey-milovidov
e78a08cbaf
Merge pull request #8705 from ClickHouse/array-zip-mixed-const-fix
...
Fixed the case of mixed-constness of arguments of function arrayZip
2020-01-18 14:17:53 +03:00
kreuzerkrieg
0bf3ea4247
Enable -Wmissing-include-dirs for GCC
2020-01-18 10:46:27 +02:00
Alexey Milovidov
c152df4ed5
Added a test from Bindu Madhavi
2020-01-18 05:47:55 +03:00
Alexey Milovidov
9b5121d92e
Do not interpolate quantiles in clickhouse-benchmark
2020-01-18 05:28:07 +03:00
Alexey Milovidov
9983835c8e
Speedup "exception while insert" test
2020-01-18 04:52:01 +03:00
Alexey Milovidov
27b5f47282
Added function ifNotFinite
2020-01-18 04:07:11 +03:00
Alexey Milovidov
d270fb69b5
Added cluster names to suggestions in interactive mode in clickhouse-client
2020-01-18 03:32:16 +03:00
alexey-milovidov
90faa6ed5f
Update bitCount.cpp
2020-01-18 01:05:27 +03:00
alexey-milovidov
ec46c68a32
Update bitCount.cpp
2020-01-18 01:05:09 +03:00
alesapin
be5fb9a517
Less comments
2020-01-17 23:55:31 +03:00
Alexey Milovidov
8af3dda0bb
Added comments
2020-01-17 23:00:46 +03:00
Alexey Milovidov
da1b51a496
Added function bitCount #8702
2020-01-17 22:57:03 +03:00
Alexander Kuzmenkov
8de0f4fc34
Avoid stale log files.
...
When the logging configuration changes, the logging-related data
structures on the server are not properly updated. This leads to a bug
where logs are written to old files, and it is impossible to fix without
restarting the server. The log file grows indefinitely and eventually
makes the server run out of disk space (see #8696 ). To avoid
catastrophic consequences, require that the server is restarted to apply
logging configuration changes, until the proper fix is developed.
2020-01-17 22:27:41 +03:00
Alexey Milovidov
3dec67ca6d
Fixed the case of mixed-constness of arguments of function arrayZip
2020-01-17 22:16:02 +03:00
alesapin
fa5aa5fe6a
Remove debug print
2020-01-17 22:09:22 +03:00
Nikolai Kochetov
61594edcee
Fix StrictResize processor.
2020-01-17 20:04:37 +03:00
alesapin
795f36b110
Better defaults
2020-01-17 18:46:26 +03:00
alesapin
d2e9ed3898
Commented tons of debug prints
2020-01-17 17:48:56 +03:00
alesapin
750b9d9e55
Fix very strange bug
2020-01-17 17:39:18 +03:00
CurtizJ
b0906abb0d
code cleanup
2020-01-17 16:56:37 +03:00
alesapin
58b9e73a7a
Better working on files names
2020-01-17 16:54:22 +03:00
Vladimir Chebotarev
e7fb7d1288
Improved areBackgroundMovesNeeded()
method.
2020-01-17 16:30:54 +03:00
Vladimir Chebotarev
0ba869a1ca
Fixed MergeTreeData::areBackgroundMovesNeeded
according to move TTL feature.
2020-01-17 16:24:44 +03:00
Vladimir Chebotarev
cb416b0bfd
Minor review fixes.
2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
87ac7c59df
Added concurrent test for ALTER MODIFY TTL
.
2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
4f1f9e7e42
Fixed concurrency problems in ALTER MODIFY TTL
.
2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
89d74a599b
Fixed test_ttl_move::test_ttls_do_not_work_after_alter
a little bit.
2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
585e0453a6
Added clearing of old DELETE expression during ALTER MODIFY TTL
.
2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
17dfea217b
Fixed errors with ALTER MODIFY TTL
.
2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
614c45df16
Improved test_ttl_move::test_ttls_do_not_work_after_alter
test (so that it does not pass anymore).
2020-01-17 16:17:17 +03:00
chertus
d9835979eb
rename setting
2020-01-17 14:45:43 +03:00
Pervakov Grigory
36e5322320
Fix remove in memory disk, fix style, change s3 object naming
2020-01-17 14:44:16 +03:00
Pervakov Grigory
b0b3842b57
Add remove to IDisk interface, fix issues
2020-01-17 14:34:39 +03:00
Pervakov Grigory
70e50ecf10
Base implementation of IDisk interafce for S3
2020-01-17 14:34:39 +03:00
Vladimir Chebotarev
451c8174c5
Added test for bug with double move which corrupt original part.
2020-01-17 12:46:44 +03:00
Alexander Kuzmenkov
7ae38a3400
[wip] performance comparison test
2020-01-16 22:39:07 +03:00
Nikolai Kochetov
7803e518c6
Remove query pipeline later.
2020-01-16 19:20:22 +03:00
CurtizJ
2797873921
code cleanup
2020-01-16 19:19:03 +03:00
Nikolai Kochetov
61e69c06d2
Fix MergingSortedTransform
2020-01-16 18:52:52 +03:00
Alexander Kuzmenkov
f81aa1c9f0
[wip] performance comparison test
2020-01-16 17:29:53 +03:00
alesapin
d39f1a0fce
Better nested handling
2020-01-16 17:18:09 +03:00
Nikolai Kochetov
f6b9d320a9
Updates in AggregatingTransform
2020-01-16 15:50:04 +03:00
chertus
61a7e84cae
Merge branch 'master' into joins
2020-01-16 15:14:19 +03:00
Vladimir Chebotarev
48855d9ba9
Added comment to cloned_part->renameTo()
.
2020-01-16 14:52:43 +03:00
Nikolai Kochetov
5aa503beb3
Updates in AggregatingTransform and MergingSortedTransform.
2020-01-16 13:45:34 +03:00
alexey-milovidov
e409051304
Merge pull request #8663 from nikvas0/fix_lazy_db
...
Fix "DROP TABLE IF EXISTS" for lazy database
2020-01-16 13:24:37 +03:00
alexey-milovidov
f4dee9a76e
Merge pull request #8666 from ClickHouse/filimonov-typo-fix
...
typo fix
2020-01-16 13:24:00 +03:00
alexey-milovidov
1526a626ae
Merge pull request #8671 from excitoon-favorites/fixedmultiplediskstests
...
Fixed deduplication issues in more `test_multiple_disks` tests
2020-01-16 13:23:30 +03:00
Vladimir Chebotarev
3e5a6aa83d
Fixed a bug with double move which corrupt original part.
2020-01-16 10:11:55 +03:00
chertus
e06b9da71d
pm join with splitted blocks (working)
2020-01-16 00:33:21 +03:00
chertus
39f2653663
rewrite with cursor position
2020-01-15 23:33:29 +03:00
CurtizJ
7a549b2734
implement 'checkConsistency' method in compact parts
2020-01-15 22:16:56 +03:00
Nikolai Kochetov
4b86ef22b5
Fix PipelineExecutor.
2020-01-15 21:32:19 +03:00
Nikolai Kochetov
5f5753941c
Fix ports updating in PipelineExecutor.
2020-01-15 21:30:08 +03:00
CurtizJ
3ff8f424ed
remove almost useless columns sizes from compact parts
2020-01-15 21:24:10 +03:00
Alexey Milovidov
06269e572f
Added test
2020-01-15 21:19:46 +03:00
Alexey Milovidov
7ba06ccb82
Added method createColumn for DataTypeSet
2020-01-15 21:18:50 +03:00
CurtizJ
b3bd306a5d
improve performance of compact parts
2020-01-15 19:39:29 +03:00
CurtizJ
27750f0cd4
Merge remote-tracking branch 'upstream/master' into polymorphic-parts
2020-01-15 19:36:35 +03:00
alesapin
2a8873a9b7
Better
2020-01-15 19:18:11 +03:00
achulkov2
56b696e899
Remove forgotten unused code
2020-01-15 19:00:32 +03:00
achulkov2
2590eaa782
Improved some error messages
2020-01-15 18:54:45 +03:00
Andrei Chulkov
1d68725814
Delete old inefficient code, add some more checks upon dictionary creation
2020-01-15 18:47:41 +03:00
Vladimir Chebotarev
f758b1f6c6
Fixed deduplication issues in more test_multiple_disks
tests.
2020-01-15 18:25:23 +03:00
achulkov2
a4fefc7a45
Add some comments
2020-01-15 17:04:19 +03:00
alesapin
fb7c65c9aa
Simple test
2020-01-15 16:51:23 +03:00
filimonov
5ae7a0337c
Update Settings.h
2020-01-15 14:51:06 +01:00
achulkov2
2ed7378b69
Fix style error
2020-01-15 16:50:03 +03:00
alesapin
92648955c4
Almost working drop
2020-01-15 16:47:00 +03:00
filimonov
ba4db6a71b
Update Settings.h
2020-01-15 14:38:05 +01:00
filimonov
681f5df66f
typo fix
2020-01-15 14:30:21 +01:00
Andrei Chulkov
45d3537b99
Slight modifications for simple algorithm, improved test
2020-01-15 16:28:18 +03:00
alesapin
2abf4bbc95
Not working state
2020-01-15 16:00:08 +03:00
Nikita Vasilev
54e7115ead
test
2020-01-15 15:52:23 +03:00
Nikita Vasilev
a8e62788cd
test
2020-01-15 15:49:38 +03:00
Alexander Tokmakov
5e2badd9b8
Merge branch 'master' into table_name_in_istorage
2020-01-15 14:55:20 +03:00
Nikita Vasilev
acf11000c6
fix bug
2020-01-15 14:52:30 +03:00
Andrey Chulkov
bf83e66905
Fix clang compilation error
2020-01-15 13:45:04 +03:00
Nikolai Kochetov
ee3e7c1d5f
Update PipelineExecutor.
2020-01-15 12:25:38 +03:00
Olga Khvostikova
53ae368d9c
Add virtual columns to hdfs and file table functions ( #8489 )
...
* Add virtual column _path to hdfs and file table functions with test
* Fix const of headers
* Add column _file with tests
* Add docs
* Fix improper resolve conflicts
* Fix links in docs
* Better condition for virtual columns proccessing in StorageFile
* better condition for virtual columns processing in StorageHDFS
2020-01-15 10:52:45 +03:00
alexey-milovidov
b6f41e4465
Merge pull request #8647 from qMBQx8GH/fix_max_depth
...
Initial commit to fix IParser::Pos.max_depth issue
2020-01-15 01:00:17 +03:00
alexey-milovidov
27f867061d
Merge pull request #8652 from ClickHouse/linear-regression-intel
...
Integrate patch for stochasticLinearRegression
2020-01-15 00:59:51 +03:00
alexey-milovidov
9c5c544f49
Merge pull request #8653 from ClickHouse/fix_system_metadata_path
...
Fix metadata path for system database
2020-01-15 00:59:24 +03:00
achulkov2
510ddf21ab
Implementing faster parsing of polygons 6.0
2020-01-14 23:26:56 +03:00
chertus
3bdc81f3fd
Merge branch 'master' into joins
2020-01-14 22:30:07 +03:00
Alexey Milovidov
0a5fbdc01b
Merge branch 'master' of github.com:yandex/ClickHouse
2020-01-14 22:24:03 +03:00
Nikolai Kochetov
eadf388cb0
Update ISimpleTransform.
2020-01-14 22:14:10 +03:00
achulkov2
f2a942200a
Implementing faster parsing of polygons 5.0
2020-01-14 22:08:17 +03:00
chertus
f0023dc4b1
split in progress
2020-01-14 22:02:22 +03:00
Alexander Tokmakov
d51c3df7b6
fix
2020-01-14 22:01:56 +03:00
Alexey Milovidov
cf3e3b44bd
Query profiler is production ready and enabled by default
2020-01-14 21:52:40 +03:00
achulkov2
e852d818e4
Implementing faster parsing of polygons 4.0
2020-01-14 21:48:31 +03:00
achulkov2
32d4798872
Implementing faster parsing of polygons 3.0
2020-01-14 21:46:37 +03:00
alexey-milovidov
c9a781b099
Merge pull request #8648 from CurtizJ/rename-tests
...
Rename tests to be consistent with clickhouse-test options.
2020-01-14 21:37:43 +03:00
achulkov2
4da1fffc06
Implementing faster parsing of polygons 2.0
2020-01-14 21:36:25 +03:00
achulkov2
c3ddbf8ab9
Implementing faster parsing of polygons 1.0
2020-01-14 21:32:47 +03:00
Nikita Mikhaylov
0e0dd80abf
Merge pull request #6168 from PerformanceVision/move_partition
...
Alter command for move a specific partition from MergeTree table
2020-01-14 22:32:10 +04:00
Alexey Milovidov
ba905e19bf
Removed bunch of other solved tasks
2020-01-14 21:26:46 +03:00
alexey-milovidov
f460095319
Merge pull request #8651 from qoega/qoega/update-easy-tasks-1
...
Delete fixed tasks from easy tasks list
2020-01-14 21:18:32 +03:00
Nikolai Kochetov
77e04daaca
Update ISimpleTransform.
2020-01-14 20:21:59 +03:00
chertus
203410b383
Merge branch 'master' into joins
2020-01-14 20:19:49 +03:00
Alexey Milovidov
975ae4c396
Integrate patch from Intel
2020-01-14 20:17:56 +03:00
Alexander Tokmakov
9521b0ebe5
remove proxystorage
2020-01-14 20:10:19 +03:00
Alexander Tokmakov
ff1b7e1386
get rid of StorageWeakPtr
2020-01-14 19:54:25 +03:00
Yatsishin Ilya
1e501da101
fixed add brotli #4388
2020-01-14 19:50:46 +03:00
Yatsishin Ilya
a1b1c5cd56
fixed static computable limits
2020-01-14 19:48:14 +03:00
Yatsishin Ilya
12bbdd8582
fixed clickhouse-local --time --progress
2020-01-14 19:43:50 +03:00
Yatsishin Ilya
7a6a5d77a9
fixed add topKWeighted
2020-01-14 19:41:08 +03:00
Yatsishin Ilya
7b59d7b102
fixed clickhouse-server --help
2020-01-14 19:40:26 +03:00
Yatsishin Ilya
6f530c8788
fixed add isValidUTF8 #4934
2020-01-14 19:39:30 +03:00
Yatsishin Ilya
97128ad5af
fixed lower mark_cache, uncompressed_cache if system has low memory
2020-01-14 19:31:22 +03:00
Yatsishin Ilya
1e60794a93
fixed add X-ClickHouse-Query-Id in header
2020-01-14 19:15:56 +03:00
Yatsishin Ilya
5ffb21d078
fixed NOT BETWEEN
2020-01-14 19:08:47 +03:00
Yatsishin Ilya
4edb468f7b
fixed -C option for clickhouse-client
2020-01-14 19:07:11 +03:00
Yatsishin Ilya
fa2c13aa0d
fixed arrayWithConstant #4309
2020-01-14 19:01:45 +03:00
Yatsishin Ilya
56059af6b9
fixed flatten for arrays of arrays
2020-01-14 18:33:09 +03:00
Yatsishin Ilya
47edf938f0
fixed issue #2011
2020-01-14 18:20:14 +03:00
achulkov2
9a213f79ed
Support new methods added in recent pull requests 3.0
2020-01-14 17:59:21 +03:00
Ivan Lezhankin
b79855477f
Fix stack-overflow problem
2020-01-14 17:53:53 +03:00
achulkov2
c12727bfb5
Support new methods added in recent pull requests 2.0
2020-01-14 17:42:16 +03:00
achulkov2
bc5edee8cf
Support new methods added in recent pull requests
2020-01-14 17:40:34 +03:00
CurtizJ
cffca47129
rename one more test
2020-01-14 17:22:37 +03:00
Andrei Chulkov
d932dbf779
Merge branch 'master' into polygon-dict-basic-interface-improvements
2020-01-14 17:05:04 +03:00
CurtizJ
d43d189769
more convinient local testing
2020-01-14 16:57:40 +03:00
CurtizJ
ce914cbab8
refactor code near MergeTreeDataPart
2020-01-14 16:23:51 +03:00
Maxim Smirnov
c7cbaab3db
A test added for max_parser_depth setting
2020-01-14 14:18:42 +02:00
Maxim Smirnov
32dcbfb627
Avoid copy of a Context object in a lambda function
2020-01-14 14:14:14 +02:00
alexey-milovidov
ffa5f714f3
Merge pull request #8642 from excitoon-favorites/fix_test_concurrent_alter_move
...
Fixed deduplication issue in `test_multiple_disks::test_concurrent_alter_move`
2020-01-14 14:25:26 +03:00
Maxim Smirnov
ee463403d5
Initial commit to fix IParser::Pos.max_depth issue
2020-01-14 13:11:01 +02:00
Nikolai Kochetov
7dd1b5c5a2
Update Resize processor
2020-01-14 12:27:58 +03:00
Nikolai Kochetov
d22f792196
Update Resize processor
2020-01-14 12:15:34 +03:00
alesapin
e7aa209bf3
Merge branch 'master' into alter_on_top_of_mutations
2020-01-14 11:26:27 +03:00
Vladimir Chebotarev
43570ba281
Fixed deduplication issue in test_multiple_disks::test_concurrent_alter_move
.
2020-01-14 03:50:42 +03:00
robot-clickhouse
e8e820cfd4
Auto version update to [20.2.1.1] [54432]
2020-01-13 22:21:08 +03:00
robot-clickhouse
c03e1f3e28
Auto version update to [20.1.1.2109] [54431]
2020-01-13 22:20:40 +03:00
chertus
80e9ca20ff
Merge branch 'master' into joins
2020-01-13 21:56:35 +03:00
Nikolai Kochetov
bcc0cd8e47
Fix build.
2020-01-13 21:25:10 +03:00
CurtizJ
18eacfe721
ignore compact parts in MergeTreeWhereOptimizer
2020-01-13 21:12:53 +03:00
alexey-milovidov
d78290b7ec
Merge pull request #8107 from excitoon-favorites/alterpolicy
...
Allow to change `storage_policy` to not less rich one
2020-01-13 21:02:47 +03:00
chertus
8ab68e2c77
change iface for one-to-many blocks expressions calculation
2020-01-13 21:00:32 +03:00
alexey-milovidov
dade4dc201
Merge pull request #8631 from proller/fix27
...
Build fixes
2020-01-13 21:00:12 +03:00
Nikolai Kochetov
a6fc528805
Merge branch 'master' into Vxider-parallel-insert
2020-01-13 20:59:42 +03:00
alexey-milovidov
4dd5da353a
Merge pull request #8286 from amosbird/grouparraysample
...
groupArraySample
2020-01-13 20:57:27 +03:00
alesapin
a90ab99282
Maybe it will compile better
2020-01-13 19:40:30 +03:00
CurtizJ
f15696246e
add part type to system.parts table
2020-01-13 19:40:24 +03:00
alesapin
bc59e473e8
Some thoughts on non blocking alter
2020-01-13 19:39:20 +03:00
CurtizJ
1011675b11
avoid errors with compact non-adaptive parts
2020-01-13 19:28:29 +03:00
CurtizJ
bae3aa3c6e
simplify data part checking
2020-01-13 17:56:22 +03:00
alexey-milovidov
166e44922f
Merge pull request #8625 from Vxider/fix-liveview-timestamp
...
fix liveview timestamp bug
2020-01-13 17:55:10 +03:00
alexey-milovidov
192580b60f
Update MergeTreeData.h
2020-01-13 17:45:13 +03:00
Nikolai Kochetov
edc28c3dd2
Update ResizeProcessor.
2020-01-13 15:04:02 +03:00
Alexander Tokmakov
9389c83d4d
Merge branch 'master' into table_name_in_istorage
2020-01-13 14:41:42 +03:00
Nikolai Kochetov
5b4a9dc82c
Update ResizeProcessor.
2020-01-13 13:47:07 +03:00
Nikolai Kochetov
b3c18638dc
Update ResizeProcessor.
2020-01-13 13:32:55 +03:00
Guillaume Tassery
f273ba831f
run test
2020-01-13 11:31:47 +01:00
Nikolai Kochetov
dffbd21cba
Add pull with not_needed flag to output port.
2020-01-13 12:56:42 +03:00
Nikolai Kochetov
880e999e83
Add pull with not_needed flag to output port.
2020-01-13 12:56:35 +03:00
Nikolai Kochetov
c2a054ac70
Add cancell flag to MergingAggrgated.
2020-01-13 12:56:21 +03:00
proller
2804feb941
Merge remote-tracking branch 'upstream/master' into fix27
2020-01-13 12:29:55 +03:00
Guillaume Tassery
377d20185e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into move_partition
2020-01-13 04:16:27 +01:00
Guillaume Tassery
33698588d7
Merge branch 'master' of github.com:ClickHouse/ClickHouse into remove_partition
2020-01-13 04:13:58 +01:00
alexey-milovidov
4b9acaaa90
Merge pull request #8444 from ClickHouse/base64-update
...
Replace base64 library to TurboBase64
2020-01-13 00:07:12 +03:00
alexey-milovidov
303b146a93
Merge branch 'master' into vfs_log
2020-01-12 20:16:30 +03:00
Vxider
1019cf42d8
fix timestamp
2020-01-13 00:12:11 +08:00
Alexey Milovidov
797b1b9cd5
Fixed error code of test assertion in client
2020-01-12 16:47:56 +03:00
Alexey Milovidov
c71b850a51
Merge branch 'master' into base64-update
2020-01-11 20:48:41 +03:00
alexey-milovidov
f051844eb7
Merge branch 'master' into replxx
2020-01-11 19:59:33 +03:00
alexey-milovidov
c270830b0a
Merge pull request #8535 from ClickHouse/distributed-format
...
Distributed format
2020-01-11 19:19:11 +03:00
alexey-milovidov
836ac810a7
Merge pull request #8613 from ClickHouse/azat-SimpleAggregateFunction-LowCardinality-merge-fix-v2
...
SimpleAggregateFunction(LowCardinality) fix (continuation)
2020-01-11 19:14:15 +03:00
alexey-milovidov
0c6b5ebd48
Merge pull request #8621 from ClickHouse/zkutil-test-more-maintainable
...
Make one unit test more maintainable
2020-01-11 18:33:52 +03:00
Winter Zhang
89b80ba7cb
Merge branch 'master' into fix/ISSUES-8317
2020-01-11 23:16:52 +08:00
Alexey Milovidov
f53aa30e8a
Whitespace
2020-01-11 18:06:29 +03:00
Alexey Milovidov
d75ecffb98
Removed useless code
2020-01-11 18:06:15 +03:00
Alexey Milovidov
a986812e2e
Removed useless code
2020-01-11 17:08:22 +03:00
Alexey Milovidov
cc609143e9
Make one unit test more maintainable
2020-01-11 16:28:24 +03:00
alexey-milovidov
b08a9e00a4
Merge pull request #8620 from chhetripradeep/pchhetri/spelling-mistakes
...
Fix some spelling mistakes
2020-01-11 16:19:48 +03:00
Alexey Milovidov
0d2b9b87d6
Whitespace
2020-01-11 16:17:26 +03:00
Alexander Burmak
843af83697
Fixed compilation warning in release build of unit tests
2020-01-11 16:09:07 +03:00
Alexey Milovidov
83869b78ca
Merge branch 'master' into base64-update
2020-01-11 14:03:18 +03:00
Pradeep Chhetri
4941fdfe4b
Fix some spelling mistakes
2020-01-11 17:51:33 +08:00
alexey-milovidov
5af9eabfdb
Merge pull request #8617 from ClickHouse/kiransunkari-CLICKHOUSE-7262
...
Merging #8493
2020-01-11 12:43:07 +03:00
Andrew Onyshchuk
9da0df4f03
Add codec and sync interval settings
2020-01-11 01:01:57 -06:00
Andrew Onyshchuk
bfc610275d
fix bad cast
2020-01-11 01:01:51 -06:00
Andrew Onyshchuk
4c13317fba
refactor avro cmake
2020-01-10 16:47:41 -06:00
Andrew Onyshchuk
872f759b07
Fix tests - timezone
2020-01-10 16:47:35 -06:00
alexey-milovidov
3567a09360
Update StorageTinyLog.cpp
2020-01-11 00:55:14 +03:00
alexey-milovidov
bfda1ff807
Update FileChecker.cpp
2020-01-11 00:54:47 +03:00
Alexander Burmak
26511b7978
Added DiskMemory and tests
2020-01-11 00:43:42 +03:00
alesapin
b29fa1b143
Merge pull request #8614 from ClickHouse/fix_alter_codec
...
Fix alter codec bug
2020-01-10 23:15:45 +03:00
Alexey Milovidov
b4ccddbb96
Make the code less wrong #8493
2020-01-10 20:44:34 +03:00
alexey-milovidov
5e29fe3425
Merge pull request #8475 from ClickHouse/aku/logical-error-assert
...
In debug builds, treat LOGICAL_ERROR as an assertion failure.
2020-01-10 19:58:39 +03:00
Alexey Milovidov
85f2f174b1
Merge branch 'CLICKHOUSE-7262' of https://github.com/kiransunkari/ClickHouse into kiransunkari-CLICKHOUSE-7262
2020-01-10 19:57:09 +03:00
Ivan
dec5a50033
Add new config syntax for table filters ( #8381 )
2020-01-10 19:53:47 +03:00
alexey-milovidov
9f4533c06a
Merge pull request #8606 from ClickHouse/fix_defaults_mismatch_size
...
Fix mismatch column sizes when inserting defaults
2020-01-10 19:25:18 +03:00
Alexey Milovidov
61878d9f49
Fixed test.
2020-01-10 19:24:44 +03:00
alexey-milovidov
0a3a9a61e4
Merge pull request #8604 from abyss7/add-warning-macro
...
Add CMake macro add_warning to check if compiler supports warning
2020-01-10 19:22:25 +03:00
alexey-milovidov
6ef19d3630
Merge pull request #8549 from excitoon-favorites/mergedownwards
...
Do not allow to merge data moving it against storage policy volume order
2020-01-10 19:21:21 +03:00
alexey-milovidov
701dde5a12
Merge pull request #8538 from ClickHouse/get-table-performance-issue
...
Fixed potential performance issue in "Context::getTable" method
2020-01-10 19:20:51 +03:00
alexey-milovidov
740677164a
Merge pull request #8609 from ClickHouse/part-log-in-dev-config
...
Added part_log to example config for developers
2020-01-10 19:19:15 +03:00
Vasily Nemkov
671aeeb618
Fixed codec performance test
...
* Fixed SELECT cases to actually read data;
* Using hash instead of rand() to make tests more reproducible;
* Set number of rows to 1000000 for both INSERT and SELECT queries;
* Using {type} substitution for fill_query.
2020-01-10 19:00:31 +03:00
alesapin
f395603573
Add missed test
2020-01-10 18:28:47 +03:00
alesapin
9d55de8aef
Fix alter codec bug
2020-01-10 18:26:40 +03:00
Nikolai Kochetov
d939cef9d1
Fix result for SimpleAggregateFunction with LowCardinality for AggregatingSortedBlockInputStream.
2020-01-10 17:51:30 +03:00
Nikolai Kochetov
87377431f4
Fix result for SimpleAggregateFunction with LowCardinality for AggregatingSortedBlockInputStream.
2020-01-10 17:01:24 +03:00
Nikolai Kochetov
64d5789dec
Revert changes for MergedBlockOutputStream.
2020-01-10 16:59:54 +03:00
Nikolai Kochetov
5a7c90c500
Merge branch 'SimpleAggregateFunction-LowCardinality-merge-fix-v2' of https://github.com/azat/ClickHouse into azat-SimpleAggregateFunction-LowCardinality-merge-fix-v2
2020-01-10 16:55:49 +03:00
Alexey Milovidov
02e90b13e2
Fixed error
2020-01-10 15:47:59 +03:00
Alexey Milovidov
4f4dbfcf4a
Merge remote-tracking branch 'origin/master' into get-table-performance-issue
2020-01-10 15:41:13 +03:00
alesapin
5e7faf5ad2
Fix perf test
2020-01-10 15:07:01 +03:00
Alexander Kuzmenkov
1ab0a73109
fixup
2020-01-10 15:06:22 +03:00
Alexander Burmak
ec1a490935
Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs_log
2020-01-10 15:04:20 +03:00
Alexander Tokmakov
902615a2f7
Merge branch 'master' into table_name_in_istorage
2020-01-10 14:51:21 +03:00
Alexey Milovidov
c4304b51af
Added part_log to example config for developers
2020-01-10 14:36:59 +03:00
Guillaume Tassery
fba592380e
modify test
2020-01-10 12:22:07 +01:00
Guillaume Tassery
4c316e7671
add test
2020-01-10 12:20:40 +01:00
Alexander Kuzmenkov
652abb65e6
fixup
2020-01-10 14:16:14 +03:00
Guillaume Tassery
121d651914
remove local partition on replicated storage as well
2020-01-10 12:08:56 +01:00
Alexander Tokmakov
fe714addb4
modify test because there is another bug
2020-01-10 13:43:37 +03:00
Nikolai Kochetov
9ad61c5437
Enable processors by default.
2020-01-10 13:42:33 +03:00
alexey-milovidov
6a045c02e5
Merge pull request #8587 from Alex-Burmak/gtest_update
...
Updated contrib/googletest to v1.10.0
2020-01-10 13:29:27 +03:00
Ivan Lezhankin
8eb0cd82fe
Add CMake macro add_warning to check if compiler supports warning
2020-01-10 13:25:14 +03:00
Guillaume Tassery
5f8297b307
Remove outdated partition on shutdown
2020-01-10 10:46:24 +01:00
Andrew Onyshchuk
7d9a6130b6
Default to deflate if snappy is not enabled
2020-01-10 03:29:53 -06:00
Ivan
fd55999398
Initialize set for index when table filter is presented ( #8357 )
2020-01-10 12:24:05 +03:00
Andrew Onyshchuk
d15e820e9f
Add Avro tests
2020-01-10 03:05:47 -06:00
Alexander Burmak
57517b4ede
Replaced deprecated INSTANTIATE_TEST_CASE_P with INSTANTIATE_TEST_SUITE_P
2020-01-10 11:48:24 +03:00
Alexander Burmak
d869a48eb3
Merge remote-tracking branch 'refs/remotes/upstream/master' into gtest_update
2020-01-10 11:44:35 +03:00
Kiran
2e433b6459
cluster.cpp file formatted
2020-01-10 12:58:16 +05:30
alexey-milovidov
24d8300869
Merge pull request #8552 from ClickHouse/port-8545
...
Port changes from #8545 to processors.
2020-01-10 10:13:45 +03:00
alexey-milovidov
b8f3cec709
Merge pull request #8589 from ClickHouse/fix-substring-negative-size
...
Fix substring negative size
2020-01-10 10:12:24 +03:00
alexey-milovidov
5ec160f962
Merge pull request #8595 from ClickHouse/aku/merge-verbose-error
...
Report a more verbose error when unable to select parts to merge.
2020-01-10 10:12:04 +03:00
Alexander Burmak
0135835855
Additional release build fix
2020-01-10 10:03:34 +03:00
Andrew Onyshchuk
6e26211758
Fix code style
2020-01-10 00:03:38 -06:00
Kiran
f0f870b27f
proper style format added in cluster.cpp
2020-01-10 10:38:54 +05:30
Kiran
4945d9f797
Formatted code with clang
2020-01-10 08:11:58 +05:30
alesapin
fb4e2c9a53
Merge pull request #8588 from ClickHouse/fix_mutation_size_limit
...
Fix mutation size limit
2020-01-09 22:51:07 +03:00
Alexander Tokmakov
45d0089d3f
fix defaults mismatch size
2020-01-09 22:24:29 +03:00
Nikolai Kochetov
6720a7c91f
Fix tests.
2020-01-09 21:51:39 +03:00
CurtizJ
6f09b5fc28
fix reading of nested columns in compact format
2020-01-09 20:27:44 +03:00
CurtizJ
97521800f0
fix reading of nested columns in compact format
2020-01-09 20:06:34 +03:00
proller
e2225258df
Merge remote-tracking branch 'upstream/master' into fix27
2020-01-09 17:00:07 +00:00
Alexander Kuzmenkov
3999675383
In debug builds, treat LOGICAL_ERROR as an assertion failure.
2020-01-09 19:58:32 +03:00
alexey-milovidov
8d9f85cf22
Merge pull request #8314 from javisantana/fix/no_wait_for_no_active_replicas
...
check for active replicas when waiting for commands
2020-01-09 19:54:07 +03:00
Nikolai Kochetov
d4bb352113
Merged with master.
2020-01-09 19:51:15 +03:00
alexey-milovidov
58e6041477
Merge pull request #8503 from zhang2014/fix/some_predicate_bug
...
try fix some predicate optimizer bug
2020-01-09 19:48:16 +03:00
alexey-milovidov
7dcc00d996
Merge pull request #8572 from ClickHouse/full-text-index-useless-code
...
Removed useless code, added comments
2020-01-09 19:47:51 +03:00
alexey-milovidov
ed1828fe0f
Merge pull request #8574 from Enmk/codec_perf_test_fixes
...
Increased number of rows to make tests results noticeable.
2020-01-09 19:46:44 +03:00
Nikolai Kochetov
7e891534b0
Merge pull request #8585 from ClickHouse/processors-5.8
...
Processors 5.8
2020-01-09 19:46:34 +03:00
alexey-milovidov
e191263964
Merge pull request #8576 from vitlibar/no-exception-from-set-policy-on-empty-filter
...
PolicyInfo::setPolicy() now doesn't throw an excepion on empty filter.
2020-01-09 19:41:20 +03:00
Alexander Tokmakov
b54b46b057
fix build
2020-01-09 19:32:21 +03:00
Nikolai Kochetov
9069a9d4f1
Fix test.
2020-01-09 19:27:49 +03:00
Ivan Lezhankin
5950f6c081
Merge remote-tracking branch 'upstream/master' into replxx
2020-01-09 19:21:04 +03:00
Alexander Tokmakov
a1ff29b7e6
fix empty table name
2020-01-09 19:01:44 +03:00
CurtizJ
2495849cd8
fix reading of nested columns in compact format
2020-01-09 18:46:32 +03:00
Alexander Kuzmenkov
2c73233e82
Report a more verbose error when unable to select parts to merge.
2020-01-09 18:38:16 +03:00
Alexander Tokmakov
54a75269cb
Merge branch 'master' into table_name_in_istorage
2020-01-09 17:46:23 +03:00
Alexander Tokmakov
9b75ee2378
Merge branch 'master' into table_name_in_istorage
2020-01-09 17:33:58 +03:00
Alexander Burmak
d23f967148
Fixed release build - v2
2020-01-09 17:18:00 +03:00
Alexander Burmak
97f3b63966
Merge remote-tracking branch 'refs/remotes/upstream/master' into gtest_update
2020-01-09 17:08:56 +03:00
Alexander Burmak
6d3828b8f2
Revert "Fixed release build"
...
This reverts commit 84bc2bd104
.
2020-01-09 17:08:31 +03:00
Alexander Burmak
893f18d674
Fixed merge issue
2020-01-09 17:07:49 +03:00
Vladimir Chebotarev
99a5830f0a
Added a check for existing data on new disk.
2020-01-09 16:53:04 +03:00
Vladimir Chebotarev
5e1093faf8
Added changing of table policy.
2020-01-09 16:52:37 +03:00
Alexander Burmak
c4f44bb06c
Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs_log
2020-01-09 16:29:03 +03:00
Nikolai Kochetov
1b97cb3f95
Merge pull request #8519 from vzakaznikov/live_view_refactoring
...
Live View storage engine refactoring of getNewBlocks() and writeIntoLiveView() methods.
2020-01-09 16:25:23 +03:00
CurtizJ
33ae97894b
Merge remote-tracking branch 'upstream/master' into polymorphic-parts
2020-01-09 15:54:37 +03:00
Nikolai Kochetov
bc7df87c26
Fix test.
2020-01-09 15:52:17 +03:00
Nikolai Kochetov
0b2d238af9
Fix DelayedPortsProcessor.
2020-01-09 15:24:56 +03:00
Alexander Burmak
84bc2bd104
Fixed release build
2020-01-09 15:21:49 +03:00
Nikolai Kochetov
856f72f3f7
Added test for substring with negative size.
2020-01-09 15:13:36 +03:00
Nikolai Kochetov
ea6fa1db8f
Fix string size for GatherUtils StringSource.
2020-01-09 14:59:53 +03:00
Nikolai Kochetov
39b91584fd
Simplifu delayed stream in QueryPipeline.
2020-01-09 14:52:34 +03:00
Alexander Tokmakov
1d14d8b4a7
fix mutation size limit
2020-01-09 14:38:26 +03:00
proller
8d142a9331
Merge remote-tracking branch 'upstream/master' into fix27
2020-01-09 14:20:19 +03:00
Nikolai Kochetov
c637396791
Added DelayedPortsProcessor.
2020-01-09 13:37:27 +03:00
Alexander Burmak
4a9e2399a7
Updated contrib/googletest to v1.10.0
2020-01-09 13:03:24 +03:00
Nikolai Kochetov
5ed2a93748
Allow multiple edges for processors pipeline.
2020-01-09 12:03:08 +03:00
Nikolai Kochetov
874d01e8b7
Merge pull request #8423 from ClickHouse/processors-5.7
...
Processors 5.7
2020-01-09 11:53:22 +03:00
Nikolai Kochetov
ba188f6a46
Disable processors by default.
2020-01-09 11:52:30 +03:00
Nikolai Kochetov
878351a732
merged with master.
2020-01-09 11:15:01 +03:00
Nikolai Kochetov
dc7acc1028
Changes from #8545 to processors.
2020-01-09 11:06:46 +03:00
oandrew
38ab600a08
Fix compilation errors
2020-01-08 22:22:49 -06:00
Vladimir Chebotarev
75e2dbde36
Removed fallback behavior of reserving space on a volumes with smaller indices when volumes with greater or equal indices are full but left warnings about not being able to move data according to table-level TTL rules.
2020-01-08 23:12:36 +03:00
proller
674d34e93e
Merge remote-tracking branch 'upstream/master' into fix27
2020-01-08 18:43:54 +03:00
Vitaly Baranov
746dd1a8b7
PolicyInfo::setPolicy() now doesn't throw an excepion on empty filter.
2020-01-08 22:03:10 +07:00
Vasily Nemkov
da2783f21c
Increased number of rows to make tests results noticeable.
2020-01-08 17:35:28 +03:00
Alexey Milovidov
2084d26238
Removed useless code, added comments
2020-01-08 13:20:55 +03:00
Guillaume Tassery
d176abb7c0
Check the storage policy of table on the move partition table
2020-01-08 10:57:27 +01:00
Andrew Onyshchuk
7320447f92
Add Avro formats
...
Add Avro file input/output formats
Add AvroConfluent input format (for Kafka)
2020-01-08 03:18:00 -06:00
Guillaume Tassery
4a04a1a2ec
Merge branch 'master' of github.com:ClickHouse/ClickHouse into move_partition
2020-01-08 08:11:53 +01:00
zhang2014
613c5144b5
ISSUES-8317 fix negative with bloom filter
2020-01-08 13:00:04 +08:00
Kiran
c1817d77c0
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into CLICKHOUSE-7262
2020-01-08 09:01:26 +05:30
zhang2014
04f28e3aab
remove union failure test
2020-01-08 11:22:26 +08:00
Vladimir Chebotarev
6f2a4bf5ce
Added fallback behavior of reserving space on a volumes with smaller indices when volumes with greater or equal indices are full.
2020-01-07 22:26:14 +03:00
alexey-milovidov
8140b2f75a
Merge pull request #8555 from ClickHouse/performance-test-remove-garbage
...
Removed some garbage from clickhouse-performance-test tool.
2020-01-07 21:49:17 +03:00
Kiran
42cb2ed81b
handled flattening nodes in circular topology
2020-01-07 23:50:12 +05:30
Kiran
9c3e80a774
removed copy constructor and moved to private methid
2020-01-07 23:49:39 +05:30
Javi santana bot
776ceeb427
Wait only on optimize commands
2020-01-07 19:16:37 +01:00
Nikita Mikhaylov
ab4f6f9228
only for triggering tests
2020-01-07 22:01:36 +04:00
Alexey Milovidov
1fe1a37a5b
Fixed build
2020-01-07 17:13:10 +03:00
Alexey Milovidov
8432cbb5c6
Removed debug output
2020-01-07 15:26:44 +03:00
Kiran
c87f74c637
added new integration test for clusterAllreplicas tabe function
2020-01-07 15:57:24 +05:30
Kiran
1ac7ed5abc
altered flow for clusterAllreplicas table function
2020-01-07 15:56:53 +05:30
Kiran
ce55b0ffb5
addded new constructor in cluster class for creating a new cluster from replicas
2020-01-07 15:56:16 +05:30
Alexey Milovidov
c5697f3c3f
Removed some garbage from Performance Test
2020-01-07 12:10:36 +03:00
Alexey Milovidov
aada31f8be
Fixed performance test
2020-01-07 11:48:23 +03:00
Nikolai Kochetov
e1a3c7fb79
Changes from #8545 to processors.
2020-01-07 11:37:34 +03:00
Alexey Milovidov
eb1c2cd2e3
Minor improvement
2020-01-07 11:32:58 +03:00
Alexey Milovidov
9d6e006a9f
Modified test
2020-01-07 11:31:12 +03:00
alexey-milovidov
503a172c48
Merge pull request #8542 from ClickHouse/ryu
...
Using "ryu" library to format floats in text form.
2020-01-07 11:26:46 +03:00
Vladimir Chebotarev
7de9eb4bdc
Do not allow to merge data moving it against storage policy volume order.
2020-01-07 10:17:11 +03:00
Guillaume Tassery
8b2938a8fb
Merge branch 'master' into move_partition
2020-01-07 13:25:35 +07:00
Nikolai Kochetov
aa7c07c94c
Changes from #8545 to processors.
2020-01-07 08:41:18 +03:00
Alexey Milovidov
c1ccb427d5
More performance tests
2020-01-07 06:51:43 +03:00
zhang2014
b5035e8924
no skip lambda function
2020-01-07 11:31:03 +08:00
Alexey Milovidov
cb27ae559b
Added test
2020-01-07 06:22:28 +03:00
Alexey Milovidov
ddacfbbca3
Fixed error
2020-01-07 06:05:55 +03:00
Alexey Milovidov
50b15d3b33
Attempt to improve perofrmance of ryu on integers
2020-01-07 05:38:09 +03:00
alexey-milovidov
76f78e6a85
Merge pull request #8545 from ClickHouse/parallel-merge-sort
...
Parallel merge sort (experimental)
2020-01-07 03:22:23 +03:00
Nikolai Kochetov
65901f03b8
Update ConvertingAggregatedToChunksTransform transform.
2020-01-06 19:34:51 +03:00
Nikolai Kochetov
7fc8b59d49
Update ConvertingAggregatedToChunksTransform transform.
2020-01-06 19:26:20 +03:00
Vitaliy Zakaznikov
f0d2ef5bf7
Removing tabs.
2020-01-06 08:23:05 -05:00
Alexey Milovidov
2314bb5a34
Parallel merge sort (experimental)
2020-01-06 15:43:27 +03:00
alexey-milovidov
2aeb10962b
Merge branch 'master' into ryu
2020-01-06 14:35:20 +03:00
Alexey Milovidov
2196c36712
Added more test cases for performance test
2020-01-06 14:04:08 +03:00
zhang2014
0f147e393f
better skip lambda function
2020-01-06 18:59:23 +08:00
zhang2014
2179935f1e
fix lambda function in predicate
2020-01-06 18:38:48 +08:00
Alexey Milovidov
e14f5bef39
Make Ryu "to shortest" mode compatible with double-conversion
2020-01-06 13:34:33 +03:00
zhang2014
6d3e56def4
fix unbundled failure test
2020-01-06 18:07:41 +08:00
alexey-milovidov
8f0d4995b8
Merge pull request #8539 from ClickHouse/msan-libunwind
...
Avoid MSan report for data from libunwind
2020-01-06 13:05:40 +03:00
alexey-milovidov
8a4c949295
Merge pull request #8019 from Enmk/gorilla_and_doubledelta_performance
...
Gorilla and doubledelta performance
2020-01-06 12:03:26 +03:00
Alexey Milovidov
2ffc103424
Added performance test
2020-01-06 10:10:22 +03:00
Alexey Milovidov
61beff2000
Attempt to make usage of Ryu library compatible
2020-01-06 09:45:05 +03:00
Alexey Milovidov
daa8c71d4d
Attempt to make usage of Ryu library compatible
2020-01-06 09:24:34 +03:00
Alexey Milovidov
224b1eb886
Attempt to make usage of Ryu library compatible
2020-01-06 09:19:37 +03:00
Alexey Milovidov
16f9628513
Fixed error
2020-01-06 09:19:12 +03:00
Alexey Milovidov
bc138d272b
Attempt to make usage of Ryu library compatible
2020-01-06 09:17:50 +03:00
zhang2014
ce6e13549a
fix neighbor is stateful function
2020-01-06 12:18:56 +08:00
zhang2014
f8aa0b90b1
add bugs test
2020-01-06 11:55:07 +08:00
Alexey Milovidov
dde5cb2222
Added performance test
2020-01-06 06:28:19 +03:00
Alexey Milovidov
2d47572603
Using "ryu" library to format floats
2020-01-06 06:22:11 +03:00
Alexey Milovidov
be90d33797
Avoid MSan report for data from libunwind
2020-01-06 05:15:31 +03:00
Alexey Milovidov
87f3005f6b
Fixed potential performance issue in "Context::getTable" method
2020-01-06 03:22:15 +03:00
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
Nikolai Kochetov
e4933eb6c6
Added tests
2020-01-05 22:36:14 +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
dd3e0a7abd
Fixed incorrect method of parsing "brotli" from Accept-Encoding in HTTP
2020-01-05 04:54:58 +03:00
Alexey Milovidov
df80ca892f
Prefer brotli over other compression methods in HTTP
2020-01-05 04:51:59 +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
e7241c1dbe
Removed bad code around general compression methods
2020-01-04 10:42:52 +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
Azat Khuzhin
3205165e5e
Add a test for OPTIMIZE of SimpleAggregateFunction(LowCardinality(Nullable()))
2020-01-04 00:51:34 +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
928f673669
Merge pull request #8514 from azat/view-related-tests
...
VIEW tests fixes
2020-01-03 18:34:30 +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
Azat Khuzhin
425704e1d0
Add missing DROP TABLE into 01056_create_table_as
...
Also update abbrev in table names, lv stands for LIVE VIEW, v for VIEW
2020-01-03 17:04:49 +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
Azat Khuzhin
7d88218e9f
Fix 00980_create_temporary_live_view
2020-01-03 13:34:10 +03:00
alexey-milovidov
1dc1411077
Update 01056_create_table_as.sql
2020-01-03 11:15:34 +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
487a05fae4
Cover CREATE TABLE AS table/view/live-view/dictionary
2020-01-03 02:16:19 +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
alexey-milovidov
03be29eddb
Merge pull request #8501 from ClickHouse/stack-trace-in-std-exception
...
Calculate stack trace for std::exception (experimental)
2020-01-03 00:22:12 +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
Amos Bird
74dfa87b9a
fix prewhere test (camouflage an Easter Egg)
2020-01-02 18:29:59 +08: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
Nikolai Kochetov
aaca37a472
Merge pull request #8497 from ClickHouse/json-quote-perftest
...
JSON quoting in perftest
2020-01-02 09:26:11 +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
a04f8ca955
Correct quoting for query in perftest.
2020-01-01 23:04:49 +03:00
Nikolai Kochetov
944daef70b
Correct quoting for query in perftest.
2020-01-01 22:55:08 +03:00
Nikolai Kochetov
950fe0dfd6
Correct quoting for query in perftest.
2020-01-01 22:32:08 +03:00
Ivan Lezhankin
13b88886d4
[WIP]
2020-01-01 22:22:57 +03: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
9bc74a8c18
Version update
2020-01-01 07:36:30 +03:00
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
700e727f65
Merge pull request #8477 from ClickHouse/formats-perf-tests-more-deterministic
...
Make formats-related perf test more deterministic
2019-12-31 03:14:34 +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
Alexey Milovidov
b17a93527c
Added performance test
2019-12-31 02:57:34 +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
Alexey Milovidov
445b494f88
Added test
2019-12-30 23:13:04 +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
Alexey Milovidov
86a3b6e774
Make formats-related perf test more deterministic
2019-12-30 22:16:12 +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
Nikolai Kochetov
7ed3da8265
Increase timeout for 00909_kill_not_initialized_query.sh.
2019-12-30 20:31:47 +03:00
alexey-milovidov
e6ea59c84a
Merge pull request #8460 from mnach/master
...
refs #8443 fix logging
2019-12-30 20:29:01 +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
Alexey Milovidov
966f46cfab
Added a test from andrea-s
2019-12-29 19:52:22 +03:00
Vitaly Baranov
1fa64a2a86
Use separate variables for the database and name in dictionaries.
2019-12-29 23:48:10 +07:00
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
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
CurtizJ
ccb15e6332
better granularity computing
2019-12-28 00:32:55 +03:00
CurtizJ
74d5c6edc7
better writer for compact parts
2019-12-28 00:17: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
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
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
proller
7fd8452d56
Merge remote-tracking branch 'upstream/master' into fix27
2019-12-27 20:57:47 +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
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
achulkov2
9a91863693
Fix style error
2019-12-27 17:22:51 +03:00
achulkov2
f72d314f17
Merge branch 'polygon-dict-basic-interface' into polygon-dict-basic-interface-improvements
2019-12-27 16:19:39 +03:00
Ivan Lezhankin
212a3234c1
Support Ctrl+C like shell does.
2019-12-27 16:17:36 +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
achulkov2
288005162e
Add some comments
2019-12-27 16:06:03 +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
Andrei Chulkov
69b1bcdf2d
One more stupid bug
2019-12-27 15:23:42 +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
Andrey Chulkov
ce260e7212
Fix style errors
2019-12-27 13:57:32 +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
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
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
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
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
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
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
chertus
8d60988e79
add test for storage join in view
2019-12-26 18:56:33 +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
achulkov2
67b7cafd45
Trying more improvements around null_values
2019-12-26 18:27:01 +03:00
achulkov2
1fb0daf209
Try some improvements
2019-12-26 18:27:01 +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
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
Nikolai Kochetov
fbbab2486f
Update pipelineExecutor
2019-12-26 17:47:48 +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
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
achulkov2
f691143593
Fix incorrect past tense in log
2019-12-26 17:09:36 +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
Andrei Chulkov
f6fd331156
Update test reference
2019-12-26 16:31:28 +03:00
Nikolai Kochetov
a5a8372713
Update pipelineExecutor
2019-12-26 15:58:09 +03:00
Andrei Chulkov
b3a19f588d
Enforce a strict ordering of queries
2019-12-26 15:27:43 +03:00
Alexander Tokmakov
50200e245b
Merge branch 'master' into refactor_databases
2019-12-26 15:00:07 +03:00
Andrei Chulkov
1bfa779d81
Remove indetermined behavior from test, add dictHas to test
2019-12-26 13:41:46 +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
Andrei Chulkov
68c64f50dd
Fix sql query
2019-12-26 13:19:29 +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
Andrey Chulkov
24e92822f5
Make test deterministic
2019-12-26 11:19:03 +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
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
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
Andrey Chulkov
b2c2b75617
Add blank line at the end of files
2019-12-26 01:02:55 +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
proller
b449ccb955
fix
2019-12-25 20:22:01 +00:00
CurtizJ
0b99df9aed
better column initialization in data parts
2019-12-25 23:06:16 +03: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
achulkov2
9e85b507d0
Fix stupid typo
2019-12-25 21:49:27 +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
CurtizJ
c298616eac
reduce number of seeks in ReaderCompact
2019-12-25 20:34:23 +03:00
chertus
4fd7340416
New ANY JOIN for StorageJoin + SEMI, ANTI
2019-12-25 20:32:55 +03:00
achulkov2
ca76e88545
Some more clean-up and comments
2019-12-25 20:32:02 +03:00
Sergei Shtykov
a2b2aa950a
Pre-PR edits.
2019-12-25 20:26:40 +03:00
CurtizJ
aadb948c09
temporarly store all parts in compact format
2019-12-25 20:08:12 +03:00
achulkov2
35a3abcb07
Add blank line deleted by accident
2019-12-25 20:06:37 +03:00
achulkov2
63c3c5f1a8
Merge branch 'polygon-dict-basic-interface' of github.com:achulkov2/ClickHouse into polygon-dict-basic-interface
2019-12-25 20:04:43 +03:00
achulkov2
2692796734
Clean up old comments, remove an old approach to testing
2019-12-25 20:03:24 +03:00
Andrei Chulkov
57debeb803
Add reference for test
2019-12-25 19:55:02 +03:00
achulkov2
dcadccf95d
Remove unused error codes
2019-12-25 19:48:09 +03:00
achulkov2
93b02f3191
Quick sql fix
2019-12-25 19:44:33 +03:00
Alexander Tokmakov
f2d98731ae
remove getCreate from Context
2019-12-25 19:33:26 +03:00
achulkov2
e1de174f4c
More testing & fixes
2019-12-25 19:31:57 +03:00
Alexander Tokmakov
01de226df0
abstract path to table data
2019-12-25 19:18:08 +03:00
achulkov2
dc8f201d4c
Fix default string use after free
2019-12-25 18:27:04 +03:00
achulkov2
fef22a7fd2
Fix default string use after free
2019-12-25 18:18:11 +03:00
achulkov2
cd3277ff0a
Fix default string use after free
2019-12-25 18:04:34 +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
achulkov2
c284c1d728
Fix after pull
2019-12-25 16:55:12 +03:00
Alexander Tokmakov
7c48396689
refactor databases: inherit from DatabaseOnDisk
2019-12-25 16:23:38 +03:00
achulkov2
946e602ede
Pull
2019-12-25 16:06:51 +03:00
CurtizJ
c8393f2c8b
fix mutations with mixed-granularity parts
2019-12-25 16:05:46 +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
achulkov2
1637c8d057
Trying to fix test
2019-12-25 15:58:43 +03:00
achulkov2
30f4e4b7c5
Trying to fix test
2019-12-25 15:41:17 +03:00
achulkov2
21a35f0610
Trying to fix test
2019-12-25 15:39:49 +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
achulkov2
7c1fa017ba
Trying to fix test
2019-12-25 15:05:37 +03:00
Alexander Kuzmenkov
e3cb9043ab
log_to_console.xml should log to console.
...
Confusingly, it doesn't specify 'logger.console' now.
2019-12-25 14:01:58 +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
6db46e600d
updated parquet func test
2019-12-25 07:48:28 +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
CurtizJ
4bd4ac715c
Merge remote-tracking branch 'upstream/master' into polymorphic-parts
2019-12-25 03:10:24 +03:00
CurtizJ
206cb1afa9
fix broken by refactoring functionality with wide parts
2019-12-25 01:49:39 +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
achulkov2
4f66c4bc7d
Trying to fix test
2019-12-24 22:28:41 +03:00
chertus
afaf860810
relax ambiguous column check for multiple JOIN ON section
2019-12-24 21:51:37 +03:00
achulkov2
f7a086b9d9
Trying to fix test
2019-12-24 21:48:48 +03:00
achulkov2
453ff6d321
Trying to fix test
2019-12-24 21:47:32 +03:00
achulkov2
b6892466f2
Trying to fix test
2019-12-24 21:43:18 +03:00
Nikolai Kochetov
6a1dccd27c
Change initialization order for StorageDistributedDirectoryMonitor members.
2019-12-24 21:25:00 +03:00
achulkov2
8a55049ede
First test
2019-12-24 21:22:20 +03:00
achulkov2
c34fca48c4
Small changes & comments
2019-12-24 21:21:50 +03:00