Alexey Milovidov
b657c6b848
Added forwarding of mutation for Materialized views #2897
2018-08-20 19:28:30 +03:00
Alexey Zatelepin
765b908450
change the order in which the locks are taken to make TSan happy [#CLICKHOUSE-3892]
2018-08-20 19:07:07 +03:00
proller
159cdbbb3e
Try fix build (link order)
2018-08-20 18:34:37 +03:00
alexey-milovidov
934d480a7a
Merge pull request #2894 from yandex/fix-catboost-pool-path-normalization
...
Fix catboost pool path normalization
2018-08-20 17:16:09 +03:00
VadimPE
0c119d7667
CLICKHOUSE-3847 fix bugs
2018-08-20 16:31:24 +03:00
Nikolai Kochetov
391b4b5927
Merged with master.
2018-08-20 15:25:06 +03:00
Nikolai Kochetov
aaf719d671
Fix header for catboost pool [#CLICKHOUSE-3871]
2018-08-20 13:33:14 +03:00
Nikolai Kochetov
57b626a796
Added path canonization for catboost pool. [#CLICKHOUSE-3871]
2018-08-20 12:51:11 +03:00
alesapin
f6c9587d0a
CLICKHOUSE-3878: Move last interaction with ODBC from main code to bridge, split Handlers file on three different, slightly remove copy-paste code
2018-08-19 20:09:54 +03:00
Alexey Milovidov
2dae8f9396
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-08-18 04:45:00 +03:00
proller
62b6b6d73e
Rare segfault fix
2018-08-17 21:23:10 +03:00
Alexey Milovidov
aef490d173
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
...
Conflicts:
dbms/src/Common/ODBCBridgeHelper.h
2018-08-17 00:47:15 +03:00
alesapin
6fa4af882f
CLICKHOUSE-3878: Build fixes
2018-08-16 01:00:28 +03:00
Alexey Milovidov
21579a3cc8
Removed static std::string variable #2482
2018-08-14 23:56:23 +03:00
Alexey Milovidov
acb99b49df
Merge branch 'master' into CLICKHOUSE-2910
2018-08-14 23:29:42 +03:00
alesapin
edc2dc45b6
Merge branch 'master' into master
2018-08-14 13:35:32 +03:00
alesapin
af19d4133d
CLICKHOUSE-3878: Move connection string validation to common, remove redundant headers, fix compilation issues
2018-08-14 13:33:41 +03:00
alexey-milovidov
f42bd36fa0
Merge pull request #2856 from zhang2014/feature/add_check_access_database_for_system_tables
...
Add check access database for system tables
2018-08-14 12:53:43 +03:00
zhang2014
e51264c3a5
Add check access database for system tables
2018-08-14 11:28:32 +08:00
alexey-milovidov
3e9f25b1b4
Merge pull request #2830 from yandex/data-type-with-dictionary
...
LowCardinality data type.
2018-08-13 23:49:21 +03:00
alesapin
83d5dba53b
CLICKHOUSE-3878: Move ODBCDictionary to odbc-bridge
2018-08-13 21:10:26 +03:00
alesapin
6fe3f0b13c
Merge remote-tracking branch 'upstream/master'
2018-08-13 12:36:27 +03:00
zhang2014
59b25812e7
Add check access database for system tables
2018-08-13 17:35:40 +08:00
zhang2014
d766d4b014
ISSUES-2850 add dependencies for system tables
2018-08-12 16:05:12 +08:00
zhang2014
dd10e85e90
ISSUES-2850 add dependencies for system tables
2018-08-11 17:35:29 +08:00
Kirill Shvakov
a3ace87046
Add new system table "merge_tree_settings" ( #2841 )
...
* #2249 allow macros while creating kafka engine
* Update Macros.cpp
* Update Macros.h
* Add system table: merge_tree_settings
2018-08-10 20:42:12 +03:00
alesapin
f11574cbfb
CLICKHOUSE-3878: Sleep optimization
2018-08-10 18:07:54 +03:00
Nikolai Kochetov
4a62ab9d5c
Merged with master.
2018-08-10 16:53:08 +03:00
alesapin
cd9a016f62
CLICKHOUSE-3878: Fix merge conflict
2018-08-10 14:43:20 +03:00
alesapin
dde09bd8a5
CLICKHOUSE-3878: Start bridge not like daemon but background child, more explicit logging, fix mutex bug, add SCOPE_EXIT in bridge
2018-08-10 14:42:12 +03:00
Alexey Milovidov
36db216abf
Preparation for extra warnings [#CLICKHOUSE-2]
2018-08-10 07:02:56 +03:00
Alexey Milovidov
d8ca4345b6
Fixed style violations [#CLICKHOUSE-2]
2018-08-10 04:41:54 +03:00
alesapin
04db4ddc46
CLICKHOUSE-3878: Next iteration in odbc-bridge
2018-08-09 21:49:05 +03:00
Vadim
44cb046eb9
Update StorageReplicatedMergeTree.cpp
2018-08-09 19:25:19 +03:00
Vadim
fad1e37605
Update ReplicatedMergeTreeQueue.h
2018-08-09 19:24:37 +03:00
Vadim
a133f20b33
Update ReplicatedMergeTreeQueue.cpp
2018-08-09 19:24:03 +03:00
Vadim
434017d193
Update StorageReplicatedMergeTree.cpp
2018-08-09 18:09:05 +03:00
VadimPE
75900f494f
CLICKHOUSE-3847 add "is_lost". load() in Queue can check duplicate records
2018-08-09 18:06:39 +03:00
VadimPE
e3495a6484
Merge branch 'CLICKHOUSE-3847' of github.com:VadimPE/ClickHouse into CLICKHOUSE-3847
2018-08-09 14:39:46 +03:00
Nikolai Kochetov
da822f1cf3
Merged with master.
2018-08-09 14:32:19 +03:00
Nikolai Kochetov
4fd3d57e79
Less compiler warnings.
2018-08-09 13:52:54 +03:00
Nikolai Kochetov
ab10005af5
Renamed settings for LowCardinality type.
2018-08-09 13:52:46 +03:00
Vadim
ee97a35f12
Update StorageReplicatedMergeTree.cpp
2018-08-09 11:46:41 +03:00
VadimPE
d5a6967fc4
CLICKHOUSE-3847 fix
2018-08-09 11:44:49 +03:00
alesapin
402815977f
Add new error in fetchPartition op
2018-08-08 21:01:25 +03:00
Vadim
61338697b0
Update MergeTreeSettings.h
2018-08-08 18:28:48 +03:00
VadimPE
c16d876867
CLICKHOUSE-3847 fix race in set log_pointer in cloneReplica()
2018-08-08 18:25:07 +03:00
VadimPE
3b9002dfc9
CLICKHOUSE-3847 fix
2018-08-08 17:31:56 +03:00
VadimPE
4c0bb93345
CLICKHOUSE-3847 fix UInt - UInt. del clearQueue()
2018-08-08 17:07:39 +03:00
VadimPE
8d28b9f6b4
CLICKHOUSE-3847 we can do pullToLog() after we mark replica is_active and before we calc delay.
2018-08-08 16:53:06 +03:00
Nikolai Kochetov
f4d9d50168
Merged with master.
2018-08-08 15:01:18 +03:00
Amos Bird
bb244e1482
Fix concurrent issue of StorageSetOrJoin.
2018-08-08 06:54:56 +03:00
VadimPE
01e9d15914
CLICKHOUSE-3847 Del restartLostReplica()
2018-08-07 18:28:12 +03:00
VadimPE
0be75baeda
CLICKHOUSE-3847 Del markLosrTeplicas()
2018-08-07 18:26:27 +03:00
VadimPE
32b6965cf2
CLICKHOUSE-3847 Update. Add new settings. Del is_lost
2018-08-07 18:21:42 +03:00
alexey-milovidov
0ef2a94d46
Merge pull request #2782 from VadimPE/CLICKHOUSE-3714
...
CLICKHOUSE-3714 add max_partition_size_to_drop
2018-08-06 20:20:59 +03:00
alexey-milovidov
72af99fdd5
Merge pull request #2814 from alesapin/master
...
Fix REPLACE PARTITION logic inside replicated merge tree
2018-08-06 20:18:30 +03:00
alexey-milovidov
aa4b2b1782
Update ReplicatedMergeTreeQueue.h
2018-08-06 20:18:11 +03:00
alexey-milovidov
4bfbe80d4f
Update MergedBlockOutputStream.cpp
2018-08-06 19:54:00 +03:00
Alexey Zatelepin
72c4d8f064
add assert that MinMax index is correctly initialized [#CLICKHOUSE-3879]
2018-08-06 19:54:00 +03:00
Alexey Zatelepin
1f2d4f90b9
allow empty parts after merge for Summing, Collapsing and VersionedCollapsing engines [#CLICKHOUSE-3879]
2018-08-06 19:54:00 +03:00
alesapin
425918afe1
CLICKHOUSE-3880: Fix replace partition logic inside replicated merge tree
2018-08-06 15:59:51 +03:00
VadimPE
c15ba5e7d9
CLICKHOUSE-3714
2018-08-06 11:30:54 +03:00
VadimPE
490efebe62
CLICKHOUSE-3714 add size pf all part in partition
2018-08-06 11:27:59 +03:00
Alexey Milovidov
2b2869e998
Merging #2226
2018-08-05 10:10:08 +03:00
Alexey Milovidov
2016374d20
Merging #2226
2018-08-05 10:05:43 +03:00
Alexey Milovidov
2ebe6beb10
Whitespace [#CLICKHOUSE-2]
2018-08-05 09:47:02 +03:00
Alexey Milovidov
7459edfa42
Removed support for CHECK TABLE for Distributed tables [#CLICKHOUSE-2]
2018-08-05 09:01:41 +03:00
Alexey Zatelepin
b6b54eea52
old mutations cleaner for ReplicatedMergeTree engines [#CLICKHOUSE-3828]
2018-08-03 22:21:44 +03:00
Alexey Zatelepin
a0730d7696
old mutations cleaner for non-replicated MergeTree engines [#CLICKHOUSE-3828]
2018-08-03 22:21:44 +03:00
Alexey Zatelepin
94723bea63
add setting [#CLICKHOUSE-3828]
2018-08-03 22:21:44 +03:00
Alexander Marshalov
154d7e3228
Added SETTINGS clause for Kafka storage engine
2018-08-03 21:51:28 +03:00
Vadim
5142407daf
Update IStorage.h
2018-08-03 16:19:53 +03:00
Vadim
d821f8a4cc
Update StorageMergeTree.cpp
2018-08-03 16:17:32 +03:00
VadimPE
1e208c7186
CLICKHOUSE-3714 fix comment and ';'
2018-08-03 12:54:46 +03:00
VadimPE
b97fa2eb4d
CLICKHOUSE-3714 bool ckeck_CanBeDropped -> void ...
2018-08-03 12:39:01 +03:00
VadimPE
6142d9ae6a
CLICKHOUSE-3714 fix function names and get partition size
2018-08-03 11:33:57 +03:00
VadimPE
98c33de4e3
CLICKHOUSE-3714
2018-08-02 12:03:38 +03:00
VadimPE
08fe108ba8
CLICKHOUSE-3714 fix methods name
2018-08-02 11:48:57 +03:00
Vadim
c30ab5a035
Update StorageMaterializedView.h
2018-08-01 20:43:58 +03:00
Vadim
034a88a504
Merge branch 'master' into CLICKHOUSE-3714
2018-08-01 20:42:56 +03:00
VadimPE
66d9ba3eb7
CLICKHOUSE-3714 add max_partition_size_to_drop
2018-08-01 20:41:18 +03:00
proller
d72ba2701b
CLICKHOUSE-3771 Preparing for new version scheme [WIP] ( #2646 )
...
* CLICKHOUSE-3771: compatible version transfer
* Fix
* Fixed compatibility
* fix
* Auto version update to [1.1.54401] [54398]
* fix auto revision up
* fix
* comments
* clean
* fix
* Send/recieve patch if we can
* fix
* Auto version update to [18.2.0] [54397]
* Client version in query_log
* Update TCPHandler.cpp
* Update Connection.cpp
* Update Defines.h
2018-08-01 00:36:18 +03:00
alexey-milovidov
405d7f9232
Merge pull request #2742 from yandex/support-join-on-syntax
...
Support join on syntax
2018-08-01 00:30:46 +03:00
alesapin
e81108b954
CLICKHOUSE-3863: Add more convinient exception message
2018-08-01 00:29:47 +03:00
alesapin
2db2d208e1
CLICKHOUSE-3863: Add HTTPS support for interserver replication
2018-08-01 00:29:47 +03:00
Alexey Milovidov
c9ab39c8c6
Added validation of ODBC connection string [#CLICKHOUSE-3861]
2018-08-01 00:25:26 +03:00
VadimPE
e2be3fd5ce
CLICKHOUSE-3847 fix
2018-07-31 17:11:27 +03:00
VadimPE
3eaae23559
Merge branch 'CLICKHOUSE-3847' of github.com:VadimPE/ClickHouse into CLICKHOUSE-3847
2018-07-31 16:46:27 +03:00
VadimPE
ed8d749b9e
CLICKHOUSE-3847 fix problems with empty entries
2018-07-31 16:45:43 +03:00
Vadim
1b068ac24c
Update ReplicatedMergeTreeCleanupThread.cpp
2018-07-31 16:04:35 +03:00
VadimPE
9b5620fac1
CLICKHOUSE-3847 fix comments.
2018-07-31 12:01:24 +03:00
Alexey Milovidov
b5b48d59fa
Compatibility with obsolete version of Poco for alternative build variants #2759
2018-07-30 23:21:45 +03:00
Nikolai Kochetov
bc054f2247
Fix tests. [#CLICKHOUSE-3761]
2018-07-30 22:40:43 +03:00
Alexey Zatelepin
4863c5c178
fix potential segfault in MergeTreeData::delayInsertOrThrowIfNeeded [#CLICKHOUSE-3862]
2018-07-30 21:47:24 +03:00
Alexey Zatelepin
cc7950a733
don't destroy Cleanup- and AlterThread objects, just deactivate the tasks [#CLICKHOUSE-3862]
...
Otherwise segfaults are possible when the objects are recreated in the middle of the queue task execution.
2018-07-30 21:47:24 +03:00
Vadim
40999bfb0c
Update ReplicatedMergeTreeCleanupThread.cpp
2018-07-30 21:34:57 +03:00
Vadim
035af6327b
Update ReplicatedMergeTreeCleanupThread.cpp
2018-07-30 21:32:58 +03:00
VadimPE
3f6cdab293
CLICKHOUSE-3847 add support lost replica
2018-07-30 19:31:14 +03:00
Alexey Milovidov
8bc95412b6
Fixed bad code #2708
2018-07-28 00:33:30 +03:00
alexey-milovidov
9242588449
Merge pull request #2708 from VadimPE/CLICKHOUSE-3837
...
CLICKHOUSE-3837 Add support for table function in remote() and cluster()
2018-07-26 21:36:04 +03:00
alexey-milovidov
24b0be2cf0
Merge pull request #2727 from alesapin/CLICKHOUSE-3832
...
CLICKHOUSE-3832: Add HTTP Basic authentification in replication protocol
2018-07-26 20:50:09 +03:00
alesapin
65a6a1225c
Merge pull request #2726 from alesapin/master
2018-07-26 18:20:02 +03:00
alesapin
9aec460f2e
Fix build warning
2018-07-26 18:15:48 +03:00
alesapin
6abbfbce87
CLICKHOUSE-3832: Add HTTP Basic authentification in replication protocol
2018-07-26 18:10:57 +03:00
alexey-milovidov
67c0cf5efc
Merge pull request #2721 from alesapin/master
...
CLICKHOUSE-3857: Add table table_engines, alias factory base class and columns alias_to and case_insensitive to functions
2018-07-25 21:50:14 +03:00
alesapin
3888077398
CLICKHOUSE-3857: Fix typo
2018-07-25 19:19:11 +03:00
alesapin
9adb251689
CLICKHOUSE-3857: Add table table_engines, alias factory base class and columns alias_to and case_insensitive to functions
2018-07-25 19:08:23 +03:00
Amos Bird
0965f991b3
Add row_delimiter argument to StorageKafka.
...
There are common cases where a message doesn't end with a row delimiter.
This patch allows specifying a row_delimiter char to compensate that.
https://github.com/yandex/ClickHouse/issues/2298
2018-07-25 18:54:01 +03:00
VadimPE
1d5d097b0d
CLICKHOUSE-3837 fix build
2018-07-25 16:16:36 +03:00
VadimPE
1b07873669
CLICKHOUSE-3837 fix
2018-07-25 15:53:38 +03:00
VadimPE
867a3ebfae
CLICKHOUSE-3837 fix mistakes
2018-07-25 15:31:47 +03:00
alesapin
17cc27d1c0
Merge branch 'master' of github.com:alesapin/ClickHouse
2018-07-25 13:59:57 +03:00
alesapin
f04b2c3340
Merge remote-tracking branch 'upstream/master'
2018-07-25 13:59:23 +03:00
Alexey Milovidov
c2a50991c9
Minor modifications [#CLICKHOUSE-2]
2018-07-25 03:00:08 +03:00
Alexey Milovidov
a10ebecc67
Enabled minimalistic checksums in ZooKeeper by default #2666
2018-07-24 22:29:40 +03:00
Alexey Milovidov
7c07f46d50
Style [#CLICKHOUSE-2]
2018-07-24 21:46:23 +03:00
alexey-milovidov
d17aa47250
Update StorageSystemZooKeeper.cpp
2018-07-24 21:41:22 +03:00
alexey-milovidov
ee6eddb159
Update StorageSystemFunctions.h
2018-07-24 21:41:22 +03:00
alexey-milovidov
fe19ce6c10
Update StorageSystemDictionaries.cpp
2018-07-24 21:41:22 +03:00
alexey-milovidov
2d3a0796a6
Update StorageSystemAggregateFunctionCombinators.cpp
2018-07-24 21:41:22 +03:00
alesapin
d52fd35396
CLICKHOUSE-3772: Move headers to appropriate place (one more time)
2018-07-24 21:41:22 +03:00
alesapin
0f36999b12
CLICKHOUSE-3772: Move headers to appropriate place
2018-07-24 21:41:22 +03:00
alesapin
5459ca1401
CLICKHOUSE-3772: Change base class of almost all StorageSystem* tables and fix remarks
2018-07-24 21:41:22 +03:00
alesapin
a9eb190363
CLICKHOUSE-3772: Fix strange initialization
2018-07-24 21:41:22 +03:00
alesapin
e87460540a
CLICKHOUSE-3772: Add size column
2018-07-24 21:41:22 +03:00
alesapin
5221adf1ea
CLICKHOUSE-3772: Remove unused import
2018-07-24 21:41:22 +03:00
alesapin
6d6bad51ad
CLICKHOUSE-3772: Fixes in system tables formats, data_type_families, aggregate_function_combinators
2018-07-24 21:41:22 +03:00
alexey-milovidov
ba4f988e3f
Update StorageSystemZooKeeper.cpp
2018-07-24 21:40:53 +03:00
alexey-milovidov
8af95f39e8
Update StorageSystemFunctions.h
2018-07-24 21:39:21 +03:00
alexey-milovidov
2834ba2dfb
Update StorageSystemDictionaries.cpp
2018-07-24 21:38:41 +03:00
alexey-milovidov
1824758f8f
Update StorageSystemAggregateFunctionCombinators.cpp
2018-07-24 21:37:07 +03:00
alesapin
8536761a76
CLICKHOUSE-3772: Move headers to appropriate place (one more time)
2018-07-24 17:42:52 +03:00
alesapin
4905c6ac51
CLICKHOUSE-3772: Move headers to appropriate place
2018-07-24 17:32:54 +03:00
alesapin
670353895b
CLICKHOUSE-3772: Change base class of almost all StorageSystem* tables and fix remarks
2018-07-24 17:28:56 +03:00
VadimPE
46dec0d341
[CLICKHOUSE-3837] fix error in build
2018-07-24 17:05:37 +03:00
Vadim
437f3f20a9
Merge branch 'master' into CLICKHOUSE-3837
2018-07-24 16:21:51 +03:00
VadimPE
8dfb6806d8
add support for table function in remote() and cluster()
2018-07-24 16:10:34 +03:00
alesapin
f464bd73cf
Merge remote-tracking branch 'upstream/master'
2018-07-24 12:34:19 +03:00
Alexey Zatelepin
c793277bcc
add forgotten sort [#CLICKHOUSE-3748]
2018-07-23 21:04:13 +03:00
alesapin
220f4d6c43
CLICKHOUSE-3772: Fix strange initialization
2018-07-23 20:12:29 +03:00
alesapin
f2451210d0
CLICKHOUSE-3772: Add size column
2018-07-23 19:52:11 +03:00
alesapin
24a9bebec9
CLICKHOUSE-3772: Remove unused import
2018-07-23 19:13:35 +03:00
alesapin
18dd1e1f14
CLICKHOUSE-3772: Fixes in system tables formats, data_type_families, aggregate_function_combinators
2018-07-23 19:10:57 +03:00
Alex Zatelepin
41d87fdb0a
fix getting new name for cloned part in case of empty parts [#CLICKHOUSE-3798]
2018-07-20 23:56:25 +00:00
Alexey Zatelepin
0fed05d25b
use MergeTreeData::cloneAndLoadDataPart [#CLICKHOUSE-3798]
2018-07-20 22:44:34 +03:00
Alexey Zatelepin
c2897e2147
don't rewrite parts that aren't touched by mutation commands (copy them using localBackup instead) [#CLICKHOUSE-3798]
2018-07-20 22:44:34 +03:00
Alexey Zatelepin
55301ce1f0
create input streams for parts using InterpreterSelectQuery [#CLICKHOUSE-3798]
2018-07-20 22:44:34 +03:00
Alexey Zatelepin
f75fb6cd68
refactor InterpreterSelectQuery constructors [#CLICKHOUSE-3798]
2018-07-20 22:44:34 +03:00
Alexey Milovidov
09d22da9b9
Miscellaneous #2687
2018-07-20 18:59:11 +03:00
alesapin
fae9c33282
CLICKHOUSE-3791: Add system table collations
2018-07-20 16:17:16 +03:00
Nikolai Kochetov
3a74ec7c0c
Mergred with master
2018-07-20 14:08:54 +03:00
Nikolai Kochetov
9c763f8090
Make DatsTypeWithDictionary independent from index type.
2018-07-20 13:16:27 +03:00
alesapin
2915a58c8f
Merge remote-tracking branch 'upstream/master'
2018-07-20 13:13:50 +03:00
alesapin
32e03f42ef
CLICKHOUSE-3772: Fix initialization
2018-07-20 13:13:23 +03:00
alesapin
a45e707f41
CLICKHOUSE-3772: Rename column in formats
2018-07-20 13:01:46 +03:00
alesapin
ec156e9f2b
CLICKHOUSE-3772: Add system tables formats, data_type_families, table_functions, aggregate_function_combinators
2018-07-20 13:00:56 +03:00
Alexey Milovidov
245b114363
Quote all identifiers when querying external database #2635
2018-07-20 03:04:48 +03:00
alexey-milovidov
164425d1ec
Fix performance regression with prepared sets when they are used inside another subquery. ( #2677 )
...
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Added documentation about ClickHouse testing (draft) [#CLICKHOUSE-2]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Removed debug output [#CLICKHOUSE-3796]
* Removed debug output [#CLICKHOUSE-3796]
* Updated documentation about ClickHouse testing [#CLICKHOUSE-2]
* Revert "Updated documentation about ClickHouse testing [#CLICKHOUSE-2]"
This reverts commit 9eafc13f3b
.
* Revert "Added documentation about ClickHouse testing (draft) [#CLICKHOUSE-2]"
This reverts commit e28ad4b5fe
.
* Fixed test #2677
* Update InterpreterSelectQuery.cpp
2018-07-19 16:36:21 +03:00
alexey-milovidov
f31b1236c1
Update MergeTreeDataSelectExecutor.cpp
2018-07-16 16:44:32 +03:00
proller
0b0a2838c8
Fix compile error with boost 1.68.0
2018-07-16 16:44:32 +03:00
alexey-milovidov
4d1c470469
Update MergeTreeData.cpp
2018-07-16 06:22:22 +03:00
Alexey Zatelepin
88aa790a2d
save mutations to disk and load them on startup [#CLICKHOUSE-3748]
2018-07-16 06:22:22 +03:00
Alexey Zatelepin
78b83d78f0
execute part mutations in a background pool [#CLICKHOUSE-3748]
2018-07-16 06:22:22 +03:00
Alexey Zatelepin
88300258a7
info in system.mutations for nonreplicated MergeTree [#CLICKHOUSE-3748]
2018-07-16 06:22:22 +03:00
Alexey Zatelepin
ce17868a5c
execute mutations synchronously for StorageMergeTree [#CLICKHOUSE-3748]
2018-07-16 06:22:22 +03:00
Amos Bird
ea01a3b22e
add OPTIMIZE FINAL support for ReplicatedMergeTree.
2018-07-09 18:03:23 +03:00
Alexey Milovidov
4f2655960c
Fixed test [#CLICKHOUSE-2]
2018-07-07 22:39:20 +03:00
Alexey Milovidov
d2a44248cd
Fixed error with empty TinyLog table; added a test from Nickolay Kovalev #2563
2018-07-07 22:02:10 +03:00
Alexey Milovidov
b714d87de7
Get rid of virtual columns in system.tables table [#CLICKHOUSE-3806]
2018-07-07 21:58:48 +03:00
Alexey Milovidov
93f8316e1f
Little better [#CLICKHOUSE-3806]
2018-07-06 19:34:53 +03:00
Alexey Milovidov
95915579c7
Fixed test [#CLICKHOUSE-3806]
2018-07-06 19:22:15 +03:00
Alex Zatelepin
f7f4f220f1
Update MergeTreeData.cpp
2018-07-06 15:14:23 +03:00
Ciprian Hacman
fd6fb023b6
Recreate format_version.txt when missing
2018-07-06 15:14:23 +03:00
Alexey Milovidov
67b9a69f19
Fixed error in prev. revision [#CLICKHOUSE-3806]
2018-07-06 00:26:23 +03:00
Alexey Milovidov
88c582106b
Attempt to get rid of VirtualColumnFactory (part 2) [#CLICKHOUSE-3806]
2018-07-05 23:38:05 +03:00
Alexey Milovidov
cc2250f688
Attempt to get rid of VirtualColumnFactory (part 1) [#CLICKHOUSE-3806]
2018-07-05 22:56:51 +03:00
Alexey Milovidov
0a188389c0
Fixed error #2599
2018-07-05 21:56:33 +03:00
Alexey Milovidov
4a35b57cea
Little better #2599
2018-07-05 21:45:18 +03:00
Amos Bird
78beacb3a5
Make OPTIMIZE be able to merge all parts with FINAL.
2018-07-05 21:32:54 +03:00
Alexey Zatelepin
d5f8e4a1a5
load quorum status in merge predicate asynchronously [#CLICKHOUSE-3802]
2018-07-05 20:06:33 +03:00
Alexey Zatelepin
a41ee1f0a7
switch to ephemeral nodes for block number locks [#CLICKHOUSE-3802]
2018-07-05 20:06:33 +03:00
Alexey Zatelepin
0a46d231ed
speedup merge selection: async exists check for selected parts [#CLICKHOUSE-3802]
2018-07-05 20:06:33 +03:00
Alexey Zatelepin
116ed0a59e
add RestartingThread wakeup for faster session recovery
2018-07-05 19:30:52 +03:00
Alexey Zatelepin
fe83c8dab1
stricter validation of mutation commands #2588
2018-07-05 17:19:33 +03:00
Alexey Milovidov
c99e717632
Fixed bad code #2571
2018-07-04 20:28:52 +03:00
Alexey Milovidov
e86f73e465
Fixed half of bad code #2571
2018-07-04 20:28:52 +03:00
Nikolai Kochetov
6e5e57353a
Review fixes. [#CLICKHOUSE-3694] #2156
2018-06-29 19:18:50 +03:00
alexey-milovidov
3904ba561f
Merge branch 'master' into CLICKHOUSE-2910
2018-06-28 20:47:25 +03:00
Alexey Zatelepin
2447755700
BackgroundSchedulePool: remove task from delayed even it it is currently executing
...
If the task was left in the delayed_tasks set, it could lead to a nasty bug:
delayExecutionThreadFunction() would schedule the task, then it would immediately
go on a next iteration and schedule the same task again. Thus this task would be
continually executing, and other delayed tasks would have no chance to run.
2018-06-27 13:47:58 +03:00
Nikolai Kochetov
9f591b8d02
Merged with master.
2018-06-26 17:41:29 +03:00
Nikolai Kochetov
f56d16769b
Added pre and post serialization for IDataType BinaryBulkWithMultipleStreams. Supported dictionary serialization format with single global dictionary (limited wit max_dictionary_size) and additional keys which are stored per granule. Changed IDataType::enumerateStream interface. Added (de)serialization params for binary bulk with multiple stream (de)serialization. Changed IColumn::index interface.
2018-06-26 17:12:21 +03:00
Nikolai Kochetov
60f0ed9296
Added processing stage check for StorageMerge. [#CLICKHOUSE-3694] #2156
2018-06-25 15:47:51 +03:00
Nikolai Kochetov
4f7c284d34
Fixed build.
2018-06-25 15:47:45 +03:00
Nikolai Kochetov
ba4cf6faf0
Merged with master.
2018-06-25 15:08:21 +03:00
Alexey Zatelepin
971fddb299
add comments [#CLICKHOUSE-3747]
2018-06-22 13:43:35 +03:00
zhang2014
f4e72792a5
ISSUES-2553 add offset parameter to numbers
2018-06-22 12:55:36 +03:00
Alexey Zatelepin
e78dc8142c
factor out common code [#CLICKHOUSE-3747]
2018-06-21 22:47:44 +03:00
Alexey Zatelepin
a6c61848f1
mutations finalizing task [#CLICKHOUSE-3747]
2018-06-21 22:47:44 +03:00
Alexey Zatelepin
36982b967d
use single mutex in ReplicatedMergeTreeQueue for simplicity
2018-06-21 22:47:44 +03:00