Commit Graph

19978 Commits

Author SHA1 Message Date
Vasily Nemkov
12596256ac Fixed test cases of parsing/formatting DateTime64 2020-03-06 16:31:50 +08:00
Pavel Kovalenko
898eb1f1d7 Fixed compilation. 2020-03-06 11:29:38 +03:00
Pavel Kovalenko
ff119a044b Fixed compilation. 2020-03-06 10:32:46 +03:00
Pavel Kovalenko
3a2f36dd54 Fixed compilation. 2020-03-06 10:31:00 +03:00
alexey-milovidov
f281724066
Merge pull request #9530 from excitoon-favorites/fixmissingdisk
Fixed wrong log messages about missing default disk or policy
2020-03-06 05:41:23 +03:00
Alexey Milovidov
1212339023 Fixed errors 2020-03-06 05:34:35 +03:00
Alexey Milovidov
e30173f54b Fixed build 2020-03-06 05:19:28 +03:00
Alexey Milovidov
2fd918a162 Better code 2020-03-06 05:12:18 +03:00
alexey-milovidov
0bf12a779f
Merge pull request #8994 from qoega/qoega/random-table-function-small
Generate table function
2020-03-06 03:40:22 +03:00
alexey-milovidov
ceba898484
Merge branch 'master' into default_on_aliases 2020-03-06 03:24:46 +03:00
alexey-milovidov
20d353c04b
Merge pull request #9481 from ClickHouse/better_defaults
Restrict to use SELECT in columns default expressions.
2020-03-06 03:23:47 +03:00
Alexey Milovidov
f5518c0c43 Simplification 2020-03-06 01:45:59 +03:00
Pavel Kovalenko
ab808d1fc4 Code style issues. 2020-03-06 01:08:28 +03:00
Alexey Milovidov
a0ace3e94a Fixed error 2020-03-06 00:50:58 +03:00
Alexey Milovidov
c2aae62d75 Merge branch 'session-cleaner-better-build-time' of github.com:yandex/ClickHouse into session-cleaner-better-build-time 2020-03-06 00:42:55 +03:00
Alexey Milovidov
5d077e0213 Fixed error 2020-03-06 00:41:46 +03:00
alexey-milovidov
e245d42644
Merge pull request #9527 from ClickHouse/better-exception-message-cannot-load-table
Better exception message while loading tables for database ordinary
2020-03-06 00:14:26 +03:00
Vladimir Chebotarev
1a2122a854 Fixed wrong log messages about missing default disk or policy. 2020-03-06 00:03:59 +03:00
Pavel Kovalenko
8d07883b33 Merge branch 'master' into merge-tree-s3-initial
# Conflicts:
#	dbms/src/Storages/MergeTree/MergeTreeData.cpp
#	dbms/src/Storages/StorageMergeTree.cpp
2020-03-05 23:05:31 +03:00
Alexey Milovidov
d4d48a0165 Fix style 2020-03-05 23:02:55 +03:00
alexey-milovidov
3645375f71
Merge pull request #9409 from clemrodriguez/mysqlxx-share-connection
Mysqlxx share connection for external dictionaries only
2020-03-05 22:43:23 +03:00
Alexey Milovidov
92cb5fa8bb Merge branch 'better-exception-message-cannot-load-table' of github.com:ClickHouse/ClickHouse into better-exception-message-cannot-load-table 2020-03-05 22:30:16 +03:00
Alexey Milovidov
67d202a5f0 Addition to prev. revision 2020-03-05 22:30:08 +03:00
alexey-milovidov
66f8e9901d
Update DatabaseOrdinary.cpp 2020-03-05 22:27:36 +03:00
Alexey Milovidov
3cad682583 Better exception message while loading tables for database ordinary 2020-03-05 22:25:54 +03:00
Alexey Milovidov
3b85f2ffef Do not run session cleaner for client, local 2020-03-05 22:23:39 +03:00
Alexey Milovidov
7cd584b8ee Merge branch 'master' into better_defaults 2020-03-05 21:30:46 +03:00
alexey-milovidov
678cc00d30
Update StorageGenerate.cpp 2020-03-05 21:01:36 +03:00
Alexey Milovidov
d4dcd1a2d5 Merge branch 'master' into default_on_aliases 2020-03-05 20:42:30 +03:00
alexey-milovidov
adcf1735d6
Update TableFunctionGenerate.cpp 2020-03-05 18:39:03 +03:00
alexey-milovidov
92f84c8839
Update TableFunctionGenerate.h 2020-03-05 18:37:47 +03:00
Alexey Milovidov
8587d47c5c Fixed build 2020-03-05 18:33:34 +03:00
Alexey Milovidov
2acd6afe0b Fixed build 2020-03-05 18:08:25 +03:00
Alexey Milovidov
722a946ce5 Merge branch 'session-cleaner-better-build-time' of github.com:ClickHouse/ClickHouse into session-cleaner-better-build-time 2020-03-05 18:00:40 +03:00
Alexey Milovidov
3aba47aa8b Merge branch 'master' into session-cleaner-better-build-time 2020-03-05 17:59:49 +03:00
alexey-milovidov
a4573ab7df
Quote some identifiers when formatting SQL queries. (#9142)
* Added test

* Different way to fix the issue

* Different way to fix the issue

* Descend instead of syntax error while parsing INTERVAL operators

* Remove old comment
2020-03-05 17:55:53 +03:00
alexey-milovidov
e64e6d7b57
Merge pull request #9524 from ClickHouse/parallel-insert-select-wrong-code
Fixed absolutely wrong documentation for parallel INSERT SELECT
2020-03-05 17:53:32 +03:00
alexey-milovidov
e68d31d605
Merge pull request #8594 from excitoon-favorites/substitutestorageconfiguration
Added reloading storage configuration from configuration file
2020-03-05 17:52:47 +03:00
Pavel Kovalenko
caf26d8aff IDisk get/set last modified time implementation. 2020-03-05 17:02:15 +03:00
Pavel Kovalenko
96bb607e66 Open file for reading lazily in CachedCompressedReadBuffer. 2020-03-05 17:01:19 +03:00
Alexey Milovidov
63423a5162 Fixed absolutely wrong documentation for parallel INSERT SELECT 2020-03-05 15:27:32 +03:00
Nikita Mikhaylov
b3ad57a723
Merge pull request #9513 from filimonov/kafka_exceptions_from_destructors
Kafka exceptions from destructors
2020-03-05 12:28:03 +03:00
Vladimir Chebotarev
db87e6f668 Fixed style. 2020-03-05 11:21:53 +03:00
Alexey Milovidov
4e15d74469 Better code around sessions, step 3 2020-03-05 07:10:48 +03:00
Alexey Milovidov
aac2f98870 Better code around sessions, step 2 2020-03-05 06:57:31 +03:00
Alexey Milovidov
156e6246c1 Better code around sessions 2020-03-05 06:12:07 +03:00
Alexey Milovidov
c3746ddf3e Merge branch 'session-cleaner-better-build-time' of github.com:yandex/ClickHouse into session-cleaner-better-build-time 2020-03-05 05:15:03 +03:00
Alexey Milovidov
ef7fd6c486 Merge branch 'master' into session-cleaner-better-build-time 2020-03-05 05:14:28 +03:00
alexey-milovidov
1d51ad0296
Merge pull request #9261 from CurtizJ/improve-index-in
Improve performance of analysing index with IN
2020-03-05 01:03:52 +03:00
alexey-milovidov
4629f78da7
Merge pull request #9507 from filimonov/kafka_write_suffix_exception
Proper processing of exception in write_suffix in Kafka
2020-03-05 00:15:07 +03:00
alexey-milovidov
3ab274469e
Merge pull request #9391 from ClickHouse/array-slice-aggregate-function
Implement arraySlice for arrays with aggregate function states.
2020-03-05 00:10:31 +03:00
Mikhail Filimonov
9705e3ffab Style fixes 2020-03-04 19:07:36 +01:00
Mikhail Filimonov
1be66874f9 Kafka: catch and log exceptions in desctructors. Fixes #9494 2020-03-04 17:45:03 +01:00
alexey-milovidov
2e307f99eb
Merge pull request #9498 from ClickHouse/remove-boost-iterator-adaptor
Get rid of boost::iterator_adaptor
2020-03-04 18:51:57 +03:00
Vladimir Chebotarev
2bd6474379 Adding storage policies and disks while reloading configuration. 2020-03-04 15:10:17 +03:00
Artem Zuikov
0522ab9563
Merge pull request #9488 from 4ertus2/ast
Some more JoinedTables related refactoring
2020-03-04 13:42:01 +03:00
Yatsishin Ilya
333161bb6b Merge remote-tracking branch 'origin' into qoega/random-table-function-small 2020-03-04 10:27:45 +03:00
Mikhail Filimonov
0d25208237 Prevent loosing data in kafka when execption happen after read suffix, but before commit. Fixes #9378 2020-03-04 07:58:44 +01:00
alexey-milovidov
26c74d679f
Merge pull request #9493 from traceon/timezone-http-header
Set X-ClickHouse-Timezone HTTP response header to the server's timezone
2020-03-04 04:29:36 +03:00
alexey-milovidov
bcf0f99844
Merge pull request #9483 from ClickHouse/num_threads_for_query_pipeline
Better calculation for recommended number of threads to execute pipeline
2020-03-04 04:22:19 +03:00
Alexey Milovidov
a4e7c287b5 Merge branch 'master' into chaos-sanitizer 2020-03-03 23:06:02 +03:00
Alexey Milovidov
3cdf84d45f Get rid of boost::iterator_adaptor #9442 2020-03-03 23:00:45 +03:00
alexey-milovidov
f6a19ba438
Merge pull request #9442 from ClickHouse/akz/column_vector_replicate_faster
ColumnVector::replicate() is even more readily vectorized now
2020-03-03 22:06:04 +03:00
alexey-milovidov
c7de005c8a
Merge pull request #9464 from ClickHouse/fix_shared_chunk_leak
Fix LIMIT WITH TIES wrong result and memory leak in MergingSortedTransform
2020-03-03 22:01:48 +03:00
alesapin
30468b23e7 Fix style 2020-03-03 21:15:54 +03:00
alesapin
2b390a9b73
Merge pull request #8701 from ClickHouse/alter_on_top_of_mutations
Alter on top of mutations for ReplicatedMergeTree
2020-03-03 20:15:08 +03:00
Denis Glazachev
975107f0ab Combine executeQuery() callbacks
Set X-ClickHouse-Timezone HTTP Response header in the executeQuery() callback
2020-03-03 19:32:41 +04:00
alesapin
720d9e287a More comments 2020-03-03 17:27:43 +03:00
Artem Zuikov
5829b51c6b some more refactoring 2020-03-03 17:25:45 +03:00
alesapin
d19e21ba19 Default columns which depends on aliases 2020-03-03 17:25:28 +03:00
alesapin
d0bcbf7581 Review and style fixes 2020-03-03 15:51:41 +03:00
alexey-milovidov
2cfe26c3d3
Merge pull request #9472 from ClickHouse/memory-profiler-fix
Fixed wrong code around Memory Profiler
2020-03-03 15:16:45 +03:00
Yatsishin Ilya
8acf6834ec fix finite result for infinite query 2020-03-03 14:31:18 +03:00
Nikolai Kochetov
72fe21c5ae Better calculation for recommended number of threads to execute query pipeline. 2020-03-03 13:28:37 +03:00
Artem Zuikov
7189296e88
Merge pull request #9471 from 4ertus2/ast
JoinedTables related changes
2020-03-03 13:11:29 +03:00
alesapin
00c3898f32 better comment 2020-03-03 13:04:05 +03:00
alesapin
a9edc5c3a4 Restrict select queries in default expressions. Unify default checks in ALTER and CREATE queries. 2020-03-03 13:02:43 +03:00
alesapin
1aac3a5c9d Fixing defaults 2020-03-03 12:05:17 +03:00
Yatsishin Ilya
afbf7533c4 Merge remote-tracking branch 'origin' into qoega/random-table-function-small 2020-03-03 11:56:39 +03:00
alesapin
6e3b7b6294
Merge pull request #9476 from ClickHouse/remove-empty-lines
Remove excessive empty lines
2020-03-03 11:49:53 +03:00
Clément Rodriguez
423c7e8a86 Fix compilation issue in Clang 2020-03-03 09:32:58 +01:00
alesapin
4620954d24
Merge pull request #9463 from ClickHouse/fix_mutations_with_insert_quorum
Trying to fix mutations with last quorum parts
2020-03-03 11:11:21 +03:00
Alexey Milovidov
5b06842723 Remove excessive empty lines 2020-03-03 05:43:59 +03:00
Alexey Milovidov
97011463e5 Merge branch 'master' into memory-profiler-fix 2020-03-03 05:33:35 +03:00
Alexey Milovidov
7f9449062f Fix style check 2020-03-03 05:33:13 +03:00
Alexey Milovidov
58d964ad16 Better documentation 2020-03-03 03:33:11 +03:00
Alexey Milovidov
609ca33878 Fixed wrong code around Memory Profiler 2020-03-03 03:28:52 +03:00
alexey-milovidov
5f55dc7385
Merge pull request #9358 from hczhcz/patch-0226
Add moduloOrZero
2020-03-03 03:27:23 +03:00
Alexey Milovidov
dc086b20a9 Fixed wrong code around Memory Profiler 2020-03-03 03:24:44 +03:00
Artem Zuikov
94861e1ff2 JoinedTables related changes 2020-03-02 22:39:39 +03:00
Yatsishin Ilya
77c2b83022 Merge branch 'master' into qoega/random-table-function-small 2020-03-02 21:01:33 +03:00
Alexander Kazakov
fa3e915e7f Resorted to a minor correction in the for-loop 2020-03-02 19:51:03 +03:00
Alexey Milovidov
57ab54c124 Fixed build on Mac OS X 2020-03-02 17:09:56 +03:00
Alexey Milovidov
cd5b67ad7f Fixed build on Mac OS X 2020-03-02 17:07:07 +03:00
Alexander Tokmakov
053094be9c get rid of SharedChunk 2020-03-02 16:25:59 +03:00
alesapin
38e9682a4f Remove last quorum parts from ReplicatedMergeTreePredicate 2020-03-02 16:07:13 +03:00
alesapin
ec3f6e8292 Trying to fix mutations with last quorum parts 2020-03-02 15:56:38 +03:00
Yatsishin Ilya
01af9e3795 save changes 2020-03-02 15:19:27 +03:00
alexey-milovidov
d15f11afc4
Merge pull request #9454 from ClickHouse/fixed-string-bit-ops-vector-constant-optimization
Optimize bit operations on FixedString when one of the arguments is constant
2020-03-02 15:18:30 +03:00
Alexander Tokmakov
286c65e89e fix LIMIT WITH TIES 2020-03-02 13:06:44 +03:00