Nikolai Kochetov
32bdf7c38c
renamed MultiversionMergeTree to VersionedCollapsingMergeTree [#CLICKHOUSE-3479]
2018-02-13 00:13:50 +03:00
Nikolai Kochetov
66b94d481a
added MultiversionMergeTree [#CLICKHOUSE-3479]
2018-02-13 00:13:50 +03:00
Vitaliy Lyudvichenko
d5fd8b9b5f
Fix DROP MV with max_table_size_to_drop. [#CLICKHOUSE-3]
...
Resolves #1863
2018-02-12 23:35:56 +03:00
Alexey Milovidov
c104566eb8
Fixed performance regression in usage of COWPtr in complex cases [#CLICKHOUSE-3584].
2018-02-12 23:10:24 +03:00
alexey-milovidov
8fb9967903
Merge pull request #1879 from yandex/lambdas-without-prerequisites
...
Lambdas without prerequisites
2018-02-09 22:22:58 +03:00
Alexey Milovidov
7e83b8a729
Fixed build #1840
2018-02-09 00:15:46 +03:00
alexey-milovidov
d3160393c5
Merge branch 'master' into CLICKHOUSE-3554
2018-02-08 23:07:50 +03:00
alexey-milovidov
d6b7233aa3
Merge pull request #1824 from zhang2014/fix/ISSUES-117
...
ISSUES-117 support temporary table management
2018-02-08 22:42:10 +03:00
alexey-milovidov
8b2678328e
Update StorageSystemTables.cpp
2018-02-08 22:40:41 +03:00
Alexey Milovidov
5872cd5b63
Removed useless code [#CLICKHOUSE-2]
2018-02-08 22:20:24 +03:00
Nikolai Kochetov
e02ca10b9a
merged with master
2018-02-08 20:46:22 +03:00
alexey-milovidov
2e115dff1b
Merge pull request #1823 from chenxing-xc/master
...
fix endless query issue
2018-02-08 20:41:52 +03:00
alexey-milovidov
bca723b06b
Update MergeTreeBaseBlockInputStream.cpp
2018-02-08 20:41:36 +03:00
alexey-milovidov
1d8cfa351d
Update MergeTreeBaseBlockInputStream.cpp
2018-02-08 20:40:23 +03:00
Nikolai Kochetov
27179b375a
removed prerequisites [#CLICKHOUSE-3550]
2018-02-08 20:18:52 +03:00
Nikolai Kochetov
583ff32fe8
changed IFunction
2018-02-08 20:18:15 +03:00
Alexey Milovidov
953ab16cde
Miscellaneous #1853
2018-02-08 18:31:37 +03:00
Alexey Milovidov
777b4404bd
Fixed build #1853
2018-02-08 18:25:46 +03:00
alexey-milovidov
5a03f9e0fb
Merge pull request #1853 from ilyshnikova/master
...
Implement MergeTree index using for IN operator with tuple of columns.
2018-02-08 18:03:23 +03:00
Tsarkova Anastasia
5ecd50ff44
Adding comments. Reversing infinities.
2018-02-08 17:28:31 +03:00
Vitaliy Lyudvichenko
c575a7fe8a
Fix DROP of virtual databases. Add requested changes. [#CLICKHOUSE-3554]
2018-02-08 17:17:51 +03:00
Vitaliy Lyudvichenko
42754a5327
Add new virtual columns into system.tables. [#CLICKHOUSE-3554]
2018-02-08 17:15:40 +03:00
alexey-milovidov
20686ab405
Merge pull request #1847 from yandex/CLICKHOUSE-3558
...
Add system_profile setting
2018-02-07 21:29:04 +03:00
Tsarkova Anastasia
938cb2b57a
Considering set first.
2018-02-07 18:29:00 +03:00
Tsarkova Anastasia
c50ccabb0a
Implement MergeTree index using for IN operator with tuple of columns.
2018-02-07 18:29:00 +03:00
Vitaliy Lyudvichenko
ef98bff6e1
ClusterCopier improvements ( #1869 )
...
* Fixed race condition in StorageDistributed. [#CLICKHOUSE-2]
* ClusterCopier improvements. [#CLICKHOUSE-3346]
* Add performance metrics. [#CLICKHOUSE-3346]
2018-02-07 16:02:47 +03:00
zhang2014
62b6a9e07c
ISSUES-117 resolve some opinions
2018-02-03 16:00:14 +08:00
zhang2014
982b2ee7ca
ISSUES-117 resolve some opinions
2018-02-02 22:20:35 +08:00
zhang2014
4875a80825
Merge branch 'master' into fix/ISSUES-117
2018-02-02 20:21:40 +08:00
Vitaliy Lyudvichenko
118b17253e
Add system_profile config. [#CLICKHOUSE-3558]
2018-02-01 16:53:44 +03:00
zhang2014
bfd19965b5
ISSUES-117 fix failed test
2018-01-31 23:56:52 +08:00
Vitaliy Lyudvichenko
94f38d744e
Merge pull request #1750 from yandex/CLICKHOUSE-3346
...
Fault-tolerant cluster copier util
2018-01-31 13:21:51 +03:00
zhang2014
bfe48f1255
ISSUES-117 support show tables with temporary table
2018-01-28 00:07:55 +08:00
Vitaliy Lyudvichenko
e2fb6d8c80
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-3346
2018-01-25 22:00:08 +03:00
Vitaliy Lyudvichenko
4665201827
Add metric for duplicated inserts. [#CLICKHOUSE-2]
2018-01-25 21:47:44 +03:00
Vitaliy Lyudvichenko
61233b886a
Better system.part_log. [#CLICKHOUSE-3342]
2018-01-25 21:40:02 +03:00
chenxing.xc
be85910088
fix endless query issue #1769
2018-01-26 00:44:47 +08:00
Vitaliy Lyudvichenko
d6db480be1
Forward settings through Distributed table. [#CLICKHOUSE-3346]
2018-01-25 19:04:54 +03:00
Nikolai Kochetov
9965f5e357
swap source and last_exception in StorageSystemDictionaries
2018-01-25 18:57:07 +03:00
Vitaliy Lyudvichenko
26e58271e9
Removed repeatable columns field from Storages declarations. [#CLICKHOUSE-2]
2018-01-25 17:42:39 +03:00
Vitaliy Lyudvichenko
8be2bfc513
Added docs and requested changes. [#CLICKHOUSE-3346]
2018-01-25 15:45:07 +03:00
alexey-milovidov
b8cb9267c7
Merge pull request #1804 from arkhipov/master
...
Replace subqueries and table expressions on the right side of the IN …
2018-01-23 22:31:49 +03:00
alexey-milovidov
151901af0f
Merge pull request #1814 from yandex/CLICKHOUSE-3545
...
Make early deduplication with block number creation
2018-01-23 22:27:02 +03:00
Alexey Milovidov
e8a0dde15b
Added more checks [#CLICKHOUSE-2].
2018-01-23 21:49:15 +03:00
Vitaliy Lyudvichenko
b4ab7d4b8e
Make early deduplication with block number creation. [#CLICKHOUSE-3545]
2018-01-23 18:50:29 +03:00
Vlad Arkhipov
6738d6a995
Add comments. Improve method names.
2018-01-23 11:18:12 +03:00
Nikolai Kochetov
018c32010e
added macro for cluster name in Distributerd table and DDL [#CLICKHOUSE-3409]
2018-01-22 21:49:17 +03:00
Vitaliy Lyudvichenko
1000328571
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-3346
2018-01-22 20:31:08 +03:00
Vlad Arkhipov
be96cf5133
Replace subqueries and table expressions on the right side of the IN operator with their results in order to make MergeTree storage engines evaluate the corresponding conditions by using the index.
2018-01-21 11:22:52 +03:00
Alexey Milovidov
9a02d4f5ff
Merge branch 'master' of github.com:yandex/ClickHouse into header-in-input-streams
2018-01-20 04:20:40 +03:00
alexey-milovidov
1f9ea8b6b0
Merge pull request #1721 from zhang2014/fix/ISSUES-957
...
ISSUES-957 fix not work when materialized columns with buff table
2018-01-19 21:50:26 +03:00
alexey-milovidov
1b462b0b94
Merge pull request #1759 from yandex/CLICKHOUSE-3432
...
Fixed 'intersects previous part' due to blind OPTIMIZE
2018-01-19 21:48:41 +03:00
alexey-milovidov
6198fe4a1a
Update StorageReplicatedMergeTree.cpp
2018-01-19 21:46:22 +03:00
alexey-milovidov
e8ebf3b56a
Update StorageReplicatedMergeTree.cpp
2018-01-19 21:45:28 +03:00
alexey-milovidov
f770156b0b
Update MergeTreeDataMerger.cpp
2018-01-19 21:42:22 +03:00
Alexey Milovidov
9f57a1f7a5
Fixed error: if default user had readonly accesss, the server could not start [#CLICKHOUSE-2]
2018-01-19 02:40:32 +03:00
alexey-milovidov
7a25b441f4
Merge pull request #1773 from yandex/small-enhancements
...
Small enhancements
2018-01-16 22:07:43 +03:00
Vitaliy Lyudvichenko
b68b60fb38
More detailed test. [#CLICKHOUSE-3]
...
Resolves #1553 .
2018-01-16 15:05:01 +03:00
proller
d97b2edc7c
Make separate libs Common/ZooKeeper and Common/ConfigProcessor ( #1749 )
...
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed: dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h
* Fix space
* Fix data in system.build_options
* merge
* merge
2018-01-15 22:07:47 +03:00
Vitaliy Lyudvichenko
5d5ed63e8c
Better error message. [#CLICKHOUSE-2]
2018-01-15 20:30:16 +03:00
Vitaliy Lyudvichenko
554ed52920
Avoid superflous pullLogsToQueue() calls. [#CLICKHOUSE-3432]
2018-01-15 13:30:31 +03:00
Vitaliy Lyudvichenko
03bca2144d
OPTIMIZE doesn't produce intersecting merges now, add optimize_throw_if_noop setting. [#CLICKHOUSE-3432] [#CLICKHOUSE-3420]
...
Resolves #1753
2018-01-15 13:13:18 +03:00
Alexey Milovidov
55ea2ebbe5
Allow to create StorageDictionary with identifier in ENGINE parameter [#CLICKHOUSE-2].
2018-01-12 21:56:13 +03:00
zhang2014
66dd568e64
ISSUES-957 update condition & test
2018-01-12 21:03:35 +08:00
proller
1c06c0f810
Fix 32bit build
2018-01-12 15:50:59 +03:00
Vitaliy Lyudvichenko
388d47bbbc
Merge branch 'CLICKHOUSE-3346-v310' into CLICKHOUSE-3346
2018-01-11 23:51:30 +03:00
Anastasiya Tsarkova
2b8a4cf030
Add ALTER for null storage tables.
2018-01-11 22:13:19 +03:00
Vitaliy Lyudvichenko
7c66d2c47c
Fixed incorrect INSERT into Distributed table in async mode. [#CLICKHOUSE-2]
...
See a4636f8656
2018-01-11 21:55:46 +03:00
Vitaliy Lyudvichenko
c818beedcb
Make data_path creation for Databases optional. [#CLICKHOUSE-2]
2018-01-11 21:55:43 +03:00
Vitaliy Lyudvichenko
ac17c59108
Updated describe query, cluster copier draft. [#CLICKHOUSE-3346]
2018-01-11 21:55:08 +03:00
Vitaliy Lyudvichenko
fbba1ff99d
Remove obsolete code. [#CLICKHOUSE-2]
2018-01-11 21:55:07 +03:00
张健
6f28e0a66a
Merge branch 'master' into fix/ISSUES-957
2018-01-10 14:53:52 +08:00
Alexey Milovidov
d33023574b
Addition to prev. revision [#CLICKHOUSE-2].
2018-01-10 03:14:06 +03:00
Alexey Milovidov
550053a0ca
Merge branch 'master' into header-in-input-streams
2018-01-10 03:05:51 +03:00
Alexey Milovidov
0bfea2f52c
Miscellaneous [#CLICKHOUSe-2]
2018-01-10 03:04:08 +03:00
Nikolai Kochetov
cbeeb84999
added http_*_timeout settings [#CLICKHOUSE-3440]
2018-01-09 21:41:01 +03:00
alexey-milovidov
890ad92f90
Merge pull request #1627 from yandex/table-system-parts_columns
...
Table system.parts_columns
2018-01-09 21:33:55 +03:00
alexey-milovidov
2a7024ba5a
Update MergeTreeData.cpp
2018-01-09 21:01:26 +03:00
alexey-milovidov
1292d14185
Update MergeTreeData.cpp
2018-01-09 21:01:26 +03:00
zhang2014
517958ab09
ISSUES-1369 fix typo
2018-01-09 21:01:26 +03:00
zhang2014
be966015c9
ISSUES-1369 add check when create Replacing & Collapsing
2018-01-09 21:01:26 +03:00
Chen Yufei
88ef42c222
Aggressive merge for ReplicatedMergeTree optimize.
2018-01-09 20:44:07 +03:00
Alexey Milovidov
098cdf8ebe
Added method "getHeader" in IBlockInputStream [#CLICKHOUSE-2]
2018-01-09 05:09:08 +03:00
Alexey Milovidov
5081f276d1
Added method "getHeader" in IBlockInputStream [#CLICKHOUSE-2]
2018-01-09 04:51:08 +03:00
Alexey Milovidov
fe880d73e7
Added method "getHeader" in IBlockInputStream [#CLICKHOUSE-2]
2018-01-09 03:19:58 +03:00
Alexey Milovidov
9996e181e1
Added method "getHeader" in IBlockInputStream [#CLICKHOUSE-2]
2018-01-06 21:10:44 +03:00
Alexey Milovidov
e2d70943b8
Unification of Nested: development [#CLICKHOUSE-2].
2018-01-02 12:11:13 +03:00
Alexey Milovidov
4371778144
Unification of Nested: development [#CLICKHOUSE-2].
2018-01-02 09:13:22 +03:00
zhang2014
6fe64aa346
ISSUES-957 fix not work when materialized columns with buff table
2018-01-01 19:54:14 +08:00
Alexey Milovidov
68de761e6a
Fixed comment [#CLICKHOUSE-2].
2017-12-30 07:03:49 +03:00
Alexey Milovidov
993a5e44d0
Inverted dependencies in StorageFactory (continued) [#CLICKHOUSE-2].
2017-12-30 07:00:39 +03:00
Alexey Milovidov
ffca152c45
Inverted dependencies in StorageFactory [#CLICKHOUSE-2].
2017-12-30 07:00:39 +03:00
Alexey Milovidov
7244514859
Less dependencies in StorageFactory: development [#CLICKHOUSE-2].
2017-12-30 07:00:39 +03:00
proller
70e35d0bcc
Build fixes ( #1718 )
...
* Embedded compiler fixes
* common lib not needed for clang and lld
* Fix pthread link
* Fix shared build
* Arm fixes 1
* arm fix
* Unused fix
* Build fixes
* release --pbuilder
* release pbuilder fix
* FORCE_PBUILDER_CREATE=1 release
* release: Auto use clang with sanitizers
* Fix build without poco data odbc lib. zlib arm build fix.
* Fix freebsd build and build without mysql
* Tests: Dont eat my cpu!
* Test me
2017-12-29 18:48:20 +03:00
Nikolai Kochetov
645a8d86f2
fix build
2017-12-28 21:33:07 +03:00
Nikolai Kochetov
ea41197c51
merger with master
2017-12-28 21:20:53 +03:00
Alexey Milovidov
4c3fba2719
Table functions MySQL and ODBC: development [#CLICKHOUSE-3114].
2017-12-28 08:26:45 +03:00
Alexey Milovidov
fcdd5de47d
Revert "Removed questionable code (2) [#CLICKHOUSE-2]."
...
This reverts commit fcabe8b888
.
2017-12-28 07:39:19 +03:00
Alexey Milovidov
798299ba89
Merge branch 'aavdonkin-master'
2017-12-28 07:33:55 +03:00
Alexey Milovidov
1fecbc3ef4
Merging [#CLICKHOUSE-3114]
2017-12-28 07:33:35 +03:00
Alexey Milovidov
4448766266
Merging [#CLICKHOUSE-3114]
2017-12-28 07:28:05 +03:00
Alexey Milovidov
4cde48fb20
Merge branch 'master' of github.com:yandex/ClickHouse
2017-12-28 01:40:42 +03:00
Alexey Milovidov
104b09604a
Merging [#CLICKHOUSE-3114]
2017-12-28 00:45:05 +03:00
Alexey Milovidov
f5b1ad1fa2
Merge branch 'master' into aavdonkin-master
2017-12-27 21:50:01 +03:00
Alexey Milovidov
b79aa5db4e
Update documentation about required ZK version; Miscellaneous #1458
2017-12-27 21:34:58 +03:00
Alexey Milovidov
09262ae0d7
Merge branch 'master' of github.com:yandex/ClickHouse
2017-12-27 01:56:30 +03:00
Alexey Milovidov
b2fcf06353
Merging [#CLICKHOUSE-3114]
2017-12-27 00:34:06 +03:00
Alexey Zatelepin
280c147a89
remove dependency to StorageReplicatedMergeTree [#CLICKHOUSE-2]
2017-12-26 22:15:15 +03:00
Alexey Milovidov
f87761df90
Merged with master; applied clang-format with newer files [#CLICKHOUSE-3114].
2017-12-26 21:32:17 +03:00
Nikolai Kochetov
5a3506eada
merged with master
2017-12-26 13:54:39 +03:00
Alexey Milovidov
c89041ce63
Removed questionable code (2) [#CLICKHOUSE-2].
2017-12-26 01:51:04 +03:00
Alexey Milovidov
ec71908b00
Revert "Removed questionable code (2) [#CLICKHOUSE-2]."
...
This reverts commit fcabe8b888
.
2017-12-26 00:57:29 +03:00
Alexey Milovidov
fcabe8b888
Removed questionable code (2) [#CLICKHOUSE-2].
2017-12-26 00:32:33 +03:00
Alexey Milovidov
a85b2e5a95
Removed questionable code [#CLICKHOUSE-2].
2017-12-26 00:10:46 +03:00
Alexey Milovidov
bcfde7c6c0
Get rid of DataTypeNested, part 2 [#CLICKHOUSE-2].
2017-12-25 21:58:39 +03:00
Nikolai Kochetov
2ed66515ff
Date type for range_min and range_max in Dictionare(range_hashed) [#CLICKHOUSE-3521]
2017-12-25 21:29:04 +03:00
Alexey Zatelepin
c3348e27a4
shorter [#CLICKHOUSE-2]
2017-12-25 20:31:14 +03:00
proller
fb7047bfe8
Fix 32bit build
2017-12-25 20:17:32 +03:00
Alexey Zatelepin
b07dbf52c6
remove unused function [#CLICKHOUSE-2]
2017-12-25 14:40:59 +03:00
Alexey Milovidov
8ff93487e3
Miscellaneous [#CLICKHOUSE-2].
2017-12-25 07:01:46 +03:00
Marek Vavruša
aed35f16ca
StorageKafka: move limits to individual Kafka streams instead of UnionBlockInputStream
...
The UnionBlockInputStream might read an extra block from the asynchronous child streams otherwise,
which will never be used, but offsets for this block would be committed, which would result in
lost messages.
2017-12-24 09:57:20 +03:00
Marek Vavruša
77393287ab
StorageKafka: make commit message only if messages are consumed
2017-12-24 09:57:20 +03:00
Alexey Milovidov
b5af4c95bf
Using IDataType::equals to compare for type equivalence #1650
2017-12-23 04:55:46 +03:00
Alexey Zatelepin
6d5ce3fa9a
revert BackgroundSchedulePool usage in Replicated tables
2017-12-22 21:25:54 +03:00
Alexey Milovidov
5b59a6f4cb
Whitespace [#CLICKHOUSE-2].
2017-12-21 20:43:32 +03:00
Alexey Milovidov
584a263d79
Simplification of aggregate functions: development [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
Marek Vavruša
3e1ce9bf26
StorageKafka: nicer interface for claiming consumers
2017-12-21 00:46:50 +03:00
Marek Vavruša
9c57def8df
StorageKafka: update comments
2017-12-21 00:46:50 +03:00
Marek Vavruša
c6e959d1e9
StorageKafka: extended configuration, parallel consumers, offset tracking
...
This contains many fixes and corrections for the Kafka engine.
Most notably it now supports extended configuration similarly to GraphiteMergeTree.
Now it also allows specification of consumer count to parallelize consumption of
multiple partitions both in materialized views and in SELECT queries.
The offsets are now committed in the insertSuffix() method after all rows
are successfully read. If an exception is thrown during reading, affected consumer
unsubscribes from all assignments and rejoins the consumer group to rewind offsets.
This means that the consumer won't lose messages in case of write failures.
2017-12-21 00:46:50 +03:00
Marek Vavruša
6d4f106f11
StorageMaterializedView: update dependencies on DETACH TABLE
...
Previously the dependencies were updated only on DROP TABLE, so
detaching a materialized view and inserting to source table thrown an exception.
2017-12-21 00:46:50 +03:00
Alexey Zatelepin
c422b5b2e4
take PreCommitted parts into account when calculating total merge size [#CLICKHOUSE-3508]
2017-12-20 20:52:28 +03:00
Alexey Zatelepin
835b957e95
add comments [#CLICKHOUSE-3508]
2017-12-20 20:40:36 +03:00
Alexey Zatelepin
d35baafde8
check PreCommitted parts when executing log entries and in PartChecker [#CLICKHOUSE-3508]
2017-12-20 20:04:14 +03:00
Alexey Zatelepin
2340e55d0e
revert to old behaviour of getPartIfExists() [#CLICKHOUSE-3508]
2017-12-20 20:04:14 +03:00
Alexey Milovidov
bc160f5e4d
Fixed error [#CLICKHOUSE-2].
2017-12-18 09:49:38 +03:00
Alexey Milovidov
32fcc7b3f0
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-18 09:23:19 +03:00
Alexey Milovidov
816169a3be
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-18 08:38:42 +03:00
Alexey Milovidov
11d3b9c710
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-18 08:37:20 +03:00
Alexey Milovidov
c5d5296889
Miscellaneous [#CLICKHOUSE-2].
2017-12-18 07:07:26 +03:00
Alexey Milovidov
7c802ee3de
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-18 05:37:08 +03:00
Alexey Milovidov
f95ddfce10
Make DataTypes totally immutable [#CLICKHOUSE-2].
2017-12-18 04:11:48 +03:00
Alexey Milovidov
8484f086a5
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-17 10:59:14 +03:00
Alexey Milovidov
6ad5be5eee
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-17 10:15:13 +03:00
Alexey Milovidov
d497d010d7
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-17 08:21:04 +03:00
Alexey Milovidov
62f7c25522
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 09:19:21 +03:00
Alexey Milovidov
8302769563
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 03:49:03 +03:00
Alexey Milovidov
7284a64740
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 00:32:25 +03:00
Alexey Milovidov
ecd56de6a8
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 00:11:24 +03:00
Alexey Milovidov
c4bbc1c963
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 23:48:46 +03:00
Alexey Milovidov
8ce60e3af0
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 22:53:11 +03:00
Alexey Milovidov
d0ca8b2533
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 21:23:05 +03:00
Alexey Milovidov
b2aff7521b
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 06:47:43 +03:00
Alexey Milovidov
401fd2d6d8
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 05:36:40 +03:00
Alexey Milovidov
fb38ef9a8e
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-14 06:56:56 +03:00
Alexey Milovidov
bed2d644e6
Merge remote-tracking branch 'origin/master' into cow_columns
2017-12-14 04:44:35 +03:00
Alexey Milovidov
f3bb24a3bf
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-14 04:43:19 +03:00
Alexander Avdonkin
331c5c3db8
Merge branch 'master' of github.com:aavdonkin/ClickHouse
2017-12-13 19:48:27 +03:00
Alexander Avdonkin
d1ee8c5358
Fixed issues
2017-12-13 19:46:57 +03:00
Alexey Milovidov
819287b697
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-13 04:27:53 +03:00
Nikolai Kochetov
cd0eb53e36
added StorageSystemPartsBase [#CLICKHOUSE-3328]
2017-12-12 21:38:56 +03:00
Nikolai Kochetov
97917098a0
added system.parts_columns as a copy of system.parts [#CLICKHOUSE-3328]
2017-12-12 21:38:41 +03:00
alexey-milovidov
62fb610e4e
Merge pull request #1447 from yandex/support-table-functions-for-desc-and-insert
...
Support table functions for desc and insert
2017-12-11 23:28:10 +03:00
Alexey Milovidov
7d04e67262
Merge branch 'write-buffer-from-arena'
2017-12-11 21:25:03 +03:00
Alexey Milovidov
90848adc6b
Fixed translation [#CLICKHOUSE-2].
2017-12-11 21:19:35 +03:00
Nikolai Kochetov
f71b8bf58f
merged with master
2017-12-11 21:13:24 +03:00
Nikolai Kochetov
68ccadfc6c
removed owned_cluster_for_insertion from StorageDistributed [#CLICKHOUSE-3397]
2017-12-11 21:09:20 +03:00
Alexey Milovidov
c3015bece3
Miscellaneous [#CLICKHOUSE-2].
2017-12-11 01:44:04 +03:00
Alexey Milovidov
71116c4d82
Fixed error [#CLICKHOUSE-2].
2017-12-09 20:16:24 +03:00
Alexey Milovidov
3def5f03f5
Cleanup semantics of data types [#CLICKHOUSE-2].
2017-12-09 19:17:37 +03:00
Alexey Milovidov
d2cfda4d9b
Cleanup semantics of data types [#CLICKHOUSE-2].
2017-12-09 19:17:37 +03:00
alexey-milovidov
1d0df29e0f
Merge branch 'master' into master
2017-12-08 11:29:01 +03:00
Alexey Milovidov
8cc0bae1bc
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 02:07:41 +03:00
Alexey Milovidov
f5a06cee5b
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-07 11:47:13 +03:00
Alexey Milovidov
e776a4fc67
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-07 07:26:30 +03:00
Alexander Avdonkin
89db5040df
Implemented MySQL and ODBC storages and table functions
2017-12-05 16:32:02 +03:00
alexey-milovidov
6c86bc2506
Merge pull request #1584 from yandex/table-system-models
...
added system.models
2017-12-05 00:25:04 +03:00
alexey-milovidov
b7f656d289
Merge pull request #1541 from yandex/fix-replica-queue-load
...
Add idempotent retries of updating the replica queue in ZooKeeper
2017-12-05 00:16:03 +03:00
Alexey Milovidov
7e2100d7f7
Fixed exception message [#CLICKHOUSE-2].
2017-12-04 23:37:28 +03:00
alexey-milovidov
575a67b5d2
Merge branch 'master' into support-table-functions-for-desc-and-insert
2017-12-04 23:34:27 +03:00
Alexey Zatelepin
fb9c7ab81d
remove experimental_allow_extended_storage_definition_syntax Setting (turn on by default) [#CLICKHOUSE-3000]
2017-12-04 22:45:18 +03:00
proller
826936cf9b
Better fix of std::numeric_limits<__uint128_t> ( #1585 )
...
* Fix std::numeric_limits<__uint128_t>
* clean
* Better fix of std::numeric_limits<__uint128_t>
2017-12-04 19:12:56 +03:00
Nikolai Kochetov
de62ae6b1b
added system.parts_columns as a copy of system.parts [#CLICKHOUSE-3328]
2017-12-04 18:44:31 +03:00
Nikolai Kochetov
d2710bd0f4
added system.models [#CLICKHOUSE-3477]
2017-12-04 16:32:49 +03:00
proller
4c3dfb97df
Clang: Fix std::numeric_limits<__uint128_t> ( #1583 )
...
Fix std::numeric_limits<__uint128_t>
2017-12-04 16:03:40 +03:00
Alexey Milovidov
06dfe7f562
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 08:55:49 +03:00
Alexey Milovidov
a80259d0cb
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 07:57:33 +03:00
Alexey Milovidov
418e5012e7
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 07:43:38 +03:00
Alexey Milovidov
3717d80017
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 07:40:21 +03:00
Alexey Milovidov
c472172fa8
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 07:25:41 +03:00
Alexey Milovidov
a597f3e7d9
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 07:23:03 +03:00
Alexey Milovidov
3786786aeb
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 07:19:46 +03:00
Alexey Milovidov
294c0ba5cf
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 06:43:48 +03:00
Alexey Milovidov
ab022d0882
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 05:59:59 +03:00
Alexey Milovidov
1aa99092c3
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 05:15:35 +03:00
Alexey Milovidov
a9ddaa2b19
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 04:49:54 +03:00
Alexey Milovidov
a813287afd
Rewrite MergeTreePartChecker [#CLICKHOUSE-2838].
2017-12-03 03:48:19 +03:00
Alexey Milovidov
464d962010
Rewrite MergeTreePartChecker [#CLICKHOUSE-2838].
2017-12-03 03:46:34 +03:00
Alexey Milovidov
5510bea3f8
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 01:12:27 +03:00
Alexey Milovidov
b932a193e2
Better [#CLICKHOUSE-2].
2017-12-02 06:25:52 +03:00
Alexey Milovidov
c748493a86
Better [#CLICKHOUSE-2].
2017-12-02 05:47:12 +03:00
Alexey Milovidov
7196602e12
Better [#CLICKHOUSE-2].
2017-12-02 00:51:50 +03:00
Alexey Milovidov
54e601019c
Better [#CLICKHOUSE-2].
2017-12-02 00:40:58 +03:00
Alexey Milovidov
a85773bdbc
Fixed error [#CLICKHOUSE-2838].
2017-12-02 00:30:43 +03:00
Alexey Milovidov
acd78e4891
Better [#CLICKHOUSE-2].
2017-12-02 00:13:25 +03:00
Alexey Milovidov
1efef27af9
Better [#CLICKHOUSE-2]
2017-12-01 23:38:50 +03:00
Alexey Milovidov
bdd25b15bd
Better [#CLICKHOUSE-2].
2017-12-01 22:34:51 +03:00
Alexey Milovidov
1a6cb2989b
Better [#CLICKHOUSE-2].
2017-12-01 21:36:55 +03:00
Nikolai Kochetov
5cbacbc2d7
fixed test [#CLICKHOUSE-3397]
2017-12-01 21:21:37 +03:00
alexey-milovidov
09f030a3ee
Merge branch 'master' into data_parts_multi_index
2017-12-01 19:53:04 +03:00
Alexey Milovidov
98291f1a24
Cleanups [#CLICKHOUSE-2838].
2017-12-01 17:21:24 +03:00
Alexey Milovidov
6fb18a7dc2
Added comments [#CLICKHOUSE-2838].
2017-12-01 17:15:38 +03:00
Nikolai Kochetov
470c633e09
merged with master
2017-12-01 16:33:47 +03:00
Alexey Milovidov
d4089695ad
Cleanups [#CLICKHOUSE-2838].
2017-12-01 16:32:37 +03:00
Nikolai Kochetov
f025f22007
Merge branch 'master' into support-table-functions-for-desc-and-insert
2017-12-01 16:24:50 +03:00
Alexey Milovidov
241e0638b7
Merge branch 'master' of github.com:yandex/ClickHouse into unify-data-types-that-serialized-with-multiple-streams
2017-12-01 15:36:15 +03:00
Kirill Shvakov
cd7f7b076e
Merge branch 'add-description-to-settings-table'
2017-11-30 13:55:42 +02:00
Kirill Shvakov
4d73516508
Add description to system.settings table
2017-11-30 13:50:02 +02:00
Vitaliy Lyudvichenko
2afbd8bcee
Small enhancements. [#CLICKHOUSE-3452]
2017-11-29 15:00:20 +03:00
Vitaliy Lyudvichenko
ddb02d8ccf
Small enhancements. [#CLICKHOUSE-3452]
2017-11-29 14:54:37 +03:00
Vitaliy Lyudvichenko
b738d1baed
Add multi index for data_parts storage. And fixed bugs. [#CLICKHOUSE-3452]
...
Fixed handling of obsolete parts.
Fixed conflict resolution between simultaneous PreCommitted covering parts.
Fixed memory leak caused by ordinary MergeTree parts stucked in Deleting state.
Added hidden _state column into system.parts.
2017-11-29 14:25:11 +03:00
Vitaliy Lyudvichenko
9229961721
Add multi index for data_parts storage. And fixed bugs. [#CLICKHOUSE-3452]
...
Fixed handling of obsolete parts.
Fixed conflict resolution between simultaneous PreCommitted covering parts.
Fixed memory leak caused by ordinary MergeTree parts stucked in Deleting state.
Added hidden _state column into system.parts.
2017-11-29 13:23:11 +03:00
Alexey Milovidov
fb4951b679
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-29 02:50:17 +03:00
Alexey Milovidov
7b4bffe088
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-29 02:31:21 +03:00
Alexey Zatelepin
01d42242b1
mark queue as dirty if status of ZK operation is unknown [#CLICKHOUSE-3405]
2017-11-28 17:09:53 +03:00
Alexey Milovidov
36d4f89c7a
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-28 05:13:46 +03:00
Alexey Milovidov
71378d329c
Merge branch 'unify-data-types-that-serialized-with-multiple-streams' of github.com:yandex/ClickHouse into unify-data-types-that-serialized-with-multiple-streams
2017-11-28 02:47:21 +03:00
Alexey Milovidov
719d2654f8
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-28 02:47:14 +03:00
Alexey Milovidov
55971073fc
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-28 00:21:09 +03:00
Alexey Milovidov
95d33b3e65
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-27 22:33:38 +03:00
Alexey Milovidov
42cc689474
Miscellaneous [#CLICKHOUSE-2].
2017-11-26 22:22:33 +03:00
Alexey Milovidov
6266ecc5ed
Miscellaneous [#CLICKHOUSE-2].
2017-11-25 02:03:58 +03:00
proller
827a5d0612
Fix warnings-errors in gtest
2017-11-24 23:40:14 +03:00
proller
6ff1968196
Compile and likk optimize and fixes
2017-11-24 21:08:01 +03:00
proller
0d3c4f4d67
Core/FieldVisitors.h -> Common/FieldVisitors.h
...
Core/Progress.h -> IO/Progress.h
tests: sudo --non-interactive
Fix freebsd link
2017-11-24 16:55:31 +03:00
Alexey Milovidov
859bf86a43
Fixed error found by ASan with debug libc++ (actually not dangerous) [#CLICKHOUSE-2].
2017-11-23 18:24:55 +03:00
Alexey Zatelepin
78aaa42ddd
add idempotent retries of updating the replica queue in ZooKeeper [#CLICKHOUSE-3405]
2017-11-23 16:19:29 +03:00
Alexey Milovidov
e15d637714
Miscellaneous [#CLICKHOUSE-2].
2017-11-23 05:12:09 +03:00
Alexey Milovidov
4bf120b285
Miscellaneous [#CLICKHOUSE-2].
2017-11-23 05:11:16 +03:00
Alexey Milovidov
4aa520e7be
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-21 22:40:59 +03:00
Alexey Milovidov
4bc98c9253
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-21 05:25:36 +03:00
Alexey Milovidov
63f79b7b4f
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-21 05:23:41 +03:00
Amos Bird
dc6847d5c6
Fixes StorageJoin's sample block order.
...
Here is a reproducible test case.
```
create table e (s UInt64, t UInt64) Engine = Memory;
create table v (s UInt64, w Float64, c UInt64) Engine = Join(Any, Inner, s);
insert into e values (1, 2), (1, 3), (1, 4), (2, 1), (2, 4), (3, 1), (4, 2), (4, 3);
insert into v values (1, 0.5, 3), (2, 0.5, 2), (3, 1, 1), (4, 0.5, 2);
select *, w, c from e any inner join v using (s);
```
# before this patch
```
┌─s─┬─t─┬─────w─┬──────────c─┐
│ 1 │ 2 │ 4e-45 │ 1051372192 │
│ 1 │ 3 │ 4e-45 │ 1051372192 │
│ 1 │ 4 │ 4e-45 │ 1051372192 │
│ 2 │ 1 │ 3e-45 │ 1056964608 │
│ 2 │ 4 │ 3e-45 │ 1056964608 │
│ 3 │ 1 │ 1e-45 │ 1065353216 │
│ 4 │ 2 │ 3e-45 │ 1056964608 │
│ 4 │ 3 │ 3e-45 │ 1056964608 │
└───┴───┴───────┴────────────┘
```
# after this patch
```
┌─s─┬─t─┬───w─┬─c─┐
│ 1 │ 2 │ 0.5 │ 3 │
│ 1 │ 3 │ 0.5 │ 3 │
│ 1 │ 4 │ 0.5 │ 3 │
│ 2 │ 1 │ 0.5 │ 2 │
│ 2 │ 4 │ 0.5 │ 2 │
│ 3 │ 1 │ 1 │ 1 │
│ 4 │ 2 │ 0.5 │ 2 │
│ 4 │ 3 │ 0.5 │ 2 │
└───┴───┴─────┴───┘
```
2017-11-20 19:46:24 +08:00
Alexey Milovidov
3b5f82000c
Fixed linking [#CLICKHOUSE-2].
2017-11-20 08:22:54 +03:00
Alexey Milovidov
3403f68c3f
Fixed linking [#CLICKHOUSE-2].
2017-11-20 08:21:50 +03:00
Alexey Milovidov
87ff2f35ec
Miscellaneous [#CLICKHOUSE-2].
2017-11-20 07:41:56 +03:00
Alexey Milovidov
2106849ec2
Miscellaneous [#CLICKHOUSE-2].
2017-11-20 07:40:51 +03:00
Alexey Milovidov
b3f6844171
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-20 07:18:37 +03:00
Alexey Milovidov
fd3239dd46
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-20 07:18:27 +03:00
Alexey Milovidov
01e8adbfff
Removed "experimental" namespace [#CLICKHOUSE-2].
2017-11-20 07:15:43 +03:00
Alexey Milovidov
8e6466454a
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-20 05:15:15 +03:00
Alexey Milovidov
2ca6952deb
Merge branch 'master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-20 02:16:18 +03:00
Alexey Milovidov
6c8b5e29d8
Additions after merge [#CLICKHOUSE-2].
2017-11-20 00:17:58 +03:00
alexey-milovidov
fc0a51f1b9
Merge branch 'master' into fix4
2017-11-19 23:57:44 +03:00
Alexey Milovidov
60825748d4
Merge branch 'fix11' of https://github.com/proller/ClickHouse into proller-fix11
2017-11-19 22:57:28 +03:00
Alexey Milovidov
94d3b49e99
BackgroundSchedulePool: miscellaneous [#CLICKHOUSE-2].
2017-11-19 03:27:43 +03:00
Alexey Milovidov
9b92c0fecd
BackgroundSchedulePool: miscellaneous [#CLICKHOUSE-2].
2017-11-19 03:22:13 +03:00
Alexey Milovidov
f497b0c63c
BackgroundSchedulePool: miscellaneous; added TODO [#CLICKHOUSE-2].
2017-11-19 03:08:37 +03:00
Silviu Caragea
dfecd0b2f2
Merge with master
2017-11-18 10:16:06 +02:00
Alexey Milovidov
729b114c15
Removed unsupported functionality [#CLICKHOUSE-2].
2017-11-18 05:34:00 +03:00
Alexey Milovidov
076e0ae014
More clear [#CLICKHOUSE-2].
2017-11-18 00:20:28 +03:00
Alexey Milovidov
7c9ba15ba1
Style [#CLICKHOUSE-2].
2017-11-17 23:42:03 +03:00
proller
aa3dd03389
Split lib dbms to dbms + dbms_common_io
2017-11-17 22:19:49 +03:00
proller
79b3ef2f57
Merge remote-tracking branch 'upstream/master' into fix4
2017-11-17 15:31:13 +03:00
Silviu Caragea
64619c614f
Basic idea is :
...
- We add BackgroundSchedulePool which can execute a function at a specific point in time. Basically all tasks are added in a queue and precessed by worker threads.
- The most important difference between this and BackgroundProcessingPool is that we have the guarantee that the same function is not executed from many workers in the same time
- Each of the following classes instead starting a thread will register a task in BackgroundSchedulePool and when they need to run will call schedule or scheduleAfter(duration) functions
This commit is moving all threads created by ReplicatedMergeTree to BackgroundSchedulePool tasks
NOTE: I did a minimum number of changes to be much simple to review the code
2017-11-17 10:58:35 +02:00
Marek Vavruša
c07b48075b
StorageKafka: fixed messages not showing when EOF is reached in current batch
...
This prevents messages from being read if there's less than 16 messages to read in Kafka.
Updated documentation with more detailed description.
2017-11-15 23:17:22 +03:00
alexey-milovidov
dbee90ba5b
Update ReplicatedMergeTreeBlockOutputStream.cpp
2017-11-15 23:13:10 +03:00
Alexey Zatelepin
99b2d135df
clear deduplication blocks when doing DROP PARTITION [#CLICKHOUSE-3208]
2017-11-15 23:13:10 +03:00
Alexey Milovidov
2846c7560f
Fixed wording [#CLICKHOUSE-2].
2017-11-15 22:47:49 +03:00
proller
468e2ab044
Merge remote-tracking branch 'upstream/master' into fix4
2017-11-14 14:50:19 +03:00
Alexey Milovidov
c4b4764a0a
Fixed error after merge [#CLICKHOUSE-2].
2017-11-14 03:11:33 +03:00
Nikolai Kochetov
14d2b830bb
fix build
2017-11-10 14:44:32 +03:00
Nikolai Kochetov
cdd852902d
Merge branch 'master' into catboost-models
2017-11-10 14:40:08 +03:00
Nikolai Kochetov
ad381f90e5
changed column names in catboost pool [#CLICKHOUSE-3305]
2017-11-10 14:31:02 +03:00
Nikolai Kochetov
2ae3f0b3b4
fixed tests [#CLICKHOUSE-3305]
...
added aliases for catboost pool [#CLICKHOUSE-3305]
2017-11-10 14:30:48 +03:00
Alexey Milovidov
ac1b69247c
Addition to prev. revision [#CLICKHOUSE-3402].
2017-11-09 22:25:21 +03:00
Alexey Milovidov
783e812eb7
Fixed error [#CLICKHOUSE-2]
2017-11-04 19:46:14 +03:00
Alexey Milovidov
1aaff5762c
Attempt to change ext::shared_ptr_helper (incomplete) [#CLICKHOUSE-2].
2017-11-04 06:20:18 +03:00
Alexey Milovidov
fa8bcccdb9
Attempt to change ext::shared_ptr_helper (incomplete) [#CLICKHOUSE-2].
2017-11-04 00:50:22 +03:00
Nikolai Kochetov
1cee62eb0a
supported table_function in insert query [#CLICKHOUSE-3397]
2017-11-03 16:25:39 +03:00
Nikolai Kochetov
1d01d228a4
removed macro DEFINE_AST_QUERY_WITH_TABLE_AND_OUTPUT
...
supported table_functions in desctibe table query [#CLICKHOUSE-3397]
2017-11-03 16:24:52 +03:00
Vitaliy Lyudvichenko
a4636f8656
Fixed incorrect INSERT into Distributed table in async mode with local replicas in a shard. #1404 [#CLICKHOUSE-2]
...
Resolves #1404
2017-11-03 00:32:59 +03:00
proller
c974f0e88e
Merge remote-tracking branch 'upstream/master' into fix4
2017-11-02 17:42:36 +03:00
Vitaliy Lyudvichenko
9cf14d2c61
Remove obsolete code. [#CLICKHOUSE-2]
2017-11-02 17:35:12 +03:00
proller
e671c48a6e
Merge remote-tracking branch 'upstream/master' into fix4
2017-11-02 14:50:47 +03:00
KochetovNicolai
bfb4e8f3fe
zookeeper chroot fix ( #1430 )
...
* added root and identity section to zookeeper configuration [#CLICKHOUSE-3031]
* added root and identity section to zookeeper configuration [#CLICKHOUSE-3031]
* moved root section in zookeeper configuration [#CLICKHOUSE-3031]
* fixed root section in zookeeper configuration [#CLICKHOUSE-3031]
* added tests [#CLICKHOUSE-3031]
* replaced tabs to spaces in config files [#CLICKHOUSE-3031]
* fix build [#CLICKHOUSE-3031]
* added chech that root starts with '/' in zookeeper config file [#CLICKHOUSE-3031]
* added comments [#CLICKHOUSE-3031]
* Check if zookeeper chroot exists before start. Remove tailing slash form chroot. [#CLICKHOUSE-3400]
* added starting '/' to zookeeper path in ReplicatedMergeTree
2017-11-02 01:59:27 +03:00
proller
6da4f5a661
add locks
2017-11-01 22:56:07 +03:00
proller
3b58e9cd67
Fix atomic usage
2017-11-01 20:15:05 +03:00
proller
c5dcde0c78
fix atomic usage
2017-11-01 16:58:02 +03:00
proller
9bc029ba17
Merge remote-tracking branch 'upstream/master' into fix4
2017-11-01 14:43:48 +03:00
Alexey Milovidov
6aff58c747
Added backward compatibility for tables created with wrong sampling key; fixed tiny error [#CLICKHOUSE-2].
2017-11-01 04:45:10 +03:00
proller
47eae26d75
Fix build
2017-10-31 22:19:36 +03:00
proller
6debbf819a
Merge remote-tracking branch 'origin/fix4' into fix4
2017-10-31 18:36:04 +03:00
proller
9e73e08269
wip
2017-10-31 17:40:44 +03:00
Nikolai Kochetov
554bb889ac
merged with master
2017-10-31 15:04:13 +03:00
Nikolai Kochetov
2bd2bc6191
renamed feature columns, check CatBoost pool in data directory [#CLICKHOUSE-3305]
...
renamed feature columns, check CatBoost pool in data directory [#CLICKHOUSE-3305]
2017-10-31 14:50:23 +03:00
Nikolai Kochetov
9baa5b9e14
add non-feature columns as materialized to StorageCatBoostPool [#CLICKHOUSE-3305]
2017-10-31 14:50:22 +03:00
Nikolai Kochetov
d54e27cdcb
added TableFunctionCatBoostPool [#CLICKHOUSE-3305]
...
fix column descriptions parsing [#CLICKHOUSE-3305]
2017-10-31 14:50:22 +03:00
Nikolai Kochetov
8ebce6ef5d
StorageCatBoostPool [#CLICKHOUSE-3305]
2017-10-31 14:50:21 +03:00
proller
bd1d699441
Merge remote-tracking branch 'upstream/master' into fix4
2017-10-30 22:30:28 +03:00
Alexey Zatelepin
f2ebffb7f0
save TO table of a materialized view to the ATTACH query [#CLICKHOUSE-2]
2017-10-30 21:39:39 +03:00
proller
723cbb310d
Merge remote-tracking branch 'upstream/master' into fix4
2017-10-30 21:19:28 +03:00
alexey-milovidov
56ef2e9196
Merge pull request #1380 from yandex/catboost-models
...
Catboost models
2017-10-30 19:16:41 +03:00
proller
5d137e22eb
More atomics
2017-10-30 17:38:16 +03:00
proller
cda6473668
Merge remote-tracking branch 'upstream/master' into fix4
2017-10-30 16:45:22 +03:00
Alexey Zatelepin
141b85189e
always allow attaching tables with extended storage definition syntax [#CLICKHOUSE-3000]
2017-10-30 16:44:43 +03:00
proller
8b3d3cf56f
Merge remote-tracking branch 'upstream/master' into fix4
2017-10-30 16:19:19 +03:00
Vitaliy Lyudvichenko
4a55e5f94b
Hotfix of CREATE MATERIALIZED VIEW a TO b. [#CLICKHOUSE-2]
2017-10-30 15:14:36 +03:00
proller
b7dd5cd0ba
Merge remote-tracking branch 'upstream/master' into fix4
2017-10-30 13:42:34 +03:00
proller
956e1513c5
Merge remote-tracking branch 'upstream/master' into fix4
2017-10-30 13:22:20 +03:00
Alexey Milovidov
e36906cdf5
Fixed build [#CLICKHOUSE-2].
2017-10-28 06:59:42 +03:00
proller
ba49157f84
Merge remote-tracking branch 'upstream/master' into fix4
2017-10-28 01:06:09 +03:00
Alexey Milovidov
9e3daca437
Fixed build [#CLICKHOUSE-2].
2017-10-28 00:36:43 +03:00
Alexey Milovidov
b2892e058a
Fixed bad file name [#CLICKHOUSE-2].
2017-10-28 00:31:10 +03:00
Alexey Milovidov
5ab78c249d
Fixed build after merge [#CLICKHOUSE-2].
2017-10-28 00:18:06 +03:00
alexey-milovidov
9e200bdfd9
Merge branch 'master' into materialized-view-to
2017-10-27 23:21:27 +03:00
proller
c878af8740
Merge remote-tracking branch 'upstream/master' into fix4
2017-10-27 23:13:35 +03:00
alexey-milovidov
3b99b723d7
Merge pull request #1245 from yandex/CLICKHOUSE-3178
...
Atomic parts addition and removing
2017-10-27 23:03:33 +03:00
alexey-milovidov
b4bb6796c1
Merge pull request #1407 from yandex/CLICKHOUSE-3381
...
Ability to turn off deduplication, smart deduplication for MV
2017-10-27 23:03:25 +03:00
proller
07009d5072
Bughunt tsan
2017-10-27 18:34:26 +03:00
proller
1736d7d312
Allow build with system lib rdkafka
2017-10-27 17:40:41 +03:00
Alexey Milovidov
41c05f22be
Removed very old obsolete tests [#CLICKHOUSE-2].
2017-10-26 21:49:48 +03:00
Alexey Milovidov
6022201c26
Removed very old obsolete test [#CLICKHOUSE-2].
2017-10-26 21:38:40 +03:00
Alexey Milovidov
a27981b4ef
Get rid of double whitespaces [#CLICKHOUSE-2].
2017-10-26 21:36:23 +03:00
Vitaliy Lyudvichenko
51265506f8
Convey session setting up to inner table creation for MV. [#CLICKHOUSE-3381]
2017-10-26 18:39:56 +03:00
Vitaliy Lyudvichenko
a0d06c5ee0
Don't deduplicate a block inserted from MV if the source block is Ok. [#CLICKHOUSE-3381]
2017-10-26 17:58:00 +03:00
Nikolai Kochetov
371e234f01
changed ExternalLoader::getObjectsMap return type [#CLICKHOUSE-3305]
2017-10-26 17:26:03 +03:00
Vitaliy Lyudvichenko
602560cb2e
Update system.parts table. [#CLICKHOUSE-3178]
2017-10-26 17:20:21 +03:00
Vitaliy Lyudvichenko
483dfd1b44
Fixed "No part error" in replicated sender. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
397b8bcf92
Smarter parts deletion. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
d6ea9c3dcf
Fixed awful copypaste. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
b5c7eaa80e
Force data parts cleanup before repeat fetch. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
71833a7f0f
More correct procedure of parts deleting. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
db3a67a421
Add clearer RangeFiltered implementation. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
e2a12d1088
Introduced logic for MergeTree parts states. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
5787e8b257
Add state for MergeTree parts. [#CLICKHOUSE-3178]
...
And Removed obsolete code.
2017-10-26 17:16:06 +03:00
Alexey Zatelepin
ec963e3397
save evaluated storage parameters in ATTACH queries [#CLICKHOUSE-3000]
2017-10-26 17:07:15 +03:00
proller
9ccba5fad1
Fix includes
2017-10-26 14:46:57 +03:00
Alexey Zatelepin
6ada6d9aa5
remove dead code [#CLICKHOUSE-2]
2017-10-26 07:53:52 +03:00
Alexey Zatelepin
01c39dcf1c
fix CREATE TABLE bugs and idiosyncrasies: [#CLICKHOUSE-3000]
...
* fix segfault on ATTACH MATERIALIZED VIEW
* allow only TEMPORARY TABLEs (not databases or views)
* forbid choosing ENGINE for TEMPORARY tables
* fix segfault on CREATE TABLE t1 AS t2 where t2 is a View
2017-10-26 07:53:52 +03:00
Alexey Milovidov
65982a1642
Fixed exception messages [#CLICKHOUSE-2].
2017-10-25 22:17:37 +03:00
proller
4ffbca2d8c
Fix warnings ( #1406 )
...
* Log query id in executeQuery; Better type mismatch error; change format in report tool
* Better log query_id
* fix message
* Use c++11 thread_local instaed of gcc's __thread
* lock mutex before notifying waiting thread in sync insertion into distributed [#CLICKHOUSE-3379]
* Cmake: fix build without downloaded submodules (#1379 )
* fix
* ZooKeeper: fixed stack smashing with tryGet()
The tryGet() operation creates a 1MB buffer on stack. This may or
may not work depending on the default stack size for threads,
whether the stack protector is enabled or not, recursion depth,
and the actual value size.
This is probably going to slow down some ZK operations, but I don't
see how else this could work reliably with the existing API.
* increased timeout for test_insertion_sync_fails_with_timeout
* Update CHANGELOG_RU.md
* Update ZooKeeper.cpp
* Fix warnings
* Fixes
* Dont strip debug info from asan, tsan and other builds except releases
* Fix asan error causd by test 00144
* Fix empty log message (#CLICKHOUSE-3378)
2017-10-25 21:39:10 +03:00
alexey-milovidov
b5155916a8
Merge branch 'master' into materialized-view-to
2017-10-24 22:39:24 +03:00
Alexey Zatelepin
6bb34a4494
Merge branch 'master' into arbitrary-partitioning
...
Conflicts:
dbms/src/Storages/StorageFactory.cpp
2017-10-24 17:23:18 +03:00
Alexey Zatelepin
b6b5d1cf25
store rows count for part on disk to allow tables without fixed size columns [#CLICKHOUSE-3000]
2017-10-24 17:11:53 +03:00
alexey-milovidov
3c2155df0b
Update StorageKafka.cpp
2017-10-23 20:47:33 +03:00
alexey-milovidov
139e2080ae
Update StorageKafka.cpp
2017-10-23 20:47:33 +03:00
Marek Vavruša
3926851343
StorageKafka: use config string instead of just server name
2017-10-23 20:47:33 +03:00
Marek Vavruša
a7c391fbf7
StorageKafka: use std::vector instead of stack array for error string buffers
2017-10-23 20:47:33 +03:00
Marek Vavruša
f4c1149606
Settings: renamed schema to format_schema
2017-10-23 20:47:33 +03:00
Alexey Milovidov
c57a62611b
Removed StorageTrivialBuffer because it is underdeveloped [#CLICKHOUSE-2].
2017-10-23 20:38:56 +03:00
proller
c66228a746
Log query id in executeQuery; Better type mismatch error; change format in report tool ( #1372 )
...
* Log query id in executeQuery; Better type mismatch error; change format in report tool
* Better log query_id
* fix message
* Use c++11 thread_local instaed of gcc's __thread
* lock mutex before notifying waiting thread in sync insertion into distributed [#CLICKHOUSE-3379]
* Cmake: fix build without downloaded submodules (#1379 )
* fix
2017-10-23 20:32:39 +03:00
Nikolai Kochetov
5966574405
fix timeout lock in DistributedBlockOutputStream
2017-10-23 16:47:00 +03:00
Nikolai Kochetov
3317251e2f
fix jobs flags in DistributedBlockOutputStream
2017-10-23 15:00:56 +03:00
Marek Vavruša
975a7ada42
StorageMaterializedView: allow CREATE MATERIALIZED VIEW x TO y
...
This allows creation of materialized views without inner tables,
using an existing table for materialized rows instead.
This is useful for cases when you want to detach the materializing
view, but keep the already materialized data readable, especially
when the inner table is replicated.
2017-10-21 13:34:59 -07:00
Alexey Zatelepin
dd42d53856
additional help messages for extended syntax [#CLICKHOUSE-3000]
2017-10-20 23:02:55 +03:00
Alexey Zatelepin
c61d4106e8
allow loading all MergeTree settings from a query [#CLICKHOUSE-3000]
2017-10-20 21:28:45 +03:00
Alexey Zatelepin
a7c85e0c89
save index_granularity to ATTACH query if it wasn't set explicitly [#CLICKHOUSE-3000]
2017-10-20 21:28:44 +03:00
Alexey Zatelepin
1f76900500
move CREATE query rewriting for views to Interpreter [#CLICKHOUSE-2]
2017-10-20 21:28:43 +03:00
Alexey Zatelepin
75c65c7b59
use extended storage definition syntax for MergeTree engines [#CLICKHOUSE-3000]
2017-10-20 21:28:42 +03:00
Alexey Zatelepin
6b9ead4bd8
parse PARTITION BY, ORDER BY, SAMPLE BY, SETTINGS clauses in a storage definition [#CLICKHOUSE-3000]
2017-10-20 21:28:42 +03:00
Alexey Zatelepin
48dea685d0
use more typesafe AST objects in ASTCreateQuery [#CLICKHOUSE-3000]
2017-10-20 21:28:41 +03:00
Nikolai Kochetov
74a4c7508a
merged with master
2017-10-20 19:18:09 +03:00
Nikolai Kochetov
4262c00122
lock mutex before notifying waiting thread in sync insertion into distributed [#CLICKHOUSE-3379]
2017-10-19 22:52:45 +03:00
Alexey Zatelepin
e51f95872f
fix backward compatibility for new part format: [#CLICKHOUSE-3000]
...
* do not write out partition and minmax index files for old MergeTreeData format
* download the part from another replica if there are missing or extra files
2017-10-19 21:24:30 +03:00
Marek Vavruša
927c0f7b74
dbms: Partially revert previous change
...
Instead of trying to convert long/unsigned long to Poco types, just
don't use them.
2017-10-13 23:46:10 -07:00
Marek Vavruša
8a0571af24
dbms: Better fix for missing unsigned long to Poco::UInt64 alias
2017-10-13 21:39:14 -07:00
Marek Vavruša
70543200be
dbms: Fix build with clang after Poco update
...
In the current version of Poco, unsigned long no longer aliases to
UInt64 with LP64. The size_t aliases to unsigned long with clang,
so all the uses of size_t instead of UInt64 when interacting with
Poco interfaces are gone. I replaced uses with UInt64 where it makes
sense, and added an overloaded function for readVarUInt() to support size_t.
2017-10-13 18:26:24 -07:00
Marek Vavruša
2ac5a743cc
dbms: fix build with OS X built-in clang
...
The built-in clang doesn’t support value() for
`std::experimental::optional`. It however supports
dereference operator, which is basically the
same thing:
```
/clickhouse/dbms/src/DataStreams/NullableAdapterBlockInputStream.cpp:83:67: error: call to unavailable member function 'value':
res.insert({elem.column, elem.type, rename[i].value()});
~~~~~~~~~~^~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/experimental/optional:547:17: note: candidate function has been explicitly made unavailable
value_type& value()
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/experimental/optional:539:33: note: candidate function has been explicitly made unavailable
constexpr value_type const& value() const
```
2017-10-13 18:12:29 -07:00
proller
4c7850fdc2
Optional kafka ( #1355 )
...
* Zookeeper include fix
* Update submodule contrib/poco
* Fix zookeeper submodule ho-to-make doc
* Update zookeeper submodule
* Update submodule zookeeper
* Fix compile with external zookeeper
* Optional kafka
* fix
* Fix
* fix
2017-10-14 03:53:01 +03:00
alexey-milovidov
9ccdb5420b
Merge branch 'master' into upstream-add-kafka
2017-10-13 23:52:42 +03:00
alexey-milovidov
adedf47715
Update StorageKafka.cpp
2017-10-13 23:18:43 +03:00
proller
49f8080e52
Small debud improvement
2017-10-13 21:44:26 +03:00
Amos Bird
f30841d5ab
Fix SummingMergeTree argument checking logic.
...
This patch fixes the Nested Column Name checking logic, which allows nested
columns be explicitly specified in SummingMergeTree engine.
2017-10-13 15:42:32 +03:00
Vladimir Chebotarev
1e0241e262
dbms: CompressionSettingsSelector. [#METR-21516]
2017-10-13 04:08:23 +03:00
Vladimir Chebotarev
4e313f3732
dbms: Added compression level for ZSTD. [#METR-26742]
2017-10-13 04:08:23 +03:00
Alexey Milovidov
d3d976a6fb
Misc [#CLICKHOUSE-2].
2017-10-12 23:45:55 +03:00
proller
b993667156
Try fix strange terminate ( #1329 )
...
* Tests: External: rename --use_http => --no_http and fix
* Try fix strange terminate
2017-10-12 23:42:58 +03:00
Alexey Milovidov
3a6705af0f
Improvement [#CLICKHOUSE-2].
2017-10-12 23:34:01 +03:00
Vitaliy Lyudvichenko
62ea1133dd
Disable part sendings and fetches before ALTER. [#CLICKHOUSE-3343]
2017-10-12 23:26:54 +03:00
KochetovNicolai
83925f1d5e
Fix array writing ( #1314 )
...
* changed MergedBlockOutputStream [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* disabled checkNoMultidimensionalArrays [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* added test [#CLICKHOUSE-3341]
* fixed test [#CLICKHOUSE-3341]
* refactoring and comments [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* Update ColumnArray.h
2017-10-12 23:13:26 +03:00
alexey-milovidov
c1285c7d6b
Update MergeTreeDataMerger.cpp
2017-10-12 22:28:24 +03:00
Vitaliy Lyudvichenko
cabf6d7799
Add better logging if OPTIMIZE cannot be executed. [#CLICKHOUSE-2]
2017-10-12 22:28:24 +03:00
Vitaliy Lyudvichenko
a65e8d9ffc
Less noisy logging. [#CLICKHOSUE-2]
2017-10-12 22:28:24 +03:00
Alexey Milovidov
d468473d62
Fixed FREEZE PARTITION: using only active data parts; acquire snapshot of parts [#CLICKHOUSE-3369].
2017-10-12 21:21:17 +03:00
Alexey Milovidov
4814eb7072
Whitespaces [#CLICKHOUSE-2].
2017-10-11 17:41:49 +03:00
Marek Vavruša
7fc08389c9
Storages: added Kafka table engine (read-only)
...
Added a new table engine backed by Apache Kafka,
it allows near real-time ingestion or ETL with
exactly-once semantics.
It doesn’t store any data on disk, so data must
be materialized into a physical table to allow
random access.
Currently it only supports reading, no insertion.
2017-10-10 08:33:00 -07:00
Marek Vavruša
4fb570fa5e
IStorage: allow notification on dependency change
...
This allows sending notifications to supported
table engines when their dependencies change.
For example, a table can be notified when a
MATERIALIZED VIEW is attached to it.
This is a building block for building pipelines.
2017-10-10 08:33:00 -07:00
proller
19042816c4
Fix compile with boost 1.65.1+ and clang 3.8 ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222439 ) ( #1325 )
2017-10-06 19:26:32 +03:00
Nikolai Kochetov
61bef2adf1
added ExternalLoader [#CLICKHOUSE-3305]
2017-10-06 13:31:06 +03:00
Alexey Zatelepin
6e57272052
don't use partition value as a prefix for FREEZE PARTITION [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
f1a8b9bfa1
add comments [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
61f0b32757
forbid ALTER of partition key columns for now [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
1be62b567e
safeguards to protect against distinct partition values with the same partition_id [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
728a23f60e
allow creation of custom-partitioned tables with experimental syntax [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
a10ba0cd91
serialize partition key in Replicated tables metadata [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
909b46de0f
add MergeTreeDataFormatVersion constant [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
68cb592277
allow arbitrary partition literals in ALTER PARTITION queries [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
f0995f2741
partition serialization into id and text [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
25bb444d5a
absence of partitioning works [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
71ebf67f2e
encapsulate partition and minmax_idx load/store code [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
6906921932
load partition and minmax index from disk [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
e9f93028b8
serialize partition and minmax index values [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
2f80c150db
save MergeTree data format version and parse part names depending on it [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Nikolai Kochetov
322e56c692
fix reading with preferred_block_size_bytes = 0
2017-09-24 02:16:30 +03:00
Alexey Zatelepin
df58949a68
make exit out of the loop possible when ZooKeeper is unavailable [#CLICKHOUSE-3259]
2017-09-20 06:05:20 +03:00
Alexey Zatelepin
ba87fa395c
be more conservative when deleting replication queue items in PartCheckThread [#CLICKHOUSE-3258]
2017-09-20 06:05:20 +03:00
proller
0a0e04f1a5
Fix includes
2017-09-18 21:52:47 +03:00
Alexey Milovidov
86c46ad1bd
Unification [#CLICKHOUSE-2].
2017-09-15 15:16:12 +03:00
Vitaliy Lyudvichenko
826c354ff5
Fixed merges progress bar. [#CLICKHOUSE-2]
2017-09-15 01:04:13 +03:00
Vadim Skipin
e0a1e6982b
Context parameter added to the IDatabase methods
2017-09-11 21:29:26 +03:00
proller
5054d50307
Remove too noisy message (#CLICKHOUSE-3304)
2017-09-11 21:26:43 +03:00
Alexey Milovidov
cd540c2674
Replaced Mersenne Twister to PCG-Random [#CLICKHOUSE-2].
2017-09-10 02:17:38 +03:00
Alexey Milovidov
5a8f47a640
Fixed not an issue, shown by TSan [#CLICKHOUSE-2].
2017-09-10 02:07:32 +03:00
Alexey Milovidov
a6d5e9c7e8
Fixed not an issue, shown by TSan [#CLICKHOUSE-2].
2017-09-10 02:04:22 +03:00
Alexey Milovidov
94b975e7f9
Removed function deprecated in C++ [#CLICKHOUSE-3174].
2017-09-09 02:31:18 +03:00
Alexey Milovidov
ed1c0820f0
Fixed minor issue found by Coverity [#CLICKHOUSE-3285].
2017-09-09 02:25:42 +03:00
Alexey Milovidov
a81028377e
Implemented some suggestions from clang-tidy (part 9) [#CLICKHOUSE-3301].
2017-09-08 08:03:21 +03:00
Alexey Milovidov
dc4976f562
Implemented some suggestions from clang-tidy (part 8) [#CLICKHOUSE-3301].
2017-09-08 07:58:57 +03:00
Alexey Milovidov
d29c77adea
Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301].
2017-09-08 06:47:27 +03:00
Alexey Milovidov
6307661c35
Addition to prev. revision [#CLICKHOUSE-3300].
2017-09-08 00:26:25 +03:00
Alexey Milovidov
8b313ab99e
Fixed warnings found by cppcheck [#CLICKHOUSE-3300].
2017-09-08 00:04:48 +03:00
Alexey Milovidov
0dcee75180
Supporessed useless false positive errors found by cppcheck [#CLICKHOUSE-3300].
2017-09-07 22:13:37 +03:00
Alexey Milovidov
d82b87aaef
Fixed redundand code in better way [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Vitaliy Lyudvichenko
d55d5eca46
Remove extra Context reference and add required ones. Part 2. [#CLICKHOUSE-3117]
2017-09-06 04:18:07 +03:00
Alexey Milovidov
48ab039501
Unify serialization of complex data types: development [#CLICKHOUSE-2838].
2017-09-05 05:36:35 +03:00
Alexey Milovidov
4d97959e57
Merge branch 'master' into unify-data-types-that-serialized-with-multiple-streams
2017-09-04 04:11:00 +03:00
Alexey Milovidov
87fab3396e
Fixed build [#CLICKHOUSE-2].
2017-09-01 21:22:03 +03:00
Alexey Milovidov
40884640a1
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-01 21:21:05 +03:00
Alexey Milovidov
2af8747164
Removed obsolete code [#CLICKHOUSE-3270].
2017-09-01 21:21:01 +03:00
alexey-milovidov
775d95888a
Merge pull request #1163 from yandex/CLICKHOUSE-2931
...
Introduce SYSTEM queries
2017-09-01 20:45:29 +03:00
Vitaliy Lyudvichenko
88c9dcbb3d
Changed method signature. [#CLICKHOUSE-3246]
2017-09-01 20:45:05 +03:00
Vitaliy Lyudvichenko
566160c048
Use FIFO lock in IStorage. [#CLICKHOUSE-3246]
2017-09-01 20:45:05 +03:00
proller
1a8e22c37f
Allow compile on 32bit systems ( #1175 )
...
* Trying compile under 32bit..
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
* clnag-format of Split ComplexKeyCacheDictionary
* wip
* Requested changes
* wip
* wip
* Fix boost 1.64 and gcc7+ compile errors
* More fixes
* wip
* Fix arm build
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* clean
* fix
* wip
* wip
* clean
* clean
* wip
* wip
* Update MergeTreeSettings.h
* Requested changes
* Requested changes
* Requested changes
* Requested changes
2017-09-01 20:21:03 +03:00
Nikolai Kochetov
937f37c489
fixed reading of empty block in prewhere [#CLICKHOUSE-3266]
2017-09-01 15:18:40 +03:00
Nikolai Kochetov
a9e2a17f69
fixed estimateNumRows in MergeTreeBlockSizePredictor; fixed reading of empty block in prewhere; added test [#CLICKHOUSE-3266]
2017-09-01 15:18:40 +03:00
Alexey Zatelepin
d2847f22af
PR fixes [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
61987df169
check alter of partition key columns [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
dc5809ed8d
get rid of unneeded variable [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
34ac0e0876
remove unnecessary include [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
14ba0a9acf
rename partition -> partition_id for clarity [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
645e4b7a53
generalize MinMax index [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
5471979f46
generic partitioning of inserted blocks [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
be1c62d7f8
split partition and minmax index [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
99969ab77a
Introduce MergeTreePartitionIndex. Isolate its loading code. [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
alexey-milovidov
5d14855989
Merge branch 'master' into CLICKHOUSE-2931
2017-08-31 00:23:39 +03:00
Alexey Milovidov
495daffa16
Miscellaneous [#CLICKHOUSE-2].
2017-08-30 21:13:32 +03:00
Vitaliy Lyudvichenko
5916d823ef
Fix deadlock in case of using Buffer table with CLEAR COLUMN IN PARTITION. [#CLICKHOUSE-3238]
2017-08-30 17:34:40 +03:00
Alexey Milovidov
e4eb6f0cfb
Fixed bad translation [#CLICKHOUSE-2].
2017-08-29 22:02:07 +03:00
Alexey Milovidov
709eba2a00
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-29 21:51:58 +03:00
Alexey Milovidov
04af7a3349
Fixed bad translation [#CLICKHOUSE-2].
2017-08-29 21:51:48 +03:00
Vitaliy Lyudvichenko
84660029ec
Don't leave trash part nodes in ZK in case of deleting non-existing duplicated parts. [#CLICKHOUSE-3252]
2017-08-29 20:49:37 +03:00
Alexey Milovidov
8d7937cc30
Fixed bad translation [#CLICKHOUSE-2].
2017-08-29 17:08:25 +03:00
Vadim Skipin
4dc36893d3
Keep config in context to avoid Application singleton usages
2017-08-28 22:19:06 +03:00
Vitaliy Lyudvichenko
48f5d8f1a3
Add SYSTEM DROP DNS CACHE. [#CLICKHOUSE-2931]
2017-08-28 20:27:16 +03:00
Vitaliy Lyudvichenko
fd63277b15
Unified spelling. [#CLICKHOUSE-2]
2017-08-28 18:27:25 +03:00
Vitaliy Lyudvichenko
37820f7f64
Don't leave trash parts in ZK in case of temporary errors. [#CLICKHOUSE-3252]
2017-08-28 18:27:25 +03:00
Nikolai Kochetov
c43a13cb81
fixed async insertion into local shard of distributed [#CLICKHOUSE-3245]
2017-08-23 15:44:18 +03:00
Alexey Milovidov
e25f232b5a
Raising limit on max size for merge (step 1 of 4) [#CLICKHOUSE-2]
2017-08-19 01:56:19 +03:00
Vitaliy Lyudvichenko
e52428ddb2
Fixed SIGSEGV in CREATE TABLE AS <MV>. MV without ENGINE is forbidden! [#CLICKHOUSE-2]
...
Resolves #1112
Resolves #598
2017-08-19 00:10:53 +03:00
Alexey Milovidov
e01c23267a
Merge branch 'master' into unify-data-types-that-serialized-with-multiple-streams
2017-08-18 22:41:27 +03:00
Vadim Skipin
61f65e97a8
Fix typo
2017-08-18 22:38:56 +03:00
Vitaliy Lyudvichenko
f28d0cff3c
Add more detailed exception message. [#CLICKHOUSE-3234]
2017-08-17 23:06:38 +03:00
Nikolai Kochetov
850bc9f19d
fixed reading const zero column in prewhere
2017-08-17 23:06:00 +03:00
proller
175cd99288
Freebsd fixes: fix build with libc++, fix find system lib double-conversion ( #1109 )
...
* Cmake: Don't detect and use -no-pie flag with clang
* Camke: find_unwind: Fix disable on arm
* Freebsd fixes: fix build with libc++, fix find system lib double-conversion
2017-08-17 00:01:43 +03:00
Alexey Milovidov
3a86673aea
Fixed error when part could become broken during ALTER MODIFY of element of Nested column [#CLICKHOUSE-3232].
2017-08-16 22:41:52 +03:00
Alexey Milovidov
164ad05ae1
Little better [#CLICKHOUSE-3231].
2017-08-16 22:22:49 +03:00
Alexey Zatelepin
0185fd4542
fix parsing min-max dates from part name [#CLICKHOUSE-3000]
2017-08-15 23:03:59 +03:00
Alexey Zatelepin
372801c59b
fix comments [#CLICKHOUSE-3000]
2017-08-15 22:30:52 +03:00
Alexey Zatelepin
0df4ae6b02
do not use unnecessary temporary objects to query a set of parts [#CLICKHOUSE-3000]
2017-08-15 22:30:52 +03:00
Alexey Zatelepin
f25f0cd759
reduce number of places where partitioning by month is assumed [#CLICKHOUSE-3000]
2017-08-15 22:30:52 +03:00
Vitaliy Lyudvichenko
8a14cc49ff
asyncMulti() -> multi(). [#CLICKHOUSE-3221]
2017-08-15 19:18:02 +03:00
Alexey Zatelepin
3f3b7f61e2
always send changed settings for remote connections [#CLICKHOUSE-3151]
2017-08-13 12:17:09 +03:00
Alexey Zatelepin
ee457eca8a
remove shard multiplexing code, simplify [#CLICKHOUSE-3151]
2017-08-13 12:17:09 +03:00
Alexey Zatelepin
133be4d739
move and rename things [#CLICKHOUSE-3151]
2017-08-13 12:17:09 +03:00
alexey-milovidov
9b99dfb53d
Merge pull request #1031 from yandex/wait-for-insertion-in-distributed
...
Wait for insertion in distributed
2017-08-11 21:35:13 +03:00
Nikolai Kochetov
24b5a59f8c
merged with remote [#CLICKHOUSE-3033]
2017-08-11 18:38:46 +03:00
Nikolai Kochetov
90940d8423
Cluster and DistributedBlockOutputStream refactoring [#CLICKHOUSE-3033]
2017-08-11 18:02:07 +03:00
Vitaliy Lyudvichenko
cd3a696d8b
Add requested changes. [#CLICKHOUSE-3207]
2017-08-10 23:09:05 +03:00
Vitaliy Lyudvichenko
351a0905d5
Implemented fast block and parts cleaning. [#CLICKHOUSE-3207]
2017-08-10 23:09:05 +03:00
Alexey Milovidov
e6739cc35d
Whitespace [#CLICKHOUSE-2].
2017-08-10 22:41:21 +03:00
alexey-milovidov
4398d71ef5
Update StorageDistributed.h
2017-08-10 07:37:35 +03:00
alexey-milovidov
0282d516a4
Update DistributedBlockOutputStream.cpp
2017-08-10 07:10:36 +03:00
alexey-milovidov
2717c94a36
Update DistributedBlockOutputStream.cpp
2017-08-10 07:05:16 +03:00
alexey-milovidov
0285f99c4e
Update DistributedBlockOutputStream.cpp
2017-08-10 06:54:02 +03:00
alexey-milovidov
57a9d22b0c
Update DistributedBlockOutputStream.cpp
2017-08-10 06:49:03 +03:00
alexey-milovidov
c665c4c4e5
Update DirectoryMonitor.h
2017-08-10 06:46:16 +03:00
alexey-milovidov
5773832979
Update DirectoryMonitor.cpp
2017-08-10 06:45:57 +03:00
Alexey Milovidov
e86d0b4a74
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-10 00:07:10 +03:00
Alexey Milovidov
56a5bb53fa
Miscellaneous [#CLICKHOUSE-2].
2017-08-10 00:07:01 +03:00
Vitaliy Lyudvichenko
27174d9dd2
Avoid many checks of sending parts if sendings fail due to network error. [#CLICKHOUSE-2]
2017-08-09 23:57:42 +03:00
Nikolai Kochetov
43dc201f49
merged with master
2017-08-08 15:11:49 +03:00
Vitaliy Lyudvichenko
00ce8c9603
Add ctime caching in MergeTree's cleaner. [#CLICKHOUSE-3173]
2017-08-08 03:28:43 +03:00
Nikolai Kochetov
ea2b486735
added threadpool to DistributedBlockOutputStream
2017-08-07 23:26:28 +03:00
Alexey Milovidov
fb2aff4704
Unification of data types, that is serialized with multiple streams [#CLICKHOUSE-2838].
2017-08-07 10:31:16 +03:00
Vitaliy Lyudvichenko
10c14cfccb
Small code enhancements according to clang-tidy. [#CLICKHOUSE-2931]
2017-08-04 17:35:36 +03:00
Nikolai Kochetov
63ec81e2e3
added threadpool for sync insertion into distributed
2017-08-03 20:42:31 +03:00
Nikolai Kochetov
0c15b2c6fc
fixed number of rows to read from first granula in mergetree
2017-08-03 15:58:04 +03:00
alexey-milovidov
ae8783aee3
Merge pull request #1045 from prog8/nocompression
...
Added compression NONE
2017-08-01 23:07:52 +03:00
alexey-milovidov
2ae6f1ebdb
Update MergeTreeDataWriter.cpp
2017-08-01 23:07:16 +03:00
Pawel Rog
d6a2056851
Applied changes requested by Alexey
2017-08-01 16:48:24 +02:00
Pawel Rog
9f799820d9
Applied changes requested by Alexey
2017-08-01 10:12:15 +02:00
Alexey Milovidov
6578fb2645
Fixed error [#CLICKHOUSE-3191].
2017-08-01 00:39:24 +03:00
alexey-milovidov
d174ebc5c9
Update MergeTreeDataWriter.cpp
2017-07-31 20:44:58 +03:00
alexey-milovidov
4877aa394c
Update MergeTreeData.cpp
2017-07-31 20:44:41 +03:00
Pawel Rog
3a6c444996
Merge branch 'master' into nocompression
2017-07-31 13:36:58 +02:00
Pawel Rog
e1ab721d3d
Use compression method from configs
2017-07-31 13:12:28 +02:00
Pawel Rog
a0cc54457e
Added compression NONE
2017-07-31 12:44:45 +02:00
Nikolai Kochetov
78991b25ee
fixed preferred_max_column_in_block_size_bytes disabling
2017-07-30 01:24:57 +03:00
Alexey Milovidov
8fb452e99a
Fixed wrong log message when removing temporary part after merge, that is not byte-identical than same part on replicas; added profile event; added fail-safe logic [#MTRSADMIN-3175].
2017-07-29 00:25:24 +03:00
proller
700d4e0904
Fix boost 1.64 and gcc7+ compile errors ( #1040 )
...
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
* clnag-format of Split ComplexKeyCacheDictionary
* Requested changes
* Fix boost 1.64 and gcc7+ compile errors
* More fixes
2017-07-28 23:41:51 +03:00
alexey-milovidov
6917eb3153
Update MergeTreeBaseBlockInputStream.cpp
2017-07-28 22:29:40 +03:00
Nikolai Kochetov
b714d2b514
fixed column size calculation for Array column in MergeTreeReader::readRows
2017-07-28 22:29:40 +03:00
Nikolai Kochetov
d9f4f9b0f9
changed skipping rows for Array columns in MergeTreeBaseBlockInputStream
2017-07-28 22:29:40 +03:00
Alexey Milovidov
dd1f54bce2
Changed Poco::RWLock to std::shared_lock [#APRILDEV-91].
2017-07-28 20:34:02 +03:00
Alexey Milovidov
3502d36d7d
Fixed build [#CLICKHOUSE-2].
2017-07-28 02:23:13 +03:00
Nikolai Kochetov
c88e8a79cc
merged with master
2017-07-27 18:43:46 +03:00
Nikolai Kochetov
2f8f199d08
separated connection pool creation from StorageDistributedDirectoryMonitor in StorageDistributed; fixed bugs from review [#CLICKHOUSE-3033]
2017-07-27 18:24:39 +03:00
Vitaliy Lyudvichenko
515271544d
Add detail comment. [#CLICKHOUSE-3173]
2017-07-27 11:19:20 +03:00
Vitaliy Lyudvichenko
445608afec
Fix an iterator pointing after std::end(). [#CLICKHOUSE-3173]
2017-07-27 11:19:20 +03:00
alexey-milovidov
73c2a1483d
Update ReplicatedMergeTreeCleanupThread.cpp
2017-07-27 11:19:20 +03:00
alexey-milovidov
dcd7354fb2
Update ReplicatedMergeTreeCleanupThread.cpp
2017-07-27 11:19:20 +03:00
alexey-milovidov
d6750880e0
Update ReplicatedMergeTreeCleanupThread.cpp
2017-07-27 11:19:20 +03:00
Vitaliy Lyudvichenko
cd5bb4d921
Add replicated_deduplication_window_seconds merge_tree parameter. [#CLICKHOUSE-3173]
2017-07-27 11:19:20 +03:00
Vitaliy Lyudvichenko
dcc4d3bff0
Avoid zxid overflow problem when cleaning old blocks used in the deduplication. [#CLICKHOUSE-3173]
2017-07-27 11:19:20 +03:00
Nikolai Kochetov
01a004050d
fixed MergeTreeBlockSizePredictor updating from empy block while reading
2017-07-26 20:03:09 +03:00
Alexey Milovidov
d57f5b81a4
Removed MaterializedView inheritance of View, as they are not related. Fixed error with Views [#CLICKHOUSE-3175].
2017-07-26 00:07:05 +03:00
Nikolai Kochetov
b3157aebb2
added synchronous insert into distributed table [#CLICKHOUSE-3033]
2017-07-25 22:42:36 +03:00
Vitaliy Lyudvichenko
03e5bf9471
Add support of parameters in aggregate function constructors. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Alexey Milovidov
4a4e863f9d
Fixed warning on clang 6 [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
alexey-milovidov
d3159ed2c5
Merge pull request #1015 from yandex/fix-performance-after-changing-reading
...
Fix performance after changing reading
2017-07-24 18:07:57 +03:00
Nikolai Kochetov
fcd50e3629
fixed comment
2017-07-24 18:06:32 +03:00
proller
57b9bcd354
Fix missing includes
2017-07-24 18:04:49 +03:00
Vitaliy Lyudvichenko
bc9ee54985
Don't throw exception in case of clearing empty part. [#CLICKHOUSE-2896]
2017-07-24 18:04:17 +03:00
Nikolai Kochetov
b55dcc9f93
cnanged comments; fixed 00443_preferred_block_size_bytes test
2017-07-24 16:59:03 +03:00
Alexey Milovidov
1e8547b3f6
Fixed regression [#CLICKHOUSE-3148].
2017-07-21 23:59:01 +03:00
Nikolai Kochetov
10bbededb0
merged with master
2017-07-21 21:10:14 +03:00
Nikolai Kochetov
bc0921a64e
added comments
2017-07-21 21:02:02 +03:00
Alexey Zatelepin
c939d2f96e
put Distributed inserts with different block structure into different batches [#CLICKHOUSE-3163]
2017-07-21 20:55:38 +03:00
Nikolai Kochetov
ca1957ab82
ignore preferred_max_column_in_block_size_bytes if zero [#CLICKHOUSE-3170]
2017-07-21 20:54:09 +03:00
Nikolai Kochetov
cc349b410e
set min block size as index granularity for max_block_size limit during reading [#CLICKHOUSE-3170]
2017-07-21 20:54:09 +03:00
Nikolai Kochetov
c64b65ee29
ignore preferred_max_column_in_block_size_bytes if zero [#CLICKHOUSE-3170]
2017-07-21 20:45:51 +03:00
Nikolai Kochetov
755d16b22d
set min block size as index granularity for max_block_size limit during reading [#CLICKHOUSE-3170]
2017-07-21 14:55:33 +03:00
Alexey Milovidov
c7b1e92522
Fixed error after merge [#CLICKHOUSE-3150].
2017-07-21 09:40:05 +03:00
alexey-milovidov
d4d266fa18
ColumnConst unification ( #1011 )
...
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* Fixed error in ColumnArray::replicateGeneric [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
2017-07-21 09:35:58 +03:00
alexey-milovidov
1a1112d8bb
Update MergeTreeBlockReadUtils.h
2017-07-20 23:45:23 +03:00
Nikolai Kochetov
0b7439469d
fixed MergeTreeBlockSizePredictor initialization for sample block
2017-07-20 23:45:23 +03:00
Nikolai Kochetov
00ae32c946
renamed approximate_number_of_rows_in_part to number_of_rows_in_part
2017-07-20 23:45:23 +03:00
Nikolai Kochetov
e612152584
changed initialization in MergeTreeBlockSizePredictor
2017-07-20 23:45:23 +03:00
Nikolai Kochetov
2afd84c40c
fixed is_reading_finished status assignment in MergeTreeRangeReader [#CLICKHOUSE-3161]
2017-07-19 19:39:18 +03:00
Nikolai Kochetov
b5e94ede62
fixed is_reading_finished status assignment in MergeTreeRangeReader [#CLICKHOUSE-3161]
2017-07-19 16:44:46 +03:00
Alexey Milovidov
6e6e9f9d38
Removed useless variable [#CLICKHOUSE-3161].
2017-07-19 04:05:39 +03:00
Nikolai Kochetov
7e293df9af
merged with master
2017-07-17 22:48:22 +03:00
Nikolai Kochetov
eae94edd6b
fixed vertical merge for ReplacingSortedBlockInputStream [#CLICKHOUSE-3131]
2017-07-17 22:40:30 +03:00
Alexey Milovidov
5c3ca0c16e
Inverted dependency in DataTypeFactory [#CLICKHOUSE-3149].
2017-07-16 07:11:11 +03:00
Alexey Milovidov
17786c0e6d
Added missing file [#CLICKHOUSE-3148].
2017-07-15 07:06:51 +03:00
Alexey Milovidov
9406b6a5aa
Get rid of ASTSet, because it is not really an AST and it lead to bugs [#CLICKHOUSE-3148].
2017-07-15 06:48:36 +03:00
Nikolai Kochetov
a13423e552
added vertical merge for ReplacingSortedBlockInputStream
2017-07-14 21:17:23 +03:00
Alexey Milovidov
1a0f5dd7cf
Getting rid of ASTSet (incomplete) [#CLICKHOUSE-2]
2017-07-14 03:33:37 +03:00
Nikolai Kochetov
283810e8ab
merged with master
2017-07-13 23:59:34 +03:00
Nikolai Kochetov
75be0b81d8
removed typeid_cast from IColumn.h
2017-07-13 23:58:19 +03:00
Nikolai Kochetov
210f14aaba
renamed IDataType::updateAvgValueSizeHints to IDataType::updateAvgValueSizeHint
2017-07-13 21:54:17 +03:00
Nikolai Kochetov
f3f217b40a
fixed tests
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
546012079c
fixed reading with zero max block size setting
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
e2d032b883
fixed reading with zero max block size setting
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
8ea812e669
better comment for MergeTreeRangeReader
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
f232afd2f8
round number of rows to nearest mark in MergeTreeBaseBlockInputStream
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
f1775af3f0
deleted commented code
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
30ed774bf7
refactoring and more comments in MergeTreeBaseBlockInputStream [#CLICKHOUSE-3065]
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
89386394aa
refactoring and more comments in MergeTreeBaseBlockInputStream [#CLICKHOUSE-3065]
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
8c65d6013e
added preferred_max_column_in_block_size_bytes setting, added filtration ratio prediction [#CLICKHOUSE-3065]
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
4470afc9a9
added estimateNumRowsMax to MergeTreeBlockSizePredictor based on max column size
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
6b29b3bd47
round number of rows to next mark in MergeTreeBaseBlockInputStream
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
d14f64af7b
delected commented logging code
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
586dff9126
delay reading for granulas if prewhere column is false during partial granula reading
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
86680f5513
fixed partial granula reading for const columns in prewhere
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
609711b20c
partial part reading with prewhere
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
c6d5ef6d30
added MergeTreeRangeReader
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
985e449bd3
added IDataType::updateAvgValueSizeHints; renamed PODArray::allocated_size to PODArray::allocated_bytes; renamed renamed IColumn::allocatedSize to IColumn::allocatedBytes; removed IColumn.h from IDataType.h
2017-07-13 19:49:09 +03:00
Alexey Milovidov
7068d1ff81
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
de75fa000b
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
83c8043193
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
1bab7fc344
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
4b1eeee1a3
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
5b5795633e
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Nikolai Kochetov
1cf669cc0a
made collectIdentifiersInFirstLevelOfSelectQuery static
2017-07-12 21:51:51 +03:00
Nikolai Kochetov
5ed5e8c75d
moved getRequestedColumns to StorageMerge::collectIdentifiersInFirstLevelOfSelectQuery
2017-07-12 21:51:51 +03:00
Nikolai Kochetov
5924b13f4c
fixed unnecessary columns removing for merge table on distibuted
2017-07-12 21:51:51 +03:00
Alexey Zatelepin
58d541b740
slightly more robust ReplicatedMergeTreePartCheckThread::TemporarilyStop [#CLICKHOUSE-3074]
2017-07-12 20:09:44 +03:00
Alexey Zatelepin
bdc529645e
fix cyclical yielding of leadership at startup [#CLICKHOUSE-3074]
2017-07-12 20:09:44 +03:00
Vitaliy Lyudvichenko
b843ea5b3f
Resolves #964 . Fixed input_format_skip_unknown_fields for negative numbers. [#CLICKHOUSE-3]
2017-07-11 21:36:51 +03:00
Nikolai Kochetov
ee66169d5e
added throw_if_column_not_found to FilterColumnsBlockInputStream [#CLICKHOUSE-3111]
2017-07-11 20:58:49 +03:00
Alexey Zatelepin
57ba50f585
allow batching Distributed inserts [#CLICKHOUSE-3126]
2017-07-11 20:56:17 +03:00
Alexey Zatelepin
4a98d83a3b
introduce replicated_can_become_leader merge_tree setting [#CLICKHOUSE-3109]
2017-07-11 20:44:35 +03:00
Alexey Milovidov
2bd84600d1
Miscellaneous [#CLICKHOUSE-2].
2017-07-11 04:20:40 +03:00
Alexey Milovidov
86eb4d2d06
Renamed Singleton to avoid conflicts with Arcadia* codebase [#DEVTOOLS-3343].
...
* - "Arcadia" is the name of Yandex's monorepo.
2017-07-10 07:34:14 +03:00
alexey-milovidov
b64b243a73
Merge pull request #945 from YiuRULE/master
...
Implement natively uuid type in Clickhouse
2017-07-10 07:00:45 +03:00
Alexey Milovidov
119961133c
Removed obsolete test [#CLICKHOUSE-3].
2017-07-10 06:47:20 +03:00
Alexey Milovidov
bf58b8cdb1
Fixed test [#CLICKHOUSE-3].
2017-07-10 06:45:04 +03:00
Alexey Zatelepin
89939a685a
Stream row sources from disk for vertical merge [#CLICKHOUSE-3118]
2017-07-09 21:57:06 +03:00
Marek Vavruša
ff73394124
PKCondition: infer index use with pk subexpression
...
By default only constraints explicitly matching
primary key expression (or expression wrapped in
a monotonic function) are eligible for part and
range selection. So for example, if index is:
(toStartOfHour(dt), UserID)
Then a query such as this resorts to full scan:
SELECT count() FROM t WHERE dt = now()
Intuitively, only parts with toStartOfHour(now())
could be selected, but it is less trivial to prove.
The primary key currently can be wrapped in a chain
of monotonic functions, so following would work:
toStartOfHour(dt) = toStartOfHour(now()) AND dt = now()
It must be however explicitly stated, if we wanted
to infer that we’d have to know the inverse function,
and prove that the inverse function is monotonic
on given interval. This is not practical as
there is no inverse function that for example undos
rounding, it isn’t strictly monotonic.
There are however functions that don’t transform
output range and preserve monotonicity on the
complete input range, such as rounding or casts
to a same or wider numeric type. This eliminates
the need to find inverse function, as no check for monotonicity over arbitrary interval is needed,
and thus makes this optimisation possible.
2017-07-09 17:13:51 +03:00
Nikolai Kochetov
f1ec4cd863
added FilterColumnsBlockInputStream into StorageMerge [#CLICKHOUSE-3111]
2017-07-05 20:14:17 +03:00
Alexey Milovidov
66638c4158
Fixed error in StorageDictionary [#CLICKHOUSE-2].
2017-07-05 19:36:45 +03:00
Guillaume Tassery
aeeb81fadf
Rename field in UInt128
2017-07-04 18:10:36 +02:00
Alexey Milovidov
032d12d431
Fixed translation error [#CLICKHOUSE-2].
2017-07-04 15:46:31 +03:00
Guillaume Tassery
cba9815981
Change Uuid to UUID datatype and make UInt128 a generic type
2017-07-04 12:42:53 +02:00
Alexey Milovidov
727ce48c23
Fixed error with selecting number of threads for distributed query processing [#CLICKHOUSE-3115].
2017-07-04 00:04:10 +03:00
Guillaume Tassery
525851ec68
sync master
2017-06-30 22:21:42 +02:00
Guillaume Tassery
1231952fca
Implement UUID type and toUuid function
2017-06-30 22:01:27 +02:00
Alexey Zatelepin
9de4d8facb
allow loading missing setting from config [#CLICKHOUSE-3091]
2017-06-28 19:56:35 +03:00
Alexey Zatelepin
7cf413dea8
Revert "Raised up limit on max size of parts to merge [#CLICKHOUSE-3091]."
...
This reverts commit 425156e32c
.
2017-06-28 15:32:52 +03:00
Vitaliy Lyudvichenko
97f7b46ebd
Fixed CLEAR COLUMN test in case of deduplication rollback. [#CLICKHOUSE-2]
2017-06-26 19:34:38 +03:00
Vitaliy Lyudvichenko
9c0da6e698
Addition to previous commit. Fix error code, rename test tables. [#CLICKHOUSE-2]
2017-06-26 17:35:26 +03:00
Vitaliy Lyudvichenko
49cbc33a6b
Fix ZK exception in case of concurrent INSERTs in new partition. [#CLICKHOUSE-2]
2017-06-26 17:21:25 +03:00
Vitaliy Lyudvichenko
b53d6976b3
Fix build after merge. [#CLICKHOUSE-2]
2017-06-26 15:47:15 +03:00
Alexey Milovidov
a48a21f593
Merge branch 'master' into CLICKHOUSE-2896
2017-06-26 11:54:58 +03:00
alexey-milovidov
e122cf0bcf
Merge pull request #914 from yandex/database-dictionary
...
DatabaseDictionary
2017-06-25 22:02:45 +03:00
Alexey Milovidov
8f145da1e8
Preparation [#CLICKHOUSE-2].
2017-06-25 06:43:59 +03:00
Alexey Milovidov
dbc61a6a43
Added support for SQL-style quoting [#CLICKHOUSE-20].
2017-06-25 06:43:37 +03:00
Alexey Milovidov
275a1d4651
Improvement [#CLICKHOUSE-3091].
2017-06-25 05:48:38 +03:00
Alexey Milovidov
90a1ae1062
Fixed error in prev. revision [#CLICKHOUSE-3091].
2017-06-25 05:22:10 +03:00
Alexey Milovidov
516b095423
Fixed error in prev. revision [#CLICKHOUSE-3091].
2017-06-25 04:54:25 +03:00
Alexey Milovidov
8228acd3ea
Removed obsolete code that was relevant only in extremely rare case of transforming CollapsingMergeTree to ReplicatedCollapsingMergeTree through ATTACHing data parts and while some considerations about data order in table is important [#CLICKHOUSE-3091].
2017-06-25 03:51:51 +03:00
Alexey Milovidov
3c660fd65b
Fixed translation errors [#CLICKHOUSE-3091].
2017-06-25 03:17:08 +03:00
Alexey Milovidov
28e9e06992
Preparation: locking block number only after write to filesystem; removed obsolete code [#CLICKHOUSE-3091].
2017-06-25 03:01:10 +03:00
Alexey Milovidov
c7f35997f5
Removed unused variable [#CLICKHOUSE-2].
2017-06-25 01:36:43 +03:00
proller
4db8d09de9
Reorganize includes. part 1 ( #921 )
...
* Make libunwind optional. Allow use custom libcctz
* fix
* Fix
* fix
* Update BaseDaemon.cpp
* Update CMakeLists.txt
* Reorganize includes. part 1
* Update dbms_include.cmake
* Reorganize includes. part 2
* Reorganize includes. part 3
* dbms/src/Common/ThreadPool -> libs/libcommon
* Reorganize includes. part 4
* Fix print_include_directories
* Update thread_creation_latency.cpp
* Update StringRef.h
2017-06-23 23:22:35 +03:00
Nikolai Kochetov
adb632319d
DatabaseDictionary creates new storage for every create table query; drop table works untill restart
2017-06-23 18:55:45 +03:00
Alexey Milovidov
061c214c16
Fixed error [#CLICKHOUSE-3074].
2017-06-23 09:57:55 +03:00
Alexey Milovidov
f409cad0ac
Miscellaneous [#CLICKHOUSE-3091].
2017-06-23 09:18:00 +03:00
Alexey Milovidov
7d732343eb
Fixed error in prev. revision [#CLICKHOUSE-3091].
2017-06-22 22:52:06 +03:00
Alexey Milovidov
425156e32c
Raised up limit on max size of parts to merge [#CLICKHOUSE-3091].
2017-06-22 21:29:40 +03:00
Alexey Milovidov
6eb06774d3
Addition to prev. revision [#CLICKHOUSE-3091].
2017-06-22 19:29:15 +03:00
Alexey Milovidov
c96719685c
Lowered max_delay_to_insert to one second, because higher values are non practical and could be harmful for usual failover logic in client apps [#CLICKHOUSE-3091].
2017-06-22 19:17:01 +03:00
Alexey Milovidov
941c281221
Updated comment [#CLICKHOUSE-3091].
2017-06-22 19:09:03 +03:00
Alexey Milovidov
22e7070fb0
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-22 19:07:57 +03:00
Alexey Milovidov
bb7fc04e2b
Whitespaces [#CLICKHOUSE-2].
2017-06-22 19:07:52 +03:00
Nikolai Kochetov
4c114bc3a1
added DatabaseDictionary
2017-06-22 18:44:19 +03:00
Vitaliy Lyudvichenko
d7db235269
Better names and log messages. [#CLICKHOUSE-2896]
2017-06-22 18:32:09 +03:00
Vitaliy Lyudvichenko
99f502d5e0
Support OPTIMIZE query on non-leader replica. [#CLICKHOUSE-2]
2017-06-22 18:01:08 +03:00
proller
51b41aa0e3
Fix build
2017-06-22 17:14:13 +03:00
Vitaliy Lyudvichenko
eff3588f28
Rename DROP COLUMN FROM PARTITION -> CLEAR COLUMN IN PARTITION. [#CLICKHOUSE-2896]
2017-06-22 16:18:19 +03:00
Alexey Milovidov
4af5a9c7ba
Merge branch 'cache_parts_that_cannot_be_merged'
2017-06-22 03:56:44 +03:00
Alexey Milovidov
946c275dfb
Added missing case for broken files in StorageDistributed [#CLICKHOUSE-3091].
2017-06-22 03:56:17 +03:00
Alexey Milovidov
db546dc827
Caching parts that cannot be merged for some time [#CLICKHOUSE-3091].
2017-06-22 03:28:44 +03:00
Vitaliy Lyudvichenko
53adb891b3
Add replicated DROP COLUMN FROM partition for optimistic case. [#CLICKHOUSE-2896]
2017-06-22 00:56:38 +03:00
Alexey Milovidov
7bdc87adf0
Loosened threshold on broken parts in filesystem [#CLICKHOUSE-3076].
2017-06-21 22:11:11 +03:00
Alexey Milovidov
5c322f5756
Loosened threshold on amount of replica inconsistency to refuse server startup [#CLICKHOUSE-3076].
2017-06-21 22:07:08 +03:00
Alexey Milovidov
6df5d556e5
Changed namespace [#DEVTOOLS-3381].
2017-06-21 11:35:38 +03:00
Alexey Milovidov
604de2bfeb
Better [#DEVTOOLS-3381].
2017-06-21 04:24:05 +03:00
Vitaliy Lyudvichenko
534b766250
CREATE of MergeTree checks that data dir is empty. [#CLICKHOUSE-3083]
2017-06-20 10:49:18 +03:00
Vitaliy Lyudvichenko
a098fb170a
Avoid creating multiple global Context. [#CLICKHOUSE-3083]
2017-06-20 10:49:18 +03:00
Георгий Кондратьев
47161f8425
Specify all link dependencies [#DEVTOOLS-3381]
...
Tested with:
export LDFLAGS="-Wl,--no-undefined"
cmake -DUSE_STATIC_LIBRARIES=OFF -DBUILD_SHARED_LIBS=ON
2017-06-20 00:53:12 +03:00
Alexey Milovidov
05accbdcbe
Removed cyclic dependency [#DEVTOOLS-3381].
2017-06-19 23:06:35 +03:00
Alexey Milovidov
401d922a4b
Tiny modifications [#CLICKHOUSE-3044].
2017-06-18 09:11:49 +03:00
Alexey Milovidov
d64f2beaf8
Fixed build [#CLICKHOUSE-3044].
2017-06-18 08:43:29 +03:00
Alexey Zatelepin
3c6b278b3d
fix infinite recursion in StorageMerge::isRemote() [#CLICKHOUSE-2911]
2017-06-16 19:19:15 +03:00
Alex Zatelepin
4cd9df27ab
fix infinite loop in StorageMerge::isRemote() [#CLICKHOUSE-2911]
2017-06-16 03:21:00 +03:00
alexey-milovidov
43a18b164d
Merge pull request #883 from yandex/fix-merge-global-in
...
Fix GLOBAL IN for Merge table over Distributed tables
2017-06-15 23:09:51 +03:00
Alexey Zatelepin
8ee85e6440
calculate isRemote() from underlying tables of StorageMerge [#CLICKHOUSE-2911]
2017-06-15 22:24:59 +03:00
Vitaliy Lyudvichenko
63ac609e8b
Avoid overestimation of avg. column element size. [#CLICKHOUSE-3058]
2017-06-15 20:33:03 +03:00
alexey-milovidov
a669136ac2
Merge branch 'master' into CLICKHOUSE-5
2017-06-13 07:30:36 +03:00
alexey-milovidov
e03ae570f7
Merge pull request #763 from yandex/storage-dictionary
...
Storage dictionary
2017-06-13 07:20:46 +03:00
Vitaliy Lyudvichenko
49eab81d9a
Fix: ReshardingWorker doesn't finish if ZooKeeper session expired. [#CLICKHOUSE-2]
2017-06-13 07:15:25 +03:00
Alexey Milovidov
43fedfecea
Get rid of INSERT ID [#CLICKHOUSE-31].
2017-06-13 07:13:20 +03:00
Alexey Milovidov
45c76803a9
Moved table functions to separate library; fixed errors; improved testability [#CLICKHOUSE-31].
2017-06-10 12:04:31 +03:00
Alexey Milovidov
d5ca92093a
Fixed comment [#CLICKHOUSE-2].
2017-06-10 08:30:07 +03:00
Nikolai Kochetov
679cccc52d
renamed *.hpp to *.h in DictionaryBlickInputStream
2017-06-08 16:35:35 +03:00
Nikolai Kochetov
bff77d1bae
merged with master
2017-06-08 15:00:11 +03:00
Alexey Milovidov
38885d00a3
Merge branch 'storage-startup-method'
2017-06-07 02:27:16 +03:00
Alexey Milovidov
dc0d5b604f
Addition to prev. revision [#CLICKHOUSE-2].
2017-06-06 22:06:44 +03:00
Alexey Milovidov
50b84fcc9d
Removed duplicate code [#CLICKHOUSE-2].
2017-06-06 21:48:38 +03:00
Alexey Milovidov
0d7d379b44
Removed duplicate code [#CLICKHOUSE-2].
2017-06-06 21:36:13 +03:00
Alexey Milovidov
9c5ddce06d
Get rid of .hpp files [#CLICKHOUSE-2].
2017-06-06 20:18:32 +03:00
Alexey Milovidov
9ebf0b633f
Added IStorage::startup method to avoid starting replication and merging threads too early during server startup [#CLICKHOUSE-2].
2017-06-06 20:06:14 +03:00
Alexey Milovidov
153693cd4c
Non significant modifications [#CLICKHOUSE-3].
2017-06-05 23:43:23 +03:00
Vitaliy Lyudvichenko
1e4906816c
Avoid SIGSEGV in SystemLog destructors. [#CLICKHOUSE-3023]
2017-06-05 17:25:10 +03:00
Alexey Milovidov
8fb0afe74e
Fixed build of tests [#CLICKHOUSE-2].
2017-06-02 22:35:37 +03:00
alexey-milovidov
147b2f62b2
Update StorageReplicatedMergeTree.cpp
2017-06-02 20:02:59 +04:00
alexey-milovidov
12e6024abd
Update StorageReplicatedMergeTree.h
2017-06-02 20:02:59 +04:00
Vitaliy Lyudvichenko
6bddd4c1c5
Clean incomplete part nodes in ZooKeeper. [#CLICKHOUSE-3040]
2017-06-02 20:02:59 +04:00
Alexey Milovidov
ba499585cd
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-02 18:54:43 +03:00
Alexey Milovidov
80080f1ad6
Small refinements [#CLICKHOUSE-2].
2017-06-02 18:54:39 +03:00
Vitaliy Lyudvichenko
3a2c1a195d
Add ZooKeeper session recovering and trashy integration test. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
9fd8d6b79f
Add ALTER queries. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
209015574f
Workable version for CREATE DROP w/o ZK tests. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Nikolai Kochetov
d606436023
using MergeTreeDataPartChecksums to calculate marks_size in system.parts
2017-05-31 20:54:40 +04:00
Nikolai Kochetov
c58e98b607
added marks_size column in system.parts
2017-05-31 20:54:40 +04:00
Vitaliy Lyudvichenko
1a4b0eb355
Remove tmp part directories on server start. [#CLICKHOUSE-3044]
2017-05-31 18:01:25 +03:00
Nikolai Kochetov
7c736b12ef
added raw serialization functions for IColumn; changed key serialization in ComplexKeyCacheDictionary; style fixes
2017-05-29 20:26:45 +03:00
Nikolai Kochetov
787bf12572
merged with master
2017-05-29 20:23:14 +03:00
Alexey Milovidov
fa64d14f26
More readable temporary part names [#CLICKHOUSE-2].
2017-05-26 03:47:06 +03:00
Alexey Milovidov
ed44304c49
Removed obsolete commented code [#CLICKHOUSE-2].
2017-05-26 03:43:35 +03:00
alexey-milovidov
c79ebc586d
Merge pull request #825 from yandex/CLICKHOUSE-2989
...
Separate dirs for different part sources, fix RC during replicated alters
2017-05-26 04:42:03 +04:00
Alexey Milovidov
d35a586af2
Fixed deadlock when using executable dictionary source with cache or complex_key_cache layout [#CLICKHOUSE-3039].
2017-05-25 23:59:14 +03:00
alexey-milovidov
72822714c3
Merge branch 'master' into CLICKHOUSE-2989
2017-05-25 21:04:37 +04:00
Vitaliy Lyudvichenko
1e29795cf9
Fix race condition between cleanup and fetch thread. [#CLICKHOUSE-2989]
...
It was happening during ALTERs.
TODO: stop fetches during ALTER.
2017-05-25 13:08:52 +03:00
Alexey Zatelepin
e9f8f99e06
Correct index comparisons in case constants cannot be precisely casted [#CLICKHOUSE-3002]
2017-05-25 05:34:26 +04:00
Alexey Milovidov
a77369d082
Preparation: Storages do not modify query [#CLICKHOUSE-31].
2017-05-25 04:12:41 +03:00
Alexey Milovidov
557c3dc7f4
Preparation: removed support for unreplicated data in Replicated tables [#CLICKHOUSE-31].
2017-05-25 00:38:56 +03:00
Alexey Milovidov
48f65e9097
Preparation: untangling [#CLICKHOUSE-31].
2017-05-25 00:06:29 +03:00
Vitaliy Lyudvichenko
d9637c2980
MergeTreeDataPart refactoring. [#CLICKHOUSE-2989]
...
Use relative_path to store actual part path.
Use renameTo() to move parts.
2017-05-24 23:23:58 +03:00
Vitaliy Lyudvichenko
5618234ee8
Separate tmp part dirs for merges, fetches and inserts. [#CLICKHOUSE-2989]
2017-05-24 23:23:58 +03:00
Alexey Milovidov
8d570e2768
Renamed column "default_type" to "default_kind" in system.columns table to avoid ambiguity [#CLICKHOUSE-2].
2017-05-24 22:54:25 +03:00
Alexey Milovidov
0dd71e32e0
Preparations, part 8 [#CLICKHOUSE-31].
2017-05-23 23:04:42 +03:00
Alexey Milovidov
2b20eca06b
Preparations, part 4: StorageDistributed is initialized with const Context [#CLICKHOUSE-31].
2017-05-23 21:37:14 +03:00
Alexey Milovidov
ce581bbf35
Preparations, part 3 [#CLICKHOUSE-31].
2017-05-23 21:33:48 +03:00
Nikolai Kochetov
45c1beca2a
Merge branch 'master' into storage-dictionary
2017-05-23 13:44:03 +03:00
Alexey Milovidov
0c416be381
More simple code; fixed translation error [#CLICKHOUSE-2].
2017-05-23 04:09:47 +03:00
Alexey Milovidov
734b240490
TrivialBuffer: fixed build after merge [#CLICKHOUSE-2929].
2017-05-22 19:46:33 +03:00
Alexander Makarov
55bfaca662
StorageTrivialBuffer: added support for the replication [#CLICKHOUSE-2929]
2017-05-22 18:40:11 +04:00
Alexander Makarov
fdd636a785
fixup #2 : comments on English, proper classname, StorageFactory update and merging in 'flush' method without lock [#CLICKHOUSE-2929]
2017-05-22 18:40:11 +04:00
Alexander Makarov
f8e19de0e3
fixups after review [#CLICKHOUSE-2929]
2017-05-22 18:40:11 +04:00
alexey-milovidov
90e1767387
Update TrivialBuffer.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
2fdb7057ba
Update TrivialBuffer.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
10f188708b
Update TrivialBuffer.h
2017-05-22 18:40:11 +04:00
alexey-milovidov
84040d8a85
Update TrivialBuffer.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
1059c87828
Update TrivialBuffer.h
2017-05-22 18:40:11 +04:00
alexey-milovidov
3d009d153d
Update TrivialBuffer.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
4cb799307b
Update TrivialBuffer.h
2017-05-22 18:40:11 +04:00
alexey-milovidov
fd1403d4c4
Update TrivialBuffer.cpp
2017-05-22 18:40:11 +04:00
Alexander Makarov
dfabe90373
TrivialBuffer implementation [#CLICKHOUSE-2929]
2017-05-22 18:40:11 +04:00
Alexey Milovidov
0f252046ca
Preparations [#CLICKHOUSE-2]
2017-05-22 01:25:25 +03:00
Vitaliy Lyudvichenko
45c1856556
Fix wrong implementation of CastTypeBlockInputStream ( #807 )
...
* Fix wrong implementation of CastTypeBlockInputStream. [#CLICKHOUSE-2957]
* Fix typos and add comments. [#CLICKHOUSE-2957]
2017-05-20 18:47:40 +04:00
Alexey Zatelepin
9c6829e982
Fix replica delay counting in case of ZooKeeper communication problems [#CLICKHOUSE-2141]
2017-05-20 17:32:00 +04:00
Vitaliy Lyudvichenko
bbe2a656cd
Fixed preferred_block_size_bytes in case of PREWHERE with non-materialized column. [#METR-25237]
2017-05-20 17:30:59 +04:00
Vitaliy Lyudvichenko
1d00f45dd3
Detect race condition between fetches and merges of the same part. [#CLICKHOUSE-2989]
2017-05-17 21:44:16 +04:00
Nikolai Kochetov
16256503ec
merged with master
2017-05-16 13:03:06 +03:00
Nikolai Kochetov
427c020140
deleted dictionary ptr from StorageDictionary
2017-05-15 16:58:40 +03:00
alexey-milovidov
e7b7f6f73d
Update MergeTreeData.cpp
2017-05-15 10:34:40 +04:00
Vitaliy Lyudvichenko
6262fc8650
Fix inccorect columns size in MergeTreeData after ALTER. [#CLICKHOUSE-2]
2017-05-15 10:34:40 +04:00
f1yegor
c252863b2e
translate comments
2017-05-14 19:03:55 +04:00
Alexey Milovidov
282a395464
Fixed test [#CLICKHOUSE-2].
2017-05-13 00:03:01 +03:00
Alexey Milovidov
3819216085
StorageBuffer: explicitly disable support for PREWHERE, because possibility of wrong query results [#CLICKHOUSE-2999].
2017-05-12 17:02:24 +03:00
Vitaliy Lyudvichenko
021e37943e
More clearer code and correct test. [#CLICKHOUSE-1993]
2017-05-12 16:44:11 +03:00
Vitaliy Lyudvichenko
0f1627691e
Don't forget to ATTACH MATERIALIZED columns. [#CLICKHOUSE-1993]
2017-05-11 18:39:12 +04:00
Alexey Milovidov
e5e8667bc9
Addition to prev. revision [#CLICKHOUSE-2].
2017-05-10 04:10:50 -04:00
Alexey Milovidov
a7b9a12759
Returned back Increment and CounterInFile, because they are still needed [#CLICKHOUSE-2].
2017-05-10 04:08:32 -04:00
Alexey Milovidov
5ca7650c86
Removed Increment and CounterInFile [#CLICKHOUSE-2].
2017-05-10 02:49:19 -04:00
Alexey Milovidov
acfe3d5028
Improved performance of inserting into StorageDistributed with very high number of shards (not tested) [#CLICKHOUSE-2].
2017-05-10 02:39:37 -04:00
Alexey Milovidov
27a324b469
Tiny modifications [#CLICKHOUSE-2].
2017-05-10 00:29:36 -04:00
Alexey Milovidov
8e5f92f025
Fixed translation errors, part 1 [#CLICKHOUSE-3].
2017-05-09 15:07:35 -04:00
proller
fac00792f9
Move most AggregateFunctions to separate lib, use AggregateFunctionFactory as singletone, rename lib storages_system->clickhouse_storages_system
2017-05-05 16:59:18 -07:00
proller
6c34f27e3b
Another freebsd fix, update freebsd build doc
2017-05-05 03:23:32 +03:00
Nikolai Kochetov
1604ce138a
changed key storage format for complex key dictionaries
2017-05-04 21:14:23 +03:00
proller
0787bd66ff
Merge: fail if cant convert columns ( #753 )
...
* Merge: fail if cant convert columns
* Merge: convert all different types, more tests
* clean
* clean
* clean
2017-05-03 21:08:59 -07:00
alexey-milovidov
fb01ef0132
Update StorageMerge.cpp
2017-04-29 06:37:38 +03:00
proller
b2e2233a59
rename CastEnumBlockInputStream -> CastTypeBlockInputStream
2017-04-29 06:37:38 +03:00
proller
7a0854775b
Merge: Cast types on read [#CLICKHOUSE-2957]
2017-04-29 06:37:38 +03:00
Alexey Milovidov
e0b141e3eb
Do not remove temporary directory on fetch [#CLICKHOUSE-2894].
2017-04-29 01:26:39 +03:00
Vitaliy Lyudvichenko
42fcf148e2
Add column rows to system.parts table. [#CLICKHOUSE-2950]
2017-04-28 23:54:24 +03:00
Nikolai Kochetov
79564054a9
added RangeDictionaryBlockInputStream
2017-04-28 21:33:31 +03:00
Nikolai Kochetov
9243439e9b
added DictionaryBlockInputStream
2017-04-27 20:16:24 +03:00
proller
bcb230ebc6
Fix incudes, move code from daemon/OwnPatternFormatter.h
2017-04-27 08:40:27 +03:00
Nikolai Kochetov
bdf998d20f
added StorageDictionary
2017-04-25 12:10:27 +03:00
Alexey Milovidov
6f65176285
Explicitly disallow dummy data types and special Null data type to be in table declaration [#CLICKHOUSE-4].
2017-04-23 10:59:49 +03:00
proller
8cf716fa29
Functions as separate lib
2017-04-21 21:30:16 +03:00
Alexey Milovidov
110defd56f
Disabled replicated max parallel fetches/sends, because it does not work properly [#CLICKHOUSE-2960].
2017-04-20 21:38:17 +03:00
Alexey Milovidov
ee6a7ee204
Allow to disable replicated max parallel fetches/sends [#CLICKHOUSE-2960].
2017-04-20 21:37:01 +03:00
alexey-milovidov
512d86ceaf
Merge pull request #706 from yandex/lagging-replicas-failover
...
Check for stale replicas when performing distributed queries
2017-04-20 21:30:02 +03:00
Alexey Milovidov
2d3e09af82
Fixed error [#CLICKHOUSE-2960].
2017-04-20 05:22:17 +03:00
Alexey Zatelepin
ba254a082e
Merge branch 'master' into lagging-replicas-failover
...
Conflicts:
dbms/src/Core/ErrorCodes.cpp
2017-04-19 21:31:29 +03:00
Alexey Zatelepin
485c58b039
use only ConnectionPoolWithFailover in RemoteBlockInputStream [#CLICKHOUSE-2141]
2017-04-19 20:50:17 +03:00
Alexey Milovidov
0b5645db1a
Better code for parsing part names [#CLICKHOUSE-2].
2017-04-18 23:38:07 +03:00
Alexey Milovidov
47d2ca4136
Fixed error with fetches and sends limit when queue is traversed without pause [#CLICKHOUSE-2960].
2017-04-18 23:36:19 +03:00
Alexey Milovidov
502f42a572
Fixed translation error [#CLICKHOUSE-3].
2017-04-18 22:13:12 +03:00
Alexey Zatelepin
e30dc7c254
check replica delay when getting a connection from ConnectionPoolWithFailover [#CLICKHOUSE-2141]
2017-04-17 22:51:41 +03:00
Yuri Dyachenko
51d2ffc654
fix TODO
2017-04-17 21:15:14 +03:00
Yuri Dyachenko
8fb2b7ee3d
fix zookeeper format version 4
2017-04-17 21:15:14 +03:00
alexey-milovidov
5a8344382b
Update StorageReplicatedMergeTree.cpp
2017-04-17 21:15:14 +03:00
alexey-milovidov
9d3e3675fd
Update ReplicatedMergeTreeLogEntry.h
2017-04-17 21:15:14 +03:00
alexey-milovidov
acd3c3d4ab
Update MergeTreeDataMerger.cpp
2017-04-17 21:15:14 +03:00
Yuri Dyachenko
8792c4f3ca
add 'deduplicate' flag into zookeeper 'merge' Entry
2017-04-17 21:15:14 +03:00
Yuri Dyachenko
10082f3ef4
support DEDUPLICATE option in OPTIMIZE query
2017-04-17 21:15:14 +03:00
Yuri Dyachenko
5e61448f25
add support DEDUPLICATE to MergeTreeDataMerger
2017-04-17 21:15:14 +03:00
Alexey Zatelepin
2bd089d589
start counting absolute replica delay when there are problems with queue update [#CLICKHOUSE-2141]
2017-04-17 18:06:12 +03:00
f1yegor
0b243a8b01
translate comments
2017-04-16 23:17:32 +03:00
Alexey Milovidov
676192f16e
Fixed errors on clang [#CLICKHOUSE-2902].
2017-04-15 07:03:12 +03:00
artpaul
050f1d4b0a
drop column from partition for MergeTree
2017-04-15 06:52:04 +03:00
alexey-milovidov
7fcf570c43
Update MergeTreeDataPart.cpp
2017-04-15 06:48:24 +03:00
alexey-milovidov
5a7a155ca1
Update MergeTreeBlockReadUtils.cpp
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
8b54e9fc65
Removed extra diagnostic log messages. [#CLICKHOUSE-2902]
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
848c927bb7
Fix race condition. Add test. [#CLICKHOUSE-2902]
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
56b00a110a
Removed debug code and add docs. [#CLICKHOUSE-2902]
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
c78177a28a
More accurate prediction. [#CLICKHOUSE-2902]
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
f519100946
Split base and derived class implementations. [#CLICKHOUSE-2902]
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
4b566304ca
Tests are passed. [#CLICKHOUSE-2902]
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
82af2278fc
Avoid code duplication near MergeTreeBlockInputStream. [#CLICKHOUSE-2]
...
Add preferred_block_size_bytes for non-uniform reader. [#CLICKHOUSE-2902]
Make enums test more deterministic. [#CLICKHOUSE-2]
Refactored MergeTree readers.
Tabs -> spaces.
Move include/DB/ -> src/.
2017-04-15 06:48:24 +03:00
Alexey Zatelepin
3ca6efbbd9
substitute parse<size_t>(config.getString()) for config.getUInt64()
2017-04-12 19:37:19 +03:00
Alexey Zatelepin
eb4f895ea5
fix integer overflow [#CLICKHOUSE-2927]
2017-04-12 19:10:06 +03:00
Alexey Zatelepin
0e6c38bd63
throw exception for invalid MergeTreeSettings config values [#CLICKHOUSE-2927]
2017-04-12 18:07:58 +03:00
Alexey Zatelepin
e1c9878c34
more descriptive exception message [#CLICKHOUSE-2927]
2017-04-12 18:07:58 +03:00
Alexey Zatelepin
0b0e8fa7e1
stable column order in BufferBlockInputStream [#CLICKHOUSE-2940]
2017-04-11 21:45:41 +03:00
proller
38e9254d33
fix http methods for ReadWriteBufferFromHTTP ( #675 )
2017-04-11 17:13:19 +03:00
proller
72ccc69212
Debian: simpler package ( #662 )
...
* Allow use external re2 with re2_st=re2
* fix
* remove dupe
* use re2_st in FunctionsStringSearch.h
* fix
* move files from tools/etc to debian
* dont generate control
* version
* ok.
* wip
* Cmake: dont touch CMAKE_INSTALL_PREFIX
* wip
* works!
* clean
* okay
* like old
* wip
* wip
* okay
* clickhouse-server-base-dbg
* clean
* clickhouse-server-dbg
* Debian: Remove daemons
* Update rules
* add source/format
* control clean
* add watch
* clean
* clean
* temp fix build
* clean
* docs
* fake make_control
* fix
* testme
* testme
* add metrika package
* fake metrika files
2017-04-10 20:43:30 +03:00
Alexey Milovidov
a0b9bf5e97
Moved code to cpp [#CLICKHOUSE-2].
2017-04-08 04:32:05 +03:00
proller
adba3b8e6d
delete ReadBufferFromHTTP, use ReadWriteBufferFromHTTP instead
2017-04-06 22:39:25 +03:00
proller
1bc311eefd
ReplicatedMergeTree: Max streams to send data [#CLICKHOUSE-2878] ( #656 )
...
* ReplicatedMergeTree: Max streams to send data [#CLICKHOUSE-2878]
* fix
* better messages on client
* change code to 429 TOO_MANY_REQUESTS
* wip
* better message
* Update InterserverIOHandler.h
* Update InterserverIOHTTPHandler.cpp
* Update StorageReplicatedMergeTree.cpp
2017-04-06 16:03:23 +03:00
Alexey Milovidov
31f7fe42d6
Fool's day changed, continued [#CLICKHOUSE-3].
2017-04-05 14:52:23 +03:00
Vitaliy Lyudvichenko
74a92cb8d9
Add test for OPTIMIZE FINAL and more diagnostics. [#CLICKHOUSE-2886]
2017-04-04 15:54:21 +03:00
proller
11218b9ba5
cmake: remove hardcoded src/ in macros add_headers_and_sources
2017-04-04 15:37:04 +03:00
Alexey Milovidov
baf2e6e95b
Added 'join_use_nulls' setting to allow using NULLs as default values for non-joined rows in case of outer joins [#CLICKHOUSE-2].
2017-04-04 09:52:39 +03:00
Alexey Milovidov
310736cd7e
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:22:42 +03:00
Alexey Milovidov
09e3134bf4
Revert "Using C++17 [#CLICKHOUSE-3]."
...
This reverts commit 431a735efe
.
2017-04-01 11:51:30 +03:00
Alexey Milovidov
ecb0b87bd8
Using C++17 [#CLICKHOUSE-3].
2017-04-01 11:51:30 +03:00
Alexey Milovidov
137ad95929
Changed tabs to spaces in code [#CLICKHOUSE-3].
2017-04-01 11:35:09 +03:00
Alexey Milovidov
4423420c20
Merge branch 'master' of github.com:yandex/ClickHouse
2017-03-31 19:00:42 +03:00
Alexey Milovidov
4f44445ff0
Removed all trailing whitespaces [#CLICKHOUSE-2]. find . -name '*.h' -or -name '*.cpp' -or -name '*.cmake' -or -name 'CMakeLists.txt' -or -name '*.html' -or -name '*.xml' | grep -v contrib | xargs sed -i -r -e 's/\s+$//'
2017-03-31 19:00:30 +03:00
proller
fbdcab343f
Limit fetching threads [#CLICKHOUSE-2878] ( #648 )
...
* Max parallel fetches limit
* use MergeTreeSettings.h
* clean
2017-03-31 17:46:48 +03:00
Ravengg
a973e3898d
Add remove for part log ( #638 )
...
* Add REMOVE_PART
* fix
* fix
* fix codestyle
2017-03-28 20:18:49 +03:00
Alexey Milovidov
e6a41a0256
Fixed error with NULLs [#CLICKHOUSE-2901].
2017-03-24 07:42:36 +03:00
Vitaliy Lyudvichenko
84694ca269
Resolved #594 . Select least busiest buffer for insert into StorageBuffer. [#CLICKHOUSE-2892]
2017-03-23 21:25:14 +04:00
proller
670e98fa92
allow several <graphite> targets ( #603 )
...
* allow several <graphite> targets
* fix
* fix
* Adjustable parts
* changelog version
* fix
* changelog
* Style fixes
* attachSystemTables
* config describe
* fixes
* fixes
2017-03-21 23:08:09 +04:00
Alexey Milovidov
c21b4c52c5
Misc [#CLICKHOUSE-3].
2017-03-21 21:39:07 +03:00
Alexey Milovidov
d3ae1267eb
Fixed error when parts of unlimited total size could be selected for merge in case of low free disk space [#CLICKHOUSE-2895].
2017-03-20 23:29:12 +03:00
proller
930ac5b2ce
move ClickHouseRevision to dbms
2017-03-16 13:51:41 +04:00
proller
28ed324702
add cmake option USE_VECTORIZED_MATH_FUNCTIONS, reorganize auto configs
2017-03-16 13:51:41 +04:00
proller
9a1169fef6
fix tests
2017-03-16 13:51:21 +04:00
Bogdan Voronin
a3ff193fe3
Add log merge for replicas
2017-03-16 00:23:02 +04:00
proller
d777cab172
link Storages/System via lib
2017-03-15 23:43:02 +04:00
proller
25caed0c03
move all attaches of system tables to attach_system_tables.cpp
2017-03-15 23:43:02 +04:00
Ravengg
b47cc72701
Fix part log ( #591 )
...
* fix_part_log
* fixed language back
* add reset part_log back
* reset part_log when don't need more
* Fix header
* fix
2017-03-14 19:58:34 +04:00
Alexey Milovidov
4e67e05835
Fixed error [#CLICKHOUSE-2].
2017-03-14 03:14:19 +03:00
Alexey Milovidov
bd34b62f4a
Avoid most of cases when server is aborted after exception 'Memory limit (for user) exceeded' [#CLICKHOUSE-2863].
2017-03-13 23:38:42 +03:00
Alexey Milovidov
f9b4b2012f
Removed zero-width spaces [#CLICKHOUSE-2].
2017-03-13 21:02:45 +03:00
Alexey Milovidov
26788e3938
Formatting [#CLICKHOUSE-2].
2017-03-13 21:01:46 +03:00
Alexey Milovidov
a6a18db6da
Merge branch 'translate/comments' of https://github.com/f1yegor/ClickHouse into f1yegor-translate/comments
2017-03-13 20:51:22 +03:00
f1yegor
401425bb89
translate comments
2017-03-12 20:18:07 +01:00
Alexey Milovidov
59613e1da4
Fixed build [#CLICKHOUSE-2882].
2017-03-12 19:09:39 +03:00
Alexey Milovidov
65beb6f961
Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882].
2017-03-12 16:03:07 +03:00
Alexey Milovidov
7532a1d564
Added support for NULLS FIRST and LAST in ORDER BY [#CLICKHOUSE-2882].
2017-03-12 15:56:59 +03:00
alexey-milovidov
6d5bfc8c6f
Refactoring of numeric DataTypes ( #581 )
...
* Better code [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
2017-03-12 14:13:45 +04:00
proller
b6e01cd47e
Fix isolated usage of all .h files, move some code to .cpp ( #578 )
...
* split ColumnAggregateFunction.h
* format
* Allow use re2_st without cmake
* use std type in find_first_symbols.h
* fix ArrayEvaluator.h
* include fixes
* split ColumnConstAggregateFunction.h
* fix StorageMaterializedView.h
* split AddingDefaultBlockOutputStream.h
* move CSVRowInputStream::updateDiagnosticInfo to .cpp
* split ParserEnumElement.h
* format
* split DB/Parsers/ParserUseQuery.h
* clean
2017-03-11 04:27:59 +04:00
Alexey Milovidov
caebb93995
Merge remote-tracking branch 'origin/master' into if-support-nulls
...
Conflicts:
dbms/include/DB/Columns/ColumnArray.h
dbms/include/DB/Columns/ColumnString.h
dbms/include/DB/Functions/FunctionsMiscellaneous.h
2017-03-09 07:39:45 +03:00
Alexey Milovidov
5546f7f75b
Normalized formatting [#CLICKHOUSE-3].
2017-03-09 07:26:17 +03:00
Alexey Milovidov
f9a5902e76
Support for NULLs in function if: continued [#CLICKHOUSE-2873].
2017-03-09 06:34:09 +03:00
Ravengg
b079dacfd1
Added part_log with statistics scripts ( #549 )
...
* Added part_log
* first_test
* filter and hits_res
* Add renamer and drawer
* Add columns database and table into PartLog
* Add normal way to get table_name and database_name from part
* improve drawer
* add stats for random size parts
* Merge converter and drawer
* make drawer more informative
* add new data
* add new data
* new data
* add long range stats
* for checking best way
* Add add_parts script
* Good style for global merge
* delete commented code
* Fixed spaces to tabs
* Note that Stopwatch is started automatically.
* Style
* Update StorageMergeTree.cpp
* Update StorageReplicatedMergeTree.cpp
* Switch act_time_ms to duration_ms
* Added ability to disable part_log
* fixed getPartLog
* fix usage getPartLog
* fix
2017-03-07 21:13:54 +04:00
artpaul
91f5e7ae5c
add priority and is_default columns [#CLICKHOUSE-2084]
2017-03-05 16:00:25 +05:00
Alexey Milovidov
a706e96bc4
Added more metrics for StorageBuffer [#CLICKHOUSE-2871].
2017-03-05 04:23:10 +03:00
artpaul
aed028eb96
remove meaningless comment
2017-03-05 04:45:35 +04:00
artpaul
76e9213141
system table with graphite configuration [#CLICKHOUSE-2084]
2017-03-05 04:45:35 +04:00
artpaul
1e13e68028
blank for system.graphite
2017-03-05 04:45:35 +04:00
proller
05e87ad7a2
fix scope_exit formatting
2017-03-04 00:10:41 +03:00
Alexey Zatelepin
7090d0861a
reinitialize primary key after ALTER [#CLICKHOUSE-2853]
2017-02-21 21:32:04 +04:00
Vitaliy Lyudvichenko
8bcb1fe970
Add support of AggregateFunction constants in VALUES and Set. [#CLICKHOUSE-2845]
2017-02-18 00:36:31 +04:00
Alexey Milovidov
354bed5bd7
Merge branch 'master' of github.com:yandex/ClickHouse
2017-02-13 19:12:46 +03:00
Alexey Milovidov
db9935337c
Misc [#CLICKHOUSE-2].
2017-02-13 19:12:34 +03:00
Alexey Milovidov
8f9b70a1d7
Style [#CLICKHOUSE-2].
2017-02-13 13:38:50 +03:00
Alexey Milovidov
bb7247993a
Merge branch 'uncompressed-size-in-system-tables'
2017-02-13 01:08:31 +03:00
Alexey Milovidov
7bf5373390
Added comments [#CLICKHOUSE-2831].
2017-02-13 01:07:38 +03:00
artpaul
f8a0f55335
#360 explicit types
2017-02-12 16:09:55 +05:00
artpaul
0c1dab92a3
#360 ordinary
2017-02-12 15:34:08 +05:00
Alexey Milovidov
c9b4a163be
Added info about uncompressed size to system.columns table [#CLICKHOUSE-2831].
2017-02-12 01:31:22 +04:00
alexey-milovidov
4593d363d1
Fix poor distributed insertion scalability ( #481 )
...
* Fix poor scalability of INSERT into Distributed table [#CLICKHOUSE-2791].
* Fix poor scalability of INSERT into Distributed table (continued) [#CLICKHOUSE-2791].
* Misc [#CLICKHOUSE-2791].
* Fixed error [#CLICKHOUSE-2791].
2017-02-12 00:20:57 +04:00
Alexey Milovidov
30737aa7a1
Added info about uncompressed size to system.columns table [#CLICKHOUSE-2831].
2017-02-11 20:43:28 +03:00
Alexey Zatelepin
9918965c5f
Allow metadata-only ALTER of primary key columns [#CLICKHOUSE-2027]
2017-02-10 22:19:40 +04:00
Alexey Zatelepin
7b57402291
allow ALTERing Enum types in primary key columns [#CLICKHOUSE-2795]
2017-02-10 22:19:40 +04:00
Alexey Milovidov
d065087506
Fixed timeouts of ALTER [#CLICKHOUSE-2836].
2017-02-10 21:09:49 +03:00
Alexey Zatelepin
6b47ac1fc0
translate comments [#CLICKHOUSE-3]
2017-02-10 09:05:33 +04:00
Alexey Zatelepin
aace171ef6
forbid multidimensional array columns in MergeTree tables [#CLICKHOUSE-2803]
2017-02-10 09:05:33 +04:00
Alexey Zatelepin
8d001db5d5
forbid altering of date column in MergeTree engines
2017-02-10 09:05:33 +04:00
Alexey Milovidov
d95663865f
Miscellaneous [#CLICKHOUSE-2].
2017-02-09 02:56:40 +03:00
Alexey Milovidov
2e9ab88cb7
Fixed error by removal of obsolete optimization [#CLICKHOUSE-2825].
2017-02-09 00:45:19 +03:00
Vitaliy Lyudvichenko
98af273cbc
Fixed and refactored storage Merge. [#CLICKHOUSE-2758]
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
76916739e2
Fixed arrayReduce. Refactoring of ObjectPool. [#CLICKHOUSE-2787]
2017-02-07 23:43:31 +04:00
artpaul
4c57c9731e
#437 encode name of default_database so it's can be passed through connection
2017-02-07 20:11:02 +04:00
proller
c51801d776
Change default user and paths [#CLICKHOUSE-2715] ( #382 )
...
* Changing default user to clickhouse and path to /var/lib/clickhouse [#CLICKHOUSE-2715]
* wip
* Auto version update to [54141]
* Get version from saved in cmake
2017-01-31 23:53:05 +04:00
Alexey Zatelepin
4ecfd44015
[#CLICKHOUSE-2115] PR changes:
...
* do not insert produced value into the cache if the cache has been reset.
* less logging
* cosmetic fixes
2017-01-31 22:45:10 +04:00
Alexey Zatelepin
0fdcdd7bdb
Introduce LRUCache::getOrSet(), use it to avoid mark cache stampede [#CLICKHOUSE-2115]
2017-01-31 22:45:10 +04:00
proller
79a7e893c7
system.build_options: move generated data to cpp, dont regenerate every compile ( #423 )
...
* system.build_options: move generated data to cpp, dont regenerate every compile
* Fix linking iconv under macos and freebsd
Partially Revert "Removed usage of glib [#CLICKHOUSE-2]."
This reverts commit e4ff740ef1
.
* fix
2017-01-31 22:03:56 +04:00
Alexey Milovidov
ff54b9466d
Fixed error [#CLICKHOUSE-2191].
2017-01-28 00:46:15 +03:00
alexey-milovidov
de9bc1dc75
Text formats allow to skip errors ( #407 )
...
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Added test [#CLICKHOUSE-2778].
2017-01-27 08:29:47 +04:00
Vitaliy Lyudvichenko
b1bccb0bb2
Query KILL QUERY. [#CLICKHOUSE-2120]
2017-01-27 03:59:39 +04:00
Alexey Milovidov
a106520a0d
Added requested change [#CLICKHOUSE-2191].
2017-01-27 00:51:30 +03:00
Artemkin Pavel
06d1509da1
check that sharding_key exists in the table and has numeric type ( #392 )
...
* check that sharding_key exists in the table and has numeric type [#CLICKHOUSE-2191]
* style
* infer type of sharding expression [#CLICKHOUSE-2191]
2017-01-27 01:47:33 +04:00
proller
e715ddd72a
SELECT * FROM system.build_options [#METR-24175] ( #398 )
...
* start [#METR-24175]
* missing
* wip
* add spaces
* wip
* wip
* fix
* fix
* missing
* style fix
2017-01-26 02:24:36 +04:00
Alex Zatelepin
543b6ee757
ensure that all streams point to to_mark after reading even if max_rows_to_read is zero [#CLICKHOUSE-2775] ( #396 )
2017-01-25 23:16:31 +04:00
Alexey Zatelepin
281744667d
use common cur_mark_idx for all streams [#CLICKHOUSE-2116]
2017-01-25 00:48:58 +04:00
Alexey Zatelepin
dc1f0d96bd
add clarifying comment [#CLICKHOUSE-2116]
2017-01-25 00:48:58 +04:00
Alexey Zatelepin
f7ca39da77
translate comments [#CLICKHOUSE-3]
2017-01-25 00:48:58 +04:00
Alexey Zatelepin
32e5713822
do not load marks when reading the whole part [#CLICKHOUSE-2116]
2017-01-25 00:48:58 +04:00
Vitaliy Lyudvichenko
c9e52a5cf9
Add requested PR changes. [#CLICKHOUSE-2145] [issue #325 ]
2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
20a5ae4bc4
Add protection from accidental DROP queries. [#CLICKHOUSE-2184]
2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
1c38a89785
Add source_part_names column into system.merges. [#CLICKHOUSE-2145]
2017-01-24 22:26:29 +04:00
alexey-milovidov
ed5b521110
Less dependencies 2 ( #378 )
...
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
2017-01-21 08:24:28 +04:00
proller
1adf0bb3e1
Remove -metrika-yandex postfix from package names ( #377 )
2017-01-20 23:58:13 +04:00
Alexey Milovidov
5c1ae060a4
Miscellaneous [#CLICKHOUSE-2761].
2017-01-20 05:22:18 +03:00
Alexey Milovidov
ffed6b1d5e
Added one more column to system.parts [#CLICKHOUSE-2757].
2017-01-17 23:54:32 +03:00
Alexey Milovidov
e407bf879c
system.parts: added a column for primary key size in bytes in RAM [#CLICKHOUSE-2757].
2017-01-17 23:49:16 +03:00
Alexey Milovidov
58e5dad1a1
Squashed commit of the following:
...
commit e712f469a5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:59:13 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2a00282308
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:58:30 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 9e06f407c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:55:14 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 9581620f1e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:54:22 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2a8564c68c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:47:34 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit cf60632d78
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:40:09 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit ee3d1dc6e0
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:22:49 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 65592ef711
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:18:17 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 37972c2573
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:17:06 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit dd909d1499
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:16:28 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 3cf43266ca
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:15:42 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 6731a3df96
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:13:35 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 1b5727e0d5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:11:18 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit bbcf726a55
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:09:04 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit c03b477d5e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:06:30 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2986e2fb04
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:05:44 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 5d6cdef13d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:04:53 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit f2b819b25c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:01:47 2017 +0300
Less dependencies [#CLICKHOUSE-2]
2017-01-14 12:00:19 +03:00
artpaul
402f974fb7
fix where <const> in (<const>) expression; [#METR-24043]
2017-01-10 19:16:37 +05:00
artpaul
903e1eab98
#200 : remove dependency to the view if backend storage can't be created
2017-01-09 01:34:40 +05:00
Alexey Milovidov
d89ee33ce2
Squashed commit of the following:
...
commit c567d4e1fe
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:35:01 2017 +0300
Style [#METR-2944].
commit 26bf3e1228
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:33:11 2017 +0300
Miscellaneous [#METR-2944].
commit eb946f4c6f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:30:19 2017 +0300
Miscellaneous [#METR-2944].
commit 78c867a147
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:11:41 2017 +0300
Miscellaneous [#METR-2944].
commit 6604c5c83c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:56:15 2017 +0300
Miscellaneous [#METR-2944].
commit 23fbf05c1d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:47:52 2017 +0300
Miscellaneous [#METR-2944].
commit 98772faf11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:46:05 2017 +0300
Miscellaneous [#METR-2944].
commit 3dc636ab9f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:39:46 2017 +0300
Miscellaneous [#METR-2944].
commit 3e16aee954
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:38:03 2017 +0300
Miscellaneous [#METR-2944].
commit ae7e7e90eb
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:34:15 2017 +0300
Miscellaneous [#METR-2944].
2017-01-06 20:41:19 +03:00
Alexey Milovidov
f7fa5b73b9
Changed names of files with NULL-related data to be more consistent [#METR-19266].
2017-01-04 07:15:38 +03:00
Alexey Milovidov
9dc44c1a3a
Renamed methods for bulk binary serialization (continued) [#METR-2944].
2017-01-03 02:31:26 +03:00
Alexey Milovidov
1f3aeb066a
Renamed methods for bulk binary serialization (continued) [#METR-2944].
2017-01-03 02:08:09 +03:00
Alexey Milovidov
701ca28c85
Renamed methods for bulk binary serialization [#METR-2944].
2017-01-03 01:47:28 +03:00
Alexey Milovidov
3fbb597694
Addition to prev. revision [#METR-2944].
2017-01-02 23:52:30 +03:00
Alexey Milovidov
ca37f28b5f
Renamed methods Block::rows and Block::rowsInFirstColumn [#METR-2944].
2017-01-02 23:45:27 +03:00
Alexey Milovidov
2b4f3b5d34
Renamed method (less confusion) [#METR-2944].
2017-01-02 23:12:12 +03:00
Vitaliy Lyudvichenko
694b0fad97
Reverted system.events changes. Added docs for system.metrics. [#METR-239111]
2016-12-31 03:06:23 +03:00
Vitaliy Lyudvichenko
07d720565c
Added profile events for INSERTs. [#METR-23930]
...
Added new column and CurrentMetrics data into system.events table.
Removed unnecessary code from Context and Merge list. [#METR-23911]
2016-12-31 02:39:53 +03:00
Vitaliy Lyudvichenko
108bfac17e
Added memory tracking events and columns for merges. [#METR-23911]
2016-12-31 02:39:53 +03:00
Alexey Milovidov
baf29f5c48
NULLs support: fixed totally wrong code [#METR-19266].
2016-12-30 08:13:14 +03:00
Alexey Milovidov
f71c49ff6f
Addition to prev. revision [#METR-22189].
2016-12-30 02:12:56 +03:00
Alexey Milovidov
77aa5d17c8
Addition to prev. revision [#METR-22189].
2016-12-30 02:04:56 +03:00
Alexey Milovidov
ee80b16488
Fixed error with creation of GraphiteMergeTree table [#METR-22189].
2016-12-30 01:56:37 +03:00
Alexey Milovidov
5dad134760
Fixed error in reading config with settings for GraphiteMergeTree table engine [#METR-23978].
2016-12-30 01:06:31 +03:00
Alexey Milovidov
cf4f8d6ce4
Modified comment [#METR-2944].
2016-12-27 18:50:31 +03:00
Alexey Milovidov
c195b0212b
Fixed long delay when querying Merge table based on very large amount of StripeLog tables; fixed error in Merge table [#METR-23945].
2016-12-25 07:39:22 +03:00
Vitaliy Lyudvichenko
ba2b32b0ad
Added vertical_merge_algorithm_min_columns_to_activate option. [#METR-23783]
2016-12-22 16:19:03 +03:00
Vitaliy Lyudvichenko
e2bd364844
Added whole block optimization. [#METR-23783]
2016-12-22 16:19:02 +03:00
Alexey Milovidov
536f88ea55
Adjusted coefficients [#METR-23916].
2016-12-22 05:04:32 +03:00
Alexey Milovidov
7ebbf72ca6
Removed unused variable [#METR-23305].
2016-12-22 04:27:41 +03:00
Alexey Milovidov
c47406c42d
StorageBuffer: addition to prev. modification [#METR-23909].
2016-12-22 03:13:59 +03:00
proller
d270053c3c
Replace all !/bin/bash by !/usr/bin/env bash : allow running scripts with bash in non standard path. also on freebsd.
2016-12-21 23:04:27 +03:00
Alexey Milovidov
7222afe5eb
StorageBuffer: fixed exception safety [#METR-23909].
2016-12-21 20:10:32 +03:00
Alexey Milovidov
54587fec1b
Tracking memory used in merges [#METR-23888].
2016-12-20 05:29:35 +03:00
Alexey Milovidov
442ff1d3b8
StorageBuffer: simplification; added metrics [#METR-23888].
2016-12-20 02:55:13 +03:00
Vitaliy Lyudvichenko
e39b41e158
Typo and codestyle fix.
2016-12-18 22:38:30 +03:00
Vitaliy Lyudvichenko
5aa1822fb2
Consecutive optimization for vertical merge. [#METR-23783]
2016-12-18 22:12:25 +03:00
Vitaliy Lyudvichenko
8835275713
More detail log for merges. [#METR-23770] [#METR-23769] [#METR-23783]
2016-12-18 22:12:25 +03:00
Vladimir Chebotarev
d172cb1fc2
StorageReplicatedMergeTree: Correct taking /quorum/last_part into account when merging. [#METR-23826]
2016-12-15 17:32:47 +03:00
Vitaliy Lyudvichenko
876ad28dd8
Merge remote-tracking branch 'origin/master' into metrics_refinement
2016-12-12 19:17:23 +03:00
Alexey Milovidov
c1ecc41804
Fixed error after merge [#METR-19266].
2016-12-12 10:25:31 +03:00
Alexey Milovidov
54af522de1
Preparation [#METR-2944].
2016-12-12 10:24:56 +03:00
Alexey Milovidov
8a69df19c4
Fixed error after merge [#METR-19266].
2016-12-12 09:00:37 +03:00
Alexey Milovidov
de82683197
Fixed build on clang [#METR-2944].[C
2016-12-12 08:56:34 +03:00
Alexey Milovidov
e2ed20999c
Fixed build on clang [#METR-2944].
2016-12-12 08:53:37 +03:00
Alexey Milovidov
31c4636538
Using internal boost library [#METR-2944].
2016-12-12 07:59:19 +03:00
Alexey Milovidov
d5a002f441
Using internal boost library [#METR-2944].
2016-12-12 07:57:55 +03:00
Alexey Milovidov
d605bfdc9d
Using internal boost library [#METR-2944].
2016-12-12 07:57:09 +03:00
Alexey Milovidov
fc43827a6c
Preparation [#METR-2944].
2016-12-12 06:33:34 +03:00
Alexey Milovidov
b3e85e6469
Addition to prev. revision [#METR-22442].
2016-12-11 14:59:55 +03:00
Alexey Milovidov
436d2c43c9
Addition to prev. revision [#METR-22442].
2016-12-11 14:47:09 +03:00
Alexey Milovidov
ce6556639e
Fixed tests after merge [#METR-19266] [#METR-22442].
2016-12-11 14:33:51 +03:00
Alexey Milovidov
c937d75a78
Merging [#METR-19266].
2016-12-10 09:10:29 +03:00
Alexey Milovidov
e53e32130d
Merging [#METR-19266].
2016-12-10 07:58:40 +03:00
Alexey Milovidov
e97ecb6cf7
Merge branch 'master' into METR-19266
...
Conflicts:
dbms/CMakeLists.txt
dbms/include/DB/Functions/FunctionsArray.h
dbms/include/DB/Functions/FunctionsString.h
dbms/include/DB/Parsers/ExpressionListParsers.h
dbms/include/DB/Storages/MergeTree/MergeTreeBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergeTreeReader.h
dbms/include/DB/Storages/MergeTree/MergeTreeThreadBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergedBlockOutputStream.h
dbms/src/Core/ErrorCodes.cpp
dbms/src/Parsers/ASTFunction.cpp
dbms/src/Storages/MergeTree/MergeTreeData.cpp
dbms/src/Storages/MergeTree/MergeTreeDataPart.cpp
dbms/src/Storages/MergeTree/MergeTreeReader.cpp
dbms/src/Storages/StorageLog.cpp
2016-12-10 07:51:36 +03:00
Vitaliy Lyudvichenko
ea11f61433
Added requested changes. [#METR-19372]
2016-12-09 13:13:16 +03:00
Vitaliy Lyudvichenko
855dc56598
Added treshold setting for Vertical merge algorithm. [#METR-23305]
2016-12-09 13:13:16 +03:00
Vitaliy Lyudvichenko
774eb01fd3
Added MergesTime metric. [#METR-23305]
2016-12-09 13:13:16 +03:00
Vitaliy Lyudvichenko
fc4c02c510
StorageSystemMerges refactoring.
2016-12-09 13:13:16 +03:00
Vitaliy Lyudvichenko
f8eb9028fd
Refined query_log, processes and merges metrics.
...
Also, dbms/CMakeLists.txt was rewritten.
2016-12-09 13:11:25 +03:00
Alexey Milovidov
514715589b
Preparation [#METR-23747].
2016-12-08 05:49:04 +03:00
proller
76dc51aae5
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-12-07 22:08:09 +03:00
Alexey Milovidov
072f2fc7b8
Merges: start to lower maximum size of merge only when number of free entries in pool/queue is lower than specified threshold [#METR-21504].
2016-12-06 06:09:07 +03:00
Alexey Milovidov
0717bfa4d2
Simplified LevelMergeSelector [#METR-21504].
2016-12-06 00:34:46 +03:00
Vladimir Chebotarev
bcc5500f91
cmake: More options. [#METR-23701]
2016-12-05 15:43:14 +03:00
Alexey Milovidov
02eb36fd03
MergeSelector: attempt to make something better [#METR-21504].
2016-12-05 09:31:48 +03:00
Vitaliy Lyudvichenko
202ba912ce
Vertical merging algorithm for MergeTree engines. [#METR-23305]
2016-11-29 22:41:31 +03:00
proller
b529f29bb7
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-29 19:57:01 +03:00
Vitaliy Lyudvichenko
1472629799
Updated pk_condition test after recent changes.
2016-11-28 20:59:39 +03:00
Alexey Milovidov
0a2d1ebbb3
Attempt to improve merge selecting algorithm [#METR-23632].
2016-11-28 06:46:08 +03:00
Alexey Milovidov
cac8f9216f
MergeSelector: attempt to do something that has sense [#METR-23632].
2016-11-28 06:17:31 +03:00
proller
4c90ffd61d
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-27 15:03:35 +03:00
Alexey Milovidov
6209092b15
Added heuristic for merge algorithm [#METR-23615].
2016-11-26 07:08:49 +03:00
proller
26fe10a7b4
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-25 03:22:30 +03:00
Alexey Milovidov
7d280a55a3
Fixed error that server could not shutdown while fetching parts [#METR-23616].
2016-11-25 02:18:24 +03:00
Alexey Milovidov
167782c230
Addition to prev. revision [#METR-23615].
2016-11-25 01:43:49 +03:00
Alexey Milovidov
8e5889cf0e
Improved merge selecting algorithm for Replicated tables [#METR-23615].
2016-11-25 01:41:27 +03:00
proller
3b335b5546
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-24 22:58:40 +03:00
alexey-milovidov
8c2e228856
Revert "New "vertical" algorithm for MergeTrees' parts merges"
2016-11-24 23:08:54 +04:00
proller
e855c16f4a
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-24 21:25:56 +03:00
alexey-milovidov
8544a8b852
Merge pull request #171 from ludv1x/METR-23305
...
New "vertical" algorithm for MergeTrees' parts merges
2016-11-24 22:07:41 +04:00
Vitaliy Lyudvichenko
544ef67c28
Fixed IN <Set> usage inside PK expressions.
...
Refactoring of type conversion functions convertFieldToType().
2016-11-24 15:32:04 +03:00
proller
8c07957e38
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-24 04:01:18 +03:00
Vitaliy Lyudvichenko
4f9064ca19
Fixed case when pk column is wrapped by functions.
2016-11-23 22:58:33 +03:00
Vitaliy Lyudvichenko
d27951b4a7
Added requested changes. [#METR-23473]
2016-11-23 16:33:05 +03:00
Vitaliy Lyudvichenko
e07fc7cea5
Fixed Enum usage in PK expressions. [#METR-23473]
...
Added check for duplicates of column names in CREATE query.
2016-11-23 16:19:15 +03:00
Vitaliy Lyudvichenko
ef593d1b01
Added merge_tree.enable_vertical_merge_algorithm setting.
2016-11-23 15:59:25 +03:00
Vitaliy Lyudvichenko
588add5a49
Added requested changes.
...
Also fixed single thread read from empty storage Log.
2016-11-23 15:52:12 +03:00
Vitaliy Lyudvichenko
2cd5b8b604
Updated MergeInfo and progress callbacks with respect to vertical merge alg.
2016-11-23 15:52:12 +03:00
Vitaliy Lyudvichenko
ec9bcd8054
Vertical merging algorithm for ordinary MergeTreee.
2016-11-23 15:47:19 +03:00
proller
4f39c04854
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-23 01:33:37 +03:00
proller
eeeacd0805
merge upstream
2016-11-23 01:33:02 +03:00
Alexey Milovidov
4cab31a60e
Tiny improvement [#METR-2944].
2016-11-22 23:55:45 +03:00
Alexey Milovidov
bba5dcbcfa
Fixed deadlock [#METR-23557].
2016-11-22 22:27:45 +03:00
Alexey Milovidov
94e344ee38
Part checks don't lock ALTERs [#METR-22214].
2016-11-22 21:49:17 +03:00
Alexey Milovidov
886919a5c9
Removed excessive part checks [#METR-22214].
2016-11-22 21:29:36 +03:00
Alexey Milovidov
3b635bf641
Merge branch 'master' of github.com:yandex/ClickHouse
2016-11-22 20:42:21 +03:00
Alexey Milovidov
a464f2303d
Better logic for ALTER in ReplicatedMergeTree [#METR-22214].
2016-11-22 20:41:45 +03:00
proller
e280569453
Everything [maybe] works!
2016-11-22 18:03:54 +03:00
proller
0b40a13ea7
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-22 14:56:57 +03:00
Alexey Milovidov
e2b8236cf4
Fixed error [#METR-2944].
2016-11-20 16:17:51 +03:00
Alexey Milovidov
9018906e1a
Better [#METR-2944].
2016-11-20 15:43:20 +03:00
Alexey Milovidov
c38a9118b1
More tolerant to previous errors [#METR-22327].
2016-11-20 12:17:30 +03:00
Alexey Milovidov
60c62055ba
Added comment [#METR-22327].
2016-11-20 12:13:06 +03:00
Alexey Milovidov
c8c86208aa
Fixed error with ALTER of Enums in Nested fields [#METR-22442].
2016-11-20 11:57:11 +03:00
proller
61e6ee9100
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-18 15:14:34 +03:00
Alexey Milovidov
ea0c752852
Investigated flappy test [#METR-23540].
2016-11-18 12:02:49 +03:00
Alexey Milovidov
ef85902daa
Little better [#METR-22327].
2016-11-18 06:15:49 +03:00
Alexey Milovidov
dfd7f54c1c
Little improvement in case of too much parts [#METR-22327].
2016-11-18 05:50:28 +03:00
Alexey Milovidov
e73e4e887a
Better logic when there is very large number of parts in non-replicated MergeTree [#METR-22327].
2016-11-18 05:34:34 +03:00
Alexey Milovidov
a44e5193b0
Better backpressure for INSERT SELECT into MergeTree [#METR-22327].
2016-11-18 05:05:25 +03:00
proller
881319c4ec
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-18 04:48:21 +03:00
Alexey Milovidov
b19e61757e
Little improvement for large number of small inserts [#METR-22327].
2016-11-18 04:03:57 +03:00
Alexey Milovidov
cfcdb3f881
Added check [#METR-22327].
2016-11-18 03:20:22 +03:00
Alexey Milovidov
0700f53665
Fixed error with 'intersects previous part' [#METR-22327].
2016-11-18 03:19:35 +03:00
proller
278fbbb4da
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-17 00:02:25 +03:00
Alexey Milovidov
866e64a65e
Fixed deadlock in test when many replicas on single server try to execute multiple attaches and wait for each other [#METR-23507].
2016-11-16 09:08:29 +03:00
Alexey Milovidov
d5155fbe7a
Added quota_key to query_log and processlist [#METR-23505].
2016-11-16 08:09:41 +03:00
Alexey Milovidov
bee6183d35
Fixed error [#METR-2944].
2016-11-16 08:05:14 +03:00
proller
8fec8e2ac4
simple get works
2016-11-16 02:55:45 +03:00
alexey-milovidov
52390b0180
Merge pull request #150 from ludv1x/METR-23101
...
clickhouse-local application and File(...) storage
2016-11-14 04:03:03 +04:00
Vitaliy Lyudvichenko
107f7b34c7
Added requested PR changes, 2nd iteration.
2016-11-14 02:57:18 +03:00
Alexey Milovidov
5b72f0956a
Setting level to zero after ATTACH [#METR-23438].
2016-11-11 20:33:43 +03:00
Vitaliy Lyudvichenko
bf924009b9
Added support of seekable files for StorageFile, more options for clickhouse-local. [#METR-23101]
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
2242cfd6b0
Put DatabaseMemory class into separated file.
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
0e2eb5436b
Added StorageFile and template for clickhouse-local app.
2016-11-09 22:03:47 +03:00
Alexey Milovidov
efa056fc77
Attempt to improve merge selecting algorithm [#METR-21840].
2016-11-05 04:11:51 +03:00
Alexey Milovidov
8ba7a32410
Fixed error with BackgroundProcesssingPool [#METRIKASUPP-7484].
2016-11-02 18:26:16 +03:00
Alexey Milovidov
22719b1114
MergeSelector: further [#METR-21840].
2016-11-01 23:30:40 +03:00
Alexey Milovidov
aaec9d1db6
Attempt for improvement [#METR-21840].
2016-11-01 22:20:24 +03:00
alexey-milovidov
d1f11af2c2
Merge pull request #151 from Civil/osx_compatibility
...
[WIP] Make it compilable on OS X
2016-11-01 21:09:48 +04:00
Vladimir Smirnov
d36f52502e
Make it compilable on OS X
...
It's still hackish and dirty, but server and client compies.
Server starts, but throwes meaningless exception on any query.
Client seems to be working fine.
Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Alexey Milovidov
5d394a20a1
MergeSelector: changed logic of selection of parts for OPTIMIZE (more like it was before) [#METR-21841].
2016-11-01 18:22:04 +03:00
Alexey Milovidov
ecf2f6b6ab
MergeSelector: development [#METR-21841].
2016-11-01 14:27:29 +03:00
Alexey Milovidov
a3a8b49e80
MergeSelector: development [#METR-21841].
2016-11-01 14:26:36 +03:00
Alexey Milovidov
91dbf74ac0
MergeSelector: development [#METR-21841].
2016-11-01 11:38:55 +03:00
Alexey Milovidov
933c8f3d68
MergeSelector: development [#METR-21841].
2016-11-01 01:53:54 +03:00
Alexey Milovidov
573a84c89a
MergeSelector: development [#METR-21841].
2016-10-31 22:45:22 +03:00
Alexey Milovidov
49602c44a9
MergeSelector: development [#METR-21841].
2016-10-31 22:32:08 +03:00
Alexey Milovidov
4fd7183049
MergeSelector: fixed error [#METR-21841].
2016-10-31 22:11:09 +03:00
Alexey Milovidov
89328b498f
MergeSelector: development [#METR-21841].
2016-10-31 08:35:29 +03:00
Alexey Milovidov
bee00bfcfc
MergeSelector: development [#METR-21841].
2016-10-30 14:05:45 +03:00
Alexey Milovidov
a832a8cd71
MergeSelector: development [#METR-21840].
2016-10-30 11:54:27 +03:00
Alexey Milovidov
4dec8babf1
MergeSelector: development [#METR-21840].
2016-10-30 11:47:47 +03:00
Alexey Milovidov
bab6e9ea22
MergeSelector: development [#METR-21840].
2016-10-30 11:32:05 +03:00
Alexey Milovidov
1b2bbcd359
MergeSelector: development [#METR-21840].
2016-10-30 11:25:07 +03:00
Alexey Milovidov
ba48688f25
MergeSelector: development [#METR-21840].
2016-10-30 11:15:55 +03:00
Alexey Milovidov
c5c63bdf5d
MergeSelector: development [#METR-21840].
2016-10-30 06:39:28 +03:00
Alexey Milovidov
3d48f9d34b
MergeSelector: development [#METR-21840].
2016-10-30 06:12:25 +03:00
Alexey Milovidov
b5156a115d
Additions [#METR-21504].
2016-10-28 02:28:35 +03:00
Alexey Milovidov
74c3b30622
dbms: Simplified logic of selecting merges [#METR-21841].
2016-10-28 01:50:02 +03:00
Alexey Milovidov
687a6d1496
Addition to prev. revision [#METR-2944].
2016-10-25 09:57:12 +03:00
Alexey Milovidov
8be993bd1e
Preparation [#METR-2944].
2016-10-25 09:49:24 +03:00
Alexey Milovidov
daeac24f04
Added ClientInfo: passing original source of query during distributed query execution; improvement of per-user limits in ProcessList [#METR-23279].
2016-10-25 00:40:39 +03:00
Alexey Milovidov
15b369bd08
More instrumentation [#METR-23272].
2016-10-24 16:47:15 +03:00
Alexey Milovidov
9a3deed1ea
Added metric about leadership [#METR-23272].
2016-10-24 15:46:54 +03:00
Alexey Milovidov
2dd43be6e6
Don't hold shared_ptr to zookeeper for long time, because it makes very difficult to remove ephemeral nodes in case of temporary communication errors and thus breaks leader election [#METR-23272].
2016-10-24 15:34:08 +03:00
Alexey Milovidov
ea852bb9d8
Separate compilation of CurrentMetrics; Separated AsynchronousMetrics from CurrentMetrics; Comments [#METR-23237].
2016-10-24 07:06:27 +03:00
Alexey Milovidov
9af5ce1e3b
Separate compilation of ProfileEvents; comments [#METR-23237].
2016-10-24 05:02:37 +03:00
Alexey Milovidov
4d9b3fd3ee
Better [#METR-23198].
2016-10-23 13:59:53 +03:00
Alexey Milovidov
afcd933237
Probably better [#METR-23198].
2016-10-23 06:46:51 +03:00
Alexey Arno
a75cfb6df5
Merge branch 'master' into METR-19266 [#METR-19266]
2016-10-21 19:53:35 +03:00
Alexey Milovidov
15bf61c367
Fixed part of error [#METR-23198].
2016-10-21 04:44:57 +03:00
Alexey Arno
3792a9f302
dbms: Server: fixes [#METR-19266]
2016-10-20 13:13:07 +03:00
Alexey Arno
6c40d9b51e
dbms: Server: fixes [#METR-19266]
2016-10-19 21:18:02 +03:00
Yuri Dyachenko
297a1547c5
more usable settings for delayed insert. issue: #METR-22563
2016-10-19 20:58:27 +03:00
Alexey Arno
924402f33e
dbms: Server: merged from master [#METR-19266]
2016-10-19 18:00:56 +03:00
Alexey Arno
b5ff08bce6
dbms: Server: semantic cleanup [#METR-19266]
2016-10-19 10:15:26 +03:00
Alexey Arno
e1099f47cb
dbms: Server: fix [#METR-19266]
2016-10-18 22:31:07 +03:00
alexey-milovidov
8d7ba10835
Merge pull request #132 from ludv1x/METR-22802
...
Automatic reload of remote_servers configuration.
2016-10-14 23:32:27 +04:00
alexey-milovidov
fad9272161
Merge pull request #137 from ludv1x/METR-22471
...
Fixed std::terminate on DROP of StorageReplicatedMergeTree
2016-10-14 23:28:39 +04:00
Vitaliy Lyudvichenko
3120b06c02
Small enhancement and typos fixes.
2016-10-14 21:00:55 +03:00
Vitaliy Lyudvichenko
a0760a4821
Added requested PR changes. [#METR-22802]
2016-10-14 20:54:18 +03:00
Vitaliy Lyudvichenko
669e2982a5
Made merge_selecting_thread creation & deletion atomic. [#METR-22471]
2016-10-14 14:47:11 +03:00
Vitaliy Lyudvichenko
aa863ea7bb
Fixed std::terminate on DROP of StorageReplicatedMergeTree. [#METR-22471]
2016-10-14 13:17:05 +03:00
Alexey Milovidov
dce56bfeba
Implemented TODO [#METR-23132].
2016-10-14 05:51:03 +03:00
Vitaliy Lyudvichenko
144d9018ba
Added port column into system.processes table. [#METR-22966]
2016-10-11 22:01:55 +03:00
Vitaliy Lyudvichenko
ebbc9b9877
Added abilty to automatically update clusters configuration. [#METR-22802]
2016-10-11 17:17:49 +03:00
Alexey Milovidov
6b2755bf2a
Non significant change [#METR-2944].
2016-09-23 23:33:06 +03:00
Alexey Milovidov
365be3c026
Fixed warning with gcc 6 [#METR-2944].
2016-09-19 09:24:18 +03:00
Alexey Arno
bd73b2d165
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-15 15:14:25 +03:00
Alexey Arno
b7ca838dc0
dbms: Server: cleanups [#METR-19266]
2016-09-11 13:06:34 +03:00
Vitaliy Lyudvichenko
1d02509ee0
Add new metadata_modification_time column for system.tables [#METR-22593]
2016-09-05 15:15:29 +03:00
Alexey Milovidov
469eebe4f0
Investigation [#METR-2944].
2016-09-04 20:12:07 +03:00
Alexey Arno
443613c153
dbms: Fixed bug in ALTER TABLE ... MODIFY COLUMN. [#METR-19622]
2016-09-02 18:43:43 +03:00
Alexey Milovidov
322e5031bd
Investigation [#METR-22327].
2016-09-02 07:03:40 +03:00
Alexey Milovidov
344e975a59
Temporarily improvement [#METR-22608].
2016-09-02 03:58:18 +03:00
Alexey Arno
91b20fe7ad
dbms: Disabled check because it is unreliable. A better solution is needed. [#METR-18510]
2016-09-01 17:40:02 +03:00
Alexey Arno
2b3a87b7c6
dbms: Catch missing parameter [#METR-18510]
2016-09-01 13:53:50 +03:00
Alexey Milovidov
0db84044e5
Better [#METR-22608].
2016-09-01 05:26:45 +03:00
alexey-milovidov
012f34a799
Merge pull request #96 from yurial/yurial-IStorage-enable_shared_from_this
...
use std::enable_shared_from_this for IStorage
2016-08-31 00:00:23 +04:00
Yuri Dyachenko
295ca40237
typo fix
2016-08-30 22:28:32 +03:00
Yuri Dyachenko
94a2186dde
rename ext::share_ptr_helper -> ext::shared_ptr_helper
2016-08-30 22:27:15 +03:00
Alexey Arno
9528405fe4
dbms: Extended CAST to nullable types. Added ALTER TABLE ... MODIFY COLUMN ... for nullable types. A column with a nullable type can have a default value in CREATE TABLE. [#METR-19266]
2016-08-29 19:57:59 +03:00
Yuri Dyachenko
e5825f790f
use std::enable_shared_from_this for IStorage
2016-08-29 16:28:34 +03:00
Alexey Milovidov
be6cfea281
Fixed typo in comment [#METR-2807].
2016-08-26 23:22:22 +03:00
alexey-milovidov
60b9234b50
Merge pull request #95 from yurial/yurial-more-warning-flags
...
add -Wold-style-cast
2016-08-26 23:58:05 +04:00
Yuri Dyachenko
065b02494a
add -Wold-style-cast
2016-08-26 22:55:11 +03:00
Alexey Milovidov
867b73b6b0
Fixed error with cancelling merges on ALTERs [#METR-22524].
2016-08-26 22:50:04 +03:00
Alexey Milovidov
0c39e52094
Fixed error [#METR-22462].
2016-08-26 21:06:24 +03:00
Alexey Milovidov
689f599e2a
Fixed error, removed partially duplicate code [#METR-22462].
2016-08-25 20:23:29 +03:00
Alexey Arno
824341c1c2
dbms: made code more readable [#METR-19266]
2016-08-24 13:27:19 +03:00
Alexey Arno
cd0541134a
dbms: post-testing fixes [#METR-19266]
2016-08-24 03:39:38 +03:00
Alexey Milovidov
e0f3cbb432
Added optional 'default_database' parameter for Cluster (allow Distributed tables to connect to different databases on different shards/replicas) [#METR-22462].
2016-08-22 23:34:21 +03:00
Alexey Arno
2a5abb17be
dbms: cleanup [#METR-19266]
2016-08-19 15:01:10 +03:00
Alexey Arno
7a4683140e
dbms: cleanup [#METR-19266]
2016-08-19 12:08:48 +03:00
Alexey Arno
eb98892e61
dbms: cleanup [#METR-19266]
2016-08-18 20:08:05 +03:00
Alexey Arno
22dc2f96a1
dbms: cleanup [#METR-19266]
2016-08-18 19:11:20 +03:00
Alexey Arno
e513df2e5c
dbms: reverted change (was bogus) [#METR-19266]
2016-08-15 20:26:06 +03:00
Alexey Arno
f4e77aaf97
dbms: Better code for functions processing. Code cleanup. [#METR-19266]
2016-08-15 14:14:29 +03:00
Alexey Milovidov
0cf32c8aed
Renamed method [#METR-22400].
2016-08-13 05:21:17 +03:00
Alexey Milovidov
b3b2cd110a
Tiny modification [#METR-22327].
2016-08-13 04:59:09 +03:00
Alexey Milovidov
d5ad347532
Fixed probable source of race conditions [#METR-22327].
2016-08-12 08:20:06 +03:00
Alexey Arno
9896c8ce78
dbms: Merged from master [#METR-19266]
2016-08-11 17:15:27 +03:00
Alexey Arno
f5d9d0ebc9
Merge branch 'master' into METR-19266 [#METR-19266]
2016-08-10 22:13:15 +03:00
Alexey Arno
e2b6e10ec1
dbms: Various fixes + more comments [#METR-19266]
2016-08-10 22:12:29 +03:00
Alexey Milovidov
d8eb52c189
Improvement [#METR-22352].
2016-08-10 10:20:21 +03:00
Alexey Milovidov
6bc1840b88
Fixed error [#METR-22352].
2016-08-10 07:20:50 +03:00
Alexey Milovidov
5e9be50a52
Fixed build of test [#METR-21594].
2016-08-10 02:14:36 +03:00
Alexey Milovidov
8cbf62236f
Fixed build of test [#METR-21594].
2016-08-10 02:13:41 +03:00
Alexey Milovidov
b51bdbd0c0
Allow to set 'force_restore_data' flag with creating file on local filesystem [#METR-21594], [#METR-17811].
2016-08-10 00:48:05 +03:00
Alexey Milovidov
4b41c52747
Attempt to improve performance of replication queue processing [#METR-22352].
2016-08-09 23:39:28 +03:00
Alexey Milovidov
f129e94429
Fixed warnings on clang [#METR-2944].
2016-08-07 19:17:57 +03:00
Alexey Milovidov
cb7a458ac4
Added check [#METR-22325].
2016-08-07 14:12:55 +03:00
Alexey Arno
531ff3d5ac
dbms: Merged with master [#METR-19266]
2016-08-05 18:44:19 +03:00
Alexey Milovidov
55ddf44693
Whitespaces [#METR-22173].
2016-08-05 05:40:45 +03:00
Alexey Milovidov
61b9996d9e
Better [#METR-22173].
2016-08-05 05:28:34 +03:00
Alexey Milovidov
fb5981871a
Avoid copying ColumnWithTypeAndName [#METR-22173].
2016-08-05 02:35:07 +03:00
Alexey Milovidov
d7ce4dd410
Better grepability [#METR-22173].
2016-08-03 23:25:09 +03:00
Alexey Milovidov
ee92f5d0cc
dbms: prefer fetching part from replica, in some cases [#METR-22288].
2016-08-02 22:02:00 +03:00
Alexey Milovidov
6cf89fa915
Attempt to not interrupt merges when ZK session is reinitialized [#METR-22283].
2016-08-02 21:33:55 +03:00
Alexey Milovidov
9a07830dbb
Removed useless code (experimental) [#METR-2944].
2016-08-02 04:46:05 +03:00
Alexey Milovidov
6f4fc79cde
Better [#METR-2944].
2016-07-31 06:53:16 +03:00
Alexey Milovidov
1700f4e132
Added support for complex typed arguments for function toString [#METR-22263].
2016-07-30 07:39:51 +03:00
Oleg Obleukhov
f38041836c
Replaced yandex-team.ru domain with .yandex in a help page
2016-07-29 12:31:32 +02:00
Alexey Milovidov
2811f2a17c
Fixed error when system.columns table throws 'Table is dropped' exception when there are many tables, created and dropped everytime [#METR-22205].
2016-07-26 20:22:55 +03:00
Alexey Arno
1fe6786b78
dbms: NULL support for MergeTree [#METR-19266]
2016-07-24 22:32:21 +03:00
Alexey Milovidov
130ec8b58b
Compatibility with new parser and AST of tables list [#METR-2944].
2016-07-22 23:39:28 +03:00
Alexey Arno
beeeb0ab13
dbms: NULL support for MergeTree [#METR-19266]
2016-07-21 19:22:24 +03:00
Alexey Arno
252d7994e7
dbms: cleanup [#METR-19266]
2016-07-19 13:57:57 +03:00
Alexey Arno
d0d1ad3be1
dbms: improvements [#METR-19266]
2016-07-14 15:58:30 +03:00
Alexey Milovidov
55ed2904f4
Allowed for certain aggregate functions to have case insensitive names for compatibility [#METR-22087].
2016-07-14 08:22:09 +03:00
Alexey Arno
ec30520c89
dbms: improvements [#METR-19266]
2016-07-13 20:05:52 +03:00
Alexey Arno
c336359299
dbms: improvements [#METR-19266]
2016-07-13 20:00:10 +03:00
Alexey Arno
fa9829ad85
dbms: removed unused code [#METR-19266]
2016-07-13 19:49:06 +03:00
Alexey Arno
69948c5865
dbms: added support for null values in StorageLog + fixed long-standing bug in StorageLog (if we called the ClickHouseClient with max_threads=1, SELECT threw an exception if a table was empty) [#METR-19266]
2016-07-13 19:41:19 +03:00
Alexey Arno
0bf5406662
dbms: adding support for nulls in the Log engine [#METR-19266]
2016-07-13 13:45:43 +03:00
Alexey Arno
a15cce69aa
dbms: adding support for nulls in the Log engine [#METR-19266]
2016-07-13 13:35:00 +03:00
Alexey Arno
6d753f05e6
dbms: adding support for nulls in the Log engine [#METR-19266]
2016-07-12 21:08:16 +03:00
Alexey Arno
93ac3ee3a8
dbms: Server: Feature development. [#METR-19266]
2016-07-06 18:15:15 +03:00
Alexey Milovidov
5ded454986
Added 'WITH NAME' section to ALTER TABLE ... FREEZE PARTITION query [#METR-21884].
2016-06-28 23:50:37 +03:00
Alexey Milovidov
b8ca97a891
Added check for constants in primary key [#METR-2944].
2016-06-21 20:06:12 +03:00
Alexey Milovidov
e8ffd48e49
Loosen safety threshold on amount of ALTER changes [#METR-21615].
2016-06-06 22:50:30 +03:00
Alexey Milovidov
168ca22435
Fixed error when too long merges cannot be successful [#METR-21616].
2016-06-06 22:16:34 +03:00
Alexey Milovidov
47898ae73b
Disabled implicit moving to PREWHERE when using FINAL [#METR-20644].
2016-06-06 21:41:28 +03:00
Alexey Milovidov
3e60a95cdd
Allowed subqueries in views [#METR-21586].
2016-06-06 21:19:28 +03:00
Alexey Milovidov
a4a543f1c3
Merge branch 'master' of github.com:yandex/ClickHouse
2016-05-30 21:24:35 +03:00
Alexey Milovidov
d03d19ab57
Updated comment [#METR-2944].
2016-05-30 21:24:19 +03:00
Alexey Milovidov
7651dcbc0a
Fixed error after moving to non-recursive mutex [#METR-21503].
2016-05-30 04:16:22 +03:00
Alexey Milovidov
c518abe882
Get rid of Poco::SharedPtr [#METR-21503].
2016-05-28 20:31:50 +03:00
Alexey Milovidov
36efb7063e
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 19:00:04 +03:00
Alexey Milovidov
e336ba10eb
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:56:51 +03:00
Alexey Milovidov
9e553dec0a
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:54:40 +03:00
Alexey Milovidov
6a51b999da
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:50:16 +03:00
Alexey Milovidov
fc65afb6f0
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:46:03 +03:00
Alexey Milovidov
8c4abcdd43
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:42:22 +03:00
Alexey Milovidov
646d70a545
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 17:14:18 +03:00
Alexey Milovidov
3c1c9d46f7
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 15:22:22 +03:00
Alexey Milovidov
4c7eb03b63
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 13:35:44 +03:00
Alexey Milovidov
6863e72f3d
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 13:15:36 +03:00
Alexey Milovidov
f9b2cd5ab6
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 11:23:36 +03:00
Alexey Milovidov
61ae4e5547
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 11:15:50 +03:00
Alexey Milovidov
bf71e2ed90
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 11:11:52 +03:00
Alexey Milovidov
be394f2c84
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 10:48:40 +03:00
Alexey Milovidov
4b7f461e46
Using std::shared_ptr for columns [#METR-21503].
2016-05-28 08:31:36 +03:00
Alexey Milovidov
f2ccbc9802
Better exception message [#METR-21479].
2016-05-26 00:35:57 +03:00
Alexey Arno
113dc3e82f
dbms: Server: Fixed grammar in a few error messages [#METR-20000]
2016-05-24 19:53:29 +03:00
Vladimir Chebotarev
866c8929e2
dbms, contrib: GCC 6 build fixes [#METR-20000]
2016-05-23 03:41:26 +03:00
Alexey Milovidov
adc850993c
Fixed error [#METR-21326].
2016-05-19 23:58:24 +03:00
Alexey Milovidov
92ca4ab538
Investigating [#METR-21326].
2016-05-19 23:24:41 +03:00
Alexey Milovidov
5dbed81502
Added comment [#METR-21326].
2016-05-18 07:03:27 +03:00
Alexey Milovidov
6151fcc3e6
Fixed error [#METR-21326].
2016-05-18 06:58:23 +03:00
Alexey Milovidov
c4407306d5
Always materialize columns while merge [#METR-21119].
2016-05-18 05:49:52 +03:00
Alexey Milovidov
8f50b30268
Alter primary key: development [#METR-21119].
2016-05-18 00:07:10 +03:00
Alexey Milovidov
9a60b90941
Alter primary key: development [#METR-21119].
2016-05-17 23:11:43 +03:00
Alexey Milovidov
d680a7f8da
Alter primary key: development [#METR-21119].
2016-05-17 04:17:32 +03:00
Alexey Milovidov
bf265e264a
Alter primary key: development [#METR-21119].
2016-05-17 02:04:03 +03:00
Alexey Milovidov
2f1fead382
Merge
2016-05-16 21:47:34 +03:00
Alexey Milovidov
093f69c45d
Added support for FINAL and PARTITION specification for OPTIMIZE query [#METR-21326].
2016-05-16 21:43:38 +03:00
Alexey Milovidov
6942819013
Altering primary key [#METR-21119].
2016-05-14 00:08:19 +03:00
Alexey Milovidov
e37ffe7c3d
Tiny modification [#METR-2944].
2016-05-13 06:23:23 +03:00
Alexey Milovidov
203cdbe244
Addition [#METR-21287].
2016-05-13 06:22:53 +03:00
Alexey Milovidov
65de71b5a2
Added table function 'shardByHash' [#METR-21287].
2016-05-13 06:22:16 +03:00
Alexey Arno
6df8377161
dbms: Server: Modified code so that only column names are considered for table consistency checking. [#METR-18510]
2016-05-11 11:20:51 +03:00
Alexey Milovidov
fcbc9eed88
Fixed error with falsely unexpected parts after merge [#METRIKASUPP-6885].
2016-05-07 16:42:03 +03:00
Alexey Milovidov
eea75db9fb
Modify primary key: development [#METR-21119].
2016-05-05 21:28:46 +03:00
Alexey Milovidov
4d3b2dd417
Addition [#METR-21159].
2016-05-04 22:05:42 +03:00
Alexey Milovidov
83df6fdf23
Merge
2016-05-04 22:01:26 +03:00
Alexey Milovidov
37d6b5ae56
Addition to prev. revision [#METR-21048].
2016-04-25 00:46:14 +03:00
Alexey Milovidov
9ae0277632
Fixed build of test [#METR-21048].
2016-04-24 22:47:10 +03:00
Alexey Milovidov
e344f3275b
Merge
2016-04-24 22:46:37 +03:00
Alexey Milovidov
1fd8914e10
Merge
2016-04-24 13:39:18 +03:00
Alexey Milovidov
07f04d70d3
Merge
2016-04-24 12:44:47 +03:00
Alexey Milovidov
55b580f882
More profile events [#METR-2944].
2016-04-23 05:39:40 +03:00
Alexey Arno
3d9dc30e8c
dbms: Added more fault tolerance [#METR-18510]
2016-04-21 17:58:25 +03:00
Alexey Milovidov
cff1004f04
Lowered batch size in pullLogsToQueue [#METR-21013].
2016-04-21 00:24:12 +03:00
Alexey Milovidov
c6722da2b2
Merge
2016-04-19 00:38:06 +03:00
Alexey Milovidov
c43b34d3f0
Added function 'indexHint' [#METR-20940].
2016-04-16 02:10:29 +03:00
Alexey Milovidov
a5d7c41253
Addition [#METR-20644].
2016-04-15 23:11:03 +03:00
Alexey Milovidov
9f3d9277af
Addition to prev. revision [#METR-20644].
2016-04-15 22:55:07 +03:00
Alexey Milovidov
d6ba48a610
Merge
2016-04-15 22:37:19 +03:00
Alexey Milovidov
2bb5a4749b
Merge
2016-04-15 22:09:42 +03:00
Alexey Milovidov
3923c7abce
Merge
2016-04-15 20:42:51 +03:00
Alexey Milovidov
d79174b2ce
Preparation [#METR-20644].
2016-04-15 20:13:51 +03:00
Alexey Arno
68f427398d
dbms: server: Retry after a timeout issue. [#METR-20825]
2016-04-15 01:00:39 +03:00
Alexey Arno
b884690fbf
dbms: server: Bug fix: avoid empty log entries. Also added missing logging. [#METR-20825]
2016-04-14 23:52:16 +03:00
Alexey Arno
1ed2615f7c
dbms: Fixed minor issue with logging [#METR-20825]
2016-04-14 19:25:09 +03:00
Alexey Arno
35e16aed04
dbms: Bug fix: under certain circumstances, ClickHouse would fail to attach a partition whose name coincides with the name of another partition that was previously dropped [#METR-20825]
2016-04-14 19:21:17 +03:00
Alexey Milovidov
b1ee71c026
Fixed build [#METR-2944].
2016-04-13 23:46:11 +03:00
Alexey Milovidov
8b9cf82c6c
More checking [#METR-12588].
2016-04-13 07:48:41 +03:00
Alexey Milovidov
8b346c7f43
Fixed build of tests [#METR-2944].
2016-04-11 00:50:36 +03:00
Alexey Milovidov
edc561d6b5
Fixed error [#METR-20803].
2016-04-10 03:28:44 +03:00
Alexey Milovidov
0b7a474beb
Better exception message [#METR-20817].
2016-04-09 08:45:42 +03:00
Alexey Milovidov
2a85a1d266
Added setting 'replicated_alter_columns_timeout' [#METR-20816].
2016-04-09 08:43:55 +03:00
Alexey Milovidov
11df87ea54
Merge
2016-04-09 07:22:11 +03:00
Alexey Milovidov
d0365e9501
Separated code for checking parts [#METR-20803].
2016-04-09 06:50:02 +03:00
Alexey Milovidov
8a14cdc966
Fixed error [#METR-20803].
2016-04-09 05:29:15 +03:00
Alexey Milovidov
86e19f1e87
Merge
2016-04-08 00:35:42 +03:00
Alexey Milovidov
f0844ecb66
Attempt to fix an error [#METR-20803].
2016-04-08 00:35:01 +03:00
Alexey Arno
2a23271645
dbms: fixed typo that led to a bug [#METR-18510]
2016-04-06 18:08:28 +03:00
Alexey Milovidov
b0e9fd6da3
Improved exception message [#METR-20762].
2016-04-06 03:31:22 +03:00
Alexey Milovidov
3973277936
Allowed to modify 'max_files_to_modify_in_alter_columns' [#METR-20763].
2016-04-05 21:18:16 +03:00
Alexey Milovidov
6e75a1d1c0
Cloud databases: development [#METR-19998].
2016-04-05 00:41:16 +03:00
Alexey Milovidov
f2edb5d1fb
Attempt to fix an error with yielding leadership [#METR-20691].
2016-04-03 00:22:39 +03:00
Alexey Milovidov
eb5d905600
Added support for using index for LIKE expressions with fixed prefix [#METR-20706].
2016-04-03 00:19:58 +03:00
Alexey Milovidov
60252fed27
Removed old code as promised [#METR-2944].
2016-04-01 19:47:25 +03:00
Alexey Milovidov
f41bba57a5
Better [#METR-20691].
2016-04-01 02:49:31 +03:00
Alexey Milovidov
4f597ed7c3
Fixed error [#METR-20679].
2016-03-31 20:42:57 +03:00
Alexey Milovidov
ba3f35f83c
Merge
2016-03-31 15:21:57 +03:00
Alexey Milovidov
f7bb03e417
Modified comment [#METR-20659].
2016-03-31 15:21:26 +03:00
Alexey Milovidov
e1a80f5ded
Added support for case when merged data differs from data on another replicas [#METR-20670].
2016-03-31 04:25:16 +03:00
Alexey Milovidov
2501af25e8
Cancelling checking parts on shutdown [#METR-20660].
2016-03-31 03:09:12 +03:00
Alexey Milovidov
a2e7b7c904
Addition to prev. revision [#METR-19997].
2016-03-30 22:01:33 +03:00
Alexey Milovidov
0e6993b3ea
Removed obsolete Chunks and ChunkRef storages [#METR-19997].
2016-03-30 19:04:53 +03:00
Alexey Milovidov
5c400d5c5c
Better [#METR-20659].
2016-03-30 02:03:15 +03:00
Alexey Milovidov
bcb8e4e92c
Attempt to fix an error [#METR-20659].
2016-03-30 01:52:11 +03:00
Alexey Milovidov
04875a022a
Removed code for freezing partitions due to unacceptable implementation [#METR-20656].
2016-03-29 22:39:44 +03:00
Alexey Milovidov
34f6887a28
Merge
2016-03-29 19:59:22 +03:00
Alexey Milovidov
c2d1d04157
Added 'is_local' column to system.clusters table [#METR-20655].
2016-03-29 19:58:52 +03:00
Alexey Arno
21ff6d9f94
dbms: Comment updates. Naming simplfications. Use better hashing. [#METR-18510]
2016-03-29 19:29:39 +03:00
Alexey Arno
09985be3ba
dbms: Added more comments. Made some code more understandable. [#METR-18510]
2016-03-28 16:00:00 +03:00
Alexey Milovidov
86617c8339
Cloud databases: development [#METR-19998].
2016-03-28 14:19:51 +03:00
Alexey Milovidov
605e9c4afb
Addition to prev. revision [#METR-20607].
2016-03-27 17:36:59 +03:00
Alexey Milovidov
702876f9f0
Fixed suboptimal index usage in point queries [#METR-20607].
2016-03-27 14:37:25 +03:00
Alexey Arno
776a0e3041
dbms: Improved fault tolerance with regards to ZooKeeper. [#METR-18510]
2016-03-25 15:21:10 +03:00
Alexey Arno
32a38485e6
Merge
2016-03-25 14:48:45 +03:00
Alexey Milovidov
43d323013c
Fixed error [#METR-19997].
2016-03-23 00:26:13 +03:00
Alexey Milovidov
288fb9dcdf
Less wrong [#METR-19997].
2016-03-22 02:46:24 +03:00
Alexey Milovidov
114713a9c3
StorageBuffer: don't return empty blocks to read [#METR-20540].
2016-03-22 02:04:50 +03:00
Alexey Milovidov
5fc44df6b5
Squashed commit of the following:
...
commit f9b478181cd49224154cc350fb57df7121842f1c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 04:06:36 2016 +0300
Database engines: development [#METR-19997].
commit f7a10a67761ccfd05f3dac32d6444920cd8d4d60
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 03:44:37 2016 +0300
Database engines: development [#METR-19997].
commit bd98a8558e98bad2bed278e5762c4e0fc66e6f38
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 00:33:59 2016 +0300
Database engines: development [#METR-19997].
commit 19712fd884c22a4e2c2b67474086dea8f44e7c7b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 00:03:11 2016 +0300
Database engines: development [#METR-19997].
commit 50274d6df7e91fcc34aab8a8c72347daa2c6512f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 23:24:57 2016 +0300
Database engines: development [#METR-19997].
commit 4a0b99b19b34e90ef8b7be2d199f6232e36ef3f7
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 22:50:36 2016 +0300
Database engines: development [#METR-19997].
commit 44ff3ebba7a3e460a27a89f31ddf199dbea1d182
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 15:09:17 2016 +0300
Database engines: development [#METR-19997].
commit 137c31f3004cfd282473b6acb01cbe1b4ca2aadd
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 03:26:34 2016 +0300
Database engines: development [#METR-19997].
commit aa4c0496d4afe4a691164254be2bd5600542b38a
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 03:22:59 2016 +0300
Database engines: development [#METR-19997].
commit 5a94d1f0607450a2dac28a4d7df8b1393a864c23
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 01:02:40 2016 +0300
Database engines: development [#METR-19997].
commit 50fd5b52ea1141955a5dfba0dcb191f3289ac25b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Thu Mar 17 23:23:40 2016 +0300
Database engines: development [#METR-19997].
commit a333d91b058e4f56dd83a6d2878c3c2bd8efc002
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Thu Mar 17 20:29:07 2016 +0300
Database engines: development [#METR-19997].
commit f81d366e7ac8348436f2698d040f8e341743a024
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Thu Mar 17 01:30:23 2016 +0300
Database engines: development [#METR-19997].
commit d0696860c9060827896214c08d147c759ea79376
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 21:55:31 2016 +0300
Database engines: development [#METR-19997].
commit 46a168c2ada140a0e95cd8d4b9d8ba9bac855d11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 08:00:58 2016 +0300
Database engines: development [#METR-19997].
commit 20a2bad161454225fc1b5f9b919b842fbebc3231
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 06:51:10 2016 +0300
Database engines: development [#METR-19997].
commit ca0a77fcc2a8d0b276eb3743c53551ad3fe16314
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 06:02:20 2016 +0300
Reverted erroneous modification [#METR-19997].
commit 1370bdcc4594182f6ef2b146f9afabfe1c295080
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 00:41:34 2016 +0300
Database engines: development [#METR-19997].
commit 16e72c67041cae6471509d3f0f3d4a9aa7b7dc0f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Mar 15 00:41:48 2016 +0300
Database engines: development [#METR-19997].
2016-03-19 04:18:49 +03:00
Alexey Arno
4ce2d94be7
dbms: Removed code that was not needed anymore since we have now a better way to check issues with connections. [#METR-18510]
2016-03-10 18:42:36 +03:00
Alexey Milovidov
4f3e9dfc95
dbms: addition to prev. revision [#METR-20301].
2016-03-10 06:45:03 +03:00
Alexey Milovidov
b92b0660a7
dbms: fixed error [#METR-20301].
2016-03-10 06:08:09 +03:00
Alexey Arno
50bdb806b9
dbms: Code cleanup. [#METR-18510]
2016-03-09 16:59:34 +03:00
Alexey Arno
75f31de790
dbms: Code cleanup. [#METR-18510]
2016-03-09 16:40:47 +03:00
Alexey Arno
79d5c899b0
dbms: Fault tolerance improvement. Fixed a race condition. Some cleanup. [#METR-18510]
2016-03-09 15:03:39 +03:00
Evgeniy Gatov
6aa4d59400
Merge
2016-03-08 20:52:42 +03:00
Alexey Arno
e9718711d0
dbms: Code cleanup. [#METR-18510]
2016-03-08 18:38:06 +03:00
Alexey Arno
0f35ecc357
dbms: Code cleanup. [#METR-18510]
2016-03-08 16:46:00 +03:00
Alexey Milovidov
0194495b99
Fixed build [#METR-2807].
2016-03-07 11:10:52 +03:00
Alexey Milovidov
85863529cf
Fixing warnings on clang [#METR-2807].
2016-03-07 10:47:41 +03:00
Alexey Milovidov
0536f42f8c
Fixing build on clang [#METR-2807].
2016-03-07 09:49:07 +03:00
Alexey Milovidov
fcbe00ce94
Fixing warnings on clang [#METR-2807].
2016-03-07 07:53:17 +03:00
Alexey Milovidov
a75b6ca3dd
Fixing warnings on clang [#METR-2807].
2016-03-07 07:43:14 +03:00
Alexey Milovidov
ebf5b3afdd
Merge
2016-03-07 05:21:16 +03:00
Alexey Arno
a1fd25865b
dbms: Code cleanup. [#METR-18510]
2016-03-05 13:33:01 +03:00
Alexey Milovidov
f5247021b1
Fixed error [#METR-20296].
2016-03-05 06:17:11 +03:00
Alexey Milovidov
36e4bcc125
Better diagnostics [#METR-19808].
2016-03-05 05:30:20 +03:00
Alexey Milovidov
fb4e0b1402
Fixed error and added test for '_sample_factor' virtual column [#METR-20296].
2016-03-05 02:42:30 +03:00
Alexey Arno
f5c520bde1
dbms: Improved locking. [#METR-18510]
2016-03-04 19:33:31 +03:00
Alexey Arno
860bfcf676
dbms: Code cleanup. [#METR-18510]
2016-03-04 13:04:01 +03:00
Alexey Arno
b44f3f4f5d
dbms: Code cleanup. [#METR-18510]
2016-03-04 13:00:00 +03:00
Alexey Milovidov
4e0be26844
Addition to prev. revision [#METR-20296].
2016-03-04 07:56:43 +03:00
Alexey Milovidov
42883fddc4
Added virtual column '_sample_factor' [#METR-20296].
2016-03-04 07:54:10 +03:00
Alexey Milovidov
d1aee1d615
Fixed error with StorageBuffer and automatic moving conditions to PREWHERE [#METR-20257].
2016-03-04 05:54:26 +03:00
Alexey Milovidov
a8f423a74c
Merge
2016-03-03 23:29:52 +03:00
Alexey Arno
aeb14a7855
dbms: More locking improvements. [#METR-18510]
2016-03-03 19:22:10 +03:00
Alexey Arno
3b9ea20c91
dbms: More locking improvements. [#METR-18510]
2016-03-03 19:20:19 +03:00
Pavel Kartavyy
4e2a760474
Merge
2016-03-03 18:38:13 +03:00
Alexey Arno
d21060c35b
dbms: Locking performance and correctness improvements. [#METR-18510]
2016-03-03 17:37:15 +03:00
Alexey Arno
9efcf9d204
dbms: Code cleanup. [#METR-18510]
2016-03-03 11:40:21 +03:00
Alexey Arno
da03a011b2
dbms: Modified function implementation to make it cleaner. [#METR-18510]
2016-03-03 10:39:02 +03:00
Alexey Milovidov
e29eb14b79
dbms: attempt to fix an error [#METR-20273].
2016-03-03 07:30:36 +03:00
Alexey Milovidov
0119de05bb
DataPartsExchange: better [#METR-20273].
2016-03-03 06:54:37 +03:00
Alexey Arno
aa10c8c87d
dbms: Code cleanup. [#METR-18510]
2016-03-02 23:27:29 +03:00
Alexey Arno
514cf0fcba
dbms: Code cleanup. [#METR-18510]
2016-03-02 17:12:04 +03:00
Alexey Arno
6232e1cf9a
dbms: Added stricter checkings for coordinated requests originating from shards and a more reliable cluster naming scheme. [#METR-18510]
2016-03-02 16:35:30 +03:00
Alexey Arno
fc2c3c1f2e
dbms: Server: Reverted old modification that found its way into master by error. It could have lead to deadlocks. [#METR-18510]
2016-03-01 22:16:27 +03:00
Alexey Arno
6efc98d1f3
Merge
2016-03-01 20:47:53 +03:00
Alexey Milovidov
56b316bff7
Fixed error when symlinked part couldn't be removed [#METR-20080].
2016-02-19 23:13:54 +03:00
Alexey Milovidov
7af87e367f
Better diagnostics [#METR-20079].
2016-02-18 00:02:06 +03:00
Alexey Milovidov
8b3afeb60d
Squashed commit of the following:
...
commit f968e7e7f0d84c89fd26dea1d541bd9f6041d7c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 06:11:29 2016 +0300
Addition [#METR-2944].
commit 7524981fa7c4f22929dd5009444a0ae28500f620
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 06:08:43 2016 +0300
Fixed error (incomplete) [#METR-2944].
commit 2f1e7bf9f46cd9ce958ade9041c00ce067940fd2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 05:37:43 2016 +0300
Improving performance of row formats [#METR-2944].
commit 9848910f235863c9571ef1ebe0d87d4929ee283c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 00:37:12 2016 +0300
Improving performance of text formats [#METR-2944].
commit 3aedc7fd784af962e64ffdd10ec23ac53827d8e2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 00:18:00 2016 +0300
Improving performance of row formats [#METR-2944].
commit cb5932c2b0385604477e69c8262dc31a4bb4b23b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Mon Feb 15 00:53:27 2016 +0300
Fixed error.
commit 42863fd4eddeef594e846c598b92877b6ff86fa6
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sun Feb 14 23:13:46 2016 +0300
Improving performance of row formats [#METR-2944].
commit 71c6fb19a85a79297433ceb486fdb97e551d964f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sun Feb 14 16:58:56 2016 +0300
Improving performance of row formats [#METR-2944].
2016-02-16 19:39:39 +03:00
Alexey Milovidov
bb122a2fa7
dbms: less locking while clearing old parts; better while loading parts [#METR-2944].
2016-02-14 14:02:47 +03:00
Alexey Milovidov
5a78d4b0da
Lowered size of index in memory (experimental) [#METR-2944].
2016-02-14 08:43:03 +03:00
Alexey Milovidov
7a92c3cf1a
Preparation [#METR-2944].
2016-02-14 07:58:47 +03:00
Alexey Milovidov
d14a12151e
Fixed error with leak of watches [#METR-19975].
2016-02-11 04:48:34 +03:00
Pavel Kartavyy
eca42536d8
dbms: renamed Revision to ClickHouseRevision. Daemon to BaseDaemon
2016-02-09 20:06:50 +03:00
Alexey Milovidov
df1d66e51a
Removed sensitive data.
2016-02-08 00:58:58 +03:00
Alexey Milovidov
02958c1c7f
dbms: fixed race condition between attaches and download of parts [#METR-19399].
2016-02-07 20:31:13 +03:00
Alexey Milovidov
43c73cf7ee
dbms: added support for CSV format [#METR-19957].
2016-02-07 11:42:21 +03:00
Alexey Milovidov
563e410b72
Moved threadpool library to contrib [#METR-17973].
2016-02-05 08:07:39 +03:00
Alexey Milovidov
3519c3cea2
dbms: separated mysqlxx::Date and mysqlxx::DateTime [#METR-17973].
2016-02-03 04:17:58 +03:00
Alexey Milovidov
48a1fe182d
dbms: attempt to fix an error [#METR-19866].
2016-02-03 00:30:27 +03:00
Alexey Milovidov
038a6278d5
dbms: fixed error with multiple INSERTs in StripeLog [#METR-19901].
2016-02-02 23:33:03 +03:00
Alexey Milovidov
21fb1cca7c
dbms: protection from attaching inactive parts at second ATTACH [#METR-19399].
2016-01-30 06:26:24 +03:00
Alexey Milovidov
a0e7a59ab1
dbms: fixing errors with ATTACHes [#METR-19399].
2016-01-30 05:29:20 +03:00
Alexey Milovidov
dae8a1d99d
dbms: allowed to merge parts after DETACH PARTITION and then ATTACH [#METR-19397].
2016-01-30 04:36:13 +03:00
Alexey Milovidov
f0a009bd70
dbms: attempt to fix an error [#METR-19399].
2016-01-30 03:57:35 +03:00
Alexey Milovidov
061306d04b
Merge
2016-01-29 05:24:50 +03:00
Alexey Milovidov
1b93d7d874
dbms: fixed error with possible conflict of names of parts when doing ATTACH after DROP PARTITION [#METR-18510].
2016-01-29 05:24:03 +03:00
Alexey Milovidov
d5163b5060
Removed few old files [#METR-18510].
2016-01-29 05:22:43 +03:00
Alexey Arno
113b592380
Merge
2016-01-28 19:06:57 +03:00
Alexey Milovidov
e5d4149ca4
Merge
2016-01-28 04:00:42 +03:00
Alexey Milovidov
67a07205b7
Merge
2016-01-28 04:00:27 +03:00
Alexey Milovidov
b7d3f0e4d6
Merge
2016-01-28 03:59:35 +03:00
Alexey Milovidov
5d962f241f
dbms: fixed error with ATTACH [#METR-19835].
2016-01-28 03:39:11 +03:00
Alexey Milovidov
5c90d7d45c
Merge
2016-01-26 05:00:25 +03:00
Alexey Milovidov
085dd9f90a
Merge
2016-01-26 04:56:42 +03:00
Alexey Arno
ae2f7c7613
Merge
2016-01-26 03:30:18 +03:00
Alexey Milovidov
6d50fb4b44
dbms: fixed quorum inserts; improved performance of ordinary inserts [#METR-16779].
2016-01-24 08:00:24 +03:00
Alexey Milovidov
409954428b
dbms: using numeric constants while evaluating PKCondition [#METR-19758].
2016-01-23 00:28:58 +03:00
Alexey Milovidov
e720a53cf2
dbms: return early on WHERE 0 [#METR-19758].
2016-01-22 23:43:16 +03:00
Alexey Milovidov
48be0fb3e4
dbms: faster removing of lost parts from queue [#METR-19754].
2016-01-21 23:45:56 +03:00
Alexey Milovidov
a08281d2eb
dbms: fixed error when replica has too large delay [#METR-19586].
2016-01-21 22:43:00 +03:00
Alexey Arno
a3ea32b985
Merge
2016-01-21 19:30:05 +03:00
Alexey Milovidov
14d525d991
dbms: fixed error with insert quorum [#METR-16779].
2016-01-21 07:06:20 +03:00
Alexey Milovidov
0f3e163c4e
dbms: CurrentMetrics: development [#METR-19596].
2016-01-21 04:47:28 +03:00
Alexey Milovidov
30e559636d
dbms: added support for global metrics: sending to graphite; added system.metrics table [#METR-19596].
2016-01-21 00:32:01 +03:00
Alexey Milovidov
3f89d9e0f5
dbms: added profile event for yielding leadership [#METR-17573].
2016-01-20 23:43:42 +03:00
Alexey Milovidov
fa22ca0d09
dbms: added comment [#METR-19586].
2016-01-20 03:18:58 +03:00
Alexey Milovidov
277167af17
dbms: fixed error with exceptions while queue processing [#METR-19586].
2016-01-20 00:38:01 +03:00
Alexey Milovidov
acd611c326
dbms: fixed calculation of delays [#METR-17573].
2016-01-19 21:49:37 +03:00
Alexey Milovidov
fc951a9304
dbms: pulling logs at startup for better calculation of delays [#METR-17573].
2016-01-19 20:17:22 +03:00
Alexey Milovidov
dd1effe99c
Merge
2016-01-18 19:27:57 +03:00
Alexey Milovidov
25036fec31
dbms: addition [#METR-19586].
2016-01-18 19:27:27 +03:00
Alexey Milovidov
82a96d22b1
dbms: tracking replicas delays [#METR-17573].
2016-01-17 16:00:42 +03:00
Alexey Milovidov
d1882fe766
dbms: addition to prev. revision [#METR-2944].
2016-01-17 11:27:52 +03:00
Alexey Milovidov
d603d0a12d
Merge
2016-01-17 11:12:48 +03:00
Alexey Milovidov
a30532594b
dbms: fixed error [#METR-19586].
2016-01-17 08:22:22 +03:00
Alexey Milovidov
d8e6b1dcf1
dbms: fixed error in prev. revision [#METR-19586].
2016-01-13 05:36:11 +03:00
Alexey Milovidov
ab1b725779
dbms: less dependencies [#METR-2944].
2016-01-13 03:32:59 +03:00
Alexey Milovidov
949ecc2070
dbms: optimized function pullLogsToQueue [#METR-19586].
2016-01-12 22:45:51 +03:00
Alexey Milovidov
13c7d0983a
dbms: cutting dependency [#METR-2944]..
2016-01-12 00:46:36 +03:00
Alexey Milovidov
1f7f7cd682
dbms: better [#METR-19586].
2016-01-10 07:44:12 +03:00
Alexey Milovidov
a5b8166541
dbms: better [#METR-19586].
2016-01-10 07:43:30 +03:00
Alexey Milovidov
a419ce1052
Preparation to build with in-tree Poco library [#METR-19593].
2016-01-07 22:52:21 +03:00
Andrey Mironov
325107ad5a
dbms: FunctionCast for Enums: allow changing names but not values for existing elements [#METR-19265]
2015-12-29 15:57:22 +03:00
Andrey Mironov
40e6f51370
dbms: allow cheap alter of Enums [#METR-19265]
2015-12-28 20:06:15 +03:00
Alexey Milovidov
0cf09f76f8
dbms: better [#METR-2944]..
2015-12-28 17:24:31 +03:00
Alexey Milovidov
43350f51bb
dbms: don't thrash mark_cache on merges (and ALTER MODIFY TYPE) [#METR-19575].
2015-12-26 03:59:09 +03:00
Andrey Mironov
13f56d4465
dbms: use CAST internally whenever a conversion is required [#METR-19265]
2015-12-25 15:06:16 +03:00
Alexey Milovidov
f1f3619df4
dbms: cancelling fetching of parts on table shutdown [#METR-19544].
2015-12-25 00:28:18 +03:00
Alexey Milovidov
89c64fe863
dbms: removed unused field [#METR-2944].
2015-12-24 21:35:01 +03:00
Alexey Milovidov
fe0e9d2248
dbms: little better [#METR-19417].
2015-12-16 05:38:11 +03:00
Alexey Milovidov
0939b5e881
Merge
2015-12-16 05:32:49 +03:00
Alexey Milovidov
9143952e83
dbms: probably better [#METR-19172].
2015-12-13 15:02:10 +03:00
Alexey Milovidov
2aeb48be2d
dbms: added backoff on slow reads [#METR-17579].
2015-12-13 07:52:13 +03:00
Alexey Milovidov
236f04d2dc
dbms: Buffer: fixed error [#METR-19371],
2015-12-11 05:19:32 +03:00
Alexey Milovidov
db8d82f13e
dbms: Buffer: better [#METR-19249].
2015-12-09 09:55:49 +03:00
Alexey Milovidov
e473834770
dbms: StorageBuffer: write correct info about block flushed [#METR-19249].
2015-12-09 09:16:24 +03:00
Alexey Milovidov
9e33ab5519
dbms: fixed error with StorageBuffer [#METR-19249].
2015-12-09 09:10:13 +03:00
Alexey Milovidov
6eb47b0db4
dbms: fixed error with StorageBuffer [#METR-19249].
2015-12-09 09:04:00 +03:00
Alexey Milovidov
6260ac34a3
dbms: fixed high CPU usage on shutdown [#METR-19056].
2015-12-09 08:05:42 +03:00
Alexey Milovidov
e0653fda4e
dbms: little better [#METR-19172].
2015-12-09 07:41:46 +03:00
Alexey Milovidov
f6973a32c4
dbms: added support for empty StripeLog tables [#METR-19298].
2015-12-08 23:04:11 +03:00
Alexey Milovidov
78b560c846
dbms: fixed error [#METR-19283].
2015-12-07 22:30:50 +03:00
Alexey Milovidov
b76731a578
dbms: improved startup times for lagged replica [#METR-18563].
2015-12-05 10:03:17 +03:00
Alexey Milovidov
117060cf43
dbms: fixed error [#METR-18167].
2015-12-03 07:03:20 +03:00
Alexey Milovidov
a7387d9ce4
dbms: improvement [#METR-2944].
2015-11-30 23:20:37 +03:00
Alexey Milovidov
39004c76f5
dbms: addition [#METR-19052].
2015-11-29 15:54:58 +03:00
Alexey Milovidov
b6aaf1fe32
dbms: development; provided monotonicity properties for date-time functions [#METR-19052].
2015-11-29 14:58:44 +03:00
Alexey Milovidov
d9bc972a59
dbms: allowed to use index if column is wrapped by piecewise-monotonic functions: initial implementation [#METR-19052].
2015-11-29 11:06:29 +03:00
Alexey Milovidov
8314861690
dbms: improved performance of INSERT SELECT [#METR-19025].
2015-11-21 18:47:32 +03:00
Andrey Mironov
715d2f6ce5
dbms: add key description to system.dictionaries[#METR-17328]
2015-11-20 19:20:54 +03:00
Alexey Milovidov
0713e4c592
dbms: addition to prev. revision [#METR-18847].
2015-11-20 06:08:12 +03:00
Alexey Milovidov
5e2499eb77
dbms: addition to prev. revision [#METR-18847].
2015-11-20 05:42:26 +03:00
Alexey Milovidov
4318712300
dbms: addition to prev. revision [#METR-18847].
2015-11-20 05:29:16 +03:00
Alexey Milovidov
2d00e5d84f
dbms: SAMPLE ... OFFSET development: using rational numbers [#METR-18847].
2015-11-20 00:34:53 +03:00
Alexey Milovidov
1b08920e50
dbms: SAMPLE OFFSET: development [#METR-18847].
2015-11-19 06:24:59 +03:00
Alexey Milovidov
09dd253636
dbms: added support for SAMPLE ... OFFSET [#METR-18847].
2015-11-19 00:37:28 +03:00
Alexey Milovidov
513b4e0dc2
dbms: fixed error message [#METR-18810].
2015-11-13 23:31:02 +03:00
Evgeniy Gatov
998f5fd552
dbms: temporarily disabled shards multiplexing [#METR-18300].
2015-11-13 20:21:16 +03:00
Alexey Milovidov
7f736e4065
dbms: temporarily disabled shards multiplexing [#METR-18300].
2015-11-12 04:17:44 +03:00
Alexey Milovidov
9b991b3d6c
dbms: whitespaces [#METR-2944].
2015-11-11 05:13:24 +03:00
Alexey Milovidov
d21307c535
dbms: fixed error with views [#METR-18748].
2015-11-10 23:07:38 +03:00
Alexey Milovidov
f8e58463a6
dbms: addition to prev. revision [#METR-17573].
2015-11-10 00:07:22 +03:00
Alexey Milovidov
e78ed9f802
dbms: replication delays: development [#METR-17573].
2015-11-09 23:30:54 +03:00
Alexey Milovidov
4482871274
dbms: allowed aliases without AS keyword in SELECT clause at top level [#METR-15573].
2015-11-08 03:28:12 +03:00
Alexey Milovidov
a43d225da7
Merge
2015-11-06 21:46:23 +03:00
Alexey Milovidov
d7831a6317
dbms: fixed error [#METR-17573].
2015-11-06 21:45:48 +03:00
Alexey Arno
29dc5f91d1
Merge
2015-11-06 20:44:01 +03:00
Alexey Milovidov
4a35d9169f
dbms: merges don't block ALTERs [#METR-18690].
2015-11-06 20:34:48 +03:00
Alexey Milovidov
53dd07b8ca
dbms: checking replication delays: development [#METR-17573].
2015-11-05 23:08:18 +03:00
Alexey Milovidov
e29df2814c
dbms: checking replication delays [#METR-17573].
2015-11-05 22:44:19 +03:00
Alexey Milovidov
11447a4e1a
dbms: accurate checking of replication delays (incomplete) [#METR-17573].
2015-11-05 20:38:24 +03:00
Alexey Milovidov
213a6dedbd
dbms: probably fixed error [#METR-18611].
2015-11-02 22:19:29 +03:00
Alexey Arno
3c115c4dbe
dbms: Server: Compilation fix. [#METR-16213]
2015-11-02 13:53:40 +03:00
Alexey Milovidov
c9a8f19def
dbms: fixed error with tuples of consts [#METR-18586].
2015-10-29 00:21:18 +03:00
Alexey Milovidov
400588148c
dbms: fixed error in PKCondition [#METR-18585].
2015-10-29 00:00:44 +03:00
Andrey Mironov
d2188a1183
dbms: alter: allow altering between any default types. [#METR-18221]
...
add commentary about altering to FixedString(N) columns with existing files
2015-10-21 17:54:13 +03:00
Andrey Mironov
8242d24d1d
dbms: fix alters involving FixedString columns and defaults [#METR-18221]
2015-10-21 17:54:13 +03:00
Alexey Arno
2660fbaa21
dbms: Server: merged branch METR-16213 into master
2015-10-20 17:59:29 +03:00
Andrey Mironov
4195842841
dbms: add ext::identity and ext::collection_cast, use in ITableDeclaration
2015-10-16 14:44:44 +03:00
Andrey Mironov
3b879c444d
dbms: simplify ITableDeclaration::getColumnsList
2015-10-15 20:58:28 +03:00
Andrey Mironov
b0d70b6753
dbms: ITableDeclaration::getColumnsListIterator: simplify awesome code even further
2015-10-15 20:51:23 +03:00
Andrey Mironov
ecf917de65
dbms: ITableDeclaration::getColumnsListIterator: simplify awesome code even further
2015-10-15 19:50:10 +03:00
Alexey Arno
5f17c9d55d
Merge
2015-10-12 17:53:16 +03:00
Alexey Milovidov
bb283e6602
dbms: added support for different numeric types in function has [#METR-18382].
2015-10-12 10:05:54 +03:00
Alexey Milovidov
0a7b4dd536
dbms: fixed little error [#METR-16457].
2015-10-08 23:01:09 +03:00
Alexey Milovidov
4e75ccee03
Probably better [#METR-17973].
2015-10-05 08:40:27 +03:00
Alexey Milovidov
918422ad48
Moved files [#METR-17973].
2015-10-05 04:35:28 +03:00
Alexey Milovidov
f90c3003ea
Moved files [#METR-17973].
2015-10-05 04:11:12 +03:00
Alexey Milovidov
4a061b97cb
Moved file [#METR-17973].
2015-10-05 03:44:40 +03:00
Alexey Milovidov
fefd3791f1
Moved files [#METR-17973].
2015-10-05 03:33:43 +03:00
Alexey Milovidov
733324645f
dbms: aggregation by arrays: preparation [#METR-13168].
2015-10-04 06:17:36 +03:00
Alexey Milovidov
f356545bbe
dbms: allowed DROP/DETACH partition on non-leader [#METR-17573].
2015-10-03 00:28:19 +03:00
Alexey Milovidov
b8c8662457
dbms: preparation [#METR-18167].
2015-10-02 21:33:46 +03:00
Alexey Milovidov
d339ad0048
Merge
2015-10-01 06:30:50 +03:00
Alexey Milovidov
1f6def094f
dbms: fixed build [#METR-18202].
2015-09-29 22:19:54 +03:00
Alexey Milovidov
003cc854fd
dbms: changed 'at most' to 'at least' for rows to read when specifying absolute SAMPLE size [#METRIKASUPP-5748].
2015-09-28 22:10:07 +03:00
Alexey Milovidov
932a09ad6e
dbms: fixed race condition in ATTACH [#METR-17573].
2015-09-27 17:22:23 +03:00
Alexey Milovidov
e96705ed44
dbms: fixed error [#METR-16779].
2015-09-27 16:45:20 +03:00
Alexey Milovidov
88f8d02ae7
dbms: fixed error [#METR-16779].
2015-09-27 16:35:14 +03:00
Alexey Milovidov
9a4a46af9b
dbms: fixed error [#METR-16779].
2015-09-27 16:03:41 +03:00
Alexey Milovidov
1a2f063fc8
dbms: addition to prev. revision [#METR-16779].
2015-09-27 15:52:58 +03:00
Alexey Milovidov
9025f88561
dbms: fixed error [#METR-18061].
2015-09-27 15:34:32 +03:00
Alexey Milovidov
87e1e69ff6
dbms: allowed to write block again after failed quorum write [#METR-16779].
2015-09-27 13:45:49 +03:00
Alexey Milovidov
3979b2aa49
dbms: don't use unreplicated data if there are no parts [#METR-18198].
2015-09-27 10:11:00 +03:00
Andrey Mironov
07a3ea8eb1
Merge
2015-09-25 16:39:13 +03:00
Alexey Milovidov
093a8b12a7
dbms: added 'max_network_bytes' setting [#METR-18186].
2015-09-25 15:52:47 +03:00
Alexey Milovidov
d86761f504
dbms: fixed error with 'max_concurrent_queries_for_user' setting in distributed queries [#METR-17965].
2015-09-25 15:47:33 +03:00
Andrey Mironov
efc1f35c21
dbms: fix reverse order of ranges for FINAL with merge_tree_uniform_read_distribution = 1 [#METR-16457]
2015-09-25 14:35:58 +03:00
Alexey Milovidov
1a16709162
dbms: fixed error [#METR-18170].
2015-09-25 10:51:00 +03:00
Alexey Milovidov
c757bf9063
dbms: setting thread names [#METR-2944].
2015-09-24 21:54:21 +03:00
Alexey Arno
19bc3181f2
Merge
2015-09-24 15:40:36 +03:00
Alexey Milovidov
fb654a1255
Merge
2015-09-24 10:39:47 +03:00
Alexey Milovidov
07b34aa432
dbms: fixed build [#METR-2944].
2015-09-24 10:03:20 +03:00
Alexey Milovidov
a3e706ead8
dbms: fixed error [#METR-18167].
2015-09-24 09:20:50 +03:00
Alexey Milovidov
3d817fe625
dbms: lowered data size in ZK [#METR-18170].
2015-09-24 08:47:17 +03:00
Alexey Milovidov
6fc99c48e1
dbms: better [#METR-2944].
2015-09-24 07:52:02 +03:00
Alexey Milovidov
1481d7f293
dbms: specifying port to send queries in ZK [#METR-18167].
2015-09-24 07:50:53 +03:00
Alexey Milovidov
7784606c6a
dbms: addition to prev. revision [#METR-2944].
2015-09-24 07:14:35 +03:00
Alexey Milovidov
a531680a92
dbms: removed most of log messages 'all_data_parts is locked' [#METR-2944].
2015-09-24 07:13:06 +03:00
Alexey Milovidov
75a16854db
dbms: moved files [#METR-2944].
2015-09-24 06:50:09 +03:00
Alexey Milovidov
dc209def73
dbms: table system.replication_queue: development [#METR-18061].
2015-09-24 04:18:25 +03:00
Alexey Milovidov
f8d94fcbd9
dbms: just-written parts does not participate in sanity check [#METR-18169].
2015-09-24 04:17:10 +03:00
Alexey Milovidov
a840af70ab
dbms: addition to prev. revision [#METR-18061].
2015-09-24 03:31:47 +03:00
Alexey Milovidov
6af8215af5
dbms: added table system.replication_queue [#METR-18061].
2015-09-24 03:21:02 +03:00
Alexey Milovidov
0f8b651fe8
dbms: fixing error with 'nonincrement_block_numbers' [#METR-18139].
2015-09-23 05:39:07 +03:00
Alexey Milovidov
926a661e38
Merge
2015-09-22 01:44:18 +03:00
Alexey Milovidov
c89541646c
dbms: instrumenting replication queue [#METR-18061].
2015-09-22 01:43:38 +03:00
Alexey Milovidov
5df201add2
dbms: clarification [#METR-2944].
2015-09-22 01:33:20 +03:00
Alexey Milovidov
4e28608077
dbms: fixed error [#METR-16779].
2015-09-21 21:47:46 +03:00
Andrey Mironov
244eabb54b
dbms: allow moving primary key columns to PREWHERE if the can't be used by PKCondition [#METR-18063]
2015-09-21 15:13:11 +03:00
Alexey Milovidov
726443131b
dbms: addition to prev. revision [#METR-16779].
2015-09-20 15:25:10 +03:00
Alexey Milovidov
4047e4ed5b
dbms: tiny modification [#METR-2944].
2015-09-20 14:56:14 +03:00
Alexey Milovidov
6571769d3b
dbms: added setting 'select_sequential_consistency' [#METR-16779].
2015-09-20 14:54:58 +03:00
Alexey Milovidov
3b5a3e7325
dbms: quorum insert: development [#METR-16779].
2015-09-20 14:02:59 +03:00
Alexey Milovidov
dcf40ef7c8
dbms: addition [#METR-17573].
2015-09-20 09:40:17 +03:00
Alexey Milovidov
a78ac9c6ee
dbms: addition to prev. revision [#METR-18099].
2015-09-20 09:35:28 +03:00
Alexey Milovidov
b14bbf3928
Merge
2015-09-20 09:31:19 +03:00
Alexey Milovidov
227b41b0eb
dbms: set queue entry time when cloning replica or repairing missing or damaged parts [#METR-18085].
2015-09-20 08:50:15 +03:00
Alexey Milovidov
615181b3a6
dbms: added last_queue_update column to system.replicas table; clarifications [#METR-17573].
2015-09-20 08:21:43 +03:00
Alexey Milovidov
3ea789e23f
dbms: fixed log message [#METR-2944].
2015-09-19 11:19:25 +03:00
Alexey Milovidov
b068913aeb
dbms: removed bogus messages from error log; improved diagnostics; extended system.replicas table [#METR-17573].
2015-09-19 08:56:40 +03:00
Alexey Arno
1cae6e8b54
Merge
2015-09-18 16:36:10 +03:00
Alexey Milovidov
a53f7473d3
dbms: removed misleading error messages about canceled merges [#METR-18087].
2015-09-18 09:39:39 +03:00
Alexey Milovidov
7a7a2ac6e0
dbms: attempt to fix an error (incomplete) [#METR-17286].
2015-09-18 00:31:26 +03:00
Alexey Milovidov
10b86afd3c
dbms: saving create time for log entries in ZK [#METR-18085].
2015-09-18 00:30:43 +03:00
Alexey Milovidov
b0b44b1565
dbms: removing old queue entries: continue development [#METR-18035].
2015-09-17 00:12:59 +03:00
Alexey Milovidov
13112cc66e
dbms: better [#METR-18035].
2015-09-16 23:40:01 +03:00
Alexey Milovidov
cf7d220f10
dbms: fixed error [#METR-18035].
2015-09-16 23:38:50 +03:00
Andrey Mironov
b3db6a06fc
dbms: fix for non-final select just in case [#METR-16457]
2015-09-16 15:15:25 +03:00
Andrey Mironov
55087bddc7
dbms: fix segfault when SELECT FINAL selects zero parts[#METR-16457]
2015-09-16 14:49:09 +03:00
Alexey Milovidov
fa0e61086f
dbms: removed bad code [#METR-17988].
2015-09-16 08:09:58 +03:00
Alexey Milovidov
200742d632
Merge
2015-09-16 07:18:52 +03:00
Alexey Milovidov
d51404633b
dbms: fixed error [#METR-16457].
2015-09-16 07:18:16 +03:00
Alexey Milovidov
d829d9fe10
dbms: clearing impossible queue entries: development [#METR-18035].
2015-09-15 04:55:22 +03:00
Alexey Milovidov
23a11f19c7
dbms: clearing impossible entries from replication queue [#METR-18035].
2015-09-15 04:20:40 +03:00
Alexey Milovidov
0743a87ebd
dbms: clearing impossible entries from replication queue [#METR-18035].
2015-09-15 01:45:19 +03:00
Alexey Milovidov
15a6ac31f4
dbms: quorum inserts: development [#METR-16779].
2015-09-11 05:51:35 +03:00
Alexey Milovidov
d53f173478
dbms: quorum inserts: development [#METR-16779].
2015-09-11 05:13:59 +03:00
Alexey Milovidov
a26a43fcc0
dbms: quorum inserts: development [#METR-16779].
2015-09-10 23:43:42 +03:00
Alexey Milovidov
ec2151e646
dbms: removing deduplicated parts immediately [#METR-17988].
2015-09-09 22:03:46 +03:00
Alexey Milovidov
f6cfc72000
dbms: addition to prev. revision [#METR-16779].
2015-09-09 21:34:58 +03:00
Alexey Milovidov
aaa70348af
dbms: quorum inserts: development [#METR-16779].
2015-09-09 21:15:36 +03:00
Alexey Milovidov
66b130a2e5
dbms: implemented method 'pull' for GLOBAL subqueries [#METR-17758].
2015-09-05 04:22:09 +03:00
Alexey Milovidov
767a3c8090
dbms: fixed error with WITH TOTALS in subquery with distributed table with one shard and LIMIT [#METR-17561].
2015-09-04 22:40:55 +03:00
Andrey Mironov
40026a8e7b
Merge
2015-09-03 16:30:50 +03:00
Andrey Mironov
11857853a4
Merge
2015-09-03 12:20:04 +03:00
Alexey Milovidov
57c03c0dce
dbms: whitespace [#METR-17552].
2015-09-02 22:58:29 +03:00
Alexey Milovidov
f46326c4e8
dbms: StorageBuffer: better [#METR-17889].
2015-09-02 20:47:29 +03:00
Andrey Mironov
959d66cfa4
dbms: use actual settings [#METR-16457]
2015-09-02 14:15:16 +03:00
Alexey Milovidov
dab47ec36d
dbms: fixed error with StorageBuffer [#METR-17889].
2015-09-02 00:48:38 +03:00
Andrey Mironov
ef356f9267
Merge
2015-09-01 19:09:12 +03:00
Andrey Mironov
b2fa52394b
dbms: support final with new code [#METR-16457]
2015-09-01 15:24:38 +03:00
Andrey Mironov
84d24ae336
merge branch 'master'
2015-08-31 18:50:06 +03:00
Alexey Milovidov
5374c2a927
dbms: removed random shuffling of data parts on SELECT [#METR-17757].
2015-08-19 21:35:02 +03:00
Andrey Mironov
4bdecf9c29
dbms: print detailed exception text in system.dictionaries.last_exception [#METR-17487]
2015-08-19 16:19:37 +03:00
Alexey Milovidov
f1655cc62f
Merge
2015-08-18 00:09:36 +03:00
Alexey Milovidov
5011e4d581
dbms: added StripeLog engine [#METR-17716].
2015-08-16 11:18:34 +03:00
Alexey Milovidov
469b409ba0
dbms: added storage StripeLog (incomplete) [#METR-17716].
2015-08-16 10:01:41 +03:00
Alexey Milovidov
cf4a0e85ef
dbms: lowered memory usage for INSERT [#METR-17704].
2015-08-14 05:45:40 +03:00
Alexey Milovidov
38d6128150
dbms: added column sizes to system.columns table [#METR-17475].
2015-07-26 14:34:41 +03:00
Andrey Mironov
28d333adff
Merge
2015-07-23 20:54:07 +03:00
Andrey Mironov
defba956d9
Merge
2015-07-23 16:11:27 +03:00
Alexey Milovidov
8d5cd69bb2
dbms: fixed exception message [#METR-2944].
2015-07-17 21:11:10 +03:00
Alexey Milovidov
c0e029bb1b
dbms: renamed ColumnWithNameAndType to ColumnWithTypeAndName for clarification [#METR-2944].
2015-07-17 04:27:35 +03:00
Alexey Milovidov
71f64f2d49
Merge
2015-07-17 00:32:51 +03:00
Alexey Milovidov
41faaed60e
dbms: addition to prev. revision [#METR-17305].
2015-07-17 00:08:50 +03:00
Alexey Milovidov
791cc23dd6
dbms: addition to prev. revision [#METR-17305].
2015-07-17 00:06:45 +03:00
Alexey Milovidov
52847e6591
Merge
2015-07-17 00:03:53 +03:00
Alexey Milovidov
c9689b255d
dbms: system.replicas: added columns 'inserts_oldest_time' and 'merges_oldest_time' [#METR-17306]..
2015-07-16 22:11:59 +03:00
Alexey Milovidov
efdc07a1da
Merge
2015-07-16 21:13:58 +03:00
Alexey Arno
5dcda93405
dbms: Server: Fixed unsigned int overflow issues. Updated functional test. [#METR-16435]
2015-07-16 16:01:49 +03:00
Alexey Milovidov
ba7b7dd52d
dbms: fixed race condition in storage Chunks [#METR-17327].
2015-07-15 23:40:19 +03:00
Alexey Milovidov
1f03f17a49
dbms: passing proper Context to subqueries analyzer in PREWHERE [#METR-17231].
2015-07-15 07:50:48 +03:00
Alexey Milovidov
226731128b
dbms: get rid of columns inside Context [#METR-15553].
2015-07-15 04:26:35 +03:00
Andrey Mironov
874f665ffd
Merge
2015-07-14 16:11:38 +03:00
Alexey Milovidov
52bab67d5f
Merge
2015-07-14 03:48:34 +03:00
Andrey Mironov
f92714712f
dbms: extract IDictionaryBase, fix devirtualization. [#METR-17111]
2015-07-13 20:11:17 +03:00
Alexey Arno
231588919f
Merge
2015-07-13 14:45:59 +03:00
Alexey Milovidov
c449820a13
dbms: addition to prev. revision [#METR-16999].
2015-07-08 17:22:31 +03:00
Alexey Milovidov
af0070c16b
Merge
2015-07-08 07:38:46 +03:00
Alexey Arno
992e7dc7a5
Merge
2015-07-08 02:11:30 +03:00
Andrey Mironov
a5bfc70920
Merge
2015-07-07 18:30:10 +03:00
Alexey Arno
1d9066bb8a
Merge
2015-07-03 16:04:03 +03:00
Alexey Milovidov
efddabd212
Merge
2015-07-01 23:42:42 +03:00
Alexey Milovidov
d71b7ca1b0
dbms: better diagnostics [#METR-12542].
2015-07-01 23:14:23 +03:00
Alexey Arno
072d110f67
Merge
2015-07-01 20:33:00 +03:00
Andrey Mironov
85d2dbcd76
Merge
2015-06-29 13:49:24 +03:00
Alexey Milovidov
efc741efb0
dbms: added setting 'distributed_group_by_no_merge' [#METR-17060].
2015-06-28 09:48:42 +03:00
Alexey Arno
37f008afd0
dbms: Server: Added support for multiple time zones: part 1 (does not add any new functionality, does not change current functionality) [#METR-15618]
2015-06-26 18:11:31 +03:00
Andrey Mironov
a9d16d8a9f
Merge
2015-06-26 13:52:20 +03:00
Andrey Mironov
9dd999708c
Merge
2015-06-25 16:03:46 +03:00
Alexey Milovidov
4ecc523ea5
dbms: fixed error with using comparison of Date or DateTime with constant string in index [#METR-2944].
2015-06-25 00:24:06 +03:00
Andrey Mironov
aa7fe63962
dbms: temporarily add merge_tree_uniform_read_distribution setting. [#METR-16457]
2015-06-24 16:22:31 +03:00
Andrey Mironov
b18764404a
Merge
2015-06-24 14:03:53 +03:00
Alexey Milovidov
7f2fddeed2
dbms: fixed error in materialized views after refactoring [#METR-16945].
2015-06-23 02:17:49 +03:00
Andrey Mironov
f012d95b7a
dbms: implement alter table detach unreplicated partition [#MTRSADMIN-1093]
2015-06-22 21:24:02 +03:00
Andrey Mironov
be68461fc6
dbms: correctly determine mark to end of previous block [#MTRSADMIN-1093]
2015-06-22 21:24:02 +03:00
Andrey Mironov
978aba0f4c
Merge
2015-06-22 21:24:02 +03:00
Alexey Milovidov
6f3d8f0efc
dbms: added simple priorities system [#METR-16911].
2015-06-21 09:06:04 +03:00
Alexey Milovidov
0719320758
dbms: improvement [#METR-2944].
2015-06-18 05:11:05 +03:00
Alexey Milovidov
7f0e6fd3c1
Merge
2015-06-11 03:35:36 +03:00
Alexey Milovidov
18a8e1f0ca
dbms: StorageBuffer: added missing support for defaults [#METR-16722].
2015-06-09 22:43:06 +03:00
Alexey Milovidov
c94bd2fc09
dbms: removed useless code [#METR-16739].
2015-06-08 23:22:02 +03:00
Alexey Milovidov
cac3ce7e27
dbms: allowed more easily to specify cluster name with hyphens [#METR-16610].
2015-06-05 23:04:54 +03:00
Alexey Milovidov
4899dd47aa
dbms: get rid of 'increment.txt': addition [#METR-16629].
2015-06-05 19:41:18 +03:00
Alexey Milovidov
05814604de
dbms: fixed error with ATTACH for replicated tables [#MTRSADMIN-1093].
2015-06-04 05:07:30 +03:00
Alexey Milovidov
027342ec5a
Merge
2015-06-03 06:56:40 +03:00
Alexey Milovidov
9c78e95702
dbms: addition to prev. revision [#METR-16629].
2015-06-03 00:24:41 +03:00
Alexey Milovidov
76bfd2af21
dbms: addition to prev. revision [#METR-16629].
2015-06-03 00:08:12 +03:00
Alexey Milovidov
c19193cf61
Merge
2015-06-02 23:22:53 +03:00
Alexey Milovidov
5752d8f561
dbms: removing obsolete parts [#METR-16629].
2015-06-02 23:21:03 +03:00
Alexey Milovidov
3786513a3c
dbms: fixing error [#METR-16575].
2015-05-29 00:41:28 +03:00
Alexey Milovidov
40f0a9c4d9
dbms: fixed error with false-broken parts [#METR-16545].
2015-05-28 07:32:38 +03:00
Alexey Milovidov
0984363b9c
dbms: removed passing DataTypeFactory everywhere [#METR-16545].
2015-05-28 06:49:28 +03:00
Andrey Mironov
31b868184d
dbms: show all dictionaries in system.dictionaries, even the ones failed to load. [#METR-16466]
2015-05-26 14:54:05 +03:00
Alexey Arno
28822deffb
dbms: Server: Fixed computation overflow issue. [#METR-16435]
2015-05-26 13:00:17 +03:00
Alexey Milovidov
baaf5d0485
dbms: allowed to JOIN with empty table [#METR-16476].
2015-05-26 03:37:48 +03:00
Andrey Mironov
fb2828f256
Merge
2015-05-20 15:06:48 +03:00
Alexey Milovidov
2b762c7aa9
dbms: fixed error with StorageBuffer when destination table doesn't exist [#METR-16352].
2015-05-18 23:28:40 +03:00
Alexey Milovidov
df8eefd79e
dbms: tiny fixes [#METR-16266].
2015-05-16 11:33:32 +03:00
Andrey Mironov
2c58c9ea50
dbms: add system.dictionaries.query_count field [#METR-
...
15569]
2015-05-08 15:31:34 +03:00
Alexey Milovidov
c57063be27
Merge
2015-05-07 02:35:54 +03:00
Alexey Milovidov
a5afb7a863
dbms: cut dependency [#METR-2944].
2015-05-07 02:35:37 +03:00
Alexey Milovidov
cebe87f321
Merge
2015-05-05 21:22:59 +03:00
Alexey Arno
6a3c429bf3
dbms: Server: Removed unneeded code. [#METR-15859]
2015-05-05 13:45:45 +03:00
Alexey Arno
550d5e9e7a
dbms: Server: Fixed hostname + IP address presentation. [#METR-15859]
2015-05-05 13:13:45 +03:00
Alexey Milovidov
6ce28acc0f
dbms: cut dependency [#METR-2944].
2015-05-04 20:52:19 +03:00
Alexey Arno
fa78aa633f
Merge
2015-04-30 15:43:16 +03:00
Alexey Arno
e596208c3b
dbms: Server: Fixes. [#METR-15859]
2015-04-27 12:43:23 +03:00
Alexey Arno
5309366008
dbms: Server: Feature development. [#METR-15859]
2015-04-25 02:23:25 +03:00
Alexey Arno
7d12e18e16
dbms: Server: Feature development. [#METR-15859]
2015-04-24 19:49:32 +03:00
Alexey Arno
5463d74a84
Merge
2015-04-24 18:49:30 +03:00
Alexey Arno
93a871e60a
dbms: Server: Untabified a bit. [#METR-15619]
2015-04-24 15:28:38 +03:00
Alexey Arno
e1b6730e5b
Merge
2015-04-24 15:26:23 +03:00
Alexey Arno
5136ffb2a6
dbms: Server: Simplified code. [#METR-14408]
2015-04-21 18:12:08 +03:00
Andrey Mironov
77b2ef6f81
Merge
2015-04-21 16:10:08 +03:00
Alexey Arno
8a317f076d
Merge
2015-04-17 16:56:29 +03:00
Alexey Milovidov
a2f2cc369d
dbms: preparation for FULL and RIGHT JOINs [#METR-15418].
2015-04-17 11:46:06 +03:00
Alexey Milovidov
124a12095a
dbms: added support for selecting stronger compression method [#METR-15386].
2015-04-17 08:35:53 +03:00
Alexey Milovidov
93ae68b68d
dbms: probably fixed race condition (and flapping test) with ALTER ... DETACH and merge [#METR-2944].
2015-04-16 14:30:34 +03:00
Alexey Milovidov
e4bd9b1dec
dbms: cut another dependency [#METR-2944].
2015-04-16 10:22:29 +03:00
Alexey Milovidov
402e0ee457
dbms: fixed build [#METR-2944].
2015-04-16 09:46:18 +03:00
Alexey Milovidov
114b3de689
dbms: cut dependencies [#METR-2944].
2015-04-16 09:12:35 +03:00
Alexey Arno
96f33e9238
dbms: Server: Code cleanups. [#METR-15090]
2015-04-14 17:58:59 +03:00
Alexey Arno
9bcb33c1d7
Merge
2015-04-14 17:21:19 +03:00
Alexey Arno
d35e4d0e4d
dbms: Server: Code cleanups. [#METR-15090]
2015-04-14 16:44:38 +03:00
Alexey Milovidov
c4ea83a906
dbms: cut dependencies [#METR-2944].
2015-04-14 05:45:30 +03:00
Andrey Mironov
c477f5f152
Merge
2015-04-13 16:55:39 +03:00
Alexey Milovidov
628c32c840
dbms: using setting 'max_read_buffer_size' in Log and TinyLog tables [#METR-15090].
2015-04-12 07:47:03 +03:00
Alexey Milovidov
cac503ff82
Merge
2015-04-12 07:39:20 +03:00
Alexey Milovidov
9c4badbe39
dbms: addition to prev. revision [#METR-15934].
2015-04-11 06:39:31 +03:00
Alexey Milovidov
aa726b203d
dbms: addition to prev. revision [#METR-15933].
2015-04-11 06:30:54 +03:00
Alexey Milovidov
9ec393df61
dbms: better diagnostics on syntax error [#METR-15933].
2015-04-11 06:10:23 +03:00
Alexey Milovidov
62ff76c572
Merge
2015-04-10 20:54:52 +03:00
Alexey Milovidov
794ee4baf0
dbms: added line feeds [#METR-2944].
2015-04-10 20:54:33 +03:00
Alexey Arno
b5c1932b8c
Merge
2015-04-10 20:51:39 +03:00
Alexey Milovidov
543c4c92cb
dbms: removed dead code; healing corrupted nested columns [#METR-15896].
2015-04-09 03:37:08 +03:00
Alexey Milovidov
b11974f99a
Merge
2015-04-03 02:58:26 +03:00
Andrey Mironov
c2ba426ab7
Merge
2015-04-01 14:45:01 +03:00
Andrey Mironov
bdd0b60c07
dbms: support FixedString in column default expressions
2015-04-01 14:45:00 +03:00
Alexey Milovidov
06c35e0faa
dbms: improvement [#METR-15484].
2015-03-27 06:37:46 +03:00
Alexey Milovidov
cfc5b313cc
dbms: fixed 'force_index_by_date' setting [#METR-15484].
2015-03-27 06:06:06 +03:00
Alexey Milovidov
74dc65197a
dbms: tiny modification [#METR-2944].
2015-03-27 02:51:48 +03:00
Alexey Milovidov
75dc9db388
dbms: ALTER: writing to log just before waiting for lock [#METR-2944].
2015-03-27 02:48:50 +03:00
Alexey Milovidov
bf4bd07065
dbms: tiny modifications [#METR-2944].
2015-03-27 02:32:16 +03:00
Andrey Mironov
72b2c63557
dbms: system.dictionaries: use ext::map for the purpose it was designed for. [#METR-15569]
2015-03-26 17:57:41 +03:00
Andrey Mironov
8bc12dbbe4
dbms: system.dictionaries: add brief source description. [#METR-15569]
2015-03-25 13:10:35 +03:00
Alexey Milovidov
7c74a112a0
dbms: tiny improvement [#METR-2944].
2015-03-25 04:45:42 +03:00
Andrey Mironov
8796aa8497
dbms: HashTable: grower getBufferSizeInCells
2015-03-24 20:04:03 +03:00
Andrey Mironov
ca6f081dea
dbms: system.dictionaries: provide attribute names and types[#METR-13298]
2015-03-24 20:04:03 +03:00
Pavel Kartavyy
281cd846cd
Merge
2015-03-24 18:06:09 +03:00
Andrey Mironov
51e1ad0591
dbms: show bytes_allocated in system.dictionaries for all types of dictionaries. [#METR-13298]
2015-03-24 15:12:48 +03:00
Andrey Mironov
e521611c98
dbms:dummy system.dictionaries and dictionary exception logging. [#METR-13298]
2015-03-24 12:50:39 +03:00
Pavel Kartavyy
deac97fc8d
Merge
2015-03-23 12:09:25 +03:00
Pavel Kartavyy
ffff85daa4
Merge
2015-03-23 12:09:25 +03:00
Pavel Kartavyy
134ee3a779
Merge
2015-03-23 12:09:25 +03:00
Alexey Milovidov
a399504bfa
dbms: removed DROP PARTITION from unreplicated data [#METR-15375].
2015-03-20 19:13:24 +03:00
Alexey Milovidov
0535438ea4
dbms: fixed bad code with GLOBAL operations [#METR-15144].
2015-03-15 11:05:28 +03:00
Alexey Milovidov
291d9daabf
Merge
2015-03-14 05:37:53 +03:00
Alexey Milovidov
5c69667f2a
dbms: different compression methods on merge: preparation [#METR-15386].
2015-03-14 05:36:39 +03:00
Alexey Milovidov
0a27283081
dbms: added setting 'force_index_by_date' [#METR-15484].
2015-03-14 04:20:10 +03:00
Alexey Milovidov
b828604a5f
Merge
2015-03-14 00:31:23 +03:00
Alexey Milovidov
ae4c458c5b
dbms: more uniform distribution of work among threads [#METR-2944].
2015-03-08 01:00:58 +03:00
Alexey Milovidov
0828dba841
dbms: preparation [#METR-2944].
2015-03-02 04:10:58 +03:00
Alexey Milovidov
df2ccb311c
dbms: report error when Buffer table refers to itself [#METR-15167].
2015-02-27 23:39:34 +03:00
Alexey Milovidov
f8f806ff58
dbms: fixed performance issue with very small blocks [#METR-2944].
2015-02-22 18:31:39 +03:00
Alexey Milovidov
2d04fed3a3
dbms: improved performance of reading string column [#METR-2944].
2015-02-15 15:38:21 +03:00
Alexey Milovidov
886b2daf9b
dbms: added support for subqueries in PREWHERE [#METR-15106].
2015-02-15 07:16:11 +03:00
Alexey Milovidov
7d4ce4b505
dbms: added settings to fine tune reads from merge tree [#METR-2944].
2015-02-15 05:31:48 +03:00
Alexey Milovidov
ad2392ee7d
dbms: fixed error with StorageBuffer [#METR-15105].
2015-02-13 23:37:30 +03:00
Alexey Milovidov
a9eb28c07d
Using std::make_unique [#METR-2807].
2015-02-11 00:10:58 +03:00
Alexey Milovidov
d0972a159d
dbms: added setting 'max_memory_bandwidth' [#METR-15052].
2015-02-10 23:48:17 +03:00
Alexey Arno
d01825eaca
dbms: Server: fixed issue with query stage setup on replicas [#METR-14410]
2015-02-09 20:53:44 +03:00
Alexey Arno
e8902aa644
dbms: Server: queries with several replicas: fixes [#METR-14410]
2015-02-09 01:37:55 +03:00
Alexey Arno
2e5d1041a1
dbms: Server: queries with several replicas: fixes [#METR-14410]
2015-02-08 02:13:04 +03:00
Alexey Arno
d519fac7b5
dbms: Server: queries with several replicas: fixes [#METR-14410]
2015-02-04 13:40:00 +03:00
Alexey Arno
51f8ad6e9d
dbms: Server: queries with several replicas: fixes [#METR-14410]
2015-02-04 13:27:06 +03:00
Alexey Arno
7ff0baaa44
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 17:37:35 +03:00
Alexey Arno
79e97417d9
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:36:33 +03:00
Alexey Arno
7cba335206
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:36:33 +03:00
Alexey Arno
a7f0279e1c
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:36:33 +03:00
Alexey Arno
c46cd1e087
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:36:33 +03:00
Alexey Arno
aa6e8f1fff
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:36:33 +03:00
Alexey Arno
28570a12ce
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:36:13 +03:00
Alexey Arno
83234d153c
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:36:02 +03:00
Alexey Arno
4d62c9f7ff
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:35:55 +03:00
Alexey Arno
73006ac354
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:35:55 +03:00
Alexey Arno
485c472bc7
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:35:55 +03:00
Alexey Arno
92fb1d2689
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:35:55 +03:00
Alexey Arno
8135c2286d
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:35:55 +03:00
Alexey Arno
d6f59cbc9e
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:35:54 +03:00
Alexey Arno
dab90c2542
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:35:54 +03:00
Alexey Milovidov
22b9ecfdea
dbms: fixed error with DROP COLUMN in replicated tables [#METR-14848].
2015-02-01 06:49:36 +03:00
Alexey Milovidov
da2ba1f7f7
dbms: fixed error with StorageSet and StorageJoin [#METR-2944].
2015-01-30 21:57:44 +03:00
Alexey Milovidov
e4e313f54f
dbms: StorageJoin: development [#METR-2944].
2015-01-28 05:37:05 +03:00
Alexey Milovidov
2b0b4d0528
dbms: StorageJoin: development [#METR-2944].
2015-01-28 03:38:10 +03:00
Alexey Milovidov
2c124ea375
dbms: StorageJoin: development [#METR-2944].
2015-01-28 03:08:45 +03:00
Alexey Milovidov
8a61f96d67
dbms: StorageJoin: development [#METR-2944].
2015-01-28 00:24:24 +03:00
Alexey Milovidov
fed642cd7c
dbms: added StorageSet [#METR-2944].
2015-01-27 03:52:03 +03:00
Alexey Milovidov
6927823716
dbms: little better [#METR-2944].
2015-01-25 08:07:51 +03:00
Alexey Milovidov
86e9e77eae
Fixed errors in clang (part 5, final) [#METR-2807].
2015-01-22 04:13:13 +03:00
Alexey Milovidov
02f9d15a36
Addition to prev. revision [#METR-2944].
2015-01-21 07:30:33 +03:00
Alexey Milovidov
27543ea7e5
Fixed errors in clang (part 2) [#METR-2807].
2015-01-21 07:00:20 +03:00
Alexey Milovidov
1be4bd0663
Fixed errors in clang (part 1) [#METR-2807].
2015-01-21 06:56:28 +03:00
Alexey Milovidov
1685b293f7
dbms: tiny improvements [#METR-2944].
2015-01-18 11:25:56 +03:00
Alexey Milovidov
715f5bf8d1
dbms: fixed error with GLOBAL IN when one of shard is localhost [#METR-14557].
2015-01-14 05:44:25 +03:00
Alexey Milovidov
e9232fc2fc
dbms: more scalable aggregator: development [#METR-2944].
2014-12-30 21:04:53 +03:00
Alexey Milovidov
f9ae1ea67e
dbms: fixed error with table function 'remote' [#METR-14483].
2014-12-30 06:53:41 +03:00
Alexey Milovidov
132847e64d
dbms: fixed special case when renaming or removing parts [#METR-13918] [#METR-14470].
2014-12-24 23:02:04 +03:00
Alexey Milovidov
bba4b0c66c
dbms: removed rare-useful repetitive log messages [#METR-2944].
2014-12-21 04:27:56 +03:00
Alexey Milovidov
0c2e0b7304
dbms: fixed error with replication [#METR-14391].
2014-12-21 04:20:07 +03:00
Alexey Arno
f3cf2bebe7
Merge
2014-12-19 18:56:26 +03:00
Alexey Arno
5d23310cea
dbms: Server: execute queries from views with as most parallelism as possible [#METR-14408]
2014-12-19 18:56:12 +03:00
Andrey Mironov
1713846472
dbms: fix merge blocker. [#METR-14032]
2014-12-19 17:18:56 +03:00
Alexey Milovidov
5d7fe1e852
dbms: fixed error [#METR-14361].
2014-12-17 23:38:38 +03:00
Andrey Mironov
7d713ea40b
dbms: compress zookeeper checksum metadata. [#MTRSADMIN-879]
2014-12-17 21:38:22 +03:00
Andrey Mironov
e7301a4050
dbms: add override to AST types
2014-12-17 18:51:21 +03:00
Andrey Mironov
3ebfd2fb7f
dbms: pass proper context into Storage::read(). [#METR-14179]
...
This reverts commit 34b3f738a67432b44f6f69238dd1529535984d1a.
2014-12-17 17:19:07 +03:00
Andrey Mironov
338314c9c6
dbms: stop merges on ALTER. [#METR-14032]
2014-12-17 16:14:24 +03:00
Andrey Mironov
49e322a045
Revert "dbms: pass proper context into Storage::read(). [#METR-14179]"
...
This reverts commit c0800b74a6fa338d29a65111599aa1fe71b67201.
2014-12-16 19:22:57 +03:00
Andrey Mironov
dcae14d25e
dbms: return cloning query in StorageDistributed::read. [#METR-14179, #METR-13399]
2014-12-16 15:40:25 +03:00
Andrey Mironov
fc9472ba47
dbms: pass proper context into Storage::read(). [#METR-14179]
2014-12-16 15:40:25 +03:00
Alexey Milovidov
cea5e295d0
dbms: addition to prev. revision [#METR-14300].
2014-12-15 07:06:39 +03:00
Alexey Milovidov
bdf7b561a6
dbms: fixed error in system.zookeeper table [#METR-2944].
2014-12-13 22:46:53 +03:00
Alexey Milovidov
09076b30d5
Merge
2014-12-12 23:50:32 +03:00
Alexey Milovidov
dac2ff8920
dbms: addition to prev. revision [#METR-14238].
2014-12-11 05:06:22 +03:00
Alexey Milovidov
03a21823db
dbms: addition to prev. revision [#METR-14238].
2014-12-11 05:04:13 +03:00
Alexey Milovidov
2aa2cb18c4
dbms: fixed error with re-initializing session in ZK [#METR-14238].
2014-12-11 04:56:42 +03:00
Andrey Mironov
c21502e70f
dbms: store checksums in binary format. [#MTRSADMIN-879]
2014-12-09 16:58:19 +03:00
Alexey Milovidov
f175ec58e0
dbms: tiny improvement [#METR-2944].
2014-12-08 01:59:00 +03:00
Andrey Mironov
fa3d9226b3
dbms: fix forced flush in StorageBuffer
2014-12-03 16:28:17 +03:00
Andrey Mironov
274e0a80a7
dbms: less overhead and indirection in StorageBuffer
2014-12-03 16:01:39 +03:00
Alexey Milovidov
8446069851
dbms: more simple [#METR-13953].
2014-12-02 22:08:18 +03:00
Alexey Milovidov
5fae38cb97
dbms: tiny improvement [#METR-2944].
2014-11-30 10:00:05 +03:00
Alexey Milovidov
3a38517f86
dbms: addition to prev. revision [#METR-13936].
2014-11-30 08:43:04 +03:00
Alexey Milovidov
82f9e253a1
Merge
2014-11-30 08:11:04 +03:00
Alexey Milovidov
a359b09c83
dbms: fixed misleading variable name [#METR-2944].
2014-11-30 06:21:01 +03:00
Alexey Milovidov
b2696ffec1
dbms: fixed one of errors [#METR-13979].
2014-11-28 23:45:33 +03:00
Alexey Milovidov
bdb666efee
Revert "Revert "dbms: fix column names asynchrony in SELECT from StorageDistributed. [#METR-13399]""
...
This reverts commit 08c41d2abb2e08922c567856ec37038d1fa59e72.
2014-11-26 00:11:11 +03:00
Alexey Milovidov
071e31a7fa
Revert "dbms: fix column names asynchrony in SELECT from StorageDistributed. [#METR-13399]"
...
This reverts commit f68d3226e0e55179b4cd734477f0aa45b669d6fa.
2014-11-25 19:33:01 +03:00
Andrey Mironov
e310a3021b
dbms: fix column names asynchrony in SELECT from StorageDistributed. [#METR-13399]
2014-11-24 20:11:29 +03:00
Alexey Milovidov
3dc00a1298
dbms: addition to prev. revision [#METR-13262].
2014-11-22 05:51:22 +03:00
Alexey Milovidov
d7a1abbbdc
Merge
2014-11-22 05:22:30 +03:00
Andrey Mironov
d0971956e0
dbms: add quantile[s]Deterministic, rename stdext:: to ext:: [#METR-13199]
2014-11-21 16:34:37 +03:00
Alexey Milovidov
a7b4903f14
dbms: fixed error with replication when 'interserver_http_port' is not specified [#METR-13831].
2014-11-19 23:40:51 +03:00
Alexey Milovidov
8f076b8ac4
Removed deprecated date and time functions [#METR-13554].
2014-11-14 23:55:23 +03:00
Pavel Kartavyy
140b4545dd
dbms: fix [#METR-13667]
2014-11-13 17:01:29 +03:00
Pavel Kartavyy
14c231c055
dbms: filtered tables in 'show tables from' query [#METR-13667]
2014-11-13 16:02:12 +03:00
Andrey Mironov
50328d120a
Merge
2014-11-12 13:42:04 +03:00
Andrey Mironov
731be3e7cf
Merge
2014-11-12 13:37:47 +03:00
Andrey Mironov
65629ef560
Merge
2014-11-11 19:29:21 +03:00
Andrey Mironov
8a2de38dc7
dbms: materialize constants during merge, allow alteration between DEFAULT and MATERIALIZED. [#METR-12739]
2014-11-11 18:22:39 +03:00
Andrey Mironov
de271b753e
dbms: allow creating tables with all columns set to default. [#METR-12739]
2014-11-11 17:11:49 +03:00
Alexey Milovidov
9a9036f217
dbms: added FREEZE PARTITION functionality [#METR-13441].
2014-11-11 07:11:07 +03:00
Andrey Mironov
3407600536
dbms: save all columns in a single ZooKeeper node [#METR-12739]
2014-11-10 19:16:43 +03:00
Alexey Milovidov
16a1c1e6e8
Merge
2014-11-09 02:55:24 +03:00
Alexey Milovidov
c881adcaff
dbms: allowed to start without ZooKeeper (in readonly mode) [#METR-2944].
2014-11-07 04:12:55 +03:00
Alexey Milovidov
3d359e2b82
Partially get rid of time2str.h [#METR-13554].
2014-11-06 09:32:23 +03:00
Alexey Milovidov
6754ee8068
dbms: more sane [#METR-13554].
2014-11-06 06:38:10 +03:00
Alexey Milovidov
4e363249e1
dbms: added test [#METR-2944].
2014-11-05 23:55:33 +03:00
Alexey Milovidov
425263970f
dbms: improved performance of aggregation by one numeric key (up to: 2x for UInt8, 5x for UInt16, 1.1x for UInt32, UInt64) [#METR-2944].
2014-10-29 04:18:50 +03:00
Alexey Milovidov
5d21d75e85
dbms: addition to prev. revision [#METR-13297].
2014-10-27 07:50:38 +03:00
Alexey Milovidov
e063ccc180
dbms: StorageBuffer: additions [#METR-13297].
2014-10-27 07:18:13 +03:00
Alexey Milovidov
5cf02c4cc1
dbms: addition to prev. revision [#METR-13297].
2014-10-26 03:21:06 +03:00
Alexey Milovidov
13f825a7e5
dbms: StorageBuffer: fixed error [#METR-13297].
2014-10-26 03:12:39 +03:00
Alexey Milovidov
2d5192c4a0
dbms: StorageBuffer: development [#METR-13297].
2014-10-26 03:01:36 +03:00
Alexey Milovidov
0045133b0e
dbms: prepared for fully-functional progress bar [#METR-2944].
2014-10-25 22:33:52 +04:00
Andrey Mironov
ec5aa734f9
dbms: cut coupling between dbms and dbms_functions. [#METR-12739]
2014-10-24 13:33:31 +04:00
Alexey Milovidov
4eba9dc56c
dbms: treat SAMPLE 1 as no-op [#METR-2944].
2014-10-23 23:16:43 +04:00
Andrey Mironov
934149d59a
Merge
2014-10-23 16:16:24 +04:00
Andrey Mironov
847b91614a
dbms: deduce and check types during alter, alteration of defaulted columns. [#METR-12739]
2014-10-21 16:11:20 +04:00
Alexey Milovidov
2c23fb4d87
dbms: tiny modifications [#METR-2944].
2014-10-19 01:46:05 +04:00
Alexey Milovidov
d3664eac89
dbms: added setting replication_alter_partitions_sync [#METR-13158].
2014-10-18 23:14:09 +04:00
Alexey Milovidov
f26b265eed
Merge
2014-10-18 21:37:55 +04:00
Andrey Mironov
8a8e5963c5
dbms: chaining support for defaulted columns when corresponding columns files are absent. [#METR-12739]
2014-10-17 16:26:53 +04:00
Alexey Milovidov
a097d24644
dbms: moved some code to separate file [#METR-13153].
2014-10-17 05:05:51 +04:00
Alexey Milovidov
ef82933bb3
zkutil: Async interface: development [#METR-2944].
2014-10-17 00:05:26 +04:00
Andrey Mironov
0bfd35e5c7
dbms: defaulted columns support for ALTER, currently without type deduction and checking.
2014-10-16 17:37:01 +04:00
Alexey Milovidov
c2e4662ad7
Changed boost:: to std:: for bind, ref/cref, thread, shared_ptr [#METR-2807].
2014-10-16 05:21:03 +04:00
Alexey Milovidov
afc4f7fcf0
dbms: tiny modification [#METR-13153].
2014-10-16 00:28:43 +04:00
Alexey Milovidov
07ba420b85
dbms: addition to prev. revision; removed support to FETCH UNREPLICATED PARTITION [#METR-13153].
2014-10-15 23:59:12 +04:00
Alexey Milovidov
2800bf4c30
dbms: modified criteria for automatic repair [#METR-13235].
2014-10-15 23:42:32 +04:00
Alexey Milovidov
25b474bd81
dbms: fixed subtle error [#METR-13153].
2014-10-15 17:38:09 +04:00
Alexey Milovidov
3d7639e5f1
dbms: little better [#METR-13153].
2014-10-15 05:22:06 +04:00
Alexey Milovidov
5fc32bb267
dbms: FETCH PARTITION: development [#METR-13153].
2014-10-13 22:01:58 +04:00
Alexey Milovidov
21383c5475
dbms: FETCH PARTITION: development [#METR-13153].
2014-10-13 21:28:59 +04:00
Andrey Mironov
43deee45c9
dbms: MATERIALIZED columns evaluation during insert, error handling. #[METR-12739]
2014-10-13 18:35:40 +04:00
Andrey Mironov
6f7997ce11
dbms: prohibit inserting materialized columns, support create as and similar queries. [#METR-12739]
2014-10-10 19:45:43 +04:00
Alexey Milovidov
54636994ef
dbms: FETCH PARTITION: development [#METR-13153].
2014-10-10 04:46:37 +04:00
Alexey Milovidov
39bf7f3442
dbms: fixed error in system.zookeeper table [#METR-13153].
2014-10-10 03:15:14 +04:00
Alexey Milovidov
a76db2ba78
dbms: improvement [#METR-13153].
2014-10-10 03:14:06 +04:00
Alexey Milovidov
24be223a48
dbms: added column 'partition' to table system.parts [#METR-13153].
2014-10-10 02:54:17 +04:00
Alexey Milovidov
c1601502bd
dbms: FETCH PARTITION: parsing and dispatching [#METR-13153].
2014-10-10 00:28:33 +04:00
Alexey Milovidov
150bde4e4f
dbms: VIEWs: added support for SAMPLE, FINAL, PREWHERE [#METR-13098].
2014-10-08 03:08:56 +04:00
Alexey Milovidov
49df24d891
dbms: system.replicas: improvement [#METR-12726].
2014-10-08 00:04:40 +04:00
Alexey Milovidov
48ec87bc40
dbms: fixed error with system.replicas; improvement [#METR-12726].
2014-10-07 22:44:03 +04:00
Alexey Milovidov
bb60b4e859
dbms: fixed bad code [#METR-12726].
2014-10-07 22:42:35 +04:00
Alexey Milovidov
ee52328600
dbms: fixed error with index and NOT [#METR-13066].
2014-10-06 09:49:31 +04:00
Alexey Milovidov
468ea6e4be
dbms: added table system.replicas [#METR-12726].
2014-10-06 09:18:17 +04:00
Alexey Milovidov
0e923da9b3
dbms: added system.zookeeper table [#METR-2944].
2014-10-06 07:49:56 +04:00
Alexey Milovidov
ec9fb6f600
dbms: fixed error in prev. revision [#METR-12524].
2014-10-03 23:38:51 +04:00
Alexey Milovidov
a2634c60d0
dbms: fixed error in prev. revisions [#METR-12524].
2014-10-03 22:55:11 +04:00
Alexey Milovidov
64071c2224
Merge
2014-10-03 22:41:16 +04:00
Alexey Milovidov
90d8096a0e
Merge
2014-10-03 21:57:01 +04:00
Alexey Milovidov
e84a0266e6
dbms: more consistent usage of override in Storages [#METR-12524].
2014-10-03 21:55:36 +04:00
Andrey Mironov
220ce78326
dbms: support ALIAS in table declaration
2014-10-03 19:30:10 +04:00
Andrey Mironov
468b7af64e
Merge
2014-10-03 14:19:34 +04:00
Andrey Mironov
47629b31cd
fix optimize_move_to_prewhere
, alter query before any other manipulations. #[METR-13020]
2014-10-03 13:17:06 +04:00
Alexey Milovidov
1da86169d6
dbms: more handy error message [#METR-2944].
2014-10-03 03:31:18 +04:00
Andrey Mironov
59ae69c5e9
rename optimization setting to optimize_move_to_prewhere
2014-10-02 13:48:53 +04:00
Alexey Milovidov
6b6151d51f
dbms: system.parts: more handy [#METR-12784].
2014-10-01 22:40:43 +04:00
Andrey Mironov
192dde9b36
Merge
2014-10-01 20:47:36 +04:00
Andrey Mironov
5083090f8d
Merge
2014-10-01 20:39:32 +04:00
Andrey Mironov
5dde67112d
remove std::cout loggin
2014-10-01 18:12:06 +04:00
Andrey Mironov
aebc4f0f48
add merge_tree_optimize_where
setting, default to false. [#METR-11900]
2014-10-01 17:51:44 +04:00
Alexey Milovidov
8afa7c1943
dbms: probably fixed error [#METR-12784].
2014-10-01 04:11:32 +04:00
Alexey Milovidov
d6a2cc33aa
dbms: tiny modifications [#METR-12784].
2014-10-01 04:10:35 +04:00
Alexey Milovidov
4b83a8d3b3
dbms: tiny modifications [#METR-12784].
2014-10-01 00:26:10 +04:00
Andrey Mironov
34dba980c7
show defaulted columns info in DESC TABLE query output. [#METR-12739]
2014-09-30 07:48:40 +04:00
Andrey Mironov
8052020218
add draft version of DEFAULT, MATERIALIZED/ALIAS currently parsed but not taken into account. [#METR-12739]
2014-09-30 07:08:47 +04:00
Alexey Milovidov
995bc9a5dd
dbms: investigation [#METR-12784].
2014-09-30 00:26:46 +04:00
Alexey Milovidov
e3ac086ff0
Merge
2014-09-29 09:03:17 +04:00
Alexey Milovidov
af02e67992
dbms: tiny modification [#METR-2944].
2014-09-29 09:03:03 +04:00
Alexey Milovidov
20de7e1003
dbms: tiny modification (more compatible) [#METR-12784].
2014-09-26 20:11:30 +04:00
Alexey Milovidov
fdd34069ff
dbms: probably fixed error in cyclic ALTERs [#METR-12509].
2014-09-26 04:49:50 +04:00
Alexey Milovidov
ba0191d0fc
dbms: better observability [#METR-12784].
2014-09-25 03:35:27 +04:00
Andrey Mironov
f77ef5f84d
rename evaluateDatabaseName function and header, add comments
2014-09-24 15:53:41 +04:00
Andrey Mironov
0a4e3f1280
add function currentDatabase(), allow string-expressions in place of database name
2014-09-24 15:53:41 +04:00
Alexey Milovidov
463dfe5ea9
Merge
2014-09-23 23:47:25 +04:00
Andrey Mironov
bc1587a192
Merge
2014-09-23 15:36:02 +04:00
Andrey Mironov
0f0c10a62d
move single condition from WHERE to PREWHERE, refactor. [#METR-11900]
2014-09-23 15:36:02 +04:00
Andrey Mironov
86beda3111
Merge
2014-09-23 15:36:01 +04:00
Andrey Mironov
0fb1912d7c
WHERE condition recognition. [#METR-11900]
2014-09-23 15:36:01 +04:00
Alexey Milovidov
5cc3316485
dbms: fixed tiny error in log message [#METR-2944].
2014-09-19 22:56:20 +04:00
Andrey Mironov
e954fa6d00
add elapsed
and progress
rows to system.merges. [#METR-12574]
...
Fix data-race introduced due to misconception of atomic instructions on integers.
2014-09-18 14:23:12 +04:00
Alexey Milovidov
f2c0ba3ba2
dbms: fixed error with merges [#METR-12767].
2014-09-18 03:57:25 +04:00
Alexey Milovidov
eca407e61a
Revert "dbms: fixed high CPU usage on failed INSERTs [#METR-12726]."
...
This reverts commit 49cf3bbd0d8af92a756b46039a7a52fa81992765.
2014-09-17 06:36:32 +04:00
Alexey Milovidov
587820aab9
dbms: fixed high CPU usage on failed INSERTs [#METR-12726].
2014-09-17 05:38:08 +04:00
Andrey Mironov
f6f7004684
Merge
2014-09-16 14:24:33 +04:00
Alexey Milovidov
4d01c0c7d0
dbms: addition to prev. revision [#METR-12715].
2014-09-13 22:59:12 +04:00
Alexey Milovidov
40d6f26ed7
dbms: improved performance with very small INSERTs [#METR-12715].
2014-09-13 22:34:08 +04:00
Alexey Milovidov
b4952faf84
dbms: improvement [#METR-12509].
2014-09-13 00:29:29 +04:00
Andrey Mironov
09a570ffc0
Merge
2014-09-12 20:05:29 +04:00
Alexey Milovidov
126bfa0750
dbms: tiny modifications [#METR-12729].
2014-09-12 06:30:01 +04:00
Alexey Milovidov
887f4d052f
dbms: fixed error [#METR-12729].
2014-09-12 05:06:38 +04:00
Alexey Milovidov
0ea4691107
Merge
2014-09-12 04:32:27 +04:00
Alexey Milovidov
063b39efc0
dbms: fixed error in replication [#METR-12653].
2014-09-11 07:13:27 +04:00
Pavel Kartavyy
1a73e77463
dbms: fixed exception in TinyLog when it is empty [#METR-12532]
2014-09-10 20:49:18 +04:00
Pavel Kartavyy
5b954f7dbe
probably fixed error with bad version after some kind of alter [#METR-12509]
2014-09-10 16:46:11 +04:00
Andrey Mironov
e3d8e4e48b
initial implementation. [#METR-12574]
2014-09-10 15:34:26 +04:00
Alexey Milovidov
d6d163b5dc
dbms: replication: writers don't block ZK session restart [#METR-12572].
2014-09-05 00:26:14 +04:00
Alexey Milovidov
8cda8c9190
dbms: probably fixed error [#METR-12572].
2014-09-03 06:32:23 +04:00
Pavel Kartavyy
9508cb93cf
FileChecker migrated to boost::propertytree
2014-08-28 20:10:46 +04:00
Pavel Kartavyy
f53a889cc6
Revert "dbms: FileChecker migrated to json [#METR-11709]"
...
This reverts commit ab0aa4022f738334d15ad4522775c1343dd25fe9.
2014-08-28 20:10:46 +04:00
Alexey Milovidov
fe822c016f
dbms: added system table 'numbers_mt' (for testing purposes) [#METR-2944].
2014-08-22 21:26:43 +04:00
Andrey Mironov
09265f50f9
StorageDistributed: write to multiple local replicas, post-review corrections. [#METR-12221]
2014-08-22 18:06:20 +04:00
Alexey Milovidov
aae80fa8c5
dbms: removed deprecated 'replica_name' configuration parameter [#METR-10202].
2014-08-22 05:01:28 +04:00
Andrey Mironov
c6d4fd941f
review corrections. [#METR-12221]
2014-08-21 16:15:24 +04:00
Alexey Milovidov
d76bfae57b
dbms: tiny modifications [#METR-12221].
2014-08-20 06:20:07 +04:00
Andrey Mironov
a643e52d29
refactor, encapsulate thread in DirectoryMonitor. [#METR-12221]
2014-08-19 12:33:14 +04:00
Andrey Mironov
269be93cbe
write to local nodes, refactor StorageDistributed, extract DirectoryMonitor. [#METR-12221]
2014-08-19 12:33:14 +04:00
Andrey Mironov
ec0cee0afe
escape user, password and host. [#METR-12221]
2014-08-19 12:33:14 +04:00
Andrey Mironov
61af8baa77
save username and password and take internal_replication into account. [#METR-12221]
2014-08-19 12:33:14 +04:00
Andrey Mironov
b801907980
fix embarassing error in first-iterator detection
2014-08-19 12:33:14 +04:00
Andrey Mironov
b91dfcd1c2
refactor based on review; complete block output to files
2014-08-19 12:33:14 +04:00
Andrey Mironov
8b6adcb047
unify rewriteQuery, rewrite insert query. [#METR-12221]
2014-08-19 12:33:14 +04:00
Andrey Mironov
7eff8548c3
stop and join directory monitors on StorageDistributed::shutdown
2014-08-19 12:33:14 +04:00
Andrey Mironov
2db71666a3
refactor write to StorageDistributed. [#METR-12221]
2014-08-19 12:33:13 +04:00
Andrey Mironov
e73bfe7b8a
naive split implementation for DistributeBlockOutputStream (IColumn::insertFrom). [#METR-12221]
2014-08-19 12:33:13 +04:00
Alexey Milovidov
f531960561
dbms: fixed visibility of unreplicated parts [#METR-12738].
2014-08-16 00:10:44 +04:00
Alexey Milovidov
f2b967ab06
Merge
2014-08-14 11:25:21 +04:00
Alexey Milovidov
7af08f5347
Merge
2014-08-14 05:37:46 +04:00
Michael Kolupaev
f0d2d918c7
Merge
2014-08-13 12:53:38 +04:00
Michael Kolupaev
d9ae9876ce
Merge
2014-08-13 12:08:40 +04:00
Michael Kolupaev
a373267660
Merge
2014-08-12 16:41:39 +04:00
Michael Kolupaev
5bbb6dc090
some grammar fixes. [#METR-2807]
2014-08-12 13:35:15 +04:00
Michael Kolupaev
51992989a6
Merge
2014-08-12 13:27:00 +04:00
Michael Kolupaev
583f4c114e
Merge
2014-08-11 19:59:05 +04:00
Michael Kolupaev
5e0e9bbc00
Merge
2014-08-11 18:05:42 +04:00
Michael Kolupaev
7b11fc4f6c
Merge
2014-08-11 18:05:42 +04:00
Michael Kolupaev
eaf4a79f11
Merge
2014-08-08 16:53:59 +04:00
Michael Kolupaev
6189e53667
Merge
2014-08-08 14:57:33 +04:00
Michael Kolupaev
3c75c3f774
Merge
2014-08-08 14:46:38 +04:00
Michael Kolupaev
19ca334f9c
Merge
2014-08-08 14:42:27 +04:00
Michael Kolupaev
dbe4dc64f3
Merge
2014-08-08 14:41:53 +04:00
Michael Kolupaev
08340ff6a0
Merge
2014-08-08 14:28:46 +04:00
Michael Kolupaev
71b90ea1d4
Merge
2014-08-08 14:03:19 +04:00
Michael Kolupaev
83812f5ed5
Merge
2014-08-08 14:02:54 +04:00
Michael Kolupaev
4025face46
Merge
2014-08-08 13:58:56 +04:00
Michael Kolupaev
a33ab0b36c
Merge
2014-08-07 16:26:04 +04:00
Michael Kolupaev
9bec7e4a28
Merge
2014-08-07 16:26:04 +04:00
Michael Kolupaev
7643a49b8e
Merge
2014-08-07 16:26:04 +04:00
Michael Kolupaev
98297fa475
Merge
2014-08-07 16:26:03 +04:00
Pavel Kartavyy
dc16847ce1
dbms: FileChecker migrated to json [#METR-11709]
2014-08-06 17:23:38 +04:00
Michael Kolupaev
306f405917
Merge
2014-08-06 13:25:41 +04:00
Michael Kolupaev
917f312a95
dbms: materialized views pass virtual columns through. [#METR-12150]
2014-08-06 13:25:41 +04:00
Pavel Kartavyy
bdea8e78e7
dbms: FileChecker simplified [#METR-11709]
2014-08-05 16:50:20 +04:00
Pavel Kartavyy
79e755938b
dbms: added support of check data to ChunkRef [#METR-11709]
2014-08-05 14:53:27 +04:00
Pavel Kartavyy
8e0a8a4d74
dbms: StorageChunks - added support for check query [#METR-11709]
2014-08-05 14:53:26 +04:00
Pavel Kartavyy
b34c8e47ab
dbms.StorageLog: added support for checkData query [#METR-11709]
2014-08-05 14:53:26 +04:00
Pavel Kartavyy
cf1afb1bd1
dbms: FileChecker moved to separate class [#METR-11709]
2014-08-05 14:53:26 +04:00
Pavel Kartavyy
e1c016cbac
dbms.TinyLog: call updateSize after writing on disk [#METR-10969]
2014-08-05 14:53:26 +04:00
Pavel Kartavyy
1a39b3bf5c
dbms: added checData method in TinyLog storage [#METR-11709]
2014-08-05 14:53:26 +04:00
Michael Kolupaev
3adfe8d536
Merge
2014-08-05 12:57:25 +04:00
Alexey Milovidov
cf5c4c07f3
dbms: updated comment [#METR-2944].
2014-08-05 02:10:56 +04:00
Michael Kolupaev
6fd0f417b4
Merge
2014-08-04 19:48:03 +04:00
Michael Kolupaev
9a50694f22
Merge
2014-08-04 18:23:52 +04:00
Michael Kolupaev
e9ef0705f3
Merge
2014-08-04 18:23:52 +04:00
Michael Kolupaev
304f2f274d
active_parts.py: small improvements. [#METR-2807]
2014-08-04 12:12:13 +04:00
Michael Kolupaev
5533a047c5
active_parts.py: tiny improvement. [#METR-2807]
2014-08-01 14:04:36 +04:00
Michael Kolupaev
0b37543bd8
Merge
2014-08-01 13:53:03 +04:00
Michael Kolupaev
757aa8891d
Merge
2014-08-01 13:45:59 +04:00
Michael Kolupaev
02f0ecf886
Added watchparts.sh for the unlikely case anyone else needs it. [#METR-2807]
2014-08-01 13:36:28 +04:00
Michael Kolupaev
0ff7667654
Merge
2014-08-01 13:32:31 +04:00
Michael Kolupaev
dbbd1c9dc8
active_parts.py: small improvement. [#METR-2807]
2014-08-01 13:30:56 +04:00
Michael Kolupaev
b1c6001e40
Merge
2014-07-31 13:12:12 +04:00
Michael Kolupaev
b2f5b9bfab
Merge
2014-07-30 16:22:12 +04:00
Michael Kolupaev
2bd9733223
Merge
2014-07-30 16:10:38 +04:00
Michael Kolupaev
f58b4f6ccb
ClickHouse: Added table system.parts. [#METR-12036]
2014-07-29 19:21:09 +04:00
Michael Kolupaev
9b3ce7f0f8
Refactored VirtualColumnUtils. [#METR-12036]
2014-07-29 19:21:09 +04:00
Michael Kolupaev
8a41d7985a
Merge
2014-07-28 18:50:51 +04:00
Michael Kolupaev
2c8e5cd239
Passing new db name to IStorage::rename. [#METR-12038]
2014-07-28 18:50:51 +04:00
Michael Kolupaev
2854ed49da
Merge
2014-07-28 18:50:51 +04:00
Michael Kolupaev
5c9f92ac1e
Merge
2014-07-28 14:36:15 +04:00
Michael Kolupaev
d660d7db45
Merge
2014-07-28 14:36:15 +04:00
Michael Kolupaev
53a76dd348
Merge
2014-07-28 14:36:14 +04:00
Alexey Milovidov
94ed780065
███████████: intrusive: development [#METR-12050].
2014-07-26 08:12:43 +04:00
Michael Kolupaev
c832fc00aa
Merge
2014-07-25 20:32:02 +04:00
Michael Kolupaev
219e3ca3c6
Merge
2014-07-25 20:10:02 +04:00
Michael Kolupaev
18eb2d8b8f
Merge
2014-07-25 18:31:55 +04:00
Michael Kolupaev
0c5e87bce8
Merge
2014-07-25 17:28:49 +04:00
Michael Kolupaev
1f1e0fcc67
Merge
2014-07-25 17:12:14 +04:00
Michael Kolupaev
354bf02bf6
Merge
2014-07-25 17:12:14 +04:00
Michael Kolupaev
8142941b42
Merge
2014-07-25 17:12:14 +04:00
Michael Kolupaev
13b9392241
Merge
2014-07-25 17:12:14 +04:00
Michael Kolupaev
85c722caf3
Merge
2014-07-25 17:12:14 +04:00
Michael Kolupaev
a6e8c35ba8
Merge
2014-07-25 11:49:02 +04:00
Michael Kolupaev
7b44c88b73
Merge
2014-07-23 20:31:38 +04:00
Michael Kolupaev
90dc182f12
Merge
2014-07-23 19:24:51 +04:00
Michael Kolupaev
6c4b3e3379
Merge
2014-07-23 17:58:38 +04:00
Michael Kolupaev
272a2a8d9b
Merge
2014-07-23 16:44:23 +04:00
Michael Kolupaev
8b18acffec
Merge
2014-07-23 15:02:22 +04:00
Michael Kolupaev
bfe126ab04
Merge
2014-07-23 13:50:29 +04:00
Michael Kolupaev
f3285dba79
Merge
2014-07-23 13:15:41 +04:00
Michael Kolupaev
16e5a92ed9
Merge
2014-07-22 17:49:52 +04:00
Michael Kolupaev
776f11a256
Merge
2014-07-22 14:36:56 +04:00
Michael Kolupaev
1be80d3410
part_checker: fixes. [#METR-11980]
2014-07-22 14:35:44 +04:00
Michael Kolupaev
cb7aa9dd66
part_checker: fixes. [#METR-11980]
2014-07-22 14:35:44 +04:00
Michael Kolupaev
c8c5fb9d5b
missing files for previous commit. [#METR-11980]
2014-07-22 14:35:44 +04:00
Michael Kolupaev
8a2a34a8f3
Small improvements. [#METR-2807]
2014-07-21 13:11:20 +04:00
Michael Kolupaev
68ff148170
Merge
2014-07-18 20:06:02 +04:00
Michael Kolupaev
4f3b1a476f
Merge
2014-07-18 19:41:04 +04:00
Michael Kolupaev
5e10dbca8a
Merge
2014-07-17 17:41:47 +04:00
Michael Kolupaev
e493438564
Merge
2014-07-17 14:44:17 +04:00
Michael Kolupaev
67b76568d3
Merge
2014-07-17 13:38:31 +04:00
Michael Kolupaev
12c6d16743
Merge
2014-07-16 13:32:15 +04:00
Michael Kolupaev
22c0c1778e
Merge
2014-07-16 12:58:59 +04:00
Michael Kolupaev
d668fd27d2
Merge
2014-07-15 19:51:27 +04:00
Michael Kolupaev
5b7b7a0bb8
Merge
2014-07-15 18:48:50 +04:00
Michael Kolupaev
86fb1eee37
Merge
2014-07-15 18:37:49 +04:00
Michael Kolupaev
a6e31b55d5
Merge
2014-07-15 15:52:30 +04:00
Michael Kolupaev
39b675167d
Merge
2014-07-15 15:42:06 +04:00
Michael Kolupaev
9ced1d909e
Merge
2014-07-15 15:12:58 +04:00
Michael Kolupaev
01094ec78d
Merge
2014-07-15 14:13:36 +04:00
Michael Kolupaev
8eb2a7218b
Merge
2014-07-14 20:01:23 +04:00
Michael Kolupaev
007c0cedc1
fixed build and a bunch of other stuff. [#METR-11886]
2014-07-14 19:49:03 +04:00
Michael Kolupaev
dfb21bcaff
fixed segfault when creating materialized views. [#METR-11886]
2014-07-14 18:26:11 +04:00
Michael Kolupaev
33955ee7dd
Merge
2014-07-14 18:07:47 +04:00
Michael Kolupaev
62de3bc73a
Merge
2014-07-14 16:24:22 +04:00
Michael Kolupaev
8f394dd852
Merge
2014-07-14 15:45:34 +04:00
Michael Kolupaev
d1edd92696
Merge
2014-07-11 17:34:12 +04:00
Michael Kolupaev
1005bbaa55
Merge
2014-07-11 17:11:06 +04:00
Michael Kolupaev
e26223d5c8
Merge
2014-07-11 16:47:45 +04:00
Michael Kolupaev
703b1d1c93
addition to previous commit. [#METR-11886]
2014-07-11 12:12:03 +04:00
Michael Kolupaev
ff64aeb036
Merge
2014-07-10 15:13:45 +04:00
Michael Kolupaev
ac7ee44128
Merge
2014-07-10 14:16:50 +04:00
Michael Kolupaev
c335519c9c
Merge
2014-07-10 12:40:59 +04:00
Michael Kolupaev
66825973b5
Merge
2014-07-10 11:58:18 +04:00
Alexey Milovidov
a2a41113e0
Fixed build [#METR-2807].
2014-07-10 04:31:17 +04:00
Michael Kolupaev
a6fd9cd2bd
Merge
2014-07-09 17:39:19 +04:00
Michael Kolupaev
0a67d151bd
dbms: updated all usages of NamesAndTypesPair to new field names. [#METR-10202]
2014-07-09 15:54:26 +04:00
Alexey Milovidov
0041db77ab
Tiny improvement [#METR-2807].
2014-07-09 03:52:53 +04:00
Michael Kolupaev
c0bb5e8ce3
Merge
2014-07-08 18:41:19 +04:00
Michael Kolupaev
cdc937b31a
Merge
2014-07-07 16:23:59 +04:00
Pavel Kartavyy
11162f6600
fix error in alter [#METR-11836]
2014-07-07 15:57:41 +04:00
Michael Kolupaev
a90dea2974
a little better active_parts.py. [#METR-2807]
2014-07-07 15:51:11 +04:00
Michael Kolupaev
639d1ad15f
Merge
2014-07-07 15:39:06 +04:00
Michael Kolupaev
557a48f9e5
Merge
2014-07-07 14:23:24 +04:00
Michael Kolupaev
39fa078e85
active_parts.py in O(N log N). [#METR-2807]
2014-07-07 14:21:57 +04:00
Michael Kolupaev
b40f8bd8d5
Merge
2014-07-07 13:51:42 +04:00
Michael Kolupaev
ae5ea95a73
Merge
2014-07-04 18:07:14 +04:00
Michael Kolupaev
7362ca686f
Merge
2014-07-04 17:59:05 +04:00
Michael Kolupaev
d00dc44397
Merge
2014-07-04 17:15:28 +04:00