Alexey Milovidov
5af5f78cb7
Terminate only DDLWorker in case of unexpected exception in DDLWorker [#CLICKHOUSE-4].
2017-08-14 08:51:03 +03:00
robot-metrika-test
a16ed9fc32
Auto version update to [54272]
2017-08-14 08:49:05 +03:00
Alexey Milovidov
1495490726
DDLWorker: better [#CLICKHOUSE-5].
2017-08-14 08:44:04 +03:00
Alexey Milovidov
957fb9f2e5
Added test [#CLICKHOUSE-2].
2017-08-14 07:49:20 +03:00
Alexey Milovidov
09d83eecd0
Moved code to cpp [#CLICKHOUSE-2].
2017-08-14 07:42:04 +03:00
alexey-milovidov
94a15df626
Update LimitReadBuffer.h
2017-08-14 07:37:01 +03:00
alexey-milovidov
cbed1415d7
Update LimitReadBuffer.h
2017-08-14 07:37:01 +03:00
alexey-milovidov
16f0af8018
Update LimitReadBuffer.h
2017-08-14 07:37:01 +03:00
alexey-milovidov
d87b615bdf
Update LimitReadBuffer.h
2017-08-14 07:37:01 +03:00
alexey-milovidov
3330cd6a7f
Update LimitReadBuffer.h
2017-08-14 07:37:01 +03:00
Evgeniy Gatov
2e6eb504dc
LimitReadBuffer fix [#CLICKHOUSE-2].
2017-08-14 07:37:01 +03:00
robot-metrika-test
eca1b39dee
Auto version update to [54271]
2017-08-14 07:25:10 +03:00
Alexey Milovidov
986c6c729d
Fixed incompatibility [#CLICKHOUSE-2].
2017-08-14 07:23:38 +03:00
Alexey Milovidov
e7dcd1cc71
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-14 04:30:29 +03:00
Alexey Milovidov
96d8ba9e3f
Fixed typo [#CLICKHOUSE-2].
2017-08-14 04:29:19 +03:00
robot-metrika-test
11adefa2c0
Auto version update to [54270]
2017-08-14 04:04:51 +03:00
Alexey Milovidov
6ec873c75e
Fixed test (it was dependent on time zone) [#CLICKHOUSE-2].
2017-08-14 03:02:12 +03:00
Alexey Milovidov
0ef64e5dfe
Fixed error [#CLICKHOUSE-2].
2017-08-14 02:58:04 +03:00
Alexey Milovidov
547516c636
Fixed errors after merge [#CLICKHOUSE-2].
2017-08-13 12:27:38 +03:00
Alexey Milovidov
1cc50263d8
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-13 12:20:15 +03:00
Alexey Milovidov
9aca95001e
Fixed regression, added test [#CLICKHOUSE-2].
2017-08-13 12:20:05 +03:00
Vitaliy Lyudvichenko
bf1c4d156a
Fix errors after rebase, better logging. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
04ab103d92
Avoid extra ZK calls on cleanup. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
alexey-milovidov
7ba0fcaf51
Update DDLWorker.cpp
2017-08-13 12:18:46 +03:00
alexey-milovidov
15fa88d25b
Update DDLWorker.cpp
2017-08-13 12:18:46 +03:00
alexey-milovidov
4af3e55699
Update DDLWorker.cpp
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
d9ce96f8f5
Fixed test and misspellings. [#CLICKHOUSE-3207]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
f815498e34
Fix error codes skipping. [#CLICKHOUSE-2]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
a34ab8201a
Add FORMAT section for DDL queries CREATE, ALTER, RENAME, DROP. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
4ef5d14722
Add distributed_ddl_task_timeout setting. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
183c55676e
Fixed ON CLUSTER DDL for Views. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
cdf95ab308
Fixed race condition in case of different cluster definitions. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
e4785aeb4d
Simplified clean queue logic. Added more tests. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
c2e84d6df7
Fixed several errors in case of connection loss. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
cb02a1b3b5
Add random ZK packets drops into test. Fixed a couple bugs. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
4a7927b186
Many improvements. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
c2cf3f81be
Fix test after rebase. [#CLICKHOUSE-312]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
628de0a3ea
Fixed logging of DDL queries. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
736feab79f
Add port field. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
7e8f3a0561
Add parse error handling. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
c65c49b50a
Add config-based host name selection. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
alexey-milovidov
3c0d0274d0
Update executeQuery.h
2017-08-13 12:17:09 +03:00
Alexey Zatelepin
7b0a7def02
remove unused setting [#CLICKHOUSE-3151]
2017-08-13 12:17:09 +03:00
Alexey Zatelepin
67dffb9be6
simplify MultiplexedConnections further (so that it works with only one shard) [#CLICKHOUSE-3151]
2017-08-13 12:17:09 +03:00
Alexey Zatelepin
c99f3d7ee0
add test [#CLICKHOUSE-3151]
2017-08-13 12:17:09 +03:00
Alexey Zatelepin
b469ef1792
don't use local replica if its delay is unacceptable [#CLICKHOUSE-3151]
2017-08-13 12:17:09 +03:00
Alexey Zatelepin
36dc7857a1
make LazyBlockInputStream thread-safe [#CLICKHOUSE-3151]
2017-08-13 12:17:09 +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
1e1dc8828a
Miscellaneous [#CLICKHOUSE-2].
2017-08-13 00:02:45 +03:00
Vitaliy Lyudvichenko
1c8a280d63
Fixed escapeForFileName(). [#CLICKHOUSE-2]
2017-08-12 23:46:22 +03:00
Vitaliy Lyudvichenko
f36caa9c99
Parameter rename. [#CLICKHOUSE-3213]
2017-08-12 03:46:42 +03:00
Vitaliy Lyudvichenko
04dcec32b4
Specialized implementation of groupArray() for Date and DateTime. [#CLICKHOUSE-3213]
2017-08-12 03:46:42 +03:00
Nikolai Kochetov
b7f8ac1f2d
rewrote rewriting of SELECT query in StorageMerge with WITH statement
2017-08-12 00:01:28 +03:00
Nikolai Kochetov
ac87cb035f
added test to former WITH clause in SELECT query
2017-08-12 00:01:28 +03:00
Nikolai Kochetov
37b6c98752
added former WITH clause to SELECT query
2017-08-12 00:01:28 +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
Alexey Milovidov
d7d6c4b962
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-11 02:26:51 +03:00
Alexey Milovidov
1e941a137e
Better exception message [#CLICKHOUSE-2].
2017-08-11 02:26:38 +03:00
Alexey Milovidov
ce4349b6cd
Fixed error when huge sets for IN, JOIN, DISTINCT cannot be created with exception message "Cannot mremap... Bad address" [#CLICKHOUSE-2].
2017-08-11 02:25:51 +03:00
Vitaliy Lyudvichenko
cd3a696d8b
Add requested changes. [#CLICKHOUSE-3207]
2017-08-10 23:09:05 +03:00
alexey-milovidov
1626637a89
Update zkutil_test_multi_exception.cpp
2017-08-10 23:09:05 +03:00
alexey-milovidov
e44614d017
Update ZooKeeper.cpp
2017-08-10 23:09:05 +03:00
alexey-milovidov
5d3bff4802
Update ZooKeeper.cpp
2017-08-10 23:09:05 +03:00
Vitaliy Lyudvichenko
23af9ddd5e
Fixed segfault: the future owns source ops. [#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
proller
2344fe7dae
Cmake: fix tests includes ( #1090 )
...
Cmake: fix tests includes
2017-08-10 20:51:45 +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
bf77c602de
Update Settings.h
2017-08-10 06:44:34 +03:00
alexey-milovidov
a122cd613a
Update FunctionsExternalDictionaries.h
2017-08-10 06:29:06 +03:00
alexey-milovidov
b01f0c6d13
Update CacheDictionary.cpp
2017-08-10 06:29:06 +03:00
alexey-milovidov
0fbda791b5
Update iostream_debug_helpers.h
2017-08-10 06:29:06 +03:00
proller
4cda5b4470
Fix result
2017-08-10 06:29:06 +03:00
proller
6ca798a357
Fix infinite loop in dictGetHierarchy if id chain looped
2017-08-10 06:29:06 +03:00
proller
7937903d56
Improve debug helpers
2017-08-10 06:29:06 +03:00
proller
139d9e5c19
Config: Allow multiple dictionaries_config
2017-08-10 06:17:19 +03:00
Vadim Skipin
e6344f9048
Extract handlers to allow reuse
2017-08-10 06:13:15 +03:00
Vadim Skipin
f1e88e074c
Introduce IServer to host handlers
2017-08-10 06:13:15 +03:00
proller
2ea63defa5
Fix test/string_pool include ( #1086 )
...
* Fix sparcehash include
* Fix re2_st include
* Fix test/string_pool include
2017-08-10 03:28:29 +03:00
Alexey Milovidov
46b5c9ce03
Miscellaneous [#CLICKHOUSE-2].
2017-08-10 02:57:54 +03:00
proller
c351b367fb
Fix sparcehash include ( #1084 )
...
* Fix sparcehash include
* Fix re2_st include
2017-08-10 02:11:28 +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
proller
ac178bde1f
Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM ( #1083 )
...
* Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM
* Fix lib find order
* Allow define non-contrib cityhash farmhash metrohash
* Fix message
* Cmake: fixes
* clean
* Update CMakeLists.txt
2017-08-09 23:52:55 +03:00
Alexey Milovidov
1daf11153a
Fixed typo [#CLICKHOUSE-2].
2017-08-09 18:34:30 +03:00
robot-metrika-test
6a4460c69f
Auto version update to [54269]
2017-08-09 16:36:38 +03:00
Alexey Milovidov
4f633f316c
Removed TODO [#CLICKHOUSE-2].
2017-08-09 04:38:56 +03:00
Alexey Milovidov
6edb14ba6b
Fixed garbage [#CLICKHOUSE-2].
2017-08-09 04:35:12 +03:00
Alexey Milovidov
1fc8548018
Fixing garbage (incomplete) [#CLICKHOUSE-2].
2017-08-09 04:35:12 +03:00
Alexey Milovidov
9bbcfbd35c
Fixed error [#CLICKHOUSE-2].
2017-08-09 04:35:12 +03:00
Alexey Milovidov
b0b7f1b161
Miscellaneous [#CLICKHOUSE-2].
2017-08-08 23:58:18 +03:00
Nikolai Kochetov
43dc201f49
merged with master
2017-08-08 15:11:49 +03:00
robot-metrika-test
4c0a0d07e9
Auto version update to [54268]
2017-08-08 14:50:37 +03:00
Vitaliy Lyudvichenko
00ce8c9603
Add ctime caching in MergeTree's cleaner. [#CLICKHOUSE-3173]
2017-08-08 03:28:43 +03:00
Alexey Milovidov
864cae7107
Fixed test [#CLICKHOUSE-3].
2017-08-08 03:25:05 +03:00
Marek Vavruša
65a90288dc
PKCondition: added tests for subexpr inference ( #951 )
2017-08-08 03:19:39 +03:00
Alexey Milovidov
692b923b0c
Use in SELECT even shards with zero weight [#CLICKHOUSE-3204].
2017-08-08 03:06:21 +03:00
Nikolai Kochetov
ea2b486735
added threadpool to DistributedBlockOutputStream
2017-08-07 23:26:28 +03:00
Alexey Milovidov
8fb22b1dcb
Added failing test [#CLICKHOUSE-2].
2017-08-07 11:05:03 +03:00
Alexey Milovidov
46be81bc88
Fixed error [#CLICKHOUSE-2].
2017-08-07 11:03:23 +03:00
Alexey Milovidov
45ea2fba47
Unification of data types, that is serialized with multiple streams [#CLICKHOUSE-2838].
2017-08-07 10:44:27 +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
Alexey Milovidov
ff54c93a22
Miscellaneous [#CLICKHOUSE-2].
2017-08-07 04:37:52 +03:00
Alexey Milovidov
f386788278
Using GatherUtils for function if on arguments of type Array(String) [#CLICKHOUSE-2].
2017-08-05 07:13:23 +03:00
Alexey Milovidov
c2a32990bb
Added test [#CLICKHOUSE-2].
2017-08-05 07:13:23 +03:00
Alexey Milovidov
d70f59e9bb
Added performance test [#CLICKHOUSE-2].
2017-08-05 07:13:23 +03:00
Alexey Milovidov
5ddc354989
Using GatherUtils for function if on arguments of type Array(String) [#CLICKHOUSE-2].
2017-08-05 07:13:23 +03:00
Alexey Milovidov
8536fb96f7
Fixed error message in case of syntax error [#CLICKHOUSE-2].
2017-08-05 06:31:52 +03:00
Alexey Milovidov
24d8f0aedf
Added performance test [#CLICKHOUSE-2].
2017-08-05 06:30:54 +03:00
Alexey Milovidov
19ff0db9f1
Using GatherUtils for if on numeric arrays [#CLICKHOUSE-2].
2017-08-05 06:30:54 +03:00
Alexey Milovidov
6648d6dee4
Using GatherUtils for if on numeric arrays [#CLICKHOUSE-2].
2017-08-05 06:30:54 +03:00
Alexey Milovidov
8d7214e554
Added performance test [#CLICKHOUSE-3202].
2017-08-05 05:29:38 +03:00
Alexey Milovidov
57b2dbfa93
Added test [#CLICKHOUSE-3202].
2017-08-05 05:24:13 +03:00
Alexey Milovidov
11da533de1
Fixed function if of FixedString arguments [#CLICKHOUSE-3202].
2017-08-05 05:13:38 +03:00
Alexey Milovidov
39392a2961
Fixed function if of FixedString arguments [#CLICKHOUSE-3202].
2017-08-05 05:03:49 +03:00
Alexey Milovidov
46486a5cba
Fixed function if of FixedString arguments [#CLICKHOUSE-3202].
2017-08-05 04:54:38 +03:00
Alexey Milovidov
0c0c8da4f8
Fixed function if of FixedString arguments [#CLICKHOUSE-3202].
2017-08-05 04:43:29 +03:00
Alexey Milovidov
aecafc0931
Fixed function if of FixedString arguments [#CLICKHOUSE-3202].
2017-08-05 02:18:51 +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
83cd2a40e4
added test
2017-08-03 15:58:04 +03:00
Nikolai Kochetov
0c15b2c6fc
fixed number of rows to read from first granula in mergetree
2017-08-03 15:58:04 +03:00
proller
d6833a0d55
Cmake: remove global include_directories ( #1055 )
...
* Fix .h compile
* Cmake: remove global include_directories
* boost include hide
* fix cctz
* add \n
2017-08-03 15:44:39 +03:00
Vitaliy Lyudvichenko
003d2a9478
Add comprehensive exception message for ZooKeeper::multi(). [#CLICKHOUSE-2]
2017-08-03 15:42:23 +03:00
robot-metrika-test
afc4b1bef2
Auto version update to [54267]
2017-08-02 17:13:14 +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
Alexey Milovidov
30cb7da23b
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-01 20:26:57 +03:00
Alexey Milovidov
35ff7ab9f2
Added test [#METR-25976].
2017-08-01 20:26:36 +03:00
robot-metrika-test
b591304265
Auto version update to [54266]
2017-08-01 20:14:45 +03:00
Alexey Milovidov
1d7a91a544
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-01 20:02:51 +03:00
Alexey Milovidov
fd9b8c6fbe
Fixed error [#METR-25976].
2017-08-01 20:02:41 +03:00
proller
8f6c2d4e47
Fix .h compile
2017-08-01 18:02:16 +03:00
Pawel Rog
d6a2056851
Applied changes requested by Alexey
2017-08-01 16:48:24 +02:00
Alexey Milovidov
34ac4fa3b8
Added metric with revision number for better monitoring of deployment [#CLICKHOUSE-2].
2017-08-01 17:34:06 +03:00
Alexey Milovidov
fd5ac57b8e
Addition to prev. revision [#CLICKHOUSE-2].
2017-08-01 17:33:38 +03:00
proller
db984d92a8
Fix crash on start
2017-08-01 16:36:07 +03:00
Pawel Rog
9f799820d9
Applied changes requested by Alexey
2017-08-01 10:12:15 +02:00
Alexey Milovidov
9a546b5414
Fixed build with gcc 6 [#CLICKHOUSE-2].
2017-08-01 04:58:18 +03:00
Alexey Milovidov
a6cb383c4f
Fixed build with gcc-7.1 [#CLICKHOUSE-2].
2017-08-01 04:25:03 +03:00
Alexey Milovidov
844990db27
Fixed build with gcc-7.1 [#CLICKHOUSE-2].
2017-08-01 00:50:21 +03:00
Alexey Milovidov
f8a761fbd9
Fixed error [#CLICKHOUSE-3191].
2017-08-01 00:44:57 +03: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
alexey-milovidov
fdb7e080be
Update CompressedWriteBuffer.cpp
2017-07-31 20:43:33 +03:00
alexey-milovidov
50244880cc
Update CompressedReadBufferBase.cpp
2017-07-31 20:42:23 +03:00
alexey-milovidov
3d2ec763ed
Update CompressedReadBufferBase.cpp
2017-07-31 20:40:56 +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
robot-metrika-test
0e6ab4d8ca
Auto version update to [54265]
2017-07-31 03:51:31 +03:00
Alexey Milovidov
b12ee66520
Merge branch 'master' of github.com:yandex/ClickHouse
2017-07-31 03:50:17 +03:00
Alexey Milovidov
4e76c96381
Temporarily disabled "preferred_max_column_in_block_size_bytes" option [#CLICKHOUSE-3188].
2017-07-31 03:50:06 +03:00
robot-metrika-test
44652bc41a
Auto version update to [54264]
2017-07-30 23:31:37 +03:00
Alexey Milovidov
306070d2cc
Fixed error in one of prev. revisions [#CLICKHOUSE-3150].
2017-07-30 22:47:32 +03:00
proller
460d66c68d
Split FunctionsArray.cpp register ( #1043 )
...
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
* gcc7 fixes
* clnag-format of Split ComplexKeyCacheDictionary
* Requested changes
* Fix boost 1.64 and gcc7+ compile errors
* More fixes
* Fix arm build
* Fix nothrow
* Better arm detection
* Split FunctionsArray.cpp register
2017-07-30 15:31:58 +03:00
Nikolai Kochetov
78991b25ee
fixed preferred_max_column_in_block_size_bytes disabling
2017-07-30 01:24:57 +03:00
robot-metrika-test
be9a48420e
Auto version update to [54263]
2017-07-29 23:25:01 +03:00
proller
465d305479
gcc7 and arm fixes ( #1041 )
...
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
* gcc7 fixes
* clnag-format of Split ComplexKeyCacheDictionary
* Requested changes
* Fix boost 1.64 and gcc7+ compile errors
* More fixes
* Fix arm build
* Fix nothrow
* Better arm detection
2017-07-29 22:58:10 +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
da9b515e22
added tests
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
4c89570988
Don't limit the size of internal queries (this is for cache dictionaries with ClickHouse source) [#CLICKHOUSE-2].
2017-07-28 21:43: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
Alexey Milovidov
e4af70149f
Fixed build [#CLICKHOUSE-2].
2017-07-28 00:27:10 +03:00
Alexey Milovidov
8523d3fc8f
Testing mysqlxx::PoolWithFailover [#CLICKHOUSE-3167]
2017-07-28 00:11:57 +03:00
Alexey Milovidov
acf9c2fbd5
Miscellaneous [#CLICKHOUSE-2].
2017-07-28 00:05:33 +03:00
proller
9eb6e5b19c
clang-format of Split ComplexKeyCacheDictionary ( #1035 )
...
* clnag-format of Split ComplexKeyCacheDictionary
* Requested changes
2017-07-27 23:39:40 +03:00
Alexey Milovidov
2c815356c1
Fixed regression in parsing of CAST [#CLICKHOUSE-3180].
2017-07-27 22:25:52 +03:00
proller
3dbde50daa
Split ComplexKeyCacheDictionary to use less then 1.5G ram when compile ( #1034 )
...
* Split FunctionsArithmetic.cpp to generated functions
* Use ccache if found
* Do not use ccache if ccache defined in CMAKE_CXX_COMPILER_LAUNCHER
* check_include.sh: print memory usage
* Try split CacheDictionary source
* Split ok
* wip
* wip
* wip
* wip
* wip
* wip
2017-07-27 22:05:55 +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
da9cdfc2f2
Fix integration tests. [#CLICKHOUSE-3173]
2017-07-27 11:19:20 +03:00
Vitaliy Lyudvichenko
bf1949fc11
Add test. [#CLICKHOUSE-3173]
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
robot-metrika-test
88f29129de
Auto version update to [54262]
2017-07-26 22:44:29 +03:00
proller
ff7f3af238
Split FunctionsArithmetic.cpp to generated functions
2017-07-26 21:32:35 +03:00
Nikolai Kochetov
63cdf84fe3
added test 00481_reading_from_last_granula
2017-07-26 20:03:09 +03:00
Nikolai Kochetov
01a004050d
fixed MergeTreeBlockSizePredictor updating from empy block while reading
2017-07-26 20:03:09 +03:00
Nikolai Kochetov
19d3c36871
added tests for synchronous insert into distributed table [#CLICKHOUSE-3033]
2017-07-26 17:41:21 +03:00
Alexey Milovidov
7744b24658
Merge branch 'master' of github.com:yandex/ClickHouse
2017-07-26 08:57:31 +03:00
Alexey Milovidov
cd4fef7767
Miscellaneous [#CLICKHOUSE-2].
2017-07-26 08:55:59 +03:00
robot-metrika-test
9e7be70e03
Auto version update to [54261]
2017-07-26 04:25:28 +03:00
Alexey Milovidov
3dcb2e6aed
Fixed test [#CLICKHOUSE-2].
2017-07-26 04:21:19 +03:00
Alexey Milovidov
de1f4f4c5b
Merge branch 'master' of github.com:yandex/ClickHouse
2017-07-26 00:07:13 +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
Alexey Zatelepin
64fa3ebc58
correctly choose number of merge threads for external aggregation [#CLICKHOUSE-2]
2017-07-25 22:43:23 +03:00
Nikolai Kochetov
b3157aebb2
added synchronous insert into distributed table [#CLICKHOUSE-3033]
2017-07-25 22:42:36 +03:00
Alexey Zatelepin
2aaa847e10
add forgotten files [#CLICKHOUSE-3126]
2017-07-25 19:36:14 +00:00
Alexey Milovidov
ec676baee7
Fixed error after merge [#CLICKHOUSE-2].
2017-07-25 22:07:07 +03:00
Alexey Milovidov
6851a7754a
Fixed linkage [#CLICKHOUSE-2].
2017-07-25 21:32:52 +03:00
Alexey Milovidov
b52d2eab51
Fixed linkage [#CLICKHOUSE-2].
2017-07-25 21:20:50 +03:00
Alexey Milovidov
d20c411b0d
Fixed linkage [#CLICKHOUSE-2].
2017-07-25 21:19:22 +03:00
Alexey Zatelepin
2230bef68a
reset resulting bucket_num if source blocks are from different buckets [#CLICKHOUSE-3133]
2017-07-25 20:56:09 +03:00
alexey-milovidov
b831d88162
Update ArenaAllocator.h
2017-07-25 20:06:24 +03:00
Vitaliy Lyudvichenko
870b1aefcb
Get rid of of PODArray copypaste. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Vitaliy Lyudvichenko
ae3b1d8d3a
Fix clang compilation. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Vitaliy Lyudvichenko
1c574af576
Add more tests. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Vitaliy Lyudvichenko
fefb4dad67
Get rid of old groupArray() implementations. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Vitaliy Lyudvichenko
792faaa2db
Add adaptive allocator. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Vitaliy Lyudvichenko
03e5bf9471
Add support of parameters in aggregate function constructors. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Vitaliy Lyudvichenko
c3a15da3f8
Add support of limit parameter into groupArray. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Vitaliy Lyudvichenko
c2cc8d6147
Add several groupArray implementations. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Guillaume Tassery
03bbe9938a
Function for generate an uuid v4 ( #1008 )
...
* Fix compilation error when include FunctionsRandom.h twice
* Implement function for generate UUID V4
* remove isDeterministicInScopeOfQuery for generateUUIDV4
* Uniformize RandX Implementation
* rename generateUUIDV4 into generateUUIDv4
* Modify random function for making it more generic
2017-07-25 20:00:38 +03:00
Alexey Zatelepin
cdd211eae0
add test [#CLICKHOUSE-3133]
2017-07-25 19:56:48 +03:00
Alexey Zatelepin
18672204e5
fix handling of overflow data during external aggregation [#CLICKHOUSE-3133]
2017-07-25 19:56:48 +03:00
Alexey Zatelepin
cd5dc7ca29
fix segfault when handling overflow blocks in MergingAggregatedMemoryEfficientBlockInputStream [#CLICKHOUSE-3133]
2017-07-25 19:56:48 +03:00
Alexey Milovidov
f153d5f5db
Additions to prev. revision [#CLICKHOUSE-2].
2017-07-25 01:53:44 +03:00
Alexey Milovidov
b4c610a8e7
Fixed errors [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
188ee349bd
Fixed errors [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
a6df2e7151
Added support for non-constant and negative offset and size for substring function (continued) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
487278e2f5
Added support for non-constant and negative offset and size for substring function (continued) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
3144cbc9c1
Added support for non-constant and negative offset and size for substring function (continued) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
94768fe9bf
Added support for non-constant and negative offset and size for substring function (continued) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
52b5bae62f
Added support for non-constant and negative offset and size for substring function (continued) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
30ff4a78a6
Added support for non-constant and negative offset and size for substring function (continued) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
14de659c99
Added support for non-constant offset and size for substring function [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
4a4e863f9d
Fixed warning on clang 6 [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
0c8e082954
Using GatherUtils (experimental) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
366ad1595e
Fixed warning on clang 6 [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
1557fa2e8d
Removed "dispatchFor" templates, because gcc 6 cannot compile them (only clang is capable) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
ffbd2f46f9
GatherUtils (experimental) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
9540a2da90
GatherUtils (experimental) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
bfdc108a08
Cleaning old code [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
ee81d53bd5
Functions simplification [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
alexey-milovidov
bbe70e8cfa
Update FunctionsStringSearch.cpp
2017-07-24 20:36:16 +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
eba5ad73ec
clean
2017-07-24 18:04:49 +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
efaa44bea8
Attempt to improve performance [#CLICKHOUSE-3].
2017-07-23 09:53:28 +03:00
Alexey Milovidov
0c4de54fa4
More performance test [#CLICKHOUSE-3].
2017-07-23 09:51:03 +03:00
Alexey Milovidov
f5a92f26e1
Added performance test for MAC-related functions [#CLICKHOUSE-3].
2017-07-23 09:24:20 +03:00
Alexey Milovidov
a76061e1a9
Fixed MAC address related functions; added test [#CLICKHOUSE-3].
2017-07-23 09:13:57 +03:00
Alexey Milovidov
1e8547b3f6
Fixed regression [#CLICKHOUSE-3148].
2017-07-21 23:59:01 +03:00
Alexey Milovidov
31d8ba3b34
Fixed error after merge [#CLICKHOUSE-3150].
2017-07-21 23:20:22 +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-milovidov
6d47981e86
Update Collator.cpp
2017-07-21 20:59:39 +03:00
Vladimir Kolobaev
1b8a062e7b
Issue #1000 - Returned some remote code in Collator.app
2017-07-21 20:59:39 +03:00
Vladimir Kolobaev
e85cd44e48
Issue #1000 - remove 'diagnostic ignored -Wunused-private-field' in Collator.app
2017-07-21 20:59:39 +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
Alexey Zatelepin
6567465d41
add failing test [#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
5477e7c1f9
added date and time to number functions [#CLICKHOUSE-3132]
2017-07-21 20:51:08 +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
3a0bf8e642
Fixed error after merge [#CLICKHOUSE-3150].
2017-07-21 09:55:33 +03:00
Alexey Milovidov
e1cc8289b2
Fixed error after merge [#CLICKHOUSE-3150].
2017-07-21 09:46:50 +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
robot-metrika-test
109a2cf705
Auto version update to [54260]
2017-07-20 19:02:35 +03:00
robot-metrika-test
0afd7e25f8
Auto version update to [54259]
2017-07-20 18:20:13 +03:00
Vladimir Chebotarev
7254478fde
functions: Remote mode for hasColumnInTable. [#CHEBOTAREV-9]
2017-07-20 17:08:42 +03:00
robot-metrika-test
f6b037141b
Auto version update to [54255]
2017-07-19 21:44:57 +03:00
Nikolai Kochetov
2afd84c40c
fixed is_reading_finished status assignment in MergeTreeRangeReader [#CLICKHOUSE-3161]
2017-07-19 19:39:18 +03:00
Guillaume Tassery
57b4066da8
Improve performance for deserialization/serialization of UUID type
2017-07-19 19:26:37 +03:00
proller
3f9cdfe464
PerformanceTest: Add memory and threads info ( #1004 )
...
* Cmake: clear test variables with CMakePushCheckState (it will fix macos build issue)
* Add some perf tests
* Fix PerformanceTest, fix tests
* Add nyc-taxi queries
* Update PerformanceTest.cpp
* PerformanceTest: allow recursive .xml search
* Tests tune
* Move tests to dirs
* --recursive
* Add space
* PerformanceTest: Add memory and threads info
2017-07-19 18:18:47 +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
robot-metrika-test
6682717c54
Auto version update to [54253]
2017-07-18 23:48:08 +03:00
proller
ae626281b6
PerformanceTest: add --recursive option. add more threaded/not threaded tests ( #997 )
...
* Cmake: clear test variables with CMakePushCheckState (it will fix macos build issue)
* Add some perf tests
* Fix PerformanceTest, fix tests
* Add nyc-taxi queries
* Update PerformanceTest.cpp
* PerformanceTest: allow recursive .xml search
* Tests tune
* Move tests to dirs
* --recursive
* Add space
2017-07-18 23:41:24 +03:00
Alexey Zatelepin
4866a37a2b
fix selecting max_threads for MergingAggregatedBlockInputStream [#CLICKHOUSE-3156]
2017-07-18 23:40:23 +03:00
alexey-milovidov
25288ac4d5
Update PerformanceTest.cpp
2017-07-18 19:35:01 +03:00
proller
90a8beb3d9
Add nyc-taxi queries
2017-07-18 19:35:01 +03:00
proller
cd54ff0f82
Fix PerformanceTest, fix tests
2017-07-18 19:35:01 +03:00
proller
bab4b3b042
Add some perf tests
2017-07-18 19:35:01 +03:00
robot-metrika-test
3d184f4cf7
Auto version update to [54252]
2017-07-18 13:33:32 +03:00
Nikolai Kochetov
7e293df9af
merged with master
2017-07-17 22:48:22 +03:00
Nikolai Kochetov
3bf21077c2
added merging tests for Replacing engine
2017-07-17 22:45:16 +03:00
Nikolai Kochetov
39cb5e0e3e
fixed ColumnGathererStream finish reading condition
2017-07-17 22:43:09 +03:00
Nikolai Kochetov
eae94edd6b
fixed vertical merge for ReplacingSortedBlockInputStream [#CLICKHOUSE-3131]
2017-07-17 22:40:30 +03:00
Alexey Milovidov
295459e89e
Miscellaneous [#CLICKHOUSE-2].
2017-07-17 01:55:40 +03:00
Alexey Milovidov
bfc099ea5f
Miscellaneous [#CLICKHOUSE-2].
2017-07-17 01:41:15 +03:00
Alexey Milovidov
930c373309
Added synonims for few data types for compatibility with Tableau [#CLICKHOUSE-3141].
2017-07-16 08:09:47 +03:00
Alexey Milovidov
8681c3f405
Added test [#CLICKHOUSE-3149].
2017-07-16 07:14:51 +03:00
Alexey Milovidov
5f98f4b862
Addition to prev. revision [#CLICKHOUSE-3149].
2017-07-16 07:11:11 +03:00
Alexey Milovidov
5c3ca0c16e
Inverted dependency in DataTypeFactory [#CLICKHOUSE-3149].
2017-07-16 07:11:11 +03:00
Alexey Milovidov
55f69684c1
Fixed test [#CLICKHOUSE-2].
2017-07-15 23:03:00 +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
Alexey Milovidov
200a1e27e3
Merge branch 'master' into get-rid-of-ast-set
2017-07-15 03:23:20 +03:00
Vitaliy Lyudvichenko
c6eb11aad5
Use more suitable method hasRealColumn. [#CLICKHOUSE-2896]
2017-07-15 03:21:19 +03:00
Vitaliy Lyudvichenko
9ce4ff4c5b
Add check for unexisting column in CLEAR COLUMN. [#CLICKHOUSE-2896]
2017-07-15 03:21:19 +03:00
Alexey Zatelepin
b10e9d1f18
Vertical merge fix: don't forget to output last source_to_fully_copy [#CLICKHOUSE-3118]
2017-07-14 22:06:40 +03:00
Nikolai Kochetov
a13423e552
added vertical merge for ReplacingSortedBlockInputStream
2017-07-14 21:17:23 +03:00
Vasily Okunev
13c8fe2400
Fix patition test.
2017-07-14 07:49:31 +03:00
Alexey Milovidov
d61ad166e9
Added test for one of previous modifications [#CLICKHOUSE-2].
2017-07-14 04:04:35 +03:00
Alexey Milovidov
9bb902c3ef
Allow to use database.table in right hand side of IN, JOIN [#CLICKHOUSE-3144].
2017-07-14 04:00:29 +03:00
Alexey Milovidov
4a5fb9eb7b
Miscellaneous [#CLICKHOUSE-2].
2017-07-14 03:34:00 +03:00
Alexey Milovidov
1a0f5dd7cf
Getting rid of ASTSet (incomplete) [#CLICKHOUSE-2]
2017-07-14 03:33:37 +03:00
alexey-milovidov
37985d3cb8
Merge pull request #981 from yandex/reduce-memory-consumprion-during-reading-column-string-from-native-block
...
Reduce memory consumprion during reading column string from native block
2017-07-14 00:01:50 +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
Maxim Fridental
82b53b712a
findClusterIndex: fix virtual method, improve formatting
2017-07-13 22:39:37 +03:00
Maxim Fridental
ff4df27cad
Improve implementation of findClusterIndex and findClusterValue, add test
2017-07-13 22:39:37 +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
5d1f4355a1
fixed allocated size calculation for ColumnArray
2017-07-13 19:53:34 +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
robot-metrika-test
b818a116ad
Auto version update to [54251]
2017-07-13 18:43:47 +03:00
Nikolai Kochetov
7c450aa5a5
added Block::allocatedSize()
2017-07-13 17:47:46 +03:00
Nikolai Kochetov
d67a6c08cd
fixed allocated size calculation for ColumnString and ColumnVector
2017-07-13 17:41:55 +03:00
Alexey Milovidov
8a8596c58f
Using lexer: additions [#CLICKHOUSE-2].
2017-07-13 09:10:56 +03:00
Alexey Milovidov
c4ea197232
Using lexer: fixed error [#CLICKHOUSE-2].
2017-07-13 09:05:38 +03:00
Alexey Milovidov
aa7ab3e23e
Using lexer: added missing file [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
00486d0de4
Using lexer: better error messages [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
cedf9b34c9
Using lexer: better error messages [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
3659f653fb
Using lexer: better error messages [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
6f4f95412f
Using lexer: better error messages [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
708b69abed
Using lexer: better error messages [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
47d9083c08
Using lexer: better error messages [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
96468884f3
Using lexer: better error messages [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
0614ba5684
Using lexer: better error messages [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
be1710ecef
Using lexer (development) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
d4974b0724
Using lexer (development) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
f6ff1f7e72
Using lexer (development) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
2e6ceeba1c
Using lexer (development) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
a8b6920eab
Using lexer (development) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
cd8d8bf972
Using lexer (development) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
57d2f5d0e6
Using lexer (development) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
4562785c2a
Using lexer (development) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
4255b81f3f
Using lexer (development) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
65955d50e7
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
bec6aac3bb
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
e4d410fe13
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
d5c9301776
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
02274ed511
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
1cd998a9bd
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +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
2073fef375
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
d815b766fa
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
Alexey Milovidov
ad598d5dfc
Added lexer [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
e8170fde2a
Fixed error in prev. revisions [#CLICKHOUSE-2].
2017-07-13 03:04:51 +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
7c705b1a24
added RemoveColumnsBlockInputStream
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
Nikolai Kochetov
489af678d5
added avg_value_size_hint for NativeBlockInputStream [#CLICKHOUSE-3066]
2017-07-12 21:41:08 +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
Alexey Milovidov
1908b2b5a5
Fixed error in prev. revision [#CLICKHOUSE-2].
2017-07-12 19:51:39 +03:00
Alexey Zatelepin
5e61a56743
always initialize trie ptr (just in case) [#CLICKHOUSE-3087]
2017-07-12 16:35:05 +03:00
Alexey Zatelepin
4d4387f1c8
fix reloading of TrieDictionary [#CLICKHOUSE-3087]
2017-07-12 16:35:05 +03:00
Alexey Milovidov
bb38ec2c21
Fixed discrepancy in file names [#CLICKHOUSE-2].
2017-07-12 04:16:01 +03:00
Alexey Milovidov
1048fccf6b
Misc [#CLICKHOUSE-2].
2017-07-12 03:49:30 +03:00
Alexey Milovidov
24331a18f5
Removing dependency on functions from client: bug fixes [#CLICKHOUSE-2].
2017-07-12 03:42:50 +03:00
Alexey Milovidov
976e47e1af
Removing dependency on functions from client: preparation [#CLICKHOUSE-2].
2017-07-12 03:42:50 +03:00
Alexey Milovidov
8c1a6f5736
Removing dependency on functions from client: preparation [#CLICKHOUSE-2].
2017-07-12 03:42:50 +03:00
Alexey Milovidov
33c6e0b804
Removing dependency on functions from client: preparation [#CLICKHOUSE-2].
2017-07-12 03:42:50 +03:00
Alexey Milovidov
3e3af1cff4
Misc [#CLICKHOUSE-2].
2017-07-11 23:12:15 +03:00
Alexey Milovidov
1c909df8d5
Removed usage of user "readonly" from test [#CLICKHOUSE-2].
2017-07-11 22:58:05 +03:00
Alexey Milovidov
fb8d8ec768
Fixed error (tnx Vladimir Chebotarev) [#CLICKHOUSE-2].
2017-07-11 21:59:01 +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
Alexey Zatelepin
7892129481
peformance-test: fix rows_read, bytes_read calculation [#CLICKHOUSE-3086]
2017-07-11 21:26:05 +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
5f1b2e9cb1
add test [#CLICKHOUSE-3126]
2017-07-11 20:56:17 +03:00
Alexey Zatelepin
7178fcbb53
attempt to fix integration tests
2017-07-11 20:56:17 +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
cefc1a58b6
Merge branch 'master' of github.com:yandex/ClickHouse
2017-07-11 04:20:48 +03:00
Alexey Milovidov
2bd84600d1
Miscellaneous [#CLICKHOUSE-2].
2017-07-11 04:20:40 +03:00
Nikolai Kochetov
3357baa209
added changing settings in readonly mode test [#CLICKHOUSE-3041]
2017-07-10 21:15:56 +03:00
Nikolai Kochetov
524507b9b8
fixed setting comparison
2017-07-10 21:15:56 +03:00
robot-metrika-test
7364467d5c
Auto version update to [54250]
2017-07-10 20:12:02 +03:00
Nikolai Kochetov
c06c234c63
added deleted comment after merge
2017-07-10 17:33:52 +03:00
Nikolai Kochetov
7d5590d66d
Merge branch 'master' into output-format-json-quote-denormals
2017-07-10 17:29:17 +03:00
Nikolai Kochetov
39797813cc
disabled check for settings with same value in readonly mode in InterpreterSetQuery [#CLICKHOUSE-3041]; added tests for output_format_json_quote_denormals setting
2017-07-10 17:03:34 +03:00
robot-metrika-test
5241a8b0c6
Auto version update to [54249]
2017-07-10 07:53:20 +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
16a6eee397
Fixed build after merge [#CLICKHOUSE-3].
2017-07-10 07:22:36 +03:00
Alexey Milovidov
1040abfd18
Fixed build after merge [#CLICKHOUSE-3].
2017-07-10 07:16:11 +03:00
Alexey Milovidov
a742ac3b6c
Fixed build after merge [#CLICKHOUSE-3].
2017-07-10 07:10:39 +03:00
Alexey Milovidov
78e905aa3a
Fixed build after merge [#CLICKHOUSE-3].
2017-07-10 07:10:25 +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 Milovidov
db3d56b1f5
Removed obsolete test binary [#CLICKHOUSE-3].
2017-07-10 06:43:25 +03:00
Alexey Zatelepin
89939a685a
Stream row sources from disk for vertical merge [#CLICKHOUSE-3118]
2017-07-09 21:57:06 +03:00
Alexey Zatelepin
1cd936579d
introduce IColumn::gather() [#CLICKHOUSE-3118]
2017-07-09 21:57:06 +03:00
Nikolai Kochetov
d804855460
added FormatSettingsJSON.h
2017-07-09 20:16:26 +03:00
Nikolai Kochetov
25ac546e78
disabled exception during overriding settings with same value in readonly mode [#CLICKHOUSE-3041]
2017-07-09 20:16:26 +03:00
Nikolai Kochetov
63119eda7d
updated FormatSettingsJSON
2017-07-09 20:16:26 +03:00
Nikolai Kochetov
0ead0ee2f1
added FormatSettingsJSON [#CLICKHOUSE-3060]
2017-07-09 20:16:26 +03:00
alexey-milovidov
894d09f797
Update IFunction.h
2017-07-09 17:13:51 +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
Vitaliy Lyudvichenko
b46a2a6eab
Fixed infinite sleeping of low-priority queries. [#CLICKHOUSE-2]
2017-07-09 03:53:13 +03:00
Vitaliy Lyudvichenko
7150e9447a
Fixed multiIf in case of empty arguments. [#CLICKHOUSE-3119]
2017-07-07 17:42:37 +03:00
Nikolai Kochetov
2f08ba9e94
added FormatSettingsJSON.h
2017-07-06 18:11:12 +03:00
Guillaume Tassery
2ec96fe822
Make UUID as a strong type
2017-07-06 16:50:29 +02:00
Nikolai Kochetov
d6001618f0
disabled exception during overriding settings with same value in readonly mode [#CLICKHOUSE-3041]
2017-07-06 17:42:31 +03:00
robot-metrika-test
2d478cd371
Auto version update to [54248]
2017-07-05 21:47:14 +03:00
Liu Cong
08e43b149a
Fix a typo of 'Columns/ColumnVector.h': metod => method
2017-07-05 20:46:37 +03:00
Nikolai Kochetov
c99a9b1c55
moved FilterColumnsBlockInputStream implementation to .cpp [#CLICKHOUSE-3111]
2017-07-05 20:14:17 +03:00
alexey-milovidov
85bdb472ea
Update FilterColumnsBlockInputStream.h
2017-07-05 20:14:17 +03:00
alexey-milovidov
7bc0e40135
Update FilterColumnsBlockInputStream.h
2017-07-05 20:14:17 +03:00
Nikolai Kochetov
f1ec4cd863
added FilterColumnsBlockInputStream into StorageMerge [#CLICKHOUSE-3111]
2017-07-05 20:14:17 +03:00
robot-metrika-test
f1ce8c437b
Auto version update to [54247]
2017-07-05 19:42:46 +03:00
Alexey Milovidov
66638c4158
Fixed error in StorageDictionary [#CLICKHOUSE-2].
2017-07-05 19:36:45 +03:00
Guillaume Tassery
c6a5083419
Fix comparison of UInt128 to Float64
2017-07-05 18:29:16 +02:00
Nikolai Kochetov
13b275a174
updated FormatSettingsJSON
2017-07-05 19:28:57 +03:00
robot-metrika-test
25e9a1f7a6
Auto version update to [54246]
2017-07-05 18:22:35 +03:00
Guillaume Tassery
b90734920e
Adapt UInt128 operator
2017-07-05 12:09:24 +02:00
Nikolai Kochetov
ebbca0001f
added FormatSettingsJSON [#CLICKHOUSE-3060]
2017-07-04 19:26:38 +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
06f343c89e
Misc [#CLICKHOUSE-3115].
2017-07-04 00:04:40 +03: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
Alexey Milovidov
15cf838250
Cosmetics [#CLICKHOUSE-2]
2017-07-03 21:29:56 +03:00
Alexey Milovidov
c170b6f0d2
Removed useless code [#CLICKHOUSE-3111].
2017-07-03 20:34:27 +03:00
Guillaume Tassery
d6ab06437a
Remove mention of UUID type for dictonnary
2017-07-03 18:08:32 +02:00
Alexey Milovidov
5a015a1475
Misc fixes after merge [#CLICKHOUSE-3].
2017-07-03 17:17:46 +03:00
Alexey Milovidov
a38bf1cbb3
Fixed bad code after merge [#CLICKHOUSE-3].
2017-07-03 17:16:20 +03:00
Alexey Milovidov
320b1e635b
Fixed build after merge [#CLICKHOUSE-3].
2017-07-03 17:14:44 +03:00
Alexey Milovidov
43daa720a4
Fixed build after merge [#CLICKHOUSE-3].
2017-07-03 17:09:32 +03:00
Marek Vavruša
d27bed228b
Parser: fix CREATE VIEW IF EXISTS #934
...
The else branch forgot to consume whitespace after
CREATE token, and after VIEW token.
2017-07-03 17:01:43 +03:00
Maxim Fridental
e30c9242bc
Implement functions findClusterIndex and findClusterValue.
2017-07-03 17:01:21 +03:00
Alexey Milovidov
65cde992f5
Merge branch 'master' of github.com:yandex/ClickHouse
2017-07-02 23:51:40 +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 Milovidov
21c9ede548
Fixed garbage [#CLICKHOUSE-2].
2017-06-28 16:20:57 +03:00
robot-metrika-test
44cdfb4c76
Auto version update to [54244]
2017-06-28 15:35:06 +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
Alexey Milovidov
2b67782845
Applied clang-format [#CLICKHOUSE-2].
2017-06-28 15:30:23 +03:00
Alexey Milovidov
39ddcf1c74
Fixed build [#CLICKHOUSE-2].
2017-06-28 15:24:49 +03:00
Alexey Milovidov
c6b83a1c60
Fixed build [#CLICKHOUSE-2].
2017-06-28 15:22:07 +03:00
robot-metrika-test
4b38e8f8d3
Auto version update to [54243]
2017-06-27 19:27:16 +03:00
Alexey Zatelepin
6768ebd53f
less strict parse() functions (restore compatibility with JDBC driver) [#CLICKHOUSE-2949]
2017-06-27 18:58:33 +03:00
robot-metrika-test
9150df5ae1
Auto version update to [54242]
2017-06-26 22:15:58 +03:00
Marek Vavruša
e189c39056
SpaceSaving: internal storage for StringRef{}
...
The SpaceSaving has now specialised storage for
some keys, which only copies keys that
are to be retained in the structure, not all.
Most of the PODs implement this interface empty,
so there shouldn’t be any extra cost.
2017-06-26 21:16:13 +03:00
robot-metrika-test
106a979ac2
Auto version update to [54241]
2017-06-26 20:41:34 +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
Alex Zatelepin
8f250d4a18
Merge pull request #927 from yandex/fix-profile-info-race
...
Fix race condition while initializing BlockStreamProfileInfo
2017-06-26 16:38:26 +03:00
Vitaliy Lyudvichenko
b53d6976b3
Fix build after merge. [#CLICKHOUSE-2]
2017-06-26 15:47:15 +03:00
Alexey Zatelepin
1917de0380
fix race condition while initializing BlockStreamProfileInfo [#CLICKHOUSE-3099]
2017-06-26 15:30:35 +03:00
Alexey Milovidov
a48a21f593
Merge branch 'master' into CLICKHOUSE-2896
2017-06-26 11:54:58 +03:00
Alexey Milovidov
219740155a
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-26 11:34:02 +03:00
Alexey Milovidov
0565aea988
Whitespaces [#CLICKHOUSE-2].
2017-06-26 11:33:56 +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
a8cbb1ce52
Removed obsolete tests [#CLICKHOUSE-3091].
2017-06-25 05:31:53 +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
Alexey Milovidov
30b6c36b83
Added support for identifiers in double quotes [#CLICKHOUSE-20].
2017-06-24 04:49:15 +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
c2ddb63218
merged with remote
2017-06-23 19:04:30 +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
3c33f1841f
Little better [#CLICKHOUSE-2].
2017-06-23 09:45:48 +03:00
Alexey Milovidov
f409cad0ac
Miscellaneous [#CLICKHOUSE-3091].
2017-06-23 09:18:00 +03:00
Alexey Milovidov
7f48f1a7f5
Fixed error [#CLICKHOUSE-2].
2017-06-23 09:11:00 +03:00
Alexey Milovidov
d51245809f
Fixed error in SessionCleaner [#CLICKHOUSE-2949].
2017-06-23 08:53:04 +03:00
Alexey Milovidov
324fc7ef3e
Miscellaneous [#CLICKHOUSE-3094].
2017-06-23 08:39:27 +03:00
Alexey Zatelepin
bb602835de
correctness tests [#CLICKHOUSE-3070]
2017-06-22 23:10:43 +03:00
Alexey Zatelepin
87fbfe0950
correct comparisons for strings with null bytes [#CLICKHOUSE-3070]
2017-06-22 23:10:43 +03:00
Alexey Zatelepin
cc87d4ad80
add string comparisons performance test [#CLICKHOUSE-3070]
2017-06-22 23:10:43 +03:00
Alexey Milovidov
7d732343eb
Fixed error in prev. revision [#CLICKHOUSE-3091].
2017-06-22 22:52:06 +03:00
Alexey Milovidov
7b7b3ac3d8
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-22 22:45:36 +03:00
proller
70d9fb06b4
PerformanceTest: use getMultiple*FromConfig, fix debug helpers ( #915 )
...
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
2017-06-22 21:56:40 +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
990e62e579
Miscellaneous [#CLICKHOUSE-2].
2017-06-22 21:16:28 +03:00
proller
23fa44aa50
Server startup: print info about available ram and number of cores/threads ( #906 )
...
* Fix missing includes
* ComplexKeyCacheDictionary: Move includes to .cpp
* Fixing PerformanceTest: table_exists condition, move getMemoryAmount function to file. Add more debug helpers
* Multiplatform memory size getter
* Server startup: print info about available ram and number of cores/threads
* Requested changes
* Requested changes
* Requested changes
* fix
* Requested changes
* Requested changes
2017-06-22 21:08:14 +03:00
alexey-milovidov
145912724a
Update DatabaseDictionary.h
2017-06-22 21:00:29 +03:00
alexey-milovidov
11b81e6683
Update StorageDictionary.cpp
2017-06-22 20:59:19 +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
proller
8ef51bf19b
Fixing PerformanceTest: table_exists condition, move getMemoryAmount function to file. Add more debug helpers ( #905 )
...
* Fix missing includes
* ComplexKeyCacheDictionary: Move includes to .cpp
* Fixing PerformanceTest: table_exists condition, move getMemoryAmount function to file. Add more debug helpers
* Multiplatform memory size getter
* Requested changes
* Requested changes
* Requested changes
* fix
* Requested changes
2017-06-22 18:57:37 +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 Zatelepin
374e92f76e
performance-test: allow same stop condition to be present in all_of and any_of sections [#CLICKHOUSE-3086]
2017-06-21 22:20:57 +03:00
Alexey Zatelepin
1783d233e2
performance-test: do not take cancelled query times into account [#CLICKHOUSE-3086]
2017-06-21 22:20:57 +03:00
Alexey Zatelepin
0bc0150682
performance-test: add server version to json output [#CLICKHOUSE-3086]
2017-06-21 22:20:57 +03:00
Alexey Zatelepin
53aa599dc7
performance-test: rename params for clarity [#CLICKHOUSE-3086]
2017-06-21 22:20:57 +03:00
Alexey Zatelepin
678d1ef605
performance-test: fix incorrect results reporting [#CLICKHOUSE-3086]
2017-06-21 22:20:57 +03:00
Alexey Zatelepin
ef2cf67736
performance-test: allow several queries in xml scenarios [#CLICKHOUSE-3086]
2017-06-21 22:20:57 +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
1624835a08
Added test [#METR-25109].
2017-06-21 21:24:25 +03:00
Alexey Milovidov
f16eaa99a1
Fixed error with unusual case of ARRAY JOIN [#METR-25109].
2017-06-21 21:21:37 +03:00
Alexey Milovidov
4738094d7e
Fixed error when dynamically compiled .so file is broken [#METR-25550].
2017-06-21 20:31:22 +03:00
robot-metrika-test
7412167cba
Auto version update to [54240]
2017-06-21 18:15:32 +03:00
Alexey Milovidov
6df5d556e5
Changed namespace [#DEVTOOLS-3381].
2017-06-21 11:35:38 +03:00
Alexey Milovidov
a99f25f2a0
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-21 04:24:10 +03:00
Alexey Milovidov
604de2bfeb
Better [#DEVTOOLS-3381].
2017-06-21 04:24:05 +03:00
Vitaliy Lyudvichenko
8b72f573d8
Get rid of SET GLOBAL command. [#MTRSADMIN-3068]
2017-06-20 22:26:59 +03:00
Vitaliy Lyudvichenko
2167e4efdd
Removed SET GLOBAL query. [#MTRSADMIN-3068]
...
It even was not supported properly in console client.
2017-06-20 22:26:59 +03:00
Vitaliy Lyudvichenko
353dba545d
Correct cascade of user setting calculation. [#MTRSADMIN-3068] [#CLICKHOUSE-2906]
2017-06-20 22:26:59 +03:00
proller
9c7d30e0df
Fix missing includes
2017-06-20 17:16:51 +03:00
robot-metrika-test
5fd6d75fbf
Auto version update to [54239]
2017-06-20 13:43:35 +03:00
Георгий Кондратьев
a736ef618a
Put ClickHouse variant of CityHash into DB namespace [#DEVTOOLS-3381]
...
This avoids symbol conflict when linking external applications that use another
variant of CityHash in the global namespace with ClickHouse libraries.
2017-06-20 12:25:16 +03:00
alexey-milovidov
057b919f20
Update ArrayCache.h
2017-06-20 10:51:53 +03:00
alexey-milovidov
ec5d2c3914
Update Allocator.cpp
2017-06-20 10:51:53 +03:00
Георгий Кондратьев
4d57012c62
Fix older Darwin build [#DEVTOOLS-3381]
2017-06-20 10:51:53 +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
515ffa5262
Add extra check. [#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
Alexey Milovidov
150d3bb60f
Removed useless code [#CLICKHOUSE-2].
2017-06-20 10:36:16 +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
47484b4bed
Tiny modifications [#DEVTOOLS-3381].
2017-06-20 00:06:46 +03:00
Георгий Кондратьев
7ca75180c7
Fix type name [#DEVTOOLS-3381]
2017-06-19 23:50:56 +03:00
Alexey Milovidov
1b17f6191b
Addition to prev. revision [#DEVTOOLS-3381].
2017-06-19 23:09:11 +03:00
Alexey Milovidov
f578bbd459
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-19 23:06:53 +03:00
Alexey Milovidov
05accbdcbe
Removed cyclic dependency [#DEVTOOLS-3381].
2017-06-19 23:06:35 +03:00
Vitaliy Lyudvichenko
b772eaa3a8
Resolved #891 . Fixed aliases for empty scalar subqueries. [#CLICKHOUSE-3]
2017-06-19 22:40:12 +03:00
robot-metrika-test
d7c5acbdcc
Auto version update to [54238]
2017-06-19 07:20:55 +03:00
Alexey Milovidov
b0c0432b71
Fixed build [#CLICKHOUSE-31].
2017-06-19 06:18:30 +03:00
Alexey Milovidov
f6be687717
Added test [#CLICKHOUSE-31].
2017-06-19 06:06:17 +03:00
Alexey Milovidov
eb47356e4f
Qualified names: continued [#CLICKHOUSE-31].
2017-06-19 06:05:05 +03:00
Alexey Milovidov
6fe3e432c5
Implemented qualified identifiers in a bad way [#CLICKHOUSE-31].
2017-06-19 05:14:18 +03:00
Alexey Milovidov
4e08309eaa
Attempt to fix test of dictionaries with cache layouts and executable source [#CLICKHOUSE-2].
2017-06-18 22:24:49 +03:00
Alexey Milovidov
401d922a4b
Tiny modifications [#CLICKHOUSE-3044].
2017-06-18 09:11:49 +03:00
Alexey Milovidov
f51db5e1f6
Fixed build [#CLICKHOUSE-3044].
2017-06-18 08:55:46 +03:00
Alexey Milovidov
6be0428ffe
Preparation [#CLICKHOUSE-31].
2017-06-18 08:44:09 +03:00
Alexey Milovidov
d64f2beaf8
Fixed build [#CLICKHOUSE-3044].
2017-06-18 08:43:29 +03:00
Alexey Milovidov
942c1dea21
Fixed build [#CLICKHOUSE-31].
2017-06-18 07:09:04 +03:00
Alexey Milovidov
b19f4d1a0e
Added test [#CLICKHOUSE-31].
2017-06-18 06:38:17 +03:00
Alexey Milovidov
62be911d79
Additions to prev. revision [#CLICKHOUSE-31].
2017-06-18 06:35:25 +03:00
Alexey Milovidov
313e52279d
UNION ALL rewrite: preparation [#CLICKHOUSE-31].
2017-06-18 06:35:25 +03:00
Alexey Milovidov
35b656e11c
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-16 21:39:17 +03:00
Alexey Milovidov
a726c68865
Check Nullable(... Nullable) early [#CLICKHOUSE-2].
2017-06-16 21:39:09 +03:00
Alexey Zatelepin
18bff11da6
cosmetics [#CLICKHOUSE-1979]
2017-06-16 21:35:49 +03:00
Alexey Zatelepin
c90ea346ce
add cross-replication test [#CLICKHOUSE-1979]
2017-06-16 21:24:18 +03:00
Alexey Milovidov
5006042bac
Added test [#CLICKHOUSE-2993].
2017-06-16 21:08:19 +03:00
Alexey Milovidov
8343cf3578
Fixed error with NULLs [#CLICKHOUSE-2993].
2017-06-16 21:05:45 +03:00
Alexey Milovidov
ee49c37fa6
Whitespaces [#CLICKHOUSE-2].
2017-06-16 19:23:23 +03:00
Alexey Milovidov
6aa69c06cf
Moved tools sources out of library code [#CLICKHOUSE-2].
2017-06-16 19:20:51 +03:00
Alexey Milovidov
7a0ffc9986
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-16 19:19:42 +03:00
Alexey Zatelepin
3c6b278b3d
fix infinite recursion in StorageMerge::isRemote() [#CLICKHOUSE-2911]
2017-06-16 19:19:15 +03:00
Alexey Milovidov
b1a645cb6d
Moved tools sources out of library code [#CLICKHOUSE-2].
2017-06-16 19:16:22 +03:00
Vitaliy Lyudvichenko
aef0bf7e2e
Fix trying to load database.sql from incorrect path. [#CLICKHOUSE-3044]
2017-06-16 19:08:24 +03:00
Vitaliy Lyudvichenko
67fdd0f544
Load the system database first. [#CLICKHOUSE-3044]
2017-06-16 19:08:24 +03:00
Alex Zatelepin
4cd9df27ab
fix infinite loop in StorageMerge::isRemote() [#CLICKHOUSE-2911]
2017-06-16 03:21:00 +03:00
Alexey Milovidov
a3590e266e
Trying to fix test of external dictionaries [#CLICKHOUSE-2].
2017-06-16 02:54:41 +03:00
Alexey Milovidov
708515dd1e
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-15 23:25:16 +03:00
Alexey Milovidov
0fcb6300a2
Fixed error in linkage (thanks Orivej) [#DEVTOOLS-3381].
2017-06-15 23:24:23 +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-milovidov
f2c1858f78
Merge pull request #882 from proller/freebsd
...
Freebsd and macos fixes
2017-06-15 23:07:33 +03:00
proller
4c7dd6ff8b
Freebsd and macos fixes
2017-06-15 22:39:35 +03:00
Alexey Zatelepin
8ee85e6440
calculate isRemote() from underlying tables of StorageMerge [#CLICKHOUSE-2911]
2017-06-15 22:24:59 +03:00
Alexey Milovidov
0743cfe6d7
Removed code that was used solely by Metrika [#DEVTOOLS-3343].
2017-06-15 21:27:51 +03:00
Alexey Milovidov
9bf083625d
Removed support for QuickLZ (obsolete) [#CLICKHOUSE-2].
2017-06-15 21:21:59 +03:00
Alexey Milovidov
4f3738c527
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-15 20:56:05 +03:00
Alexey Milovidov
bc45598c08
Fixed name [#CLICKHOUSE-2].
2017-06-15 20:55:57 +03:00
Vitaliy Lyudvichenko
63ac609e8b
Avoid overestimation of avg. column element size. [#CLICKHOUSE-3058]
2017-06-15 20:33:03 +03:00
Nikolai Kochetov
221c05402f
fixed bytes_allocated counter for cache dictionaries
2017-06-15 20:31:48 +03:00
Alexey Zatelepin
deca700689
add failing test [#CLICKHOUSE-2911]
2017-06-15 18:45:45 +03:00
Alexey Milovidov
e2c00fc46c
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-15 00:45:38 +03:00
Alexey Milovidov
a0c4e50135
Attempt to fix dictionaries test on Precise [#CLICKHOUSE-2].
2017-06-15 00:45:05 +03:00
Alexey Milovidov
686b29cc97
Fixed test [#CLICKHOUSE-4].
2017-06-14 22:48:10 +03:00
Alexey Milovidov
3ec14e0481
Fixed error [#CLICKHOUSE-4].
2017-06-14 22:31:05 +03:00
Alexey Zatelepin
3b33d3fbab
force reconnect by default for connections returned by ConnectionPool [#CLICKHOUSE-3068]
2017-06-14 22:16:19 +03:00
Alexey Zatelepin
ad379271ed
add failing test [#CLICKHOUSE-3068]
2017-06-14 22:16:19 +03:00
Alexey Zatelepin
d95e5d40a3
fix integration tests
2017-06-14 16:23:23 +03:00
LiuCong
55b5f9bae3
Fixed a comment typo of Server/Server.cpp
2017-06-13 22:27:39 +03:00
Vitaliy Lyudvichenko
6d74a5f5d1
Resolves #851 . Table was in shutdown state after aborted drop. [#CLICKHOUSE-2184]
2017-06-13 22:27:18 +03:00
Alexey Milovidov
91b5599412
Miscellaneous [#CLICKHOUSE-2].
2017-06-13 09:22:20 +03:00
Alexey Milovidov
1e45dc5480
Fixed build [#CLICKHOUSE-2].
2017-06-13 09:21:52 +03:00
Alexey Milovidov
f1f336275e
Removed useless file [#CLICKHOUSE-2].
2017-06-13 09:12:13 +03:00
Alexey Milovidov
10f5543a49
Revert "Add support for skipping whitespaces"
...
This reverts commit 704a79ee6c
.
2017-06-13 09:09:59 +03:00
Alexey Milovidov
49e8473456
Fixed error [#CLICKHOUSE-2].
2017-06-13 08:55:04 +03:00
Alexey Milovidov
8ba0ed9aeb
Less dependencies [#CLICKHOUSE-2].
2017-06-13 08:15:12 +03:00
Alexey Milovidov
a73790f17d
Less dependencies [#CLICKHOUSE-2].
2017-06-13 08:14:24 +03:00
Alexey Milovidov
2cc7c776ce
Fixed build [#CLICKHOUSE-2].
2017-06-13 07:50:26 +03:00
Alexey Milovidov
a782f81f8f
Moved common code from Functions; fixed build after merge [#CLICKHOUSE-2].
2017-06-13 07:45:30 +03:00
Alexey Milovidov
77aa0ed3d2
Fixed build [#CLICKHOUSE-31].
2017-06-13 07:33:07 +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
alexey-milovidov
3f6cccaaa1
Merge pull request #834 from luc1ph3r/Add-performance-test
...
Add performance test
2017-06-13 07:20:01 +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
74bd90701e
Removed useless code [#CLICKHOUSE-31].
2017-06-13 07:14:23 +03:00
Alexey Milovidov
3ddea6b260
Removed useless code [#CLICKHOUSE-31].
2017-06-13 07:14:23 +03:00
Alexey Milovidov
1c219c5a7b
Addition to prev. revision [#CLICKHOUSE-31].
2017-06-13 07:14:23 +03:00
Alexey Milovidov
782fe332b1
Miscellaneous [#CLICKHOUSE-31].
2017-06-13 07:13:54 +03:00
Alexey Milovidov
43fedfecea
Get rid of INSERT ID [#CLICKHOUSE-31].
2017-06-13 07:13:20 +03:00
Alexey Milovidov
1790eeeb5e
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-13 07:13:00 +03:00
Alexey Milovidov
5aa1a1da27
Modified comment [#CLICKHOUSE-31].
2017-06-13 07:12:51 +03:00
proller
f6f85440d4
Fix compile with gcc7
2017-06-13 02:50:34 +03:00
Alexey Milovidov
7f87bb07da
Fixed linkage [#CLICKHOUSE-2].
2017-06-12 03:26:22 +03:00
Alexey Milovidov
e9ea838c66
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-10 13:43:49 +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
5548f1fdd9
Analyzers: Memoizing table functions [#CLICKHOUSE-31]
2017-06-10 08:31:14 +03:00
Alexey Milovidov
d5ca92093a
Fixed comment [#CLICKHOUSE-2].
2017-06-10 08:30:07 +03:00
Nikolai Kochetov
b872751c5e
Merge branch 'master' into storage-dictionary
2017-06-09 11:38:23 +03:00
Alexey Zatelepin
877283b589
fix sorting when all columns are const [#CLICKHOUSE-3062]
2017-06-09 09:13:20 +03:00
Alexey Zatelepin
b03c87be39
fix nulls sorting when limit is greater than rows count [#CLICKHOUSE-3061]
2017-06-09 09:13:20 +03:00
Nikolai Kochetov
2f7f9a328e
changed ComplexKeyCacheDictionary key serialization
2017-06-08 20:51:46 +03:00
Vitaliy Lyudvichenko
58db4b7be4
Fix HTTP session test again. [#CLICKHOUSE-2]
2017-06-08 19:36:45 +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
a4b28db411
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-08 09:29:49 +03:00
Vitaliy Lyudvichenko
7ab88b8055
Fix HTTP sessions test. [#CLICKHOUSE-3]
2017-06-07 22:06:43 +03:00
Nikolai Kochetov
b931ca4edb
removed cache dictionaries from test_select_all
2017-06-07 19:50:56 +03:00
Nikolai Kochetov
af661f9be1
integration tests for StorageDictionary
2017-06-07 19:43:07 +03:00
Alexey Milovidov
0b4c23d0fc
Added test [#CLICKHOUSE-2].
2017-06-07 04:56:20 +03:00
Alexey Milovidov
7c6f647559
Removed questionable code [#CLICKHOUSE-2].
2017-06-07 04:52:11 +03:00
Alexey Milovidov
d5a83f6cef
Removed questionable code [#CLICKHOUSE-2].
2017-06-07 04:49:23 +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
Vitaliy Lyudvichenko
d4d316dbb8
More sophisticated test. [#CLICKHOUSE-2]
2017-06-06 17:18:23 +03:00
Vitaliy Lyudvichenko
cce302588a
Revert "Avoid extra context copying. [#CLICKHOUSE-3023]"
...
This reverts commit 87af5b5576
.
2017-06-06 16:29:08 +03:00
Alexey Milovidov
153693cd4c
Non significant modifications [#CLICKHOUSE-3].
2017-06-05 23:43:23 +03:00
Alexey Milovidov
aba8432477
Fixed bad translation [#CLICKHOUSE-3].
2017-06-05 23:18:15 +03:00
Alexey Milovidov
9593119a64
Fixed error after merge; tiny modification [#CLICKHOUSE-2].
2017-06-05 17:40:44 +03:00
alexey-milovidov
0fb00dc88a
Update AddingDefaultBlockOutputStream.h
2017-06-05 17:25:10 +03:00
Vitaliy Lyudvichenko
1e4906816c
Avoid SIGSEGV in SystemLog destructors. [#CLICKHOUSE-3023]
2017-06-05 17:25:10 +03:00
Vitaliy Lyudvichenko
87af5b5576
Avoid extra context copying. [#CLICKHOUSE-3023]
2017-06-05 17:25:10 +03:00
Nikolai Kochetov
04e1a23d1a
removed IBlockInputStream.h from IDictionary.h
2017-06-05 13:01:47 +03:00
Nikolai Kochetov
bbd6a1f238
added DictionaryBlockInpustStream support for TrieDictionary
2017-06-05 12:02:05 +03:00
f1yegor
8e261e34c5
translate comments: Interpreters
2017-06-03 19:21:00 +03:00
Alexey Milovidov
efc12f2334
Sessions in HTTP interface: modifications after merge [#CLICKHOUSE-2949].
2017-06-03 00:01:17 +03:00
Alexey Milovidov
8fb0afe74e
Fixed build of tests [#CLICKHOUSE-2].
2017-06-02 22:35:37 +03:00
Sergey V. Galtsev
07f14e05ee
Implement sessions in HTTP interface [#CLICKHOUSE-2949].
2017-06-02 22:35:05 +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
Alexey Milovidov
5bd9342c0b
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-01 21:13:42 +03:00
Alexey Milovidov
862a304db2
Small refinements [#CLICKHOUSE-2].
2017-06-01 16:41:58 +03:00
Vitaliy Lyudvichenko
1c367fc666
Fix DDLLogEntry::CURRENT_VERSION variable issue. [#CLICKHOUSE-5]
2017-06-01 13:49:22 +03:00
Vitaliy Lyudvichenko
6db8da82c6
Add requested changes. [#CLICKHOUSE-5]
2017-06-01 13:49:21 +03:00
Vitaliy Lyudvichenko
73e2aab9ec
Updated integration tests. Add integration test for DDL. [#CLICKHOUSE-5]
2017-06-01 13:49:21 +03:00
Vitaliy Lyudvichenko
226d84be09
Update doc. [#CLICKHOUSE-5]
2017-06-01 13:49:21 +03:00
Vitaliy Lyudvichenko
d472065af0
Rename draft for integration test. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
55aa8217f3
Disable DDL ALTER for replicated tables. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +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
48ade83090
Parsers refactoring. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
91f45c628b
Add queue cleanup. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
feb1db051d
Add status stream for distributed DDLs. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
4322b0c5a9
Implemented global ZK queue for DDLs. [#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
Vitaliy Lyudvichenko
aa7504a7f5
Distributed DDL PR rebase. [#CLICKHOUSE-5]
2017-06-01 13:49:19 +03:00
robot-metrika-test
5df9848326
Auto version update to [54237]
2017-05-31 20:37:37 +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
334fa11d12
deleted IBlickInputStream.h include form IDictionary.h
2017-05-31 12:05:44 +03:00
ivanzhukov
52b5f18db9
Code Review
2017-05-31 00:36:45 +03:00
Nikolai Kochetov
38e9e837c5
style fixes
2017-05-30 18:02:44 +03:00
Alex Zatelepin
0b2e2ec20d
Update README.md [#CLICKHOUSE-2821]
2017-05-29 22:05:36 +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
proller
27d675465d
Remove wrong char from code
2017-05-29 14:18:51 +03:00
f1yegor
0bf5182020
translate comments: etc
2017-05-28 16:32:59 +02:00
f1yegor
b3e0533860
translate comments: IO
2017-05-28 16:29:40 +02:00
f1yegor
f49b433a83
translate comments: functions
2017-05-27 19:29:55 +02:00
f1yegor
92712eeedd
translate comments: parsers
2017-05-27 19:27:16 +02:00
f1yegor
0882092c20
translate comments: functions
2017-05-27 17:45:25 +02:00
Nikolai Kochetov
5fb5397941
added max_block_size for DictionaryBlockImputStreamBase
2017-05-26 19:08:56 +03:00
Alexey Milovidov
13f0af3d83
Whitespaces [#CLICKHOUSE-2]
2017-05-26 18:30:07 +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
c8ccbd56c0
More correct wording [#CLICKHOUSE-3039].
2017-05-26 00:00:04 +03: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
ccce305d73
Fixed totally wrong code [#CLICKHOUSE-3039].
2017-05-25 23:17:23 +03:00
Alexey Milovidov
f448c9690c
Little better [#CLICKHOUSE-3039].
2017-05-25 23:09:48 +03:00
Alexey Milovidov
e05547f4f8
Little better [#CLICKHOUSE-3039].
2017-05-25 22:52:05 +03:00
Alexey Milovidov
7a5c0a3cc2
Style [#CLICKHOUSE-3039].
2017-05-25 22:36:03 +03:00
Alexey Milovidov
22a0da824f
Fixed bad code (again) [#CLICKHOUSE-3039].
2017-05-25 22:27:23 +03:00
Alexey Milovidov
6f5dcb1d84
Miscellaneous [#CLICKHOUSE-3039].
2017-05-25 22:26:17 +03:00
Alexey Milovidov
4fd2714a74
Fixed bad code [#CLICKHOUSE-3039].
2017-05-25 22:21:57 +03:00
Alexey Milovidov
fedd829803
Miscellaneous [#CLICKHOUSE-3039].
2017-05-25 21:24:47 +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
1c903df8d7
move AccurateComparison.h [#CLICKHOUSE-3002]
2017-05-25 05:34:26 +04:00
Alexey Zatelepin
7655a7bf3a
add tests [#CLICKHOUSE-3002]
2017-05-25 05:34:26 +04: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
6e9fa39af5
Analyzers: development [#CLICKHOUSE-31].
2017-05-25 03:41:07 +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
Alexey Milovidov
59ac7f8063
Preparation: untangle settings manipulation in InterpreterSelectQuery [#CLICKHOUSE-31].
2017-05-24 23:25:01 +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
cb83b200cb
Preparation [#CLICKHOUSE-31].
2017-05-24 23:13:04 +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
9fdd795087
Using more light method of query_id generation [#CLICKHOUSE-3025].
2017-05-24 22:31:50 +03:00
Alexey Milovidov
0a55310076
Added comment [#CLICKHOUSE-3027].
2017-05-24 21:49:30 +03:00
Alexey Milovidov
2e47c35fa9
Fixed error "zero number of streams requested" on Google Compute Engine VMs [#CLICKHOUSE-2037].
2017-05-24 21:38:18 +03:00
Alexey Milovidov
91f9009cc4
Fixed build [#CLICKHOUSE-2955].
2017-05-24 01:34:52 +03:00
Alexey Zatelepin
df5fb65b28
specify db path in accordance with container volume mountpoint [#CLICKHOUSE-2821]
2017-05-23 23:52:48 +03:00
Alexey Zatelepin
2ffc01b25a
build helper container with network=host to avoid problems with ipv6 [#CLICKHOUSE-2821]
2017-05-23 23:38:17 +03:00
Alexey Milovidov
0dd71e32e0
Preparations, part 8 [#CLICKHOUSE-31].
2017-05-23 23:04:42 +03:00
Alexey Milovidov
e073b62301
Fixed build [#CLICKHOUSE-31].
2017-05-23 21:58:38 +03:00
Alexey Milovidov
c4f58f776b
Preparations, part 7: Analyzers use const Context (and could be used in ExpressionAnalyzer) [#CLICKHOUSE-31].
2017-05-23 21:53:11 +03:00
Alexey Milovidov
34cd1b9787
Preparations, part 6 [#CLICKHOUSE-31].
2017-05-23 21:46:52 +03:00
Alexey Milovidov
46644aaaf0
Preparations, part 5: table functions are using const Context for execution [#CLICKHOUSE-31].
2017-05-23 21:44:36 +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
Alexey Milovidov
a822dedc45
Preparations, part 2 [#CLICKHOUSE-31].
2017-05-23 21:24:43 +03:00
Alexey Milovidov
66e209b492
Preparations, part 1 [#CLICKHOUSE-31].
2017-05-23 21:01:50 +03:00
Alexey Milovidov
95e6577d6f
Merge branch 'master' of github.com:yandex/ClickHouse
2017-05-23 20:35:41 +03:00
Alexey Milovidov
bb2f0a0893
Always restore in case of corrupted query_log, part_log [#CLICKHOUSE-3020].
2017-05-23 20:35:05 +03:00
Alexey Zatelepin
6200ccb39c
improve waiting for instance startup in integration tests [#CLICKHOUSE-2821]
2017-05-23 20:13:36 +03:00
Alexey Milovidov
c24f4c57af
Style; removed useless catch [#CLICKHOUSE-2955].
2017-05-23 19:36:07 +03:00
alexey-milovidov
d7e5e65028
Merge pull request #801 from yandex/dictionary-invalidate-query
...
Dictionary invalidate query
2017-05-23 20:31:52 +04:00
robot-metrika-test
96485e41c5
Auto version update to [54236]
2017-05-23 19:08:38 +03:00
Alex Zatelepin
1bcee80587
Fixed README.md [#CLICKHOUSE-2821]
2017-05-23 17:27:18 +03:00
Alexey Milovidov
38281226bd
Fixed error in integration tests [#CLICKHOUSE-2821].
2017-05-23 17:24:04 +03:00
Alexey Milovidov
95059092d4
Fixed README.md [#CLICKHOUSE-2821]
2017-05-23 16:57:38 +03:00
Alexey Milovidov
26a14c180d
Fixed test [#CLICKHOUSE-2].
2017-05-23 16:35:38 +03:00
Alexey Milovidov
45cf057b22
Fixed test [#CLICKHOUSE-3014].
2017-05-23 16:32:46 +03:00
Nikolai Kochetov
45c1beca2a
Merge branch 'master' into storage-dictionary
2017-05-23 13:44:03 +03:00
Nikolai Kochetov
f0ec7901e9
Merge branch 'master' into dictionary-invalidate-query
2017-05-23 13:27:31 +03:00
Alexey Milovidov
0c416be381
More simple code; fixed translation error [#CLICKHOUSE-2].
2017-05-23 04:09:47 +03:00
Alexey Milovidov
25209bf040
Allow semicolon after JSONEachRow lines, for convenience [#CLICKHOUSE-2]
2017-05-23 03:57:58 +03:00
Alexey Milovidov
0e77575a76
JSONEachRow: allow to parse true and false as 1 and 0 for UInt8, Int8 data types [#CLICKHOUSE-3]
2017-05-22 23:13:17 +03:00
Alexey Milovidov
c323d7bf99
Added test for function defaultValueOfArgumentType [#CLICKHOUSE-3013].
2017-05-22 22:04:18 +03:00
Alexey Milovidov
7269f3a23b
Format Vertical: added support for totals, extremes and output_format_pretty_max_rows [#CLICKHOUSE-3014].
2017-05-22 22:00:45 +03:00
Alexey Milovidov
734b240490
TrivialBuffer: fixed build after merge [#CLICKHOUSE-2929].
2017-05-22 19:46:33 +03:00
Nikolai Kochetov
db3fbd91b7
added readInvalidateQuery
2017-05-22 19:46:14 +03:00
Nikolai Kochetov
86e63d2bba
added readInvalidateQuery for uniform reading from BlockInputStream
2017-05-22 19:38:24 +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
alexey-milovidov
0fb0d36045
Update Block.h
2017-05-22 18:40:11 +04:00
alexey-milovidov
d9761b6506
Update Block.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
d8e9e8fa99
Update Block.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
934476b2ed
Update Block.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 Zatelepin
65227021e7
ClickHouse integration tests. [#CLICKHOUSE-2821]
2017-05-22 17:56:41 +04:00
Vitaliy Lyudvichenko
48d85af41a
Allow to skip garbage in TSKV format. [#CLICKHOUSE-3012]
2017-05-22 17:50:13 +04:00
Vitaliy Lyudvichenko
4fd357a311
Add more clear comments, refined code. [#CLICKHOUSE-2957]
2017-05-22 15:16:21 +04:00
Nikolai Kochetov
7762204b86
Merge branch 'master' into dictionary-invalidate-query
2017-05-22 13:49:45 +03:00
Alexey Milovidov
571af20a4f
Added function defaultValueForArgumentType [#CLICKHOUSE-3013].
2017-05-22 01:27:41 +03: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
eab306b53f
Add more sophisticated test. [#METR-25237]
2017-05-20 17:30:59 +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
Alexey Zatelepin
d9306ab6b5
choose row with the max version for unmatched paths [#CLICKHOUSE-2984]
2017-05-20 17:25:48 +04:00
Alexey Zatelepin
f37ed1fbdb
fix bugs in GraphiteMergeTree [#CLICKHOUSE-2984]:
...
* destructive rollup with Time=0 if no pattern matches
* differences in row count for Path and Value columns
* missed output rows on the boundaries between blocks
2017-05-20 17:25:48 +04:00
KochetovNicolai
f9cdae50d9
Cast boolean json fields to numbers ( #809 )
...
* added readBoolTextWord
* moved json bool cast to DataTypeNumber
2017-05-20 17:15:04 +04:00
Alexey Zatelepin
807570b32f
Change tabs to spaces in clickhouse-test [#CLICKHOUSE-3].
2017-05-19 21:31:48 +03:00
robot-metrika-test
bc2d232494
Auto version update to [54235]
2017-05-17 21:44:16 +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
df087a2e98
merged with master
2017-05-16 13:06:45 +03:00
Nikolai Kochetov
16256503ec
merged with master
2017-05-16 13:03:06 +03:00
Dmitry Luhtionov
4cc10af7b7
Add MACStringToOUI function
2017-05-16 10:32:49 +04:00
orantius
da83036326
Add age 55 for function roundAge. [#CLICKHOUSE-3001]
2017-05-15 22:42:39 +04:00
Nikolai Kochetov
7398062010
added undate by invalidate_query for MySql and ODBC dictionary sources
2017-05-15 17:16:10 +03:00
Nikolai Kochetov
427c020140
deleted dictionary ptr from StorageDictionary
2017-05-15 16:58:40 +03:00
Marek Vavruša
9520234365
Dictionaries/TrieDictionary: IP prefix dictionary
...
This commit implements a basic IP prefix dictionary
that allows storing IPv4/IPv6 prefixes and
matching them against a single IP address on query
time. This allows for doing IP -> ASN matching and
other similar things on query time.
The implementation is basic for start, using a
simple bitwise trie and reusing interface for
complex key dictionaries (so using tuple instead
of UInt32/FixedString(16) as the key). A faster
bitwise trie implementation (like poptrie) is
desired to improve lookup performance and
memory consumption with large prefix tables.
2017-05-15 10:51:03 +04: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
92b56c2c7d
translate comments
2017-05-14 19:03:55 +04:00
f1yegor
c252863b2e
translate comments
2017-05-14 19:03:55 +04:00
Marek Vavruša
95d926ec14
AggregateFunctionTopK: smaller initial table size
...
By default start with 2^4 elements
2017-05-13 03:58:05 +04:00
Marek Vavruša
74cc0849dc
iostream_debug_helpers: fixed build
2017-05-13 03:58:05 +04:00
robot-metrika-test
9d475d34f6
Auto version update to [54234]
2017-05-13 00:05:22 +03:00
Alexey Milovidov
282a395464
Fixed test [#CLICKHOUSE-2].
2017-05-13 00:03:01 +03:00
Alexey Milovidov
d3a8faee16
Fixed test reference file for aggregate function topK [#CLICKHOUSE-3].
2017-05-12 23:59:14 +03:00
Alexey Milovidov
cfc4c987c5
Added optional length parameter to aggregate function groupArrayInsertAt [#CLICKHOUSE-3003].
2017-05-12 23:57:24 +03:00
Alexey Milovidov
40595ce688
Whitespaces [#CLICKHOUSE-3003].
2017-05-12 23:41:50 +03:00
Alexey Milovidov
1d090bd4e2
AggregateFunctionGroupArrayInsertAt: fixed error [#CLICKHOUSE-3003].
2017-05-12 23:05:19 +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
Alexey Milovidov
4b852584ce
Whitespaces [#CLICKHOUSE-2].
2017-05-12 17:01:02 +03:00
Vitaliy Lyudvichenko
021e37943e
More clearer code and correct test. [#CLICKHOUSE-1993]
2017-05-12 16:44:11 +03:00
Alexey Milovidov
9ad1d5676a
Miscellaneous [#CLICKHOUSE-2].
2017-05-12 01:21:06 +03:00
Alexey Milovidov
8f0e833b52
Whitespaces [#CLICKHOUSE-2].
2017-05-11 22:48:46 +03:00
Marek Vavruša
45bd332460
AggregateFunctionTopK: fix memory usage, performance
...
* allow separate table key / hash key, and use
std::string / StringRef for generic variant as
it has built-in storage and StringRef is supported
by the hash table, this avoids infinitely
growing arena with serialised keys
* use power-of-2 size for alpha vector for faster
binning without using modulo
* use custom grower and allocator for SpaceSaving
to start with smaller tables
* store computed hash in counter for faster
reinsertion of smallest element
2017-05-11 18:52:49 +04:00
Marek Vavruša
bc878f9785
Common/HashTable: allow cell reinsertion
...
* fixes missing setHash on reinsert
* reuses hash when emplacing value
2017-05-11 18:52:49 +04:00
Vitaliy Lyudvichenko
0f1627691e
Don't forget to ATTACH MATERIALIZED columns. [#CLICKHOUSE-1993]
2017-05-11 18:39:12 +04:00
Dmitry Luhtionov
a21a6caf4e
Доюавленф функции FunctionMACNumToString и FunctionMACStringToNum
2017-05-10 08:16:06 -04:00
Alexey Milovidov
66436db836
Added test [#CLICKHOUSE-2].
2017-05-10 04:46:07 -04:00
Alexey Milovidov
2a57cfdbc2
Aggregate function groupArrayInsertAt: development [#CLICKHOUSE-2].
2017-05-10 04:42:15 -04:00
Alexey Milovidov
21c5ee0f1d
Aggregate function groupArrayInsertAt: development [#CLICKHOUSE-2].
2017-05-10 04:41:25 -04:00
Alexey Milovidov
19d0d47c8a
Aggregate function groupArrayInsertAt: development [#CLICKHOUSE-2].
2017-05-10 04:40:14 -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
bb41d47096
Removed Increment and CounterInFile [#CLICKHOUSE-2].
2017-05-10 02:50:37 -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
e2f8ec8f2d
Addition to prev. revision [#CLICKHOUSE-2].
2017-05-10 02:36:15 -04:00
Alexey Milovidov
21af887758
Added aggregate function 'groupArrayInsertAt' (for Graphite) [#CLICKHOUSE-2].
2017-05-10 01:46:23 -04:00
Alexey Milovidov
b9a7917a8d
Tiny modifications [#CLICKHOUSE-2].
2017-05-10 01:43:27 -04:00
Alexey Milovidov
542eba7e17
Fixed translation errors [#CLICKHOUSE-3].
2017-05-10 00:30:33 -04:00
Alexey Milovidov
27a324b469
Tiny modifications [#CLICKHOUSE-2].
2017-05-10 00:29:36 -04:00
Alexey Milovidov
7bf7242ad3
Fixed translation errors; miscellaneous changes [#CLICKHOUSE-3].
2017-05-10 00:00:19 -04:00
Alexey Milovidov
ff02af9804
Addition to prev. revision [#CLICKHOUSE-2].
2017-05-09 22:45:21 -04:00
Alexey Milovidov
7fc3d90035
Renamed .inl file to .inl.h to avoid confusion [#CLICKHOUSE-2].
2017-05-09 22:41:26 -04:00
Alexey Milovidov
8e5f92f025
Fixed translation errors, part 1 [#CLICKHOUSE-3].
2017-05-09 15:07:35 -04:00
ivanzhukov
59942137de
Output only specified metrics
2017-05-09 21:53:48 +03:00
ivanzhukov
7f9e234bd5
Support preconditions
2017-05-09 21:53:48 +03:00
ivanzhukov
70e2fb7000
Add filters for tests
2017-05-09 21:53:48 +03:00
ivanzhukov
100eba717f
Print array of jsons for multiple tests run
2017-05-09 21:53:48 +03:00
ivanzhukov
54f9675b59
Add support for tests profiles
2017-05-09 21:53:48 +03:00
ivanzhukov
733c74fe8a
Always store queries in a vector
2017-05-09 21:53:47 +03:00
ivanzhukov
3c6de6eee9
Use new IO functions interface
2017-05-09 21:53:47 +03:00
ivanzhukov
704a79ee6c
Add support for skipping whitespaces
2017-05-09 21:53:47 +03:00
ivanzhukov
5fa4b5f15e
Support query in a file
2017-05-09 21:53:47 +03:00
ivanzhukov
086ef6ed82
Support directory as an input
2017-05-09 21:53:47 +03:00
ivanzhukov
1c2b64168e
Code style
2017-05-09 21:53:46 +03:00
ivanzhukov
0fb964ba79
Print all runs for one query first
2017-05-09 21:53:31 +03:00
ivanzhukov
52849e746e
Check metrics for execType
2017-05-09 21:53:31 +03:00
ivanzhukov
f4c6219244
Use new connectionPool inerface
2017-05-09 21:53:31 +03:00
ivanzhukov
73fa7905f0
Use new RemoteBlockInputStream's interface
2017-05-09 21:53:31 +03:00
ivanzhukov
c6f35247bf
Fix include
2017-05-09 21:53:29 +03:00
ivanzhukov
26606a1556
Dont print corrupted statistics
2017-05-09 21:52:58 +03:00
ivanzhukov
dca10863c7
Refactoring
2017-05-09 21:52:58 +03:00
ivanzhukov
70fb951831
Separate metrics output for queries
2017-05-09 21:52:58 +03:00
ivanzhukov
09ca5e0032
Construct and output info at the end
2017-05-09 21:52:58 +03:00
ivanzhukov
64a18f6b6e
Rename read_{rows,bytes} to {rows,bytes}_read
2017-05-09 21:52:58 +03:00
ivanzhukov
3568946082
Add support for time criterions
2017-05-09 21:52:58 +03:00
ivanzhukov
c4c6960c75
Separate 'loop' queries execution from 'once'
2017-05-09 21:52:57 +03:00
ivanzhukov
1986ceb819
Execute queries without terminate conditions
2017-05-09 21:52:56 +03:00
ivanzhukov
4e5362b246
Replace raw pointers with Poco's AutoPtr
2017-05-09 21:52:42 +03:00
ivanzhukov
17c7b2a0cf
Extract settings and construct queries from config
2017-05-09 21:52:40 +03:00
ivanzhukov
fd307bffb7
Add command line options support
2017-05-09 21:52:17 +03:00
f1yegor
46db454562
translate comments
2017-05-09 13:03:35 -04:00
ivanzhukov
39c3054d09
Add base file for PerformanceTest
2017-05-07 01:04:39 +03:00
ivanzhukov
842ebadc0e
Add cmake rules for performance test launcher
2017-05-07 01:04:39 +03:00
Dmitry Bilunov
11ec4c627d
IO/CompressedWriteBuffer: support new LZ4 library
2017-05-06 10:48:30 -04:00
Dmitry Bilunov
0c72259c3c
mongodb: Avoid compiling DB::authenticate() function unless it is needed
2017-05-05 17:02:34 -07: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
Alexey Milovidov
d3e6321967
AggregateFunctionTopK: minor modifications [#CLICKHOUSE-2].
2017-05-05 16:36:02 -07:00
Alexey Milovidov
32a75147f5
Merge branch 'master' of github.com:yandex/ClickHouse
2017-05-05 16:35:08 -07:00
Alexey Milovidov
aa629d0f7e
Minor modification [#CLICKHOUSE-2].
2017-05-05 14:25:53 -07:00
Alexey Milovidov
9d4c814b12
Aggregate function topK: style modifications [#CLICKHOUSE-2].
2017-05-05 14:17:04 -07:00
proller
b1f1096f27
tests: correct Connection refused detection ( #766 )
2017-05-05 17:50:05 +03:00
proller
9bcece79f9
tests: dont stop on errors by default
2017-05-05 07:19:00 -07:00
proller
6c34f27e3b
Another freebsd fix, update freebsd build doc
2017-05-05 03:23:32 +03:00
proller
1474de179c
CastTypeBlockInputStream: hotfix: sometimes columns in sample blocks and stream blocks does not match
2017-05-04 22:41:55 +03:00
Nikolai Kochetov
1604ce138a
changed key storage format for complex key dictionaries
2017-05-04 21:14:23 +03:00
proller
9a937591e5
Try fix freebsd 11-STABLE OCbuild
2017-05-04 18:25:34 +03:00
Marek Vavruša
5f1e65b252
AggregateFunctions: implemented topK(n)
...
This implements a new function for approximate
computation of the most frequent entries using
Filtered Space Saving with a merge step adapted
from Parallel Space Saving paper.
It works better for cases where GROUP BY x
is impractical due to high cardinality of x,
such as top IP addresses or top search queries.
2017-05-03 23:09:52 -07: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
Vitaliy Lyudvichenko
d504c5454a
Resolves #750 . Allow to load more than 16 external dictionaries. [#CLICKHOUSE-3]
2017-05-03 21:04:58 -07:00
alexey-milovidov
99c360b6c7
Update Server.cpp
2017-05-03 21:02:55 -07:00
alexey-milovidov
85e59ae3ff
Update Server.cpp
2017-05-03 21:02:55 -07:00
proller
90bbdaffda
Remove old comment
2017-05-03 21:02:55 -07:00
proller
f02a605900
Better "Protocol not supported" message
2017-05-03 21:02:55 -07:00
Vitaliy Lyudvichenko
6d93d9cefb
Combinator -MergeState now returns AggregateFunction(nested_func). [#CLICKHOUSE-2891]
2017-05-03 20:59:42 -07:00
robot-metrika-test
713168c98f
Auto version update to [54233]
2017-05-03 22:47:57 +03:00
robot-metrika-test
312a0bf5f2
Auto version update to [54232]
2017-05-02 22:39:11 +03:00
f1yegor
5ffa35cf24
translate comments
2017-04-30 23:46:40 -07:00
Maxim Fridental
e9d9abf328
Fix escaping of columns starting with a number
2017-04-29 23:40:34 -07:00
alexey-milovidov
fb01ef0132
Update StorageMerge.cpp
2017-04-29 06:37:38 +03:00
alexey-milovidov
0e8c3b976f
Update CastTypeBlockInputStream.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
proller
2a1eceef03
Try fix macos build
2017-04-29 00:18:18 +03:00
Vitaliy Lyudvichenko
42fcf148e2
Add column rows to system.parts table. [#CLICKHOUSE-2950]
2017-04-28 23:54:24 +03:00
proller
edcc18992b
Try fix macos build (again)
2017-04-28 22:50:42 +03:00
proller
948d9c39cd
Try fix macos build. Add more debug io helpers
2017-04-28 21:57:26 +03:00
Nikolai Kochetov
79564054a9
added RangeDictionaryBlockInputStream
2017-04-28 21:33:31 +03:00
proller
7c891eb841
Server: Special mode with empty listen_host : try listen v4 and v6 ( #730 )
...
* Server: Special mode with empty listen_host : try listen v4 and v6 without fatal error if protocol not supported (for docker and freebsd)
* fix build on freebsd/macos
* Requested change
* Update Server.cpp
* Update Server.cpp
* Fix deadlock when queue_log queue is full
* Add log error on query log fail
* Fix incudes, move code from daemon/OwnPatternFormatter.h
* Update SystemLog.h
* Update SystemLog.h
* Auto version update to [54230]
* Catch only "Protocol not supported" listen error
* Update Server.cpp
2017-04-28 00:51:09 +03:00
Alexey Milovidov
c77152e3ba
Loosen dependency [#CLICKHOUSE-2828].
2017-04-27 23:47:24 +03:00
artpaul
d269827dfd
#215 convert to Enum with FunctionCast
2017-04-27 23:29:39 +03:00
Alexey Zatelepin
b0993e2d97
simplify test queries [#CLICKHOUSE-2979]
2017-04-27 23:15:45 +03:00
Alexey Zatelepin
aeb83f9ef7
fix key columns indexing for RIGHT and FULL joins [#CLICKHOUSE-2979]
2017-04-27 23:15:45 +03:00
Nikolai Kochetov
9243439e9b
added DictionaryBlockInputStream
2017-04-27 20:16:24 +03:00
robot-metrika-test
419b6e224a
Auto version update to [54230]
2017-04-27 17:38:47 +03:00
alexey-milovidov
9b543dec5c
Update SystemLog.h
2017-04-27 09:02:12 +03:00
alexey-milovidov
2f32c0e9d2
Update SystemLog.h
2017-04-27 09:02:12 +03:00
proller
8cdae06a2d
Add log error on query log fail
2017-04-27 09:02:12 +03:00
proller
2ca3fcf7d3
Fix deadlock when queue_log queue is full
2017-04-27 09:02:12 +03:00
proller
bcb230ebc6
Fix incudes, move code from daemon/OwnPatternFormatter.h
2017-04-27 08:40:27 +03:00
proller
d00ae1a640
fix build on freebsd/macos
2017-04-26 18:16:36 +03:00
robot-metrika-test
c14948bba5
Auto version update to [54229]
2017-04-26 14:19:29 +03:00
proller
cd4a5c040c
More debug io helpers: some types from dbms ( #725 )
...
* release: import options from jenkins script
* correct chdir
* limit parallel build threads
* VERSION_POSTFIX
* add postfix
* support BUILD_TYPE
* Removed unused.
* Fixed error [#CLICKHOUSE-2960].
* Fix version incrementing
* Fix message
* Fix build without icu and readline
* More io helpers: some types from dbms
* Requested changes
2017-04-26 05:50:03 +03:00
robot-metrika-test
b70b6a7b5b
Auto version update to [54228]
2017-04-25 20:54:43 +03:00
artpaul
c19dada4a3
switch while to if
2017-04-25 20:17:13 +05:00
Nikolai Kochetov
bdf998d20f
added StorageDictionary
2017-04-25 12:10:27 +03:00
Alexey Milovidov
5f32cf5d90
Review modifications [#CLICKHOUSE-2828].
2017-04-25 08:10:29 +03:00
Alexey Milovidov
7f0aecfcf6
Review modifications [#CLICKHOUSE-2828].
2017-04-25 08:08:26 +03:00
Alexey Milovidov
74c04c467b
Review modifications [#CLICKHOUSE-2828].
2017-04-25 08:07:18 +03:00
artpaul
fd9d613dc9
#215 add tests
2017-04-25 07:57:49 +03:00
artpaul
323a9aff6d
#215 cast strings or ints to enum on insert
2017-04-25 07:57:49 +03:00
Alexey Milovidov
b007f6ba18
Analyzers: added type inference for higher order functions [#CLICKHOUSE-11].
2017-04-24 07:31:03 +03:00
Alexey Milovidov
c7ff3a0ed1
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-24 06:34:24 +03:00
Alexey Milovidov
1f76b7f568
Fixed test [#CLICKHOUSE-2].
2017-04-24 06:33:49 +03:00
proller
c3a62f1bb0
Fix build without icu and readline
2017-04-24 06:28:28 +03:00
Alexey Milovidov
3788c3d3dd
Added test for Log, TinyLog, StripeLog tables with Nullable types [#CLICKHOUSE-4].
2017-04-23 11:29:38 +03:00
Alexey Milovidov
aa2cd20823
Miscellaneous [#CLICKHOUSE-2].
2017-04-23 11:29:24 +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
Alexey Milovidov
69d7432f31
Added test for ALTERing Nullable columns [#CLICKHOUSE-4].
2017-04-23 10:27:31 +03:00
proller
f32862be60
Hotfix for functions lib in client
2017-04-21 22:16:31 +03:00
proller
8cf716fa29
Functions as separate lib
2017-04-21 21:30:16 +03:00
proller
2967fd7b41
Server default config: Full paths to certs
2017-04-21 16:03:48 +03:00
proller
05e9fa2b4b
Server default config: disable https client cert verification
2017-04-21 15:57:44 +03:00
Vladimir Chebotarev
0e0ccdccf1
dbms/src/Common: Comments for HyperLogLogCounter.h. [#CHEBOTAREV-4]
2017-04-21 15:20:03 +03:00
robot-metrika-test
f119fc84ea
Auto version update to [54227]
2017-04-21 13:29:02 +03:00
Vladimir Chebotarev
79e72a685d
dbms/src/Common: Comments for HyperLogLogCounter.h. [#CHEBOTAREV-4]
2017-04-21 12:58:21 +03:00
robot-metrika-test
ac1b7b178d
Auto version update to [54226]
2017-04-21 00:15:32 +03:00
Alexey Milovidov
48c9abc5cf
Added setting 'ignore_key_if_not_keyed' for quotas [#CLICKHOUSE-2969].
2017-04-20 23:30:33 +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
563e21247e
Style [#CLICKHOUSE-2].
2017-04-20 21:35:39 +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
b491ee7f63
Style [#CLICKHOUSE-2].
2017-04-20 19:41:03 +03:00
Alexey Zatelepin
baf0f70ba3
Failover if the needed table is missing on remote server [#CLICKHOUSE-2141]
2017-04-20 19:19:30 +03:00
Alexey Zatelepin
d1fa449f4a
PR fixes [#CLICKHOUSE-2141]
2017-04-20 17:04:38 +03:00
robot-metrika-test
63cba2a12c
Auto version update to [54225]
2017-04-20 16:24:40 +03:00
robot-metrika-test
0809389249
Auto version update to [54223]
2017-04-20 15:28:54 +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
c91828e5bf
PR fixes [#CLICKHOUSE-2141]
2017-04-19 21:29:50 +03:00
Alexey Zatelepin
485c58b039
use only ConnectionPoolWithFailover in RemoteBlockInputStream [#CLICKHOUSE-2141]
2017-04-19 20:50:17 +03:00
robot-metrika-test
80c2fa2ba7
Auto version update to [54220]
2017-04-19 18:16:21 +03:00
artpaul
d43c9bb1d0
odbc: send header info even on empty result
2017-04-19 18:42:58 +05:00
Alexey Milovidov
1d93e93af3
Fixed test [#CLICKHOUSE-2].
2017-04-19 08:35:38 +03:00
Alexey Milovidov
53364dcc8d
Fixed totally wrong code; implemented function emptyArrayToSingle for generic case [#CLICKHOUSE-2963].
2017-04-19 08:08:22 +03:00
Alexey Milovidov
3de78d093b
Fixed LEFT ARRAY JOIN for constant arrays [#CLICKHOUSE-2946].
2017-04-19 07:03:11 +03:00
Alexey Milovidov
be316af758
Save stack trace on exception from typeid_cast [#CLICKHOUSE-4].
2017-04-19 06:38:54 +03:00
Alexey Milovidov
0224468be3
Save stack trace on exception from typeid_cast [#CLICKHOUSE-4].
2017-04-19 06:36:50 +03:00
Alexey Milovidov
ed3c0125cd
Added support for Nullable types in higher order functions [#CLICKHOUSE-4].
2017-04-19 06:35:11 +03:00
Alexey Milovidov
3af2bade1b
Added test [#CLICKHOUSE-4].
2017-04-19 06:33:54 +03:00
Alexey Milovidov
1cdb2a2797
Fixed error [#CLICKHOUSE-4].
2017-04-19 06:11:26 +03:00
alexey-milovidov
35abae95c8
Allow to disable ICU ( #711 )
...
* Allow to disable ICU [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 04:06:29 +03:00
Alexey Milovidov
3ad87ec820
Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 03:31:15 +03:00
alexey-milovidov
c9c8c8ec50
Better option to disable mysqlclient ( #710 )
...
* Better support for disabling libmysqlclient [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 03:25:57 +03:00
proller
ab5e6c4840
Fix build without installd unixodbc ( #708 )
...
* Fix build without installd unixodbc
* clean
* no openssl error
* fix
* fix
2017-04-19 03:21:16 +03:00
artpaul
0ba72436db
#214 fix conversion from fixed-string to string
2017-04-19 03:17:44 +03:00
Alexey Milovidov
1fedee71fb
Removed useless includes [#CLICKHOUSE-2].
2017-04-19 02:17:40 +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
9eca762013
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-18 22:13:20 +03:00
Alexey Milovidov
502f42a572
Fixed translation error [#CLICKHOUSE-3].
2017-04-18 22:13:12 +03:00
Alexey Zatelepin
aa62dc354f
ensure that empty entries are not returned from PoolWithFailoverBase [#CLICKHOUSE-2141]
2017-04-18 16:37:00 +03:00
robot-metrika-test
247d067aab
Auto version update to [54219]
2017-04-18 13:18:45 +03:00
proller
c8a1e19d8f
Some space changes for release testing (clang-format)
2017-04-18 13:17:37 +03:00
proller
4d8b3e7034
Auto version update to [54218]
2017-04-18 13:08:31 +03:00
robot-metrika-test
4200645155
Auto version update to [54217]
2017-04-18 11:12:49 +03:00
robot-metrika-test
3ebee0dbee
Auto version update to [54215]
2017-04-18 10:05:28 +03:00
Alexey Milovidov
95dd78cea4
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-18 06:03:47 +03:00
Alexey Milovidov
22e8b8029b
Implemented ColumnArray::replicate for Nullable, Tuple and for generic case [#CLICKHOUSE-4].
2017-04-18 06:03:39 +03:00
Alexey Milovidov
f51b3992f3
Little better [#CLICKHOUSE-4].
2017-04-17 23:19:09 +03:00
Alexey Zatelepin
d29f3c79c3
translate comments [#CLICKHOUSE-3]
2017-04-17 22:51:42 +03:00
Alexey Zatelepin
e30dc7c254
check replica delay when getting a connection from ConnectionPoolWithFailover [#CLICKHOUSE-2141]
2017-04-17 22:51:41 +03:00
artpaul
d259c0ea24
order results
2017-04-18 00:30:14 +05: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 Milovidov
f76680d47e
Fixed function toStringCutToZero with argument of type String [#CLICKHOUSE-2958].
2017-04-17 20:49:11 +03:00
Alexey Zatelepin
0a98f43d3a
add TablesStatus request to protocol [#CLICKHOUSE-2141]
2017-04-17 19:02:48 +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
b51c6e7592
translate comments
2017-04-17 15:35:21 +03:00
Vitaliy Lyudvichenko
dcb5371844
Fixed CAST(NULL AS Nullable(...)). [#CLICKHOUSE-2754]
2017-04-17 14:44:16 +03:00
f1yegor
0b243a8b01
translate comments
2017-04-16 23:17:32 +03:00
Alexey Milovidov
41e97787e3
Less dependencies [#CLICKHOUSE-2].
2017-04-16 08:40:17 +03:00
Alexey Milovidov
189b58b6c6
ForEach combinator of aggregate functions: more tests [#CLICKHOUSE-2952].
2017-04-16 07:48:17 +03:00
Alexey Milovidov
8ba5ef7a4d
ForEach combinator of aggregate functions: more tests [#CLICKHOUSE-2952].
2017-04-16 07:44:40 +03:00
Alexey Milovidov
3fa1639877
ForEach combinator of aggregate functions: more tests [#CLICKHOUSE-2952].
2017-04-16 07:38:13 +03:00
Alexey Milovidov
6b5e6104a9
ForEach combinator of aggregate functions: little better [#CLICKHOUSE-2952].
2017-04-16 07:35:21 +03:00
Alexey Milovidov
777adabde7
Client: fixed error with percentage [#CLICKHOUSE-2].
2017-04-16 07:28:04 +03:00
Alexey Milovidov
d9793bf5fe
Fixed -ForEach combinator of aggregate functions [#CLICKHOUSE-2952].
2017-04-16 07:16:22 +03:00
Alexey Milovidov
bf0e64e3b4
Less dependencies [#CLICKHOUSE-2952].
2017-04-16 07:13:18 +03:00
Alexey Milovidov
ef3557950c
Less dependencies [#CLICKHOUSE-2952].
2017-04-16 07:03:14 +03:00
Alexey Milovidov
83ed2a794b
Fixed -ForEach combinator of aggregate functions [#CLICKHOUSE-2952].
2017-04-16 06:38:37 +03:00
Maxim Fridental
99dc3ea016
Implement ForEach modifier for aggregate functions.
2017-04-16 02:49:11 +03:00
Alexey Milovidov
676192f16e
Fixed errors on clang [#CLICKHOUSE-2902].
2017-04-15 07:03:12 +03:00
alexey-milovidov
0d2b1f6b6b
Update InterpreterAlterQuery.h
2017-04-15 06:52:04 +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
994720682c
Add nullable PREWHERE test. [#CLICKHOUSE-2902]
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 Milovidov
8075b70eac
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-15 00:09:15 +03:00
Alexey Milovidov
0f0fc68d50
Meaningless changes [#CLICKHOUSE-2].
2017-04-15 00:08:57 +03:00
alexey-milovidov
f03f32e2ab
Update DistinctSortedBlockInputStream.h
2017-04-14 23:00:44 +03:00
alexey-milovidov
e62769190e
Update DistinctSortedBlockInputStream.cpp
2017-04-14 23:00:44 +03:00
Yuri Dyachenko
c6d6f2de3d
add DataStreams::DistinctSortedBlockInputStream
2017-04-14 23:00:44 +03:00
Yuri Dyachenko
b9461b8a1b
add IBlockInputStream::isGroupedOutput
2017-04-14 22:40:04 +03:00
Alexey Milovidov
832cdfde7e
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-12 22:50:57 +03:00
Alexey Milovidov
00ebb1709d
Client: more correct code [#CLICKHOUSE-2].
2017-04-12 22:50:49 +03:00
robot-metrika-test
4c37ba8902
Auto version update to [54214]
2017-04-12 22:35:28 +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
935ec549ca
allow specifying log level in extract-from-config [#CLICKHOUSE-2914]
2017-04-12 18:08:52 +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
proller
c5fc866b66
Fix installing symlinks by cmake ( #682 )
2017-04-12 00:02:15 +03:00
robot-metrika-test
dd6ac568b5
Auto version update to [54213]
2017-04-11 22:47:28 +03:00
proller
824dc5c655
fix freebsd build ( #677 )
...
* fix freebsd build
* Fix freebsd build
* fix freebsd build
* fix freebsd build
* Update ArrayCache.h
* good fix
2017-04-11 22:39:43 +03:00
Alexey Milovidov
18edaca9a2
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-11 22:38:12 +03:00
Alexey Milovidov
fc77dc189b
ODBC driver was moved to separate repository: https://github.com/yandex/clickhouse-odbc [#CLICKHOUSE-6].
2017-04-11 22:37:23 +03:00
alexey-milovidov
d68ea42643
Fixed unbounded growth of total memory tracking (that hits max_memory_usage_for_all_queries limit) ( #681 )
...
* MemoryTracker: more convenient for investigations [#CLICKHOUSE-2935].
* Investigation [#CLICKHOUSE-2935].
* Investigation [#CLICKHOUSE-2935].
* Added comment [#CLICKHOUSE-2935].
2017-04-11 22:10:31 +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
robot-metrika-test
49eb55fac9
Auto version update to [54212]
2017-04-11 16:33:41 +03:00
proller
b01a65f922
Remove missing allocator_stress from cmake
2017-04-11 16:25:27 +03:00
robot-metrika-test
17a06b1f03
Auto version update to [54211]
2017-04-11 16:20:38 +03:00
proller
a360112311
Fix freebsd build ( #672 )
...
* fix freebsd build
* Fix freebsd build
2017-04-11 15:57:31 +03:00
robot-metrika-test
10a735a883
Auto version update to [54210]
2017-04-11 14:43:32 +03:00
Alexey Milovidov
6256a40199
Merge branch 'array-cache'
2017-04-11 05:53:50 +03:00
Alexey Milovidov
174ef70e0a
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-11 05:53:39 +03:00
Alexey Milovidov
a37fa9ca6a
Whitespace [#CLICKHOUSE-2].
2017-04-11 05:53:29 +03:00
Alexey Milovidov
756df579b2
ArrayCache: development [#CLICKHOUSE-2].
2017-04-11 05:52:22 +03:00
Alexey Milovidov
5b29658aae
MemoryTracker: more convenient for investigations [#CLICKHOUSE-2935].
2017-04-11 00:43:59 +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
ba108daf9d
ArrayCache: development [#CLICKHOUSE-2].
2017-04-10 03:24:58 +03:00
Alexey Milovidov
f418ed37cf
ArrayCache: development [#CLICKHOUSE-2].
2017-04-10 02:10:05 +03:00
Alexey Milovidov
5f8d99cbe9
ArrayCache: development [#CLICKHOUSE-2].
2017-04-09 10:02:13 +03:00
Alexey Milovidov
1005236a09
ArrayCache: development [#CLICKHOUSE-2].
2017-04-09 09:44:45 +03:00
Alexey Milovidov
5ededd6b51
ArrayCache: development [#CLICKHOUSE-2].
2017-04-09 09:39:26 +03:00
Alexey Milovidov
2d0421e801
ArrayCache: development [#CLICKHOUSE-2].
2017-04-09 09:29:26 +03:00
Alexey Milovidov
0ceb92b037
ArrayCache: development [#CLICKHOUSE-2].
2017-04-09 08:19:50 +03:00
Alexey Milovidov
ba9590d340
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-08 04:32:24 +03:00
Alexey Milovidov
a0b9bf5e97
Moved code to cpp [#CLICKHOUSE-2].
2017-04-08 04:32:05 +03:00
proller
957f105377
fix freebsd build
2017-04-08 04:01:21 +03:00
robot-metrika-test
82766247e2
Auto version update to [54209]
2017-04-07 23:50:27 +03:00
Yuri Dyachenko
f508f1e5f3
add ErrorCode OUTPUT_IS_NOT_SORTED
2017-04-07 23:31:53 +03:00
alexey-milovidov
d0629a9df6
Update IBlockInputStream.h
2017-04-07 23:31:53 +03:00
Yuri Dyachenko
d54d44d97d
provide SortedDescription to block pipe
2017-04-07 23:31:53 +03:00
Alexey Milovidov
7454185a0a
Fixed join_use_nulls setting [#CLICKHOUSE-4].
2017-04-07 23:30:52 +03:00
Alexey Milovidov
a7e557f2a3
clickhouse-client: Fixed terminal escape codes in Mosh [#CLICKHOUSE-2930].
2017-04-07 20:56:03 +03:00
Yuri Dyachenko
23e824d7a9
add ClearableSetVariant
2017-04-07 20:12:54 +03:00
Yuri Dyachenko
ad79394799
add ClearableHashSetWithSavedHash
2017-04-07 20:12:54 +03:00
Alexey Milovidov
463fddb2ca
Joins by Nullable keys: development [#CLICKHOUSE-4].
2017-04-07 00:44:52 +03:00
Alexey Milovidov
ab215c0fcd
join_use_nulls: development; added test [#CLICKHOUSE-4].
2017-04-07 00:09:39 +03:00
Alexey Milovidov
928b8d7653
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-06 22:51:53 +03:00
Alexey Milovidov
bd544bbe3a
Fixed error with NULLs [#CLICKHOUSE-4].
2017-04-06 22:51:44 +03:00
proller
adba3b8e6d
delete ReadBufferFromHTTP, use ReadWriteBufferFromHTTP instead
2017-04-06 22:39:25 +03:00
Alexey Milovidov
e36468af29
Renamed test [#CLICKHOUSE-2].
2017-04-06 19:35:23 +03:00
Alexey Milovidov
4132d0ed32
Fixed test [#CLICKHOUSE-2].
2017-04-06 19:34:39 +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
093c77559f
Added test [#CLICKHOUSE-2754].
2017-04-04 12:24:14 +03:00
Alexey Milovidov
a272614c3d
Fixed error with filtering by Nullable, continued [#CLICKHOUSE-2754].
2017-04-04 12:22:06 +03:00
Alexey Milovidov
5919dcae70
Fixed error in filtering by Nullable column [#CLICKHOUSE-2754].
2017-04-04 11:00:31 +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
robot-metrika-test
af4b87e0ce
Auto version update to [54208]
2017-04-03 13:05:50 +03:00
f1yegor
b4c23f122a
Translated comments
2017-04-02 20:37:49 +03:00
Alexey Milovidov
7f53cec624
Moved headers and sources to same place (part 5) [#CLICKHOUSE-3].
2017-04-01 13:25:45 +03:00
Alexey Milovidov
0f775ef20b
Added missing modification [#CLICKHOUSE-2].
2017-04-01 13:15:01 +03:00
Alexey Milovidov
e91395fa14
Moved headers and sources to same place (part 2) [#CLICKHOUSE-3].
2017-04-01 13:10:04 +03:00
Alexey Milovidov
5784e4a898
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 13:10:04 +03:00
Alexey Milovidov
12dc10feaa
Revert "Moved headers and sources to same place [#CLICKHOUSE-3]."
...
This reverts commit abaa1501fc
.
2017-04-01 12:21:05 +03:00
Alexey Milovidov
abaa1501fc
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:19:00 +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
robot-metrika-test
758473dcb1
Auto version update to [54207]
2017-03-31 21:06:36 +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
robot-metrika-test
5ad761a930
Auto version update to [54206]
2017-03-31 17:47:04 +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
proller
1420c72c37
Auto version update to [54205]
2017-03-31 17:39:48 +03:00
Vitaliy Lyudvichenko
53a7abf77e
Fixed FreeBSD build. [#CLICKHOUSE-3]
2017-03-31 16:54:55 +03:00
Alexey Milovidov
aee25d49a7
Preparation [#CLICKHOUSE-2].
2017-03-31 15:38:22 +03:00
proller
f5a7498559
Fix building Server.cpp without poco NetSSL lib
2017-03-31 15:16:09 +03:00
George
1d317d994f
Fixed mistake that made % not show over 50%
2017-03-31 08:11:31 +03:00
proller
29d4471b9d
Fix build in gcc7 ( #641 )
...
* Fix build in gcc7
* try reduce warn area
* better fix
2017-03-31 08:09:11 +03:00
proller
633b829ca5
Config: example how to load UI tabix.io on http://localhost:8123
2017-03-30 17:11:10 +03:00
Alexey Milovidov
40ce6f86db
Allowed JOIN to work with Nullable keys [#CLICKHOUSE-4].
2017-03-30 17:09:24 +03:00
Igor
a5937ed024
Incriment max_size in Dictionaries:RegionsNames & RegionsHierarchy up to 15M
2017-03-30 14:44:30 +03:00
Alexey Milovidov
3fdb1dd629
Merge branch 'master' of github.com:yandex/ClickHouse
2017-03-29 16:00:17 +03:00
Alexey Milovidov
cc43f989bc
Preparation [#CLICKHOUSE-4].
2017-03-29 14:33:07 +03:00
Alexey Milovidov
034e53e6a4
JOIN: translated comments [#CLICKHOUSE-4].
2017-03-29 14:12:47 +03:00
proller
8a9d9dddb4
Allow build with poco with disabled MongoDB or DataODBC or NetSSL ( #636 )
...
* partial poco support
* fix
* fix optional ssl
* servier without netssl
* fix link order
* testme
* requested changes
* throw on https listen, shutdown tip
2017-03-28 23:30:57 +03:00
proller
5fe01a1e6c
requested fixes
2017-03-28 21:46:22 +03:00
proller
6b9cdd585a
On shutdown wait 5 seconds to complete queries
2017-03-28 21:46:22 +03:00
proller
37f3ccb1ab
cmake: split USE_STATIC_LIBRARIES to USE_STATIC_LIBRARIES + MAKE_STATIC_LIBRARIES
...
fix freebsd install path
fix TEST_COVERAGE flags
2017-03-28 20:50:58 +03:00
Vitaliy Lyudvichenko
b7b485f376
Removed unused settings.
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
60dfa8dbf3
Add requested changes. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
2ab25099cd
Move boost::tests to Google Tests. [#CLICKHOUSE-2]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
a1e27e2b84
Add ru doc. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
0290203f6d
Fix test, add more comments. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
44c9bad289
Add functional test, fixed error. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
b5b863a6f4
Better HTTPHandler and IReadableWriteBuffer. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
c73971d7ec
Split implementations to different files. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
15254f91d2
Improve CMakeLists.txt for tests. [#CLICKHOUSE-2]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
19a2195710
Implemented re-readable buffers, add unit tests. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Alexey Milovidov
3e48021f81
Style [#CLICKHOUSE-2].
2017-03-28 20:40:25 +03:00
robot-metrika-test
9dab131846
Auto version update to [54198]
2017-03-28 20:19:44 +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
robot-metrika-test
99c79ba10d
Auto version update to [54197]
2017-03-28 13:13:16 +03:00
Alexey Milovidov
8cf0e87382
Unified JOIN variants (continued) [#CLICKHOUSE-4].
2017-03-28 10:00:03 +03:00
Alexey Milovidov
b859463296
Unified JOIN variants. Added all variants from Set [#CLICKHOUSE-4].
2017-03-28 09:51:22 +03:00
Alexey Milovidov
f55075b1ba
Removed deprecated functions from documentation [#CLICKHOUSE-2].
2017-03-28 07:59:05 +03:00
Alexey Milovidov
f2933e7623
Fixed double whitespace [#CLICKHOUSE-2].
2017-03-28 06:54:25 +03:00
Alexey Milovidov
a8f6a3127d
Implemented limited support for NULLs in IN operator [#CLICKHOUSE-4].
2017-03-28 06:00:33 +03:00
Alexey Milovidov
8b2f769f12
Fixed error after translated comments [#CLICKHOUSE-3].
2017-03-26 05:07:15 +03:00
Alexey Milovidov
14c8003081
Normalized formatting [#CLICKHOUSE-3].
...
Apply in a loop:
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l -P '^(\t*) ' | xargs sed -i -r -e 's/^(\t*) /\1\t/'
2017-03-26 04:28:07 +03:00
Alexey Milovidov
93890423f1
Fixed zero-width spaces [#CLICKHOUSE-3].
...
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l $'\xe2\x80\x8b' | xargs sed -i 's/'$'\xe2\x80\x8b''//g'
2017-03-26 04:20:25 +03:00
Alexey Milovidov
edd405ef29
Merge branch 'docs/translate' of https://github.com/f1yegor/ClickHouse into f1yegor-docs/translate
2017-03-26 04:17:58 +03:00
alexey-milovidov
3d7587cb84
Update DatabaseCloud.cpp
2017-03-26 04:14:49 +03:00
Alexey Milovidov
e6ba252507
Hierarchical dictionaries performance: continued [#CLICKHOUSE-2144].
2017-03-26 03:42:01 +03:00
Alexey Milovidov
d4992da546
Implemented isIn methods for cache dictionaries [#CLICKHOUSE-2144].
2017-03-26 02:42:04 +03:00
f1yegor
bc0d9a2cae
translate comments
2017-03-25 21:12:56 +01:00
Alexey Milovidov
f5434cd2ae
Separated functions for embedded and external dictionaries [#CLICKHOUSE-2144].
2017-03-25 21:11:09 +03:00
Alexey Milovidov
9e7813686e
Merge branch 'master' into hierarchical-dictionaries-performance
2017-03-25 20:53:41 +03:00
Alexey Milovidov
18ecccb856
Moved code to cpp [#CLICKHOUSE-2].
2017-03-25 08:55:49 +03:00
Alexey Milovidov
1ce132d068
Merge branch 'master' of github.com:yandex/ClickHouse
2017-03-25 08:47:34 +03:00
Alexey Milovidov
861684c554
Fixed error found with Svace static analyzer by ISP RAS [#CLICKHOUSE-2].
2017-03-25 08:46:50 +03:00
Alexey Zatelepin
3f9eb5f0f9
implemented clickhouse --extract-from-config tool [#CLICKHOUSE-2876]
2017-03-25 02:31:18 +03:00
Alexey Milovidov
e6a41a0256
Fixed error with NULLs [#CLICKHOUSE-2901].
2017-03-24 07:42:36 +03:00
robot-metrika-test
6042f1d5f9
Auto version update to [54196]
2017-03-23 20:32:02 +03:00
Vitaliy Lyudvichenko
6d1a8c7c97
Consider changes in default profile to initialize default users' settings. [#CLICKHOUSE-2906]
2017-03-23 21:30:22 +04:00
Vitaliy Lyudvichenko
84694ca269
Resolved #594 . Select least busiest buffer for insert into StorageBuffer. [#CLICKHOUSE-2892]
2017-03-23 21:25:14 +04:00
Alexey Zatelepin
1ce0300c51
better detection of local timezone id [#CLICKHOUSE-2852]
2017-03-23 20:13:04 +04:00
Alexey Milovidov
7fa4459f56
Fixed error in config [#CLICKHOUSE-2762].
2017-03-23 18:38:49 +03:00
George3d6
f338a747b0
Update Client.cpp ( #615 )
...
* Update Client.cpp
* Update Client.cpp
Added a check before displaying the % completed to see if progress.total_rows is equal to zero (in order not to display faulty information for table where the % can't be computed). Also added the "elapsed_ns > 500000000" check so that the % still renders in sync with the progress bar.
2017-03-23 04:57:11 +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
robot-metrika-test
daefb877df
Auto version update to [54190]
2017-03-21 21:41:01 +03:00
Alexey Milovidov
c21b4c52c5
Misc [#CLICKHOUSE-3].
2017-03-21 21:39:07 +03:00
Alexey Milovidov
9d5ea2163c
Fixed error with FixedString filtering [#CLICKHOUSE-2898].
2017-03-21 21:37:35 +03:00
Vitaliy Lyudvichenko
349c96ec8f
Resolved #619 . Eliminated copy paste from benchmark util. [#CLICKHOUSE-3]
2017-03-21 15:18:56 +03:00
robot-metrika-test
f1a66ab2ef
Auto version update to [54189]
2017-03-21 14:34:27 +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
Alexey Milovidov
910c542994
Added more bitwise functions [#CLICKHOUSE-2884].
2017-03-20 22:16:02 +03:00
Alexey Zatelepin
fccbc82c24
translate comments
2017-03-19 21:58:12 +04:00
Alexey Zatelepin
faadab3034
Allow including config elements from ZooKeeper [#CLICKHOUSE-2794]
2017-03-19 21:58:12 +04:00
robot-metrika-test
72f4236656
Auto version update to [54187]
2017-03-17 00:04:41 +03:00
robot-metrika-test
24ae6cb539
Auto version update to [54185]
2017-03-16 19:47:27 +03:00
proller
4271ef80ea
fix moveing cmake files
2017-03-16 19:46:05 +03:00
Vitaliy Lyudvichenko
3bdb1b6bb0
Merge pull request #600 from yandex/CLICKHOUSE-2886
...
Fix Vertical merge in case of OPTIMIZE FINAL with single part.
2017-03-16 18:31:01 +03:00
proller
5b8ed657f9
fix build ( #602 )
...
* fix build
* fix freebsd
2017-03-16 18:04:05 +03:00
Vitaliy Lyudvichenko
d7d22b80e5
Fix Vertical merge in case of OPTIMIZE FINAL with single part. [#CLICKHOUSE-2886]
2017-03-16 13:42:00 +03:00
proller
8ea8b8a215
add missing file
2017-03-16 13:51:41 +04:00
proller
a08714105b
Simpler vercorclass
2017-03-16 13:51:41 +04: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
Alexander Prudaev
227312875c
fix PODArray::resize_fill
2017-03-15 23:42:37 +04:00
Alexey Milovidov
dd0b0205a1
More verbose error message [#CLICKHOUSE-2885].
2017-03-14 22:31:15 +03:00
Alexey Milovidov
701f69de6b
More specific error code [#CLICKHOUSE-2].
2017-03-14 22:06:25 +03: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
d877718bb6
Fixed error [#CLICKHOUSE-2].
2017-03-14 02:13:49 +03:00
Alexey Milovidov
df81e7458f
Addition to prev. revision [#CLICKHOUSE-2].
2017-03-14 00:50:15 +03:00
Alexey Milovidov
0a914b41a8
Addition to prev. revision [#CLICKHOUSE-2].
2017-03-14 00:48:58 +03:00
Alexey Milovidov
8f9a915fef
Addition to prev. revision [#CLICKHOUSE-2].
2017-03-14 00:46:18 +03:00
Alexey Milovidov
79dd801348
Fixed error [#CLICKHOUSE-2].
2017-03-14 00:37:53 +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
ef5b9a8c5c
Addition to prev. revision [#CLICKHOUSE-2].
2017-03-13 22:26:31 +03:00
Alexey Milovidov
1c6c751108
Better overloads [#CLICKHOUSE-2].
2017-03-13 22:23:56 +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
Alexey Milovidov
7606eef20c
Style [#CLICKHOUSE-2].
2017-03-13 20:37:20 +03:00
Alexey Milovidov
07f256015b
Revert "Update Client.cpp"
...
This reverts commit 4eb969087d
.
2017-03-13 20:35:17 +03:00
alexey-milovidov
4eb969087d
Update Client.cpp
2017-03-13 21:33:18 +04:00
ks1322
afbd2f78d8
pager for command line client
2017-03-13 00:10:52 +03:00
f1yegor
401425bb89
translate comments
2017-03-12 20:18:07 +01:00
Alexey Milovidov
9dc1f93427
Fixed error [#CLICKHOUSE-2].
2017-03-12 19:20:12 +03:00
Alexey Milovidov
59613e1da4
Fixed build [#CLICKHOUSE-2882].
2017-03-12 19:09:39 +03:00
Alexey Milovidov
a79eb483a2
Added test [#CLICKHOUSE-2882].
2017-03-12 18:54:40 +03:00
Alexey Milovidov
870d36ed5c
Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882].
2017-03-12 18:39:49 +03:00
Alexey Milovidov
8f6966de5a
Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882].
2017-03-12 16:27:25 +03:00
Alexey Milovidov
8184846ee0
Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882].
2017-03-12 16:16:48 +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
a564fa1872
Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882].
2017-03-12 16:01:19 +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
a380fa88da
Fixed debug build [#CLICKHOUSE-2].
2017-03-12 14:09:25 +03:00
Alexey Milovidov
8912e5ea2b
DataTypeNull: move code to cpp [#CLICKHOUSE-2].
2017-03-12 13:38:46 +03:00
Alexey Milovidov
13e1cdc7b5
DataTypeNull: move code to cpp [#CLICKHOUSE-2].
2017-03-12 13:35:26 +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
Alexey Milovidov
03d525942a
Added generic version for comparison operators [#CLICKHOUSE-2881].
2017-03-12 07:22:52 +03:00
Alexey Milovidov
ef3e44e1bc
Comments [#CLICKHOUSE-2881].
2017-03-12 07:18:17 +03:00
Alexey Milovidov
290717a88c
Revert "Removed useless code [#CLICKHOUSE-2877]."
...
This reverts commit bd70653fc6
.
2017-03-11 08:23:18 +03:00
Alexey Milovidov
612194d53a
Miscellaneous [#CLICKHOUSE-2].
2017-03-11 08:23:01 +03:00
Alexey Milovidov
37d6ee8d49
Attempt to improve performance for comparisons of FixedString(16) [#CLICKHOUSE-2877].
2017-03-11 08:43:52 +04:00
Alexey Milovidov
724599a369
Added test [#CLICKHOUSE-2877].
2017-03-11 08:43:52 +04:00
Alexey Milovidov
4311a09a9f
Enabled fater equality/inequality comparisons for FixedString(16) [#CLICKHOUSE-2877].
2017-03-11 08:43:52 +04:00
Alexey Milovidov
66fa4b9e39
Faster comparison operations for FixedString(16), development [#CLICKHOUSE-2877].
2017-03-11 08:43:52 +04:00
Alexey Milovidov
3c38ba1f1c
Improved performance of ColumnFixedString::filter [#CLICKHOUSE-2877].
2017-03-11 07:41:28 +03:00
Alexey Milovidov
30aae40300
Removed usage of iconv [#CLICKHOUSE-2879].
2017-03-11 07:39:16 +03:00
Alexey Milovidov
93bb49cecd
Using ICU instead of iconv. Improved performance of 'convertCharset' function [#CLICKHOUSE-2879].
2017-03-11 07:36:14 +03:00
Alexey Milovidov
bd70653fc6
Removed useless code [#CLICKHOUSE-2877].
2017-03-11 04:36:07 +03:00
Alexey Milovidov
a3584e5a57
Fixed error [#CLICKHOUSE-2877].
2017-03-11 04:29:45 +03:00
Alexey Milovidov
f15efc4e63
Fixed error [#CLICKHOUSE-2877].
2017-03-11 04:25:27 +03:00
Alexey Milovidov
5441fd6ac6
Fixed error [#CLICKHOUSE-2877].
2017-03-11 04:20:14 +03:00
Alexey Milovidov
61add0f252
Fixed error [#CLICKHOUSE-2877].
2017-03-11 04:18:13 +03:00
Alexey Milovidov
785e32197c
Fixed error [#CLICKHOUSE-2877].
2017-03-11 04:15:25 +03:00
Alexey Milovidov
533a103c3a
Fixed error [#CLICKHOUSE-2877].
2017-03-11 04:15:03 +03:00
Alexey Milovidov
4871ff8ef5
Moved code to cpp [#CLICKHOUSE-2877].
2017-03-11 04:12:51 +03:00
Alexey Milovidov
2d6d90a2cc
ColumnFixedString: better 'replicate' method [#CLICKHOUSE-2877].
2017-03-11 04:12:14 +03:00
Alexey Milovidov
93a930859e
Fixed error [#CLICKHOUSE-2877].
2017-03-11 03:52:20 +03:00
Alexey Milovidov
48de103e0e
Fixed error [#CLICKHOUSE-2877].
2017-03-11 03:49:25 +03:00
Alexey Milovidov
7b33308853
Fixed error [#CLICKHOUSE-2877].
2017-03-11 03:44:07 +03:00
Alexey Milovidov
e8d2a5ece8
Moved code to .cpp [#CLICKHOUSE-2877].
2017-03-11 03:38:30 +03: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
proller
81594df4d6
split FunctionsString.h ( #571 )
...
* split FunctionsString.h
* wip
* wip
* format
* wip
2017-03-10 21:53:32 +04:00
proller
cfdff04a34
try enable https dictionaries test
2017-03-10 21:53:07 +04:00
proller
a2d78e674f
split FunctionsStringSearch.h ( #572 )
...
* split FunctionsStringSearch.h
* wip
* includes
* format
2017-03-10 21:52:36 +04:00
proller
3284133169
better split FunctionsMiscellaneous.cpp
2017-03-10 16:13:32 +03:00
Alexey Milovidov
75f1d7b820
Added test [#CLICKHOUSE-2789].
2017-03-09 23:40:36 +03:00
Alexey Milovidov
abe0fca1a4
Better coalesce [#CLICKHOUSE-2789].
2017-03-09 23:39:20 +03:00
Alexey Milovidov
1abf959722
Added test [#CLICKHOUSE-2789].
2017-03-09 22:49:11 +03:00
Alexey Milovidov
3107156fd9
Added tests [#CLICKHOUSE-2789].
2017-03-09 22:45:22 +03:00
Alexey Milovidov
ee0f0a8818
Fixed ifNull function [#CLICKHOUSE-4].
2017-03-09 22:39:51 +03:00
Alexey Milovidov
82ae603426
Added function toNullable [#CLICKHOUSE-4].
2017-03-09 22:31:16 +03:00
Alexey Milovidov
8da4e576a9
Make function ifNull to allow to return non-Nullable result [#CLICKHOUSE-2789].
2017-03-09 21:58:44 +03:00
Alexey Milovidov
19354bef87
Renamed test [#CLICKHOUSE-4].
2017-03-09 21:57:53 +03:00
Alexey Milovidov
01d2498bb6
Renamed test [#CLICKHOUSE-4].
2017-03-09 21:56:38 +03:00
Alexey Milovidov
235dbe6183
Fixed error with PartLog [#CLICKHOUSE-2703].
2017-03-09 19:46:11 +03:00
Alexey Milovidov
093d5b8d36
Disabled tests for https source of external dictionaries because test environment has not been prepared yet [#CLICKHOUSE-2].
2017-03-09 07:58:48 +03: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
f24df4b648
Removed zero-width spaces [#CLICKHOUSE-3].
2017-03-09 07:18:41 +03:00
Alexey Milovidov
9d37698e70
Updated test [#CLICKHOUSE-2789].
2017-03-09 07:06:41 +03:00
Alexey Milovidov
9c928a5b67
Fixed error [#CLICKHOUSE-2789].
2017-03-09 06:57:51 +03:00
Alexey Milovidov
f9a5902e76
Support for NULLs in function if: continued [#CLICKHOUSE-2873].
2017-03-09 06:34:09 +03:00
f1yegor
48bd5b696c
translate comments
2017-03-09 01:56:38 +01:00
Alexey Milovidov
169fc988b7
Added comment [#CLICKHOUSE-4].
2017-03-08 00:45:52 +03:00
Alexey Milovidov
520e891190
Added test [#CLICKHOUSE-2873].
2017-03-08 00:45:25 +03:00
Alexey Milovidov
f88b46c259
If for Nullable: continued [#CLICKHOUSE-2873].
2017-03-08 00:40:46 +03:00
Alexey Milovidov
9224161223
If for Nullable: continued [#CLICKHOUSE-2873].
2017-03-08 00:40:03 +03:00
Alexey Milovidov
130166ea0b
If for Nullable: continued [#CLICKHOUSE-2873].
2017-03-08 00:35:34 +03:00
Alexey Milovidov
7a3c2789c5
If for Nullable: continued [#CLICKHOUSE-2873].
2017-03-08 00:32:36 +03:00
Alexey Milovidov
8314262f25
If for Nullable: continued [#CLICKHOUSE-2873].
2017-03-07 23:52:09 +03:00
Alexey Milovidov
fe24bb25a0
If for Nullable types: additions [#CLICKHOUSE-2873].
2017-03-07 23:42:01 +03:00
Alexey Milovidov
e20441eee6
Fixed error [#CLICKHOUSE-2873].
2017-03-07 23:11:39 +03:00
Alexey Milovidov
cfbf2ea94d
Fixed totally wrong code [#CLICKHOUSE-4].
2017-03-07 23:03:45 +03:00
proller
1af6311a99
https server ( #561 )
...
* https support in dictionaries
* Style
* Update README.md
* https server wip
* wip
* cf
* wip
* add test
* wip
* wip
* wip
* wip
* clean
* cmt
2017-03-07 23:01:37 +04:00
proller
b3ea06ac12
Split FunctionsMiscellaneous.h ( #564 )
...
* Move funcs from .h to FunctionsMiscellaneous.cpp
* Move funcs from .h to FunctionsMiscellaneous.cpp - templates
* format
* clean includes
* newlines
* cmath
2017-03-07 22:57:15 +04: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
Alexey Milovidov
3d9d74e994
Merge branch 'master' into if-support-nulls
2017-03-07 19:11:22 +03:00
proller
293b8b958c
Allow use external re2 with re2_st=re2 ( #547 )
...
* Allow use external re2 with re2_st=re2
* fix
* remove dupe
* use re2_st in FunctionsStringSearch.h
* fix
2017-03-07 20:10:04 +04:00
alexey-milovidov
b6d3230185
Merge pull request #562 from yandex/issue-390
...
insert values by their positions instead of names
2017-03-07 20:08:11 +04:00
artpaul
457900cbb5
move EnrichedDataTypePtr to DataTypes
2017-03-07 19:34:49 +05:00
artpaul
0ef749839c
issue #390 : insert values by their positions instead of name
2017-03-07 15:30:05 +05:00
Alexey Milovidov
8eeeea200a
Better [#CLICKHOUSE-2872].
2017-03-07 04:35:36 +03:00
Alexey Milovidov
0a8d89e4ba
More safe [#CLICKHOUSE-4].
2017-03-07 00:36:33 +03:00
Alexey Milovidov
3d01985d55
Fixed error [#CLICKHOUSE-4].
2017-03-07 00:33:10 +03:00
artpaul
1d8da3f8aa
allow compiler to catch inconsistency
2017-03-06 18:39:29 +05:00
Alexey Milovidov
dc78586115
Added support for NULLs for function if [#CLICKHOUSE-4].
2017-03-06 10:16:29 +03:00
Alexey Milovidov
d7ad0f9fac
Added support for NULLs for function if [#CLICKHOUSE-4].
2017-03-06 10:08:27 +03:00
Alexey Milovidov
76e3c6076e
Added support for NULLs for function if [#CLICKHOUSE-4].
2017-03-06 09:46:45 +03:00
artpaul
f9a08d74a5
remove unused include
2017-03-06 10:58:29 +05:00
artpaul
7f8c41dd1e
remove unused includes
2017-03-06 02:20:02 +05:00
artpaul
91f5e7ae5c
add priority and is_default columns [#CLICKHOUSE-2084]
2017-03-05 16:00:25 +05:00
Alexey Milovidov
7934475779
Added missing line [#CLICKHOUSE-2871].
2017-03-05 06:37:34 +03:00
Alexey Milovidov
a706e96bc4
Added more metrics for StorageBuffer [#CLICKHOUSE-2871].
2017-03-05 04:23:10 +03:00
Alexey Milovidov
5f6f301d9b
Removed useless code [#CLICKHOUSE-2084].
2017-03-05 04:04:35 +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
3e835a455f
http server: allow custom root response ( #553 )
...
* http server: allow custom root responce
* fix configs
* Update Server.cpp
2017-03-04 06:00:21 +04:00
alexey-milovidov
1ddc262eb8
Merge pull request #554 from proller/fix1
...
fix scope_exit formatting
2017-03-04 05:59:05 +04:00
proller
e96092c66c
Freebsd fixes ( #555 )
...
* freebsd fixes
* Update SocketImpl.cpp
2017-03-04 05:58:45 +04:00
Alexey Milovidov
d3b22774c9
Comments [#CLICKHOUSE-2788].
2017-03-04 00:15:46 +03:00
proller
05e87ad7a2
fix scope_exit formatting
2017-03-04 00:10:41 +03:00
proller
2252864b3a
clang-format Server.cpp ( #550 )
...
* clang-format Server.cpp
* SCOPE_EXIT
* fix sort includes
* format
2017-03-03 22:59:42 +04:00
artpaul
d43d692414
fix build
2017-03-03 12:38:30 +05:00
Alexey Milovidov
6635f50f75
Indentation [#CLICKHOUSE-2].
2017-03-03 03:39:42 +03:00
proller
107fb86a40
Support multiplie listen addresses, set listen_host to local only ( #545 )
...
* Support multiplie listen addresses, set listen_host to local only
* set correct default
* better config
* no include
* Update Server.cpp
2017-03-03 04:24:56 +04:00
proller
067ff7a5c7
Customizable internal compiler
2017-03-02 16:34:43 +03:00
alexey-milovidov
35215d077e
Merge pull request #544 from serebrserg/METR-23630
...
METR-23630: add pointInEllipses function
2017-03-02 17:05:26 +04:00
alexey-milovidov
5ee48f9f33
Update FunctionsGeo.h
2017-03-02 16:13:02 +04:00
serebrserg
6b3135959d
add test for pointInEllipses
2017-03-02 14:33:38 +03:00
artpaul
be7c70da5c
fix IN with nested tuples [#CLICKHOUSE-1999]
2017-03-01 19:48:21 +05:00
serebrserg
42ce089aa6
add pointInEllipses function
2017-03-01 12:23:49 +03:00
proller
0e91c47066
Allow build with external double-conversion lz4 zstd re2 zookeeper ( #531 )
...
* Allow build with external double-conversion lz4 zstd re2 zookeeper
* fix
* fix
* freebsd fixes
* spaces
* fix
* fix
* fix
* wip
* move
* fix
2017-03-01 03:49:04 +04:00
proller
5cf6f4d8c1
Fix host header in http request to dictionaries ( #526 )
...
* Tests: dictionaries: allow completely disable mongo and mysql
* Fix host header in http request to dictionaries
2017-02-28 01:09:57 +04:00
proller
57c336f267
HTTPDictionarySource support HTTPS ( #510 )
...
* https support in dictionaries
* Style
2017-02-28 01:07:57 +04:00
proller
deb956ce97
Tests: dictionaries: allow completely disable mongo and mysql ( #519 )
2017-02-26 21:45:46 +04:00
proller
1c1b6ce9f5
Mongo: support new sha1 auth with new external poco 1.7.8 ( #518 )
...
* Mongo: support new sha1 auth with new external poco 1.7.8
* add test
* disable test
2017-02-21 23:24:02 +04:00
proller
3e824b3b4f
add test (Not found column date in block. There are only columns: x.) [#CLICKHOUSE-1993]
2017-02-21 22:45:37 +04:00
Alexey Zatelepin
7090d0861a
reinitialize primary key after ALTER [#CLICKHOUSE-2853]
2017-02-21 21:32:04 +04:00
Vitaliy Lyudvichenko
3ee4e6b79b
Banned Null(AggregateFunction(...)) type in arrayReduce. Fix test. [#CLICKHOUSE-2845]
2017-02-18 22:25:19 +03:00
Vitaliy Lyudvichenko
411ba82a24
Fix after PR merge.
2017-02-18 03:26:32 +03:00
proller
7df722d731
Speedup of CacheDictionary (part2: complex) [#CLICKHOUSE-2176] ( #502 )
...
* Auto version update to [54146]
* Fixing dictionaries [#CLICKHOUSE-2176]
* fix
* Auto version update to [54194]
* Revert "Auto version update to [54194]"
This reverts commit 3367678a04
.
* wip
* wip
* clean
* const
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* clean
* Fixing dictionaries [#CLICKHOUSE-2176]
* style
* style
* style
* wip
* wip
* struct
* clean
* clean
* clean
* wip
* wip broken
* wip
* wip
* wip
* wip
* wip
* wip
* clean
* clean
* space
* tester
* wip
* fix
* clean
* style
2017-02-18 00:37:03 +04:00
alexey-milovidov
1fa8c17f9f
Update ColumnConstAggregateFunction.h
2017-02-18 00:36:31 +04:00
alexey-milovidov
5755891325
Update PODArray.h
2017-02-18 00:36:31 +04:00
alexey-milovidov
554688bd89
Update evaluateConstantExpression.h
2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
453ab0423c
Fixed compiler errors after rebase.
2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
1572cf39fb
Translate doc comments in IColumn.h to English. [#CLICKHOUSE-3]
2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
8bcb1fe970
Add support of AggregateFunction constants in VALUES and Set. [#CLICKHOUSE-2845]
2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
f1b5e927a5
Fixed typo in test.
2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
97c4211409
Add support of scalars with AggregateFunction() type. [#CLICKHOUSE-2845]
...
Fixed segfaults for arrayReduce. [#CLICKHOUSE-2787]
2017-02-18 00:36:31 +04:00
alexey-milovidov
c52670776c
Merge pull request #507 from proller/fix1
...
Tests: external: add more options to script
2017-02-17 18:52:57 +04:00
Alexey Milovidov
96449a2bc9
Changed default implementation of COUNT(DISTINCT ...) to avoid confusion [#CLICKHOUSE-3].
2017-02-17 17:12:23 +03:00
proller
fdf634125e
Tests: external: add more options to script
2017-02-17 17:12:02 +03:00
Artemkin Pavel
cc62477403
extra distinct pass was eliminated in case of single stream mode [#METR-23942] ( #492 )
2017-02-16 00:17:46 +04:00
Alexey Zatelepin
93a9e64624
fix usage of possibly invalidated iterator [#CLICKHOUSE-2]
2017-02-15 22:39:18 +03:00
proller
2ec141d5e9
Speedup of CacheDictionary (part1) [#CLICKHOUSE-2176] ( #474 )
...
* Auto version update to [54146]
* Fixing dictionaries [#CLICKHOUSE-2176]
* fix
* Auto version update to [54194]
* Revert "Auto version update to [54194]"
This reverts commit 3367678a04
.
* wip
* wip
* clean
* const
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* clean
* Fixing dictionaries [#CLICKHOUSE-2176]
* style
* style
* style
* struct
* clean
* clean
* clean
2017-02-14 22:06:21 +04:00
proller
b5b64ceb2b
Fix apple .so version ( #490 )
...
* Cmake: fix fallback to internal libs if no external found
* wip
* style
* fix
* Fix apple .so version
2017-02-14 16:34:32 +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
proller
f8d2f19280
Fix odbc include, clang-format fixes, misc ( #484 )
...
* Cmake: fix fallback to internal libs if no external found
* wip
* style
* fix
2017-02-13 17:59:34 +04: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
Alexey Milovidov
792bcbb5af
Merge branch 'master' into uncompressed-size-in-system-tables
2017-02-13 01:06:21 +03:00
Alexey Milovidov
1073c39cb3
Translated comments [#CLICKHOUSE-3].
2017-02-13 00:13:14 +03:00
proller
f84833f69b
fix missing includes ( #483 )
2017-02-12 14:40:47 +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
6a24e21f77
Renamed test [#CLICKHOUSE-2].
2017-02-11 23:03:23 +03:00
Alexey Milovidov
30737aa7a1
Added info about uncompressed size to system.columns table [#CLICKHOUSE-2831].
2017-02-11 20:43:28 +03:00
alexey-milovidov
9f243d1637
Merge pull request #477 from yandex/merge_with_metrika
...
Merge with metrika
2017-02-11 00:32:34 +04:00
alexey-milovidov
cee5ab01fb
Merge branch 'master' into merge_with_metrika
2017-02-11 00:27:15 +04:00
ivanzhukov
2b725f87c4
Translate comments to English
2017-02-11 00:22:08 +04:00
Alexey Zatelepin
66501c8026
ALTER primary key tests [#CLICKHOUSE-2027]
2017-02-10 22:19:40 +04: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 Milovidov
a39f333c1b
Fixed test [#CLICKHOUSE-2755].
2017-02-10 19:57:12 +03:00
Alexey Milovidov
0673f75265
Fixed absolutely incorrect code; added test [#CLICKHOUSE-2755].
2017-02-10 13:20:06 +03:00
Alexey Milovidov
74cef1d69e
Miscellaneous [#CLICKHOUSE-2].
2017-02-10 12:07:27 +03:00
Alexey Milovidov
c4ff9b52e9
Miscellaneous [#CLICKHOUSE-2].
2017-02-10 12:04:31 +03:00
Alexey Milovidov
17e3a4ff1f
Implemented aggregate function 'count' with Nullable arguments to count number of not-NULL values [#CLICKHOUSE-2833].
2017-02-10 12:02:10 +03:00
Alexey Milovidov
1ad4e2752e
Block::unshareColumns: more complete implementation [#CLICKHOUSE-2].
2017-02-10 09:12:22 +03:00
Alexey Milovidov
0d903dbf07
Addition to prev. revision; added test [#CLICKHOUSE-2832].
2017-02-10 09:03:09 +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
0d5c0b8350
Proper behaviour of aggregate functions of nullable arguments ( #473 )
...
* Proper behaviour of aggregate functions of Nullable arguments [#CLICKHOUSE-2832].
* Proper behaviour of aggregate functions of Nullable arguments [#CLICKHOUSE-2832].
2017-02-10 09:03:42 +04:00
Alexey Milovidov
434500e98d
More tests [#CLICKHOUSE-2804].
2017-02-09 09:58:18 +03:00
Alexey Milovidov
abdb714b35
Added test [#CLICKHOUSE-2804].
2017-02-09 09:53:51 +03:00
Alexey Milovidov
82f3f5ad66
Fixed error with GraphiteMergeTree [#CLICKHOUSE-2804].
2017-02-09 09:45:29 +03:00
Alexey Milovidov
f4cb4cafb1
Fixed error with usage of 'version' column in GraphiteMergeTree [#CLICKHOUSE-2804].
2017-02-09 07:21:56 +03:00
Alexey Milovidov
d95663865f
Miscellaneous [#CLICKHOUSE-2].
2017-02-09 02:56:40 +03:00
Alexey Milovidov
297d5653ae
Merge remote-tracking branch 'origin/better-graphite-merge-tree'
2017-02-09 02:49:47 +03:00
Alexey Milovidov
b9a96b480d
Added test [#CLICKHOUSE-2825].
2017-02-09 00:49:15 +03:00
Alexey Milovidov
2e9ab88cb7
Fixed error by removal of obsolete optimization [#CLICKHOUSE-2825].
2017-02-09 00:45:19 +03:00
Alexey Milovidov
40e71651e5
Allowed hash functions to be constant expressions [#CLICKHOUSE-2819].
2017-02-08 23:33:50 +03:00
proller
9bbe8fe5c4
Dynamic library mode ( #471 )
...
* Cmake: UNBUNDLED option
* Dynamic library mode
2017-02-08 22:53:00 +04:00
Pavel Kartavyy
b28f41250c
RegionNames: add ability to set directory without config
2017-02-08 20:39:20 +03:00
proller
131283de5b
Fix external poco and empty http responce
2017-02-08 20:54:32 +04:00
Pavel Kartavyy
730f23793e
add missed header
2017-02-08 18:46:20 +03:00
proller
045fd6f55d
fix build without readline
2017-02-08 01:40:08 +03:00
proller
f87ae6808f
cmake: USE_INTERNAL_ZLIB_LIBRARY ( #463 )
...
* Correct fix of building with external poco with disabled sending progress
Revert "Removed wrong code [#CLICKHOUSE-2]."
This reverts commit 33f9917f53
.
* fix
* fix
* cmake: USE_INTERNAL_ZLIB_LIBRARY
2017-02-08 01:28:13 +04:00
proller
b2b16b407f
More include fixes ( #462 )
...
* More include fixes
* fix
2017-02-08 01:26:32 +04:00
Alexey Milovidov
f0ca756f52
GraphiteMergeTree: fixed handling of 'version' column [#CLICKHOUSE-2804].
2017-02-08 00:20:28 +03:00
proller
083e9cc3aa
Correct fix of building with external poco with disabled sending progress ( #461 )
...
* Correct fix of building with external poco with disabled sending progress
Revert "Removed wrong code [#CLICKHOUSE-2]."
This reverts commit 33f9917f53
.
* fix
2017-02-07 23:45:55 +04:00
Vitaliy Lyudvichenko
38c900bf2f
Add request changes for #436 PR.
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
d6385af19b
Add test for _table index in storage Merge. [#CLICKHOUSE-2758]
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
98af273cbc
Fixed and refactored storage Merge. [#CLICKHOUSE-2758]
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
e92862a7d7
Use intuitive side-by-side diff if test failed. [#CLICKHOUSE-2]
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
df9ada58fb
Add CAST(NULL AS Null) support. [#CLICKHOUSE-2787]
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
11b3aad985
Interpret subquery with empty result as Null literal. [#CLICKHOUSE-2760]
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
67d8ce3568
Fast SIGINT handling and correct exception handling in Benchmark. [#CLICKHOUSE-2774]
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
240a6c242f
Fixed clickhouse-local options. [#CLICKHOUSE-2779]
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
Alexey Milovidov
1302c3958a
Comments [#CLICKHOUSE-3].
2017-02-07 22:21:59 +03: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
Vitaliy Lyudvichenko
d6e9af834a
Refined comments and status codes. [#CLICKHOUSE-2799]
2017-02-07 20:08:43 +04:00
Vitaliy Lyudvichenko
7e5a075ef3
Fixed long ProcessList lock in case of remote server timeout. [#CLICKHOUSE-2799]
2017-02-07 20:08:43 +04:00
proller
326e382387
Include fixes ( #454 )
...
* Fix some includes and missing definitions
* fix
2017-02-07 19:38:57 +04:00
Pavel Kartavyy
fb5ff00c4a
RegionsHierarchies add missed ctor for tests
2017-02-07 15:25:18 +03:00
Pavel Kartavyy
1ec7e349ac
add missed header
2017-02-07 13:41:44 +03:00
Alexey Milovidov
33f9917f53
Removed wrong code [#CLICKHOUSE-2].
2017-02-07 09:24:23 +03:00
Alexey Milovidov
3465997629
Merge branch 'master' of github.com:yandex/ClickHouse
2017-02-07 09:18:34 +03:00
Alexey Milovidov
099f8038d4
Fixed error [#CLICKHOUSE-2].
2017-02-07 09:18:16 +03:00
Alexey Zatelepin
3479a5dddf
fix incorrect usage of memcpySmall [#CLICKHOUSE-2808]
2017-02-07 09:33:07 +04:00
Alexey Zatelepin
7522cecd67
differentiate setrlimit error messages
2017-02-07 09:28:53 +04:00
Alexey Milovidov
26646001e3
Style [#CLICKHOUSE-2].
2017-02-07 08:21:31 +03:00
artpaul
d85edff892
implement conversion from error codes to different http statuses
2017-02-07 09:20:20 +04:00
Pavel Kartavyy
224ba16dcb
use project source and binary dirs instead of global dirs
2017-02-06 18:15:19 +03:00
artpaul
245b715723
#455 also update tmp_files_info_path when files_info_path is changed
2017-02-06 17:09:54 +05:00
proller
edd9da119f
External poco fix
...
y
2017-02-03 03:08:42 +04:00
proller
90ab2b57c8
Fix external poco
2017-02-03 01:43:09 +03:00
proller
27cde5f8c8
Fix some includes and missing definitions ( #446 )
2017-02-03 02:08:19 +04:00
proller
85533eab57
Fix compiling with external poco ( #445 )
...
* Freebsd: libcctz build fix
* Fix compiling with external poco
2017-02-02 23:08:12 +04:00
proller
7b397b89cd
Add missing counters [#CLICKHOUSE-2197] ( #439 )
...
* Add missing counters [#CLICKHOUSE-2197]
* ../../tests/external_dictionaries/generate_and_test.py : allow not break tests when one type fail
2017-02-02 22:11:00 +04:00
proller
4f83c8c291
Server: print info about listen address and port on start
2017-02-02 22:09:26 +04:00
proller
fa3467bad8
Add missing include
2017-02-02 19:30:27 +03:00
proller
b8f1ea4805
Fix reloading http dictionaries [#CLICKHOUSE-2176] ( #433 )
...
* Fixing dictionaries [#CLICKHOUSE-2176]
2017-02-01 20:53:18 +03:00
Alexey Milovidov
8d4a08cf9f
Updated test [#CLICKHOUSE-32].
2017-02-01 07:15:20 +03:00
Alexey Milovidov
b8ac19999c
Settings 'max_memory_usage_for_user' and 'max_memory_usage_for_all_queries': do not interfere between different queries [#CLICKHOUSE-2796].
2017-02-01 06:53:10 +03:00
Alexey Milovidov
172b385247
Added missing modification [#CLICKHOUSE-2184].
2017-02-01 06:10:12 +03:00
Alexey Milovidov
9d04189793
Updated test [#CLICKHOUSE-32].
2017-02-01 05:40:27 +03:00
Alexey Milovidov
1c8841b04e
Fixed error [#CLICKHOUSE-2184].
2017-02-01 05:35:06 +03:00
Alexey Milovidov
8cabe639f5
Fixed errors in exception message [#CLICKHOUSE-2184].
2017-02-01 05:31:35 +03:00
Alexey Milovidov
6efae7240e
Merge branch 'master' of github.com:yandex/ClickHouse
2017-02-01 04:20:21 +03:00
Alexey Milovidov
efbfbdc7a3
Added setting 'send_progress_in_http_headers', disabled by default [#CLICKHOUSE-32].
2017-02-01 04:19:32 +03: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
proller
3135ff17b6
Fix compiling utils without readline ( #429 )
...
* Fix compiling utils without readline
* fix
2017-01-31 23:34:30 +04:00
Vitaliy Lyudvichenko
abf5066618
Fix spelling errors. [#CLICKHOUSE-3]
2017-01-31 23:28:37 +04:00
Vitaliy Lyudvichenko
1b7b2b8373
Avoid extra current limits checks in non-root streams. [#CLICKHOUSE-2745]
2017-01-31 23:28:37 +04:00
Vitaliy Lyudvichenko
6500a84dd0
Fix overestimation of AggregateFunction columns size during remote aggregation. [#CLICKHOUSE-2745]
2017-01-31 23:28:37 +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
b3264620c3
translate comments [#CLICKHOUSE-3]
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
Alexey Milovidov
48db8d121d
Moved code out of header [#CLICKHOUSE-2].
2017-01-31 21:39:01 +03: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
bce4ea38e5
Merge pull request #428 from yandex/ch-2044
...
check keys inside attribute section of dictionary's config
2017-01-31 19:54:31 +04:00
artpaul
5c1d2af4d8
check keys inside attribute section of dictionary's config [#CLICKHOUSE-2044]
2017-01-31 18:27:02 +05:00
proller
9cea606881
Fix linking iconv under macos and freebsd
...
Partially Revert "Removed usage of glib [#CLICKHOUSE-2]."
This reverts commit e4ff740ef1
.
2017-01-31 04:15:59 +03:00
alexey-milovidov
9e94066e98
Merge pull request #418 from ludv1x/query-kill
...
Fix SHOW PROCESSLIST segfault. [#CLICKHOUSE-2120]
2017-01-31 00:50:33 +04:00
Vladimir Chebotarev
995a773865
dbms: More customizable HyperLogLogCounter. [#METR-24057]
2017-01-30 22:17:00 +03:00
Alexey Milovidov
48ed301e56
Revert "Revert "KILL QUERY""
...
This reverts commit 720781a7bc
.
2017-01-30 18:43:20 +03:00
Vitaliy Lyudvichenko
9f8a967e6c
Fix SHOW PROCESSLIST segfault. [#CLICKHOUSE-2120]
2017-01-30 16:24:42 +03:00
alexey-milovidov
720781a7bc
Revert "KILL QUERY"
2017-01-30 16:20:11 +04:00
Alexey Milovidov
4ae2bed9b6
Fixed wrong test [#CLICKHOUSE-2785].
2017-01-30 11:28:42 +03:00
Alexey Milovidov
d4d3d36ff0
Removed useless code; improved performance [#CLICKHOUSE-2785].
2017-01-30 09:48:10 +03:00
Alexey Milovidov
ecc6d2a7b9
Moved a function to header for inlining [#CLICKHOUSE-2].
2017-01-30 08:22:49 +03:00
Alexey Milovidov
3b0900e6cf
Moved code to .cpp [#CLICKHOUSE-2027].
2017-01-30 08:13:58 +03:00
Alexey Milovidov
3552de49ea
Added comment; fixed uninitialized read [#CLICKHOUSE-20227].
2017-01-30 01:53:29 +03:00
Vitaliy Lyudvichenko
7f73f91705
Made test for KILL QUERY more deterministic. [#CLICKHOUSE-2120] [resloved #283 ]
2017-01-28 02:30:19 +03:00
Alexey Milovidov
ff54b9466d
Fixed error [#CLICKHOUSE-2191].
2017-01-28 00:46:15 +03:00
proller
46037bb670
Allow link with jemalloc ( #404 )
...
* Allow link with jemalloc
* wip
* fix
* fix
2017-01-28 00:00:02 +04:00
proller
8b4b1534e3
Cmake: Test on having sse ( #405 )
...
* Cmake: Test on having sse
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* fix
* fix
* fix
* fix
* fix
* fix
2017-01-27 23:55:33 +04:00
proller
bff12c5f93
Fix clang 4.0
2017-01-27 20:30:23 +03:00
proller
9462f568fa
Fix external http test: move server start from run.sh to generate_and_test.py ( #409 )
...
* Fix external http test: move server start from run.sh to generate_and_test.py
* fix
2017-01-27 17:40:23 +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
55390715b1
Add requested changes. [#CLICKHOUSE-2120]
2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
891437e531
Add docs. Add TEST version of KILL QUERY. [#CLICKHOUSE-2120]
2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
649fd1922b
Add TOO_MUCH_SIMULTANEOUS_QUERIES exception. [#CLICKHOUSE-2120]
2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
6bd306ca8c
Improve KILL QUERY. [#CLICKHOUSE-2120]
2017-01-27 03:59:39 +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
20d6c20a72
Dont throw if setrlimit failed (just print warning), Little build_options fix ( #403 )
...
* Little improve system.build_options
* Dont throw if setrlimit failed (just print warning)
Little build_options fix
2017-01-27 01:46:17 +04:00
Alexey Milovidov
43971faf32
Merge branch 'localhost' of https://github.com/proller/ClickHouse into proller-localhost
2017-01-27 00:42:56 +03:00
alexey-milovidov
0e38fdcbf3
Remove stringstream performance on very short queries ( #406 )
...
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Renamed variable in test [#CLICKHOUSE-2].
* Benchmark: whitespace [#CLICKHOUSE-2].
* Manual version update [#CLICKHOUSE-2].
2017-01-27 01:30:11 +04:00
Alexey Milovidov
1e2553afed
Enabled vertical merge [#CLICKHOUSE-2069].
2017-01-26 23:09:06 +03:00
proller
d319d97bb6
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-26 17:36:38 +03:00
proller
51e17fc6c5
Tests: Allow change http port in http_server.py
2017-01-26 17:29:13 +03:00
proller
35dce017a2
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-26 15:07:29 +03:00
proller
987e8833b5
test http server: listen on ipv6
2017-01-26 03:22:40 +03: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
proller
70e641f58a
Fix readline finding on mac; use config for readline vars ( #397 )
...
* Fix readline finding on mac; use config for readline vars
* fix
2017-01-26 00:14:41 +04:00
proller
f8d1573946
Various arm64 compile fixes on utils ( #394 )
2017-01-25 23:17:13 +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
proller
4f00b3833d
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-25 22:08:56 +03:00
proller
f04dffc05c
External dictionary profiling [#CLICKHOUSE-2197] ( #381 )
...
* Profiling external cached dictonaries [#CLICKHOUSE-2197]
* style
2017-01-25 22:40:44 +04:00
proller
3fc4998a01
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-25 21:27:23 +03:00
proller
59a4a94b9e
fix
2017-01-25 21:27:16 +03:00
proller
f890af1f8d
Remove code and includes from Collator.h, fix including <unicode/...> in dbms ( #395 )
2017-01-25 22:19:15 +04:00
proller
7982d84904
wip
2017-01-25 18:14:39 +03:00
proller
3219d20df8
Group all tests with 127.0.0.{1,2} into 'shard' tag
2017-01-25 17:00:08 +03:00
proller
b7cedc1ad2
wip
2017-01-25 16:21:35 +03:00
proller
9c3133deac
wip
2017-01-25 16:17:13 +03:00
proller
1b7054e15b
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-25 15:38:46 +03:00
alexey-milovidov
8c0e81f8cb
Remove stringstream performance on very short queries ( #391 )
...
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
2017-01-25 05:53:29 +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
74cd2c2334
Add more docs for OPTIMIZE. [#CLICKHOUSE-3]
2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
ef6a4e08db
Resolved #325 . Add 401 HTTP status code if auth failed. [#CLICKHOUSE-3]
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
0c31684721
Addition to prev. revision [#CLICKHOUSE-32].
2017-01-24 00:33:46 +03:00
Alexey Milovidov
f51f52e0df
Added test [#CLICKHOUSE-32].
2017-01-24 00:29:05 +03:00
Alexey Milovidov
8282998f5c
Fixed error with progress in HTTP headers [#CLICKHOUSE-32].
2017-01-24 00:21:38 +03:00
alexey-milovidov
17a4ead1ef
Setting fsync metadata ( #380 )
...
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
2017-01-23 22:05:07 +04:00
Alexey Milovidov
791198e619
Comments [#CLICKHOUSE-3].
2017-01-23 20:10:31 +03:00
Alexey Milovidov
38d25022c6
Comments [#CLICKHOUSE-3].
2017-01-23 19:00:26 +03:00
Alexey Milovidov
e527980799
Comments [#CLICKHOUSE-3].
2017-01-23 18:55:56 +03:00
Alexey Milovidov
18782e1473
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-23 11:22:46 +03:00
Alexey Milovidov
6894df0304
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 20:26:55 +03:00
Alexey Milovidov
c9b761f7b6
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 20:09:00 +03:00
Alexey Milovidov
48ae82e1c7
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 19:34:17 +03:00
Alexey Milovidov
4aa90e908d
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 19:19:24 +03:00
Alexey Milovidov
c903a23864
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 19:12:30 +03:00
Alexey Milovidov
3476e4d4c4
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:48:53 +03:00
Alexey Milovidov
b2457e076a
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:42:42 +03:00
Alexey Milovidov
f1eb84bd48
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:20:37 +03:00
Alexey Milovidov
e56ccc9754
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:13:50 +03:00
Alexey Milovidov
bfa46f9dff
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:13:04 +03:00
Alexey Milovidov
2d324ed4df
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:12:18 +03:00
Alexey Milovidov
f29f6b787d
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:11:34 +03:00
Alexey Milovidov
22527f52f3
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:10:09 +03:00
Alexey Milovidov
d8b95e6d2a
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:06:04 +03:00
Alexey Milovidov
00475da25e
Sending progress in HTTP headers [#CLICKHOUSE-32].
2017-01-22 18:03:55 +03:00
Alexey Milovidov
579667cef3
Added test for fixed bad behaviour [#CLICKHOUSE-2765]. https://github.com/yandex/ClickHouse/pull/183#discussion_r87731018
2017-01-22 16:24:50 +03:00
Alexey Milovidov
25d87ff135
Updated test according to changed semantic of some time zone functions [#CLICKHOUSE-2765].
2017-01-22 16:21:59 +03:00
Alexey Milovidov
6ec9380510
Allow to set server timezone from configuration file [#CLICKHOUSE-2765].
2017-01-22 15:53:24 +03:00
Alexey Milovidov
b1a5efffc0
Fixed error [#CLICKHOUSE-2765].
2017-01-22 14:45:41 +03:00
Alexey Milovidov
cf84e8e646
Fixed error [#CLICKHOUSE-2765].
2017-01-22 14:40:03 +03:00
Alexey Milovidov
0197e4dd3d
Fixed error [#CLICKHOUSE-2765].
2017-01-22 14:37:38 +03:00
Alexey Milovidov
8f79ee0f87
Addition to prev. revision [#CLICKHOUSE-2765].
2017-01-22 14:36:10 +03:00
Alexey Milovidov
e7976421a2
Fixed error in test [#CLICKHOUSE-2].
2017-01-22 14:25:45 +03:00
Alexey Milovidov
989e76b16c
Fixed test [#CLICKHOUSE-2].
2017-01-22 14:10:11 +03:00
Alexey Milovidov
812fd4fe87
Added function 'timezone' for introspection [#CLICKHOUSE-2765].
2017-01-22 14:07:45 +03:00
Alexey Milovidov
8ce006aa69
Fixed error in prev. revision [#CLICKHOUSE-2765].
2017-01-22 13:56:48 +03:00
Alexey Milovidov
bcdf3ce82c
Translated comment [#CLICKHOUSE-3].
2017-01-22 12:07:34 +03:00
Alexey Milovidov
641faac912
More correct time zones support; removed support for non-constant time zone argument [#CLICKHOUSE-2765].
2017-01-22 11:57:34 +03: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
Alexey Milovidov
28f4efa461
Allowed one test to take less time under valgrind [#CLICKHOUSE-2].
2017-01-21 05:55:23 +03:00
proller
1adf0bb3e1
Remove -metrika-yandex postfix from package names ( #377 )
2017-01-20 23:58:13 +04:00
proller
2688f4563f
cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config ( #375 )
...
* Manual version update to [54135]
* Temporary release script fix [#METRIQA-732]
* cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config
2017-01-20 21:58:07 +04:00
proller
89190cfdd0
fix external dictionary tests (use forking http server) [#CLICKHOUSE-22] ( #373 )
...
* renamed: debian/compressor-metrika-yandex.install -> debian/clickhouse-compressor-metrika-yandex.install
* fix external dictionary tests (use forking http server) [#CLICKHOUSE-22]
2017-01-20 15:44:21 +03:00
Alexey Milovidov
fde7ef7d6c
Field: exception safety [#CLICKHOUSE-2756].
2017-01-20 11:28:44 +03:00
Alexey Milovidov
94bfc2ee4b
Added test [#CLICKHOUSE-2761].
2017-01-20 09:05:27 +03:00
Alexey Milovidov
4d1ac56ba9
Fixed rare memory leak [#CLICKHOUSE-2761].
2017-01-20 08:25:25 +03:00
Alexey Milovidov
459db30c29
Preparations [#CLICKHOUSE-2761].
2017-01-20 08:00:04 +03:00
Alexey Milovidov
63c3870fd0
Modified test [#CLICKHOUSE-2756].
2017-01-20 07:27:51 +03:00
Alexey Milovidov
2468021bbb
Addition to prev. revision [#CLICKHOUSE-2756].
2017-01-20 07:10:41 +03:00
Alexey Milovidov
d95edafa96
Addition to prev. revision [#CLICKHOUSE-2756].
2017-01-20 07:08:31 +03:00
Alexey Milovidov
89fd071e1c
Addition to prev. revision [#CLICKHOUSE-2756].
2017-01-20 07:06:05 +03:00
Alexey Milovidov
7fa73c5462
Field: fixed memory leak [#CLICKHOUSE-2756].
2017-01-20 06:36:04 +03:00
Alexey Milovidov
6226132be0
Modified test [#CLICKHOUSE-2756].
2017-01-20 06:24:57 +03:00
Alexey Milovidov
bb61f917b8
Memory leak in Field: investigation [#CLICKHOUSE-2763].
2017-01-20 05:34:35 +03:00
Alexey Milovidov
5c1ae060a4
Miscellaneous [#CLICKHOUSE-2761].
2017-01-20 05:22:18 +03:00
Alexey Milovidov
7a971df887
Fixed error in function multiIf [#CLICKHOUSE-2763].
2017-01-20 04:41:30 +03:00
Alexey Milovidov
904ac284da
Fixed error with multiIf function [#CLICKHOUSE-2763].
2017-01-20 04:18:57 +03:00
Alexey Milovidov
7f0e61bfbd
Misc [#CLICKHOUSE-2].
2017-01-20 04:05:09 +03:00
Alexey Milovidov
039914dfa4
Fixed error with replaceRegexp functions [#CLICKHOUSE-2763].
2017-01-20 04:00:13 +03:00
Alexey Milovidov
f9d0b94c62
replaceRegexp: fixed bad code and error [#CLICKHOUSE-2763].
2017-01-20 00:31:51 +03:00
proller
04d2149e8a
enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR… ( #372 )
...
* enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR=1' option
* add -Werror for utils
2017-01-19 23:30:58 +04:00
Alexey Zatelepin
2184d4d51b
stabilize flappy test [#CLICKHOUSE-2133]
2017-01-19 17:01:11 +03:00
Alexey Zatelepin
0eb48dc84e
cosmetic fixes [#CLICKHOUSE-2133]
2017-01-19 15:02:30 +03:00
Alexey Zatelepin
f5a25c341c
translate comments [#CLICKHOUSE-3]
2017-01-19 03:48:59 +04:00
Alexey Zatelepin
5de1975bc4
parse INTO OUTFILE clause [#CLICKHOUSE-2133]
2017-01-19 03:48:59 +04:00
proller
cafc2fbbb1
Fix ENABLE_LIBTCMALLOC=0 build ( #359 )
...
Again fix ENABLE_LIBTCMALLOC=0 build
2017-01-18 18:09:10 +03:00
proller
04e2baebed
Cmake ( #358 )
...
cmake: dont install files from CLICKHOUSE_PRIVATE_DIR
2017-01-18 17:35:59 +03:00
proller
7e21f1dd14
Fix build with -D NO_TCMALLOC, better sanitizers calls ( #355 )
...
* Fix generate includes for clang
* Fix build with -D NO_TCMALLOC, better sanitizers calls
2017-01-18 16:41:47 +04:00
proller
db0fce346a
Freebsd clang3.8 compile fixes ( #352 )
...
* Freebsd clang3.8 compile fixes
* clean
2017-01-18 01:00:23 +04: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
c74d585b0b
Merge branch 'master' of github.com:yandex/ClickHouse
2017-01-17 23:48:14 +03:00
Alexey Milovidov
9f48890a8e
NULLs: added missing method [#CLICKHOUSE-4].
2017-01-17 23:47:37 +03:00
proller
0fc364165f
fix space
2017-01-17 19:00:24 +00:00
proller
2fe033d00e
Fix compiling in freebsd/clang
2017-01-17 18:03:32 +00:00
Alexey Milovidov
2730267bdc
Fixed test, that was dependent on time zones [#CLICKHOUSE-3].
2017-01-17 15:58:10 +03:00
Alexey Milovidov
00d848d927
Test 'merge_tree_alter': removed dependency on system time zone [#CLICKHOUSE-3].
2017-01-17 15:58:10 +03:00
Alexey Milovidov
930b947393
Make 'formats' test time-zone independent [#CLICKHOUSE-3].
2017-01-17 15:58:10 +03:00
Alexey Milovidov
4e6125c92b
Fixed test, that was dependent on time zones [#CLICKHOUSE-3].
2017-01-17 08:00:49 +03:00
Alexey Milovidov
e86c46d937
Test 'merge_tree_alter': removed dependency on system time zone [#CLICKHOUSE-3].
2017-01-17 07:53:37 +03:00
Alexey Milovidov
7934a6e259
Make 'formats' test time-zone independent [#CLICKHOUSE-3].
2017-01-17 07:45:30 +03:00
Alexey Milovidov
06b2404e6a
Merge branch 'master' into hierarchical-dictionaries-performance
...
Conflicts:
dbms/include/DB/Functions/FunctionsDictionaries.h
2017-01-17 03:31:31 +03:00
Alexey Milovidov
01c2caef8c
Miscellaneous [#CLICKHOUSE-11].
2017-01-17 03:25:43 +03:00
proller
29475c94c0
Reorganize includes, less depends in .h files
2017-01-16 22:47:11 +03:00
Alexey Milovidov
7a526b88d4
Fixed error on clang [#CLICKHOUSE-2].
2017-01-14 12:17:40 +03:00
Alexey Milovidov
5c89153e5e
Fixed error on clang [#CLICKHOUSE-2].
2017-01-14 12:11:11 +03:00
Alexey Milovidov
7c4010441c
Fixed error on clang [#CLICKHOUSE-2].
2017-01-14 12:09:38 +03:00
Alexey Milovidov
530796a5f8
Fixed error on clang [#CLICKHOUSE-2].
2017-01-14 12:07:26 +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
Alexey Milovidov
335a69d79c
Added type inference for lambdas [#CLICKHOUSE-11].
2017-01-14 10:19:47 +03:00
Alexey Milovidov
0493c3ff77
Added missing file [#CLICKHOUSE-11].
2017-01-14 09:22:28 +03:00
Alexey Milovidov
c83ae92d41
Analyzers: added AnalyzeLambdas step [#CLICKHOUSE-11].
2017-01-14 08:19:48 +03:00
Alexey Milovidov
d99a642b9b
Fixed error in 'distributed_product_mode' setting, which breaks 'allow_databases' option [#CLICKHOUSE-2718].
2017-01-14 06:10:16 +03:00
Alexey Milovidov
0440e031c5
Translated comments [#CLICKHOUSE-3].
2017-01-14 05:53:40 +03:00
Alexey Milovidov
4fe2a4432a
External dictionaries: MySQL source: Allow columns with names from reserved words [#CLICKHOUSE-2717].
2017-01-14 05:30:03 +03:00
Alexey Milovidov
b16c9a3e12
Fixed error with 'max_memory_usage_for_user' setting during distributed query execution [#METR-24117].
2017-01-14 04:55:35 +03:00
Vitaliy Lyudvichenko
c56d3724e4
Speedup accurate integer comparisons. Simplified code. [#CLICKHOUSE-29] [#CLICKHOUSE-194]
2017-01-13 23:01:24 +03:00
proller
821121fe3f
Use localhost by name
2017-01-13 18:43:43 +00:00
Vitaliy Lyudvichenko
a1dcd24a76
New behavior for least() and greatest() function with (Int64, UInt64) arguments. [#CLICKHOUSE-29]
2017-01-13 21:17:50 +03:00
proller
ee3882f251
Allow link with external libs: poco, tcmalloc
2017-01-13 14:25:44 +03:00
Alexey Milovidov
c3b69f1052
Removed fragile (over-complicated) test [#CLICKHOUSE-2].
2017-01-13 04:07:02 +03:00
Alexey Milovidov
012c5f1079
Disabled flappy tests [#CLICKHOUSE-2].
2017-01-13 02:31:04 +03:00
alexey-milovidov
9808a5ab9e
Merge pull request #323 from ludv1x/accurate-compare
...
Accurate numbers comparison
2017-01-12 23:31:07 +04:00
alexey-milovidov
915495634c
Merge pull request #327 from proller/freebsd
...
Freebsd: preparing port, misc build/install chandes
2017-01-12 23:26:10 +04:00
artpaul
3292ca81cb
fix distinct on single string field [#CLICKHOUSE-28]
2017-01-12 20:34:41 +05:00
Vitaliy Lyudvichenko
0807fb6d86
Interpret .py files in test dir as tests. [#CLICKHOUSE-194]
...
More precise performance test.
2017-01-12 18:21:47 +03:00
Vitaliy Lyudvichenko
9dd3bc3b60
Removed old code. [#CLICKHOUSE-194]
2017-01-12 18:21:29 +03:00
Vitaliy Lyudvichenko
3e53e3268a
Add test for accurate numbers comparisons. [#CLICKHOUSE-194]
2017-01-12 18:21:24 +03:00
Vitaliy Lyudvichenko
7d86246b46
Add safe_convervsion case optimization. Fixed MIN_INT64 comparison. Fixed NaN comparisons between floats. [#CLICKHOUSE-194]
2017-01-12 18:21:17 +03:00
Vitaliy Lyudvichenko
b264b853a5
Added accurate numbers comparison. [#CLICKHOUSE-194]
2017-01-12 18:20:45 +03:00
proller
ecb7642c4f
Freebsd: preparing port, misc build/install chandes
2017-01-12 13:51:30 +00:00
Alexey Milovidov
eb2c8196fd
Analyzers: development [#METR-23947].
2017-01-12 05:08:33 +03:00
Alexey Milovidov
522e96d4bf
Analyzers: added support for lambda expressions when searching for columns [#METR-23947].
2017-01-12 05:06:50 +03:00
Alexey Milovidov
916552f175
Improved formatting of lambda expressions [#METR-23947].
2017-01-12 04:55:14 +03:00
Alexey Milovidov
38c9ad9761
Fixed error [#METR-2944].
2017-01-12 04:29:32 +03:00
Alexey Milovidov
480cb57a2f
Added test [#METR-24079].
2017-01-12 03:33:02 +03:00
Alexey Milovidov
e8855c6f0f
Fixed error with multiple calls of LogicalExpressionAnalyzer [#METR-24079].
2017-01-12 03:26:39 +03:00
proller
d00765fb15
Find pthread lib by cmake
2017-01-11 16:40:02 +03:00
Alexey Milovidov
0f03a7bbdc
Fixed error with checking number of arguments of functions [#METR-24078].
2017-01-11 05:47:43 +03:00
artpaul
402f974fb7
fix where <const> in (<const>) expression; [#METR-24043]
2017-01-10 19:16:37 +05:00
alexey-milovidov
c58cb0ccf2
Merge pull request #295 from proller/METR-23811
...
Better user-group creating in postinst, BaseDaemon::getDefaultCorePath [#METR-23811]
2017-01-09 23:21:03 +04:00
alexey-milovidov
1d641212c8
Merge pull request #309 from ludv1x/METR-24025
...
Fixed segfault in aggregation combinators for complex nested functions
2017-01-09 20:14:16 +04:00
proller
1649b003a0
Better user-group creating in postinst, BaseDaemon::getDefaultCorePath [#METR-23811]
2017-01-09 16:42:29 +03:00
artpaul
79eb282eda
fix formatting of LIMIT BY; add tests with remote() [#METR-23881]
2017-01-09 18:24:54 +05:00
Vitaliy Lyudvichenko
fb40b74270
Fixed segfault in aggregation combinators using complex functions with Arenas. [#METR-24025]
2017-01-09 15:41:47 +03:00
alexey-milovidov
a07898cc5a
Merge pull request #306 from yandex/issue-200
...
#200 : remove dependency to the view if backend storage can't be created
2017-01-09 02:34:00 +04: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 Zatelepin
1b61f2a9d3
use zlib-ng from contrib everywhere [#METR-23582]
2017-01-08 22:24:38 +03:00
Alexey Zatelepin
502864b40a
Merge branch 'master' into METR-23582
...
Conflicts:
dbms/include/DB/IO/WriteBufferFromHTTPServerResponse.h
dbms/src/Core/ErrorCodes.cpp
2017-01-08 12:53:17 +03:00
Alexey Zatelepin
600bb5f29a
[#METR-23582]
...
* introduce ZlibDeflatingWriteBuffer and ZlibInflatingReadBuffer
* use them instead of Poco streams
* seamlessly uncompress multiple concatenated gzip streams
2017-01-07 20:22:58 +03:00
Alexey Milovidov
6e5dd26dda
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-07 02:47:16 +03:00
Alexey Milovidov
2436d43637
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-07 01:54:05 +03: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
2f7ff07e1f
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-06 19:33:05 +03:00
Alexey Milovidov
89d4873b9e
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-06 16:36:08 +03:00
Alexey Milovidov
a1a6ddd01e
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-05 19:34:05 +03:00
Alexey Milovidov
76b06c3d42
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-05 14:03:59 +03:00
Alexey Milovidov
c63882f048
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-05 14:03:24 +03:00
Alexey Milovidov
0f7d0c3969
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-05 12:26:49 +03:00
Alexey Milovidov
51df4e19e2
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-05 10:25:23 +03:00
Alexey Milovidov
96e1ed3412
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-04 21:16:18 +03:00
Alexey Milovidov
f553cb5197
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-04 21:13:41 +03:00
Alexey Milovidov
60623e7ca5
Preparations [#METR-20307].
2017-01-04 20:34:45 +03:00
Alexey Milovidov
ed107f675a
Preparations [#METR-20307].
2017-01-04 20:25:07 +03:00
Alexey Milovidov
37e1c9d18f
Miscellaneous [#METR-20307].
2017-01-04 19:31:09 +03:00
Alexey Milovidov
779d549d3d
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-04 18:05:31 +03:00
Alexey Milovidov
a1ebd7f103
Added support for qualified asterisk in parser [#METR-20307].
2017-01-04 14:23:27 +03:00
Alexey Milovidov
25dd3affb3
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-04 12:05:23 +03:00
Alexey Milovidov
9acd77d985
Miscellaneous [#METR-2944].
2017-01-04 12:04:01 +03:00
Alexey Milovidov
a4d9d766b6
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-04 09:52:02 +03:00
Alexey Milovidov
3af6d65c2b
Miscellaneous [#METR-2944].
2017-01-04 09:51:01 +03:00
Alexey Milovidov
8074f2de59
Implemented TODO [#METR-19266].
2017-01-04 07:30:18 +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
cf295ee681
Style [#METR-2944].
2017-01-04 07:00:37 +03:00
Alexey Milovidov
625b6c6050
Function "sleep": do not sleep during query analyze (continued) [#METR-21574].
2017-01-04 06:43:43 +03:00
Alexey Milovidov
d6735c2a23
Function "sleep": do not sleep during query analyze [#METR-21574].
2017-01-04 06:37:59 +03:00
Alexey Milovidov
77a0159ff8
Miscellaneous [#METR-2944].
2017-01-04 06:35:05 +03:00
Alexey Milovidov
95e9ef2fc4
Reworked InJoinSubqueriesPreprocessor [#METR-2944].
2017-01-04 05:37:47 +03:00
Alexey Milovidov
4140e7e889
Get out garbage from AST [#METR-2944].
2017-01-03 10:37:29 +03:00
Alexey Milovidov
af5e2c9953
Less const_casts [#METR-2944].
2017-01-03 04:49:19 +03:00
Alexey Milovidov
604bd6c5a3
Less const_casts [#METR-2944].
2017-01-03 04:42:17 +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
5460a13d58
Addition to prev. revision [#METR-2944].
2017-01-02 23:47:59 +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
Alexey Milovidov
00127a1d37
Miscellaneous [#METR-2944].
2017-01-02 23:08:23 +03:00
artpaul
b64e7a45b6
rename tests
2016-12-31 13:36:22 +05:00
Alexey Milovidov
de845f7801
Fixed style [#METR-23933].
2016-12-31 05:05:37 +03:00
alexey-milovidov
376db5785b
Merge pull request #297 from proller/METR-23933
...
Add header Keep-Alive: timeout=.. to http server response [#METR-23933]
2016-12-31 06:04:49 +04:00
alexey-milovidov
0dd2191c87
Merge branch 'master' into issue-111
2016-12-31 05:53:52 +04: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
proller
c2a6681522
Add header Keep-Alive: timeout=.. to http server responce [#METR-23933]
2016-12-30 23:52:56 +03:00
artpaul
3987df8233
rename tests
2016-12-30 23:32:51 +05:00
Vitaliy Lyudvichenko
35485c03d9
Fixed race condition during dictionaries' config file update. [#METR-22224]
2016-12-30 21:30:29 +03:00
artpaul
c74b8e2366
add comments; count exact number of inserted rows [#METR-23881]
2016-12-30 18:40:12 +05:00
artpaul
273e58f8d7
add tests [#METR-23881]
2016-12-30 17:57:09 +05:00
artpaul
333d47ee2e
don't allow partial sort in case if LIMIT BY is present [#METR-23881]
2016-12-30 17:56:07 +05:00
artpaul
9cfc019a12
fix calculation of condition for skipping all block [#METR-23881]
2016-12-30 16:15:17 +05:00
Alexey Milovidov
4dee097ba8
Fixed build with clang on Xenial [#METR-2944].
2016-12-30 11:07:02 +03:00
Alexey Milovidov
943717b8d0
Merge branch 'master' of github.com:yandex/ClickHouse
2016-12-30 09:48:43 +03:00
Alexey Milovidov
1c9d06638e
Removed function that was in a wrong place [#METR-2944].
2016-12-30 09:48:11 +03:00
Alexey Milovidov
2f6e582f78
Updated test [#METR-19266].
2016-12-30 09:28:20 +03:00
Alexey Milovidov
0a83cfccde
NULLs: Test also output formats [#METR-19266].
2016-12-30 09:23:30 +03:00
Alexey Milovidov
9a17c907b0
Added test for parsing NULLs in various formats [#METR-19266].
2016-12-30 09:18:57 +03:00
Alexey Milovidov
81a08bcd87
Addition to prev. revision [#METR-19266].
2016-12-30 08:55:23 +03:00
Alexey Milovidov
3f9fc77e22
Fixed most cases of misleading messages "Could not print diagnostic info because two last rows aren't in buffer (rare case)" [#METR-20000].
2016-12-30 08:40:49 +03:00
Alexey Milovidov
3336a66161
Addition to prev. revision [#METR-19266].
2016-12-30 08:31:52 +03:00
Alexey Milovidov
80937d8226
Addition to prev. revision [#METR-19266].
2016-12-30 08:31:14 +03:00
Alexey Milovidov
1dd26b4487
Addition to prev. revision [#METR-19266].
2016-12-30 08:22:45 +03:00
Alexey Milovidov
0323a74942
Added test [#METR-19266].
2016-12-30 08:17:55 +03:00
Alexey Milovidov
baf29f5c48
NULLs support: fixed totally wrong code [#METR-19266].
2016-12-30 08:13:14 +03:00
Alexey Milovidov
cefec8be5a
Great simplification [#METR-2944].
2016-12-30 04:53:21 +03:00
Alexey Milovidov
de30204c00
Added test for pretty formats [#METR-2944].
2016-12-30 04:30:47 +03:00
Alexey Milovidov
025bfd414f
Allowed to create tuples with NULLs [#METR-19266].
2016-12-30 03:55:59 +03:00
Alexey Milovidov
e3849124f1
Fixed wrong code [#METR-19266].
2016-12-30 03:31:38 +03:00
Alexey Milovidov
c1a635a3d2
NULLs: fixed error and added TODO [#METR-19266].
2016-12-30 03:28:49 +03:00
Alexey Milovidov
ee2c5f0d65
Fixed error in format PrettySpace [#METR-2944].
2016-12-30 03:24:56 +03:00
Alexey Milovidov
a4a77d8bc0
Function visibleWidth: fixed error [#METR-2944].
2016-12-30 03:19:44 +03:00
Alexey Milovidov
6e1ec28840
Addition to prev. revision [#METR-2944].
2016-12-30 03:19:05 +03:00
Alexey Milovidov
b4e18e2222
Cut dependendy (code must depend on Functions only via FunctionFactory) [#METR-2944].
2016-12-30 03:15:50 +03:00
Alexey Milovidov
0eb5d53133
Translated comment [#METR-20000].
2016-12-30 02:17:51 +03:00
Alexey Milovidov
94c64a758f
Miscellaneous [#METR-2944].
2016-12-30 02:17:05 +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
5a5ddebe19
Fixed test [#METR-19266].
2016-12-30 01:45:19 +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
8ff20e1ecc
Fixed test [#METR-2944].
2016-12-29 23:41:49 +03:00
Alexey Milovidov
ddc8fcf623
Addition to prev. revision [#METR-23999].
2016-12-29 23:22:27 +03:00
Alexey Milovidov
1a64417044
Added setting "output_format_pretty_max_rows" [#METR-23999].
2016-12-29 23:15:18 +03:00
Alexey Milovidov
18f0e83b51
Fixed parsing of NULL literal [#METR-19266].
2016-12-29 22:52:15 +03:00
Alexey Milovidov
3f678a3042
Functions: little better [#METR-2944].
2016-12-29 22:38:10 +03:00
Alexey Milovidov
32be008327
Added test [#METR-23983].
2016-12-29 21:29:21 +03:00
artpaul
1f49735581
disable some optimization related to LIMIT clause if LIMIT BY clause is present [#METR-23881]
2016-12-29 17:53:35 +05:00
artpaul
2b38babb89
organize code [#METR-23881]
2016-12-29 16:55:10 +05:00
artpaul
405382b092
getAliasOrColumnName instead of getColumnName [#METR-23881]
2016-12-29 15:42:08 +05:00
artpaul
3b88b1ff14
clone and format limit_by asts [#METR-23881]
2016-12-29 13:22:19 +05:00
artpaul
3f064d9ff7
first dirty implementation of LIMIT BY clause [#METR-23881]
2016-12-28 20:12:54 +05:00
Alexey Milovidov
cbaf9d79eb
Added function 'toStartOfDay'; fixed tiny error [#METR-23983].
2016-12-28 15:10:29 +03:00
Alexey Milovidov
9c39a324f2
Fixed extremes calculation in presense of NaNs [#METR-22882].
2016-12-28 12:20:42 +03:00
proller
ca9c4bbdbb
Dont use tcmalloc TCMALLOC_AGGRESSIVE_DECOMMIT patch
2016-12-28 03:47:46 +03:00
Alexey Milovidov
cf4f8d6ce4
Modified comment [#METR-2944].
2016-12-27 18:50:31 +03:00
artpaul
938663aa7a
parse LIMIT BY [#METR-23881]
2016-12-27 19:08:33 +05:00
artpaul
9bfd80b412
style of constructor init list
2016-12-27 13:33:32 +05:00
Alexey Milovidov
ad6507f9df
Preparation [#METR-23490].
2016-12-27 09:36:53 +03:00
Alexey Milovidov
7771a3aa13
Miscellaneous [#METR-2944].
2016-12-27 09:34:01 +03:00
Alexey Milovidov
dd0b5a1b82
Added test [#METR-23945].
2016-12-25 07:50:06 +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
Alexey Milovidov
72888b48ef
Printing user name in exception messages about exceeded quota [#METR-19622].
2016-12-25 07:00:33 +03:00
Alexey Milovidov
3e15e81fab
Fixed overflow in quota [#METR-23944].
2016-12-24 05:42:22 +03:00
Alexey Milovidov
901c6a8d50
Addition to prev. revision [#METR-22799].
2016-12-24 04:30:05 +03:00
proller
4bc003c4c1
Porting to freebsd: initial, compile ok, most tests ok.
2016-12-24 01:03:10 +00:00
Alexey Milovidov
2552e7de4b
Added test [#METR-22799].
2016-12-24 00:35:22 +03:00
Alexey Milovidov
47756eda45
Fixed error with --external command line arguments for clickhouse-client [#METR-22799].
2016-12-24 00:34:49 +03:00
proller
22371fdead
Add initial test for executable and http dictonaries [METR-23466]
2016-12-23 22:20:07 +03:00
alexey-milovidov
d1383c5f62
Merge pull request #288 from yandex/issue-199
...
Issue #199 : speedup DISTINCT
2016-12-23 19:02:48 +04:00
artpaul
2467a010c9
translate comments
2016-12-23 13:01:35 +05:00
Alexey Milovidov
3d5005016b
Applied a patch, sent by aSealBack [#METR-2944].
2016-12-23 04:24:19 +03:00
artpaul
c904d31882
translate comments
2016-12-23 03:19:57 +05:00
artpaul
964afabf6a
check limit hint only at beginning of block processing [#METR-23882]
2016-12-23 01:50:12 +05:00
artpaul
c5eb898416
organize code [#METR-23882]
2016-12-22 22:00:23 +05:00
artpaul
200f84c046
add test for DISTINCT with nullable values [#METR-23882]
2016-12-22 21:39:00 +05:00
artpaul
5d1cfc0517
use swtich instead of if ... else, so we will get error about unhandled enum on the compile time [#METR-2944]
2016-12-22 21:35:54 +05:00
alexey-milovidov
690ab98b91
Merge pull request #287 from ludv1x/METR-23783
...
[WIP] Vertical merge optimization, fix and perf tests.
2016-12-22 17:40:01 +04:00
Alexey Milovidov
dc3a25dd63
Addition to prev. revision [#METR-23920].
2016-12-22 16:37:47 +03:00
Alexey Milovidov
433673871c
Fixed error with dynamic builds [#METR-23920].
2016-12-22 16:27:20 +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
3432f3c013
Added draft scripts for performance testing of vertical merge. [#METR-23783]
2016-12-22 16:19:02 +03:00
Vitaliy Lyudvichenko
e2bd364844
Added whole block optimization. [#METR-23783]
2016-12-22 16:19:02 +03:00
artpaul
fe9c28ad49
distinct filtration was rewrited with SetVariants [#METR-23882]
2016-12-22 13:51:34 +05:00
Alexey Milovidov
536f88ea55
Adjusted coefficients [#METR-23916].
2016-12-22 05:04:32 +03:00
Alexey Milovidov
e5440d0f67
Fixed desinformation [#METR-23305].
2016-12-22 04:37:05 +03:00
Alexey Milovidov
7ebbf72ca6
Removed unused variable [#METR-23305].
2016-12-22 04:27:41 +03:00
Alexey Milovidov
168472fc9f
Fixed typo [#METR-23305].
2016-12-22 04:14:19 +03:00
Alexey Milovidov
c47406c42d
StorageBuffer: addition to prev. modification [#METR-23909].
2016-12-22 03:13:59 +03:00
proller
999b181aa5
fix 'env bash -e'
2016-12-21 23:43:35 +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
artpaul
b160e2a1cf
SetVariants was extracted into separated file [#METR-23882]
2016-12-21 17:42:54 +05:00
Alexey Milovidov
87695c02da
MongoDBDictionarySource: fixed incompatibility with MongoDB 3.4.0 [#METRIQA-599].
2016-12-21 05:13:51 +03:00
Alexey Milovidov
02af261c07
Cleanups [#METR-2944].
2016-12-21 03:18:11 +03:00
Vitaliy Lyudvichenko
6ee0cc795a
Prevent "variable tracking size limit exceeded" compiler notice. [#METR-20000]
2016-12-21 02:05:43 +03:00
alexey-milovidov
d277d55763
Merge pull request #280 from aSealBack/BlockStructureDiff
...
Added new diff for block structures.
2016-12-21 02:59:41 +04:00
Alexey Milovidov
df54b52db0
Revert "Fixed 'variable tracking size limit exceeded' notice (again) [#METR-23101]."
...
This reverts commit b6fb08c77f
.
2016-12-21 01:22:32 +03:00
Alexander Makarov
15118dec81
Added new diff for block structures.
2016-12-21 01:22:23 +03:00
Alexey Milovidov
b6fb08c77f
Fixed 'variable tracking size limit exceeded' notice (again) [#METR-23101].
2016-12-20 23:58:54 +03:00
Alexey Milovidov
5e5c3b5661
Merge branch 'master' of github.com:yandex/ClickHouse
2016-12-20 23:49:05 +03:00
Alexey Milovidov
5fe11c0697
Fixed MongoDBDictionarySource [#METR-2944].
2016-12-20 23:48:40 +03:00
alexey-milovidov
111aaae0d3
Merge pull request #273 from ludv1x/METR-23765
...
clickhouse-local enhancements
2016-12-21 00:11:00 +04:00
Vitaliy Lyudvichenko
836f641f5f
Fix rare race condition which occurrs during update of config files. [#METRIKASUPP-7653]
2016-12-20 22:03:12 +03:00
Vitaliy Lyudvichenko
6fe581c172
Added --stacktrace option to clickhouse-local. [#METR-23765]
...
Added support of path config variable and ability to load clickhouse-server data. [#METR-20000]
Default database of clickhouse-local is changed to "_local" to avoid collisions with clickhouse-server.
Small fixes and enhancements of command line options (setting and limits). [#METR-23101]
2016-12-20 18:01:05 +03:00
artpaul
2ebe00ffab
move constructor was implemented for Field [#METR-2944]
2016-12-20 17:04:22 +05:00
Alexey Milovidov
a3e22e10d9
MongoDBDictionarySource: fixed error [#METR-2944].
2016-12-20 05:31:25 +03:00
Alexey Milovidov
54587fec1b
Tracking memory used in merges [#METR-23888].
2016-12-20 05:29:35 +03:00
Alexey Milovidov
47b75e6c1e
MongoDBDictionarySource: preparation [#METR-2944].
2016-12-20 04:20:59 +03:00
Alexey Milovidov
442ff1d3b8
StorageBuffer: simplification; added metrics [#METR-23888].
2016-12-20 02:55:13 +03:00
Vitaliy Lyudvichenko
8398baea85
Fixed getFlagsPath() for clickhouse-local use case. [#METR-23761]
2016-12-19 17:15:45 +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
Alexey Milovidov
57426cafc8
Improved test of external dictionaries [#METRIQA-599].
2016-12-18 21:43:08 +03:00
Alexey Milovidov
ca4438d470
Fixed style [#METR-2944].
2016-12-18 21:34:49 +03:00
Alexey Milovidov
927721baee
Fixed error in autotests of external dictionaries [#METR-2944].
2016-12-17 03:25:10 +03:00
alexey-milovidov
4fa9390840
Merge pull request #264 from ekonkov/master
...
METRIQA-599 port parameter
2016-12-17 00:31:20 +04:00
Eugene Konkov
6f7a359079
METRIQA-599 port parameter
2016-12-16 17:37:06 +03:00
alexey-milovidov
f5b5b274a3
Merge pull request #262 from drrtuy/benchmark-testing-greenplum
...
Greenplum benchmark test environment description and test results.
2016-12-16 15:37:04 +04:00
Vitaliy Lyudvichenko
d2e594cdf7
Fixed groupUniqArray for Date and DateTime types. [#METR-23869]
2016-12-16 13:59:16 +03:00
Roman Nozdrin
934b715a7d
Greenplum benchmark test environment description and test results.
2016-12-16 12:08:55 +03:00
Alexey Milovidov
08bf108961
Fixed error in tests [#METRIQA-599].
2016-12-16 03:10:37 +03:00
Alexey Milovidov
9ab111640c
Fixed error after changing MongoDB driver for external dictionaries [#METR-2944].
2016-12-16 02:40:30 +03:00
Alexey Milovidov
989d542f66
Fixed error (tnx. artpaul) [#METR-23793].
2016-12-15 23:33:35 +03:00
Alexey Milovidov
1311b93c9c
Fixed error (tnx. artpaul) [#METR-23793].
2016-12-15 23:29:42 +03:00
Alexey Milovidov
b113a7a473
Tiny modifications [#METR-23793].
2016-12-15 22:35:32 +03:00
artpaul
4025dbe7af
style
2016-12-15 23:59:07 +05:00
artpaul
0b0dc43e9b
fix
2016-12-15 23:56:31 +05:00
artpaul
945f879765
fix
2016-12-15 23:21:38 +05:00
artpaul
722e4dab6d
merge with master
2016-12-15 23:19:12 +05:00
alexey-milovidov
6d164a363b
Merge pull request #259 from ekonkov/METRIQA-599
...
METRIQA-599
2016-12-15 21:57:12 +04:00
artpaul
eb80837355
use find_first_symbols
2016-12-15 22:55:12 +05:00
artpaul
d3657d311b
fix decodeUrl; decode all values; add more tests
2016-12-15 22:12:41 +05:00
Eugene Konkov
3e67ac7232
METRIQA-599
...
JUnit output
2016-12-15 19:10:12 +03:00
alexey-milovidov
2de93a2a78
Merge pull request #257 from excitoon/quorum
...
StorageReplicatedMergeTree: Correct taking /quorum/last_part into acc…
2016-12-15 19:01:43 +04:00
Vladimir Chebotarev
d172cb1fc2
StorageReplicatedMergeTree: Correct taking /quorum/last_part into account when merging. [#METR-23826]
2016-12-15 17:32:47 +03:00
alexey-milovidov
a3886babed
Revert "Issue 219"
2016-12-15 18:19:16 +04:00
Alexey Milovidov
082820b405
Removed executable attribute from test files [#METR-20000].
2016-12-15 17:12:31 +03:00
alexey-milovidov
fea00eb595
Merge pull request #239 from yandex/issue-219
...
Issue 219
2016-12-15 17:21:35 +04:00
artpaul
92a7dc6908
style
2016-12-15 17:33:50 +05:00
artpaul
785a98e624
move all url's functions to FunctionsURL
2016-12-15 17:05:05 +05:00
kmeaw
8667a0e044
Minor fix: update <graphite_rollup/> conf example
...
Update the example usage of <graphite_rollup /> given in comments to
contain somewhat meaningful values.
2016-12-14 18:54:06 +03:00
alexey-milovidov
1ee5ad2ce0
Merge pull request #250 from hatarist/tsv_format_synonym
...
Added TSV format synonyms
2016-12-14 17:53:33 +04:00
Igor Hatarist
76365c3c15
Fixed the test
2016-12-14 08:56:19 +03:00
alexey-milovidov
5af401721e
Merge pull request #251 from proller/METR-23466
...
Dictonary: executable: rename 'path' to 'command' [#METR-23466]
2016-12-14 01:45:48 +04:00
proller
357d995e75
Dictonary: executable: rename 'path' to 'command' [#METR-23466]
2016-12-14 00:28:31 +03:00
Alexey Milovidov
cdfeccd38d
clickhouse-client: Fixed error that 'host' and 'port' parameters cannot have default values set in configuration file [#METR-23829].
2016-12-14 00:26:31 +03:00
Alexey Milovidov
fbb0a3e734
Working on performance of hierarchical external dictionaries [#METR-23747].
2016-12-14 00:15:27 +03:00
Igor Hatarist
9be107e89e
Removed TSVBlock format by Alexey's request
2016-12-13 21:26:34 +03:00
Igor Hatarist
96fa052839
Added TSV format synonyms for the TabSeparated formats
2016-12-13 21:03:10 +03:00
artpaul
6694c14338
try resolve conflicts
2016-12-13 16:51:40 +05:00
Vladimir Chebotarev
cc7db759fe
create_init_script: Avoid generation of init file each configuration phase. [#METR-21516]
2016-12-13 14:09:22 +03:00
Alexey Milovidov
dd1636abdd
Improved performance of 'flat' and 'hashed' hierarchical external dictionaries [#METR-23747].
2016-12-13 00:37:57 +03:00
Vitaliy Lyudvichenko
876ad28dd8
Merge remote-tracking branch 'origin/master' into metrics_refinement
2016-12-12 19:17:23 +03:00
Igor Hatarist
b22e4981df
Add clickhouse-client option: --version
2016-12-12 12:25:33 +03:00
Alexey Milovidov
f9c31c42c5
Fixed error after updating boost [#METR-2944].
2016-12-12 10:56:49 +03:00
Alexey Milovidov
a0dfb3e179
Addition to prev. revision [#METR-2944].
2016-12-12 10:29:21 +03:00
Alexey Milovidov
6dcabed912
Addition to prev. revision [#METR-2944].
2016-12-12 10:27:47 +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
artpaul
fb900881da
resolve conflicts
2016-12-12 11:15:01 +05:00
artpaul
529f75c8b4
- use std::experimental::string_view
...
- rename unquoteUrl to decodeURLComponent
- fix code-style
2016-12-12 11:09:00 +05:00
Alexey Milovidov
3d643fc786
Fixed build on clang [#METR-2944].
2016-12-12 09:02:35 +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
7e37460c38
Merge branch 'master' of github.com:yandex/ClickHouse
2016-12-12 08:53:56 +03:00
Alexey Milovidov
e2ed20999c
Fixed build on clang [#METR-2944].
2016-12-12 08:53:37 +03:00
alexey-milovidov
52c34b4276
Merge pull request #240 from vavrusa/master
...
HTTPHandler: added support for X-ClickHouse-*
2016-12-12 09:47:40 +04:00
Alexey Milovidov
dae8814a71
Addition to prev. revision [#METR-2944].
2016-12-12 08:20:56 +03:00
Alexey Milovidov
0bdd22efe0
Addition to prev. revision [#METR-2944].
2016-12-12 08:15:34 +03:00
Alexey Milovidov
70b01f0a53
Do not include ClickHouseRevision.h in header files [#METR-2944].
2016-12-12 08:14:46 +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
Marek Vavrusa
f7a7e8e858
HTTPHandler: added support for X-ClickHouse-*
...
Support X-ClickHouse-* to allow running behind authenticating LBs, that
pass through user information or enforce fixed user.
The format of the new options follows X-Auth-*
Supported headers are:
* X-ClickHouse-User (identical to "user" URL parameter)
* X-ClickHouse-Key (identical to "password" URL parameter)
* X-ClickHouse-Quota (identical to "quota_key" URL parameter)
2016-12-11 20:46:37 -08:00
Alexey Milovidov
58a8cff3ae
Using internal boost library [#METR-2944].
2016-12-12 07:17:16 +03:00
Alexey Milovidov
fc43827a6c
Preparation [#METR-2944].
2016-12-12 06:33:34 +03:00
Alexey Milovidov
927b84323b
Addition to prev. revision [#METR-2944].
2016-12-12 04:51:27 +03:00
Alexey Milovidov
8b06b09f34
Moved code to cpp [#METR-2944].
2016-12-12 04:33:18 +03:00
artpaul
bea52b8631
lost files
2016-12-11 18:55:13 +05:00
artpaul
9ec6688397
move char2DigitTable to hex.cpp
2016-12-11 18:54:38 +05: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
31dbff77c4
Little better [#METR-23792].
2016-12-11 14:15:24 +03:00
Alexey Milovidov
d77b4f12fb
Added UUID functions [#METR-23792].
2016-12-11 13:57:34 +03:00
Alexey Milovidov
599308aef0
Get rid of obsolete mongodb client library [#METR-23791].
2016-12-11 12:43:16 +03:00
artpaul
99cec8b165
implement unquoteUrl
2016-12-11 02:04:58 +05:00
Alexey Milovidov
4aeb017093
Renamed test [#METR-19266].
2016-12-10 09:40:46 +03:00
Alexey Milovidov
02cb56653a
Merging [#METR-19266].
2016-12-10 09:22:03 +03:00
Alexey Milovidov
dc9e88a9d7
Merging [#METR-19266].
2016-12-10 09:16:06 +03:00
Alexey Milovidov
2aa02d0547
Merging [#METR-19266].
2016-12-10 09:12:21 +03:00
Alexey Milovidov
c937d75a78
Merging [#METR-19266].
2016-12-10 09:10:29 +03:00
Alexey Milovidov
f4815364f6
Merging [#METR-19266].
2016-12-10 08:03:12 +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
Alexey Milovidov
95b08c9b03
Miscellaneous [#METR-2944].
2016-12-10 02:35:18 +03:00
artpaul
396ccccfce
fix extraction of TLD from fqdn
2016-12-10 03:49:21 +05:00
artpaul
4cf4fa68e1
parametrize StringView
2016-12-10 03:13:33 +05:00
artpaul
228b43bc95
calculate size of 'https' at compile time
2016-12-10 00:33:52 +05:00
artpaul
dfb466d156
host extraction functionality was moved to UrlUtils
2016-12-10 00:31:16 +05:00
artpaul
544143f5c9
url's scheme extraction was fixed according to rfc3986.
2016-12-09 22:38:15 +05: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
6540156100
Removed redundant code from CMakeLists.
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
a1c599fc57
Autotests for external dictionaries: removed garbage [#METR-23766].
2016-12-08 08:58:45 +03:00
Alexey Milovidov
be5a07463e
Server: fixed error [#METR-23766].
2016-12-08 08:29:53 +03:00
Alexey Milovidov
959e31402b
Autotests for external dictionaries: back to life.
2016-12-08 08:12:49 +03:00
Alexey Milovidov
a8eedafcd0
Fixed error in cached dictionary when using C++11 ABI [#METR-23764].
2016-12-08 07:56:52 +03:00
Alexey Milovidov
2dc425b7e6
Preparation [#METR-23747].
2016-12-08 06:04:30 +03:00
Alexey Milovidov
6998b5ecd9
ODBC: refreshment [#METR-18538].
2016-12-08 05:55:58 +03:00
Alexey Milovidov
514715589b
Preparation [#METR-23747].
2016-12-08 05:49:04 +03:00
Alexey Milovidov
9303a07b39
Removed garbage [#METR-23747].
2016-12-08 04:11:44 +03:00
Alexey Milovidov
f2cd8de5b4
Removed garbage [#METR-23747].
2016-12-08 04:08:19 +03:00
alexey-milovidov
5923df80e4
Merge pull request #204 from proller/METR-23466
...
Metr-23466 : dictonary sources: http and executable
2016-12-08 05:04:50 +04:00
Alexey Milovidov
6546b73dcc
Added setting 'input_format_values_interpret_expressions' [#METR-23720].
2016-12-08 03:25:52 +03:00
Alexey Milovidov
59da0fd12a
Added metrics and events for Context lock [#METR-23763].
2016-12-08 01:49:42 +03:00
Vitaliy Lyudvichenko
450cee3641
Fixed flags/force_restore_data.
2016-12-07 22:16:41 +03:00
proller
76dc51aae5
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-12-07 22:08:09 +03:00
Vladimir Chebotarev
64380109e9
dbms: Adjusting compiler paths. [#METR-21516]
2016-12-07 02:22:33 +03:00
Vladimir Chebotarev
8e1a6aaf3e
cmake: Boost, OpenSSL into find_package(). [#METR-23701]
2016-12-06 16:20:32 +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
artpaul
f344c85cb7
#214 add tests
2016-12-03 04:29:16 +05:00
artpaul
2616453263
#214 fix offsets assigments
2016-12-03 02:18:29 +05:00
Alexey Milovidov
2def6778e7
Merge branch 'master' of github.com:yandex/ClickHouse
2016-12-02 23:27:42 +03:00
Alexey Milovidov
4110b6865f
Merge branch 'METR-23305' of git://github.com/ludv1x/ClickHouse into ludv1x-METR-23305
...
Conflicts:
contrib/CMakeLists.txt
2016-12-02 23:22:11 +03:00
alexey-milovidov
5e5acd850f
Merge pull request #224 from artpaul/build
...
move impls to cpp
2016-12-03 00:06:20 +04:00
proller
4054d1a465
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-12-02 19:32:25 +03:00
artpaul
a2b4b85ed5
show type of argument in case of type missmatching
2016-12-02 13:59:23 +05:00
artpaul
7eb7cc38f7
move impls of FunctionsString to cpp
2016-12-02 12:32:39 +05:00
artpaul
41fda59c95
move impls of FunctionsArray to cpp
2016-12-02 12:15:35 +05:00
Alexey Milovidov
21f8501ccc
Benchmark: update [#METR-2944].
2016-12-02 06:39:11 +03:00
alexey-milovidov
9cea29e9a8
Merge pull request #213 from vavrusa/master
...
IO: Added ProfileEvents to Open/Read/Write failures
2016-12-01 22:28:36 +04:00
Marek Vavrusa
64f86b7d20
IO: Added ProfileEvents to Open/Read/Write failures
2016-11-30 12:21:57 -08:00
alexey-milovidov
21ce8a44f7
Merge pull request #216 from yandex/if_with_const_condition
...
ExpressionAnalyzer: make aliases and ast consistent after constant if optimization
2016-11-30 17:58:02 +04:00
Pavel Kartavyy
5dfbd57bad
ExpressionAnalyzer: make aliases and ast consistent after constant if optimization
2016-11-30 16:19:39 +03:00
Vitaliy Lyudvichenko
4df22acea9
Try to fix LIBTCMALLOC linking.
2016-11-30 15:10:39 +03:00
proller
33cc46d225
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-30 00:42:05 +03:00
Vitaliy Lyudvichenko
202ba912ce
Vertical merging algorithm for MergeTree engines. [#METR-23305]
2016-11-29 22:41:31 +03:00
alexey-milovidov
08cb8e506b
Merge pull request #211 from yandex/if_with_const_condition
...
ExpressionAnalyzer: added more tests for aliases. fix bug [METR-23545]
2016-11-29 23:28:50 +04:00
Pavel Kartavyy
106bb24fd8
ExpressionAnalyzer: added more tests for aliases. fix bug [#METR-23545]
2016-11-29 22:19:15 +03:00
proller
30cd3176d9
Merge branch 'autotest-external-dictionaries' into move-autotest-external-dictionaries
2016-11-29 20:06:09 +03:00
proller
936efe55f1
move * -> dbms/tests/external_dictionaries
2016-11-29 20:03:54 +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
ae413e051b
Fixed error [#METRIQA-526].
2016-11-28 18:22:10 +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
Alexey Milovidov
8bc84e29ac
Increased default background_pool_size [#METR-23632].
2016-11-28 02:50:46 +03:00
proller
5e6cac10e5
no copypaste
2016-11-27 16:01:35 +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
2aeb488d96
add writePrefix
2016-11-25 23:37:06 +03:00
proller
556bd12de1
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-25 20:46:59 +03:00
alexey-milovidov
7fda6394b8
Merge pull request #202 from yandex/if_with_const_condition
...
ExpressionAnalyzer: optimize if with constant condition [METR-23545]
2016-11-25 20:03:04 +04:00
Pavel Kartavyy
cd15651dfd
optimize if. added test for aliases
2016-11-25 12:29:17 +03:00
proller
26fe10a7b4
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-25 03:22:30 +03:00
proller
40e674407f
return http write callback
2016-11-25 03:16:20 +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
Alexey Milovidov
36553dd653
Fixed deadlock [#METR-23605].
2016-11-24 23:25:02 +03:00
proller
3b335b5546
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-24 22:58:40 +03:00
proller
e6d3c8855e
http ook
2016-11-24 22:57:24 +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
Pavel Kartavyy
84a89b3b3d
ExpressionAnalyzer: optimize if with constant condition [#METR-23545]
2016-11-24 17:18:44 +03: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
proller
2e02e29652
wip
2016-11-24 04:01:11 +03:00
proller
43e057d5e9
dont use OwningBufferBlockInputStream
2016-11-24 02:49:46 +03:00
alexey-milovidov
fdabcd4e38
Merge pull request #192 from ludv1x/enums-fix
...
Fixed Enum usage in PK expressions.
2016-11-24 03:13:16 +04:00
proller
8f573d7308
clean
2016-11-24 01:44:53 +03:00
proller
c919c02ed4
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-24 00:04:38 +03:00
Alexey Milovidov
a2e9359b18
Fixed rare deadlock after startup when structure of query_log was changed [#METR-23594].
2016-11-23 23:41:39 +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
fe891eb198
Removed extra check.
2016-11-23 16:09:29 +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
5e799ca8cd
Better [#METR-22214].
2016-11-22 21:17:24 +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
Eugene Konkov
d8973b61cf
flush after print test case name
2016-11-21 22:16:31 +03:00
Pavel Kartavyy
3569176cbf
clickhouse-test: make status messages to be bold
2016-11-21 11:37:51 +03:00
Alexey Milovidov
820659b71c
Fixed error in URL functions [#METR-2944].
2016-11-21 05:39:37 +03:00
Alexey Milovidov
b0fa239612
Fixed error [#METR-2944].
2016-11-21 03:56:59 +03:00
Alexey Milovidov
ef3fb70123
Fixed error [#METR-2944].
2016-11-21 03:36:50 +03:00
Alexey Milovidov
e2b8236cf4
Fixed error [#METR-2944].
2016-11-20 16:17:51 +03:00
Alexey Milovidov
43eea71930
Addition to prev. revision [#METR-2944].
2016-11-20 15:51:56 +03:00
Alexey Milovidov
8236fd2076
Addition to prev. revision [#METR-2944].
2016-11-20 15:46:32 +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
Alexey Milovidov
37d6ecc372
Allowed to sort one array by values of another array [#METR-23547].
2016-11-20 09:49:24 +03:00
Alexey Milovidov
23257cd562
Added functions arraySort and arrayReverseSort [#METR-23547].
2016-11-20 09:44:38 +03:00
Alexey Milovidov
7c53fd5867
Miscellaneous [#METR-2944].
2016-11-20 08:48:07 +03:00
Alexey Milovidov
312ec5f817
Style [#METR-2944].
2016-11-20 08:13:55 +03:00
Alexey Milovidov
75a058fbab
Added test [#METR-23546].
2016-11-20 07:51:37 +03:00
Alexey Milovidov
126be841c6
Merge branch 'master' of github.com:yandex/ClickHouse
2016-11-20 07:49:20 +03:00
Alexey Milovidov
3a16cd3ecc
Added string concatenation operator [#METR-23546].
2016-11-20 07:47:51 +03:00
Vladimir Chebotarev
cdfcea7488
dbms: Fixed build under OS X. [#METR-21516]
2016-11-20 01:21:00 +03:00
proller
ee2d9503c8
wip
2016-11-19 03:56:15 +03:00
proller
fd3a9da076
httd dict wip
2016-11-19 03:07:58 +03:00
proller
636cbe4323
fix GET /path?params
2016-11-19 03:07:15 +03:00
proller
02b4a4aded
wip
2016-11-18 23:20:08 +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
643c2b747a
Added test [#METR-23539].
2016-11-18 11:31:46 +03:00
Alexey Milovidov
6d914bc4db
Fixed error with default value of Enum and WITH TOTALS [#METR-23539].
2016-11-18 11:29:45 +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
proller
63eaa97086
wip
2016-11-18 04:48:13 +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
d055d82777
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-17 18:34:52 +03:00
Vitaliy Lyudvichenko
51f57e7079
Small clickhouse-local fixes.
2016-11-17 16:58:21 +03:00
proller
da6f40ac12
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-17 04:09:58 +03:00
proller
cc0e0e739e
ExecutableDictionarySource ok
2016-11-17 04:09:46 +03:00
Alexey Milovidov
84b4907b2a
Merge branch 'master' of github.com:yandex/ClickHouse
2016-11-17 03:40:02 +03:00
Alexey Milovidov
942a000009
Allow to run 'clickhouse-local' program by pressing enter in source directory of server [#METR-23101].
2016-11-17 03:39:11 +03:00
Alexey Zatelepin
307e397dce
adopt server timezone in non-interactive mode also
2016-11-17 00:12:08 +00:00
Alexey Zatelepin
cbed811b95
use_client_time_zone test
2016-11-17 00:11:02 +00:00
proller
278fbbb4da
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-17 00:02:25 +03:00
proller
5c9d42d4f4
wip
2016-11-17 00:02:07 +03:00
Alexey Milovidov
a4aae7e047
Fixed ClientInfo [#METR-19471].
2016-11-16 23:46:02 +03:00
Pavel Kartavyy
3ad04a0f39
updated test for hasColumnInTable
2016-11-16 18:52:35 +03:00
Pavel Kartavyy
5d7afb7588
clickhouse-test: fix error
2016-11-16 18:52:35 +03:00
Pavel Kartavyy
edd6c25c2c
clickhouse-client: some tests has non unicode symbols in stdout
2016-11-16 18:52:35 +03:00
Pavel Kartavyy
aac646ccfc
update after review
2016-11-16 18:52:35 +03:00
Pavel Kartavyy
631d9ea0a0
add getSessionContext() const
2016-11-16 18:52:35 +03:00
Pavel Kartavyy
51cf368e1f
clickhouse-test: use termcolor for text highlighting
2016-11-16 18:52:35 +03:00
Pavel Kartavyy
09a24f2b48
clickhouse-test: fix reading of non ascii test output
2016-11-16 18:52:35 +03:00
Pavel Kartavyy
766caff3dc
add tests for hasColumnInTable [#METR-23248]
2016-11-16 18:52:35 +03:00
Pavel Kartavyy
bdb7e9745b
add hasColumnInTable function [#METR-23248]
2016-11-16 18:52:35 +03:00
Alexey Milovidov
c6c94cbcef
Added missing modification [#METR-23505].
2016-11-16 09:15:38 +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
5f5407db26
Merge branch 'master' of github.com:yandex/ClickHouse
2016-11-16 08:05:29 +03:00
Alexey Milovidov
bee6183d35
Fixed error [#METR-2944].
2016-11-16 08:05:14 +03:00
Alexey Milovidov
bade1519ba
Fixed 'variable tracking size limit exceeded' notice [#METR-23101].
2016-11-16 05:51:00 +03:00
alexey-milovidov
3432f84409
Merge pull request #183 from ztlpn/METR-23447
...
Client uses server timezone for interpreting DateTime strings [#METR-23447]
2016-11-16 05:22:28 +04:00
proller
099edebc28
wip
2016-11-16 03:34:57 +03:00
proller
d56fc2fd39
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-16 02:56:08 +03:00
proller
8fec8e2ac4
simple get works
2016-11-16 02:55:45 +03:00
Vitaliy Lyudvichenko
4cd2909899
Merged new packages into clickhouse-client.
...
More detail diagnostic for test.
2016-11-16 02:49:27 +03:00
proller
60ec3506a9
wip
2016-11-16 01:05:49 +03:00
proller
593e3c26bf
initial
2016-11-15 22:51:06 +03:00
Alexey Zatelepin
e1bb33cad0
PR fixes:
...
* add forgotten const
* print exception string if switching to server timezone failed
* protocol compatibility with old versions
* use ALWAYS_INLINE in DateLUT.h
2016-11-15 10:24:55 +00:00
alexey-milovidov
1afac6a36c
Merge pull request #187 from ludv1x/METR-23101
...
Removed binary stripping, try to fix clickhouse-local test.
2016-11-15 02:52:43 +04:00
Vitaliy Lyudvichenko
26fe84b3d0
Removed binary stripping, try to fix clickhouse-local test.
2016-11-15 00:58:17 +03:00
Alexey Milovidov
0dfb616093
Merge branch 'master' of github.com:yandex/ClickHouse
2016-11-14 23:32:33 +03:00
alexey-milovidov
eb6605bf17
Merge pull request #186 from ludv1x/METR-23101
...
Fixed debian build install.
2016-11-14 23:29:28 +04:00
Vitaliy Lyudvichenko
73e5f828f4
Fixed debian build install.
2016-11-14 22:14:11 +03:00
Alexey Milovidov
e7fccc4044
Modified backpressure method for MergeTree [#METR-23488].
2016-11-14 21:19:08 +03:00
alexey-milovidov
56e7e380ca
Merge pull request #185 from ludv1x/METR-23101
...
Fixed debian package build.
2016-11-14 19:58:33 +04:00
Vitaliy Lyudvichenko
bfbe8f8ed1
Fixed debian package build.
2016-11-14 18:32:55 +03:00
Alexey Milovidov
eb1ae65eda
Fixed error with analyzing double-distributed subqueries [#METR-23472].
2016-11-14 04:13:56 +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 Zatelepin
3a7260e200
[#METR-23447] Client uses server timezone for DateTime string parsing
2016-11-13 19:34:31 +00:00
Alexey Milovidov
bfdc262f87
Added comment [#METR-23472].
2016-11-13 05:25:03 +03:00
Alexey Milovidov
be7cc18d00
Fixing bad test [#METR-23472].
2016-11-13 05:19:38 +03:00
artpaul
e1cda4b760
move impl of common parsers to cpp
2016-11-12 22:55:40 +05:00
artpaul
c617565f3b
q!Merge branch 'master' of git://github.com/yandex/ClickHouse
2016-11-12 21:04:38 +05:00
artpaul
b5ad7c021b
fix clang: remove unused variable
2016-11-12 21:03:44 +05:00
Alexey Milovidov
5b72f0956a
Setting level to zero after ATTACH [#METR-23438].
2016-11-11 20:33:43 +03:00
artpaul
1e34e7a15c
move some impl details of DistinctBlockInputStream to cpp
2016-11-11 02:24:40 +05:00
Vitaliy Lyudvichenko
c05f512637
Merged server, client and local into single binary, more args for local mode.
2016-11-09 22:06:29 +03:00
Vitaliy Lyudvichenko
bae8c7edf8
Added more command line features and docs. Fixed queries splitting.
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
9ae568e51f
Added fix after rebase, and recognition of local mode by argv[0].
2016-11-09 22:05:35 +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
05620299cd
Reverted changes in main Server and BaseDaemon classes.
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
d952dd39b0
Merged clickhouse-server and clickhouse-local into common app.
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
48a3d25f99
Implemented tiny clickhouse-local app.
2016-11-09 22:03:47 +03:00
Vitaliy Lyudvichenko
cf24f6e2d1
Implemented draft version of clickhouse-local service.
2016-11-09 22:03:47 +03:00
Vitaliy Lyudvichenko
0e2eb5436b
Added StorageFile and template for clickhouse-local app.
2016-11-09 22:03:47 +03:00
Vladimir Chebotarev
cdaece7dfa
: More specific usage of static libraries. [#METR-21516]
2016-11-09 21:49:01 +03:00
Alexey Milovidov
34a9af27bf
Inreased default ALTERs safety threshold [#METR-2944].
2016-11-09 17:14:39 +03:00
alexey-milovidov
5905556db5
Merge pull request #161 from yandex/chebotarev-osx
...
dbms: max_open_files for server. [#METR-21516]
2016-11-07 22:44:35 +04:00
Vladimir Chebotarev
72a533bc11
dbms: max_open_files for server, readline in OS X. [#METR-21516]
2016-11-07 14:33:25 +03:00
Alexey Milovidov
efa056fc77
Attempt to improve merge selecting algorithm [#METR-21840].
2016-11-05 04:11:51 +03:00
alexey-milovidov
3d05948c45
Merge pull request #159 from yandex/chebotarev-osx
...
[WIP] OS X 10.12 build
2016-11-03 21:14:30 +04:00
Vladimir Chebotarev
e2ceb63c54
libcommon, libre2, tools: Fixed build under OS X Sierra. [#METR-21516]
2016-11-03 15:41:13 +03:00
Alexey Milovidov
8ba7a32410
Fixed error with BackgroundProcesssingPool [#METRIKASUPP-7484].
2016-11-02 18:26:16 +03:00
Alexey Milovidov
621da9c2f7
Added test [#METR-22971].
2016-11-02 00:10:22 +03:00
Alexey Milovidov
5af20c3dd2
Fixed error with ColumnAggregateFunction [#METR-22971].
2016-11-02 00:06:41 +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
751f3913ee
Fixed build [#METR-20000].
2016-11-01 20:56:25 +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
48f14be32b
RegionsHierarchy: fix for negative type [#METR-20000].
2016-11-01 17:55:58 +03:00
Alexey Milovidov
bdde1b05cc
Returned support of (ignored) negative region ids or parent region ids in regions embedded dictionaries [#MTRSADMIN-2425].
2016-11-01 15:57:58 +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
b7f635d8df
Merge selector: development [#METR-21840].
2016-10-30 12:13:30 +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
e5539af681
Merge branch 'master' into merge-selector
2016-10-29 22:47:34 +03:00
Alexey Milovidov
024799acee
Fixed error in Poco::UTF8Encoding::isLegal function [#METR-23332].
2016-10-29 20:15:43 +03:00
Alexey Milovidov
ebbe877a70
Preparation [#METR-23332].
2016-10-29 20:13:35 +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
f9eb536825
RegionsHierarchy: improvement [#METR-20000].
2016-10-27 20:53:47 +03:00
Alexey Milovidov
e9067a5f2d
Merge branch 'master' of github.com:yandex/ClickHouse
2016-10-27 20:48:32 +03:00
Alexey Milovidov
968bcb6f66
Preparation [#METR-2944].
2016-10-27 20:48:12 +03:00
alexey-milovidov
77e3d75ca0
Merge pull request #153 from ludv1x/METR-23285
...
Fixed segfaults in quantiles* functions with empty levels set.
2016-10-27 19:17:10 +04:00
Vitaliy Lyudvichenko
07f4bfc844
Fixed segfaults in quantiles* functions with empty levels set. [#METR-23285]
2016-10-27 17:51:43 +03:00
Alexey Milovidov
350f73da02
Fixed error in Dictionaries [#METR-20000].
2016-10-27 16:04:49 +03:00
Alexey Milovidov
f6f92cb7bc
Fixed error with falsely reported large memory consumption of long running INSERT queries [#METR-23288].
2016-10-25 17:22:10 +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
c2fa56b905
ClientInfo: fixes [#METR-23279].
2016-10-25 08:07:29 +03:00
Alexey Milovidov
3a5300b8d1
Addition to prev. revision [#METR-23279].
2016-10-25 01:46:27 +03:00
Alexey Milovidov
72f0dba30d
Addition to prev. revision [#METR-23279].
2016-10-25 01:33:40 +03:00
Alexey Milovidov
1527176378
Addition to prev. revision [#METR-23279].
2016-10-25 01:30:51 +03:00
Alexey Milovidov
a081f5f05b
Addition to prev. revision [#METR-23279].
2016-10-25 01:11:36 +03:00
Alexey Milovidov
61646cbd01
Addition to prev. revision [#METR-23279].
2016-10-25 00:53:12 +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
9373b87639
Added missing malloc metrics [#METR-23231].
2016-10-24 11:03:25 +03:00
Alexey Milovidov
5b562c63d5
Addition to prev. revision [#METR-23231].
2016-10-24 09:08:53 +03:00
Alexey Milovidov
ff661a8492
Added tcmalloc-related metrics [#METR-23231].
2016-10-24 08:40:00 +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
de479eb36a
Comment [#METR-2944].
2016-10-24 06:08:56 +03:00
Alexey Milovidov
fefb714b76
Tiny modification [#METR-2944].
2016-10-24 06:07:58 +03:00
Alexey Milovidov
cac493d0a0
Addition to prev. revision [#METR-23237].
2016-10-24 05:06:52 +03:00
Alexey Milovidov
32eeb84992
Merge branch 'master' of github.com:yandex/ClickHouse
2016-10-24 05:03:22 +03:00
Alexey Milovidov
9af5ce1e3b
Separate compilation of ProfileEvents; comments [#METR-23237].
2016-10-24 05:02:37 +03:00
f1yegor
af01f6fdcc
translate config.xml and MergeTreeSettings.h
2016-10-23 22:13:10 +02:00
Alexey Milovidov
4d9b3fd3ee
Better [#METR-23198].
2016-10-23 13:59:53 +03:00
Alexey Milovidov
692bb379e3
Fixes; faster shutdown [#METR-23237].
2016-10-23 13:52:32 +03:00
Alexey Milovidov
181c2302fc
Addition to prev. revision [#METR-23237].
2016-10-23 13:34:11 +03:00
Alexey Milovidov
6c9dea8a8b
Addition to prev. revision [#METR-23237].
2016-10-23 09:38:53 +03:00
Alexey Milovidov
be84b78b93
Added actively updating metrics [#METR-23237].
2016-10-23 09:12:50 +03:00
Alexey Milovidov
f05fa7695a
Removed useless code [#METR-2944].
2016-10-23 08:37:45 +03:00
Alexey Milovidov
afcd933237
Probably better [#METR-23198].
2016-10-23 06:46:51 +03:00
Alexey Arno
27fbef6ace
dbms: Server: renaming [#METR-19266]
2016-10-21 19:55:34 +03:00
Alexey Arno
a75cfb6df5
Merge branch 'master' into METR-19266 [#METR-19266]
2016-10-21 19:53:35 +03:00
Alexey Arno
8a0ecc3587
dbms: Server: Added nullable support for sets [#METR-19266]
2016-10-21 19:50:41 +03:00
Alexey Arno
38f4ebade8
dbms: Server: fixes [#METR-19266]
2016-10-21 17:57:43 +03:00
Alexey Arno
55bb0f00b7
dbms: Server: fixes [#METR-19266]
2016-10-21 17:15:25 +03:00
Alexey Arno
c8cc8948d6
dbms: Server: fixes [#METR-19266]
2016-10-21 16:38:26 +03:00
Alexey Arno
ef2dd96ee4
dbms: Server: fixes [#METR-19266]
2016-10-21 16:14:41 +03:00
Alexey Milovidov
15bf61c367
Fixed part of error [#METR-23198].
2016-10-21 04:44:57 +03:00
Alexey Milovidov
0a318a5f16
Comments [#METR-20000].
2016-10-21 03:19:49 +03:00
Alexey Arno
88ddba2782
dbms: Server: added forgotten changes [#METR-19266]
2016-10-20 16:09:49 +03:00
Alexey Arno
d64529ca15
dbms: Server: fixes + tests update [#METR-19266]
2016-10-20 15:58:18 +03:00
Alexey Arno
8dede69eb3
dbms: Server: updated comment [#METR-19266]
2016-10-20 13:16:19 +03:00
Alexey Arno
3792a9f302
dbms: Server: fixes [#METR-19266]
2016-10-20 13:13:07 +03:00
Alexey Milovidov
f373b500d4
Fixed error in 'firstSignificantSubdomain' function [#METR-20000].
2016-10-20 08:21:49 +03:00
Alexey Milovidov
955783e409
Fixed test [#METR-20000].
2016-10-20 07:51:01 +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
cca054f148
dbms: Server: renaming [#METR-19266]
2016-10-19 11:26:51 +03:00
Alexey Arno
b5ff08bce6
dbms: Server: semantic cleanup [#METR-19266]
2016-10-19 10:15:26 +03:00
Alexey Milovidov
1ab55df9ff
Merge branch 'master' of github.com:yandex/ClickHouse
2016-10-18 22:32:46 +03:00
Alexey Milovidov
5e61b96b8d
Comments [#METR-20000].
2016-10-18 22:32:32 +03:00
Alexey Arno
e1099f47cb
dbms: Server: fix [#METR-19266]
2016-10-18 22:31:07 +03:00
Alexey Arno
abe75277a3
dbms: Server: cleanup [#METR-19266]
2016-10-18 20:04:07 +03:00
Alexey Arno
a4f2f74b8e
dbms: Server: changes to make the code a tad more readable [#METR-19266]
2016-10-18 15:36:36 +03:00
Alexey Arno
2a0c842966
dbms: Server: added support for aggregation with nullable keys [#METR-19266]
2016-10-18 13:09:48 +03:00
Vitaliy Lyudvichenko
43f0ac7a93
Fixed Debug build.
2016-10-17 13:32:30 +03:00
Alexey Milovidov
b1f551d5ba
Client: Don't exit (only break) at first error in interactive mode when processing multiple queries in one command [#METR-19563].
2016-10-15 03:38:59 +03:00
Alexey Milovidov
ff56176f4a
Fixed error in ALTER of MATERIALIZED VIEW's inner tables [#METR-22052].
2016-10-15 03:04:58 +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
alexey-milovidov
8e3b8abf83
Merge pull request #136 from ludv1x/METR-22966
...
Fixed client port test
2016-10-14 18:01:48 +04:00
Vitaliy Lyudvichenko
669e2982a5
Made merge_selecting_thread creation & deletion atomic. [#METR-22471]
2016-10-14 14:47:11 +03:00
Vitaliy Lyudvichenko
fcd8b72eac
Fixed port test. [#METR-22966]
...
curl was muted.
2016-10-14 13:52:20 +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
Alexey Milovidov
4bd127a883
Added creation of database directories at startup [#METR-2944].
2016-10-13 23:01:18 +03:00
Vitaliy Lyudvichenko
144d9018ba
Added port column into system.processes table. [#METR-22966]
2016-10-11 22:01:55 +03:00
Vitaliy Lyudvichenko
857719b3e5
Renamed UsersConfigReloader -> ConfigReloader. [#METR-22802]
2016-10-11 19:20:42 +03:00
Vitaliy Lyudvichenko
ebbc9b9877
Added abilty to automatically update clusters configuration. [#METR-22802]
2016-10-11 17:17:49 +03:00
Vitaliy Lyudvichenko
311f1b1bb9
Replaced IConnectionPool * -> ConnectionPoolPtr to avoid mangling references after Context update.
2016-10-11 15:07:42 +03:00
Vitaliy Lyudvichenko
3451223408
Fixed test build after change of JSON output formats API.
2016-10-10 12:04:56 +03:00
Vladimir Chebotarev
d09297a840
cmake: Minor fix. [#METR-21516]
2016-10-07 17:56:52 +03:00
Vitaliy Lyudvichenko
a29ee13702
Fixed compilation error after inaccurate renaming of force_quoting parametr. [#METR-22950]
2016-10-04 19:38:22 +03:00
Vitaliy Lyudvichenko
c3617aaa32
Added docs for output_format_json_quote_64bit_integers parameter. [#METR-22950]
2016-09-30 21:21:58 +03:00
Vitaliy Lyudvichenko
4c242e8a4d
Added output_format_json_quote_64bit_integers new config option.
2016-09-30 19:02:16 +03:00
Vitaliy Lyudvichenko
6375e4999c
Small refinement of recently added tests.
2016-09-30 16:40:26 +03:00
alexey-milovidov
22c79b54fa
Merge pull request #122 from ludv1x/benchmark-enhancement
...
clickhouse-benchmark enhancements
2016-09-30 17:20:27 +04:00
Vitaliy Lyudvichenko
861d5e9755
Small refinements of benchmark's code.
2016-09-30 15:41:23 +03:00
alexey-milovidov
5ea36a550c
Merge pull request #123 from yandex/METR-22935
...
dbms: Server: Bug fix. Now the functions toStartOfHour/toStartOfMinut…
2016-09-29 23:57:05 +04:00
alexey-milovidov
3296310a9d
Merge pull request #116 from ludv1x/METR-22071
...
More datatypes for groupUniqArray() function [#METR-22071]
2016-09-29 23:53:18 +04:00
Vitaliy Lyudvichenko
c2d5595c3d
Added more tests for groupUniqArray() function. [#METR-22071]
2016-09-29 16:19:43 +03:00
Alexey Arno
0ad504e4dd
dbms: Server: Bug fix. Now the functions toStartOfHour/toStartOfMinute/toStartOfFiveMinute correctly take into account the time zone parameter. [#METR-22935]
2016-09-29 13:00:37 +03:00
alexey-milovidov
30c4b21a50
Merge pull request #121 from ludv1x/METR-22801
...
Ability to skip columns with unknown names from input JSON data [#METR-22801]
2016-09-28 22:49:50 +04:00
Vitaliy Lyudvichenko
f3d70eb87c
Added test for JSONEachRow format. [#METR-22801]
2016-09-28 21:45:28 +03:00
Vitaliy Lyudvichenko
745c2e0686
Added clickhouse-benchmark enhancements.
2016-09-28 19:49:59 +03:00
Vitaliy Lyudvichenko
a3d72db2aa
Added allocatesMemoryInArena() method for aggregate functions.
...
Fixed runningAccumulate, now it works properly for complex functions.
More accurate threads handling in Aggregator.
2016-09-28 16:28:55 +03:00
Vitaliy Lyudvichenko
3c045e1545
Added ability to skip plain JSON arrays. [#METR-22801]
2016-09-28 16:14:28 +03:00
Alexey Milovidov
01c8ed01b9
Added resharding element to config [#METR-22916].
2016-09-28 07:50:19 +03:00
Vitaliy Lyudvichenko
68dffa3970
Added docs for introduced changes. [#METR-22801]
2016-09-28 01:51:36 +03:00
Vitaliy Lyudvichenko
c4666af3ab
Add input_format_skip_unknown_fields new config parameter. [#METR-22801]
2016-09-28 01:44:45 +03:00
Alexey Milovidov
0515bee021
Fixed error [#METR-22876].
2016-09-26 16:40:02 +03:00
Vitaliy Lyudvichenko
7103157b1b
Added simple test for groupUniqArray(String). [#METR-22071]
...
Also reverted Benchmark.cpp it will be added in separate PR.
2016-09-26 15:43:20 +03:00
Vitaliy Lyudvichenko
80f037b12e
Added arena parameter into merge() method of aggregation function states. [#METR-22071]
2016-09-26 15:42:40 +03:00
Alexey Milovidov
d71d53fc1a
Fixed error [#METR-22876].
2016-09-26 13:15:33 +03:00
Alexey Milovidov
1d836b2bf8
Addition to prev. revision [#METR-2944].
2016-09-23 23:41:14 +03:00
Alexey Milovidov
6b2755bf2a
Non significant change [#METR-2944].
2016-09-23 23:33:06 +03:00
Vitaliy Lyudvichenko
946a037f71
Added requested changes. [#METR-22071]
2016-09-23 14:24:48 +03:00
Alexey Milovidov
5d53f21418
Addition to prev. revision [#METR-22869].
2016-09-23 08:54:57 +03:00
Alexey Milovidov
ebacdf3144
Trying to fix stuck in external aggregation [#METR-22869].
2016-09-23 08:49:55 +03:00
Alexey Milovidov
2cceb41877
Fixed error with anyLastIf function [#MARKETHEALTH-550].
2016-09-23 06:44:51 +03:00
Alexey Milovidov
5d6d86c625
Renamed test [#METR-22301].
2016-09-23 05:09:23 +03:00
Alexey Milovidov
95fc632f41
Added test [#METR-22301].
2016-09-23 04:18:46 +03:00
Alexey Milovidov
9120776fe1
Added support of aggregation by tuple keys even if tuples was not flattened in ExpressionAnalyzer [#METR-22301].
2016-09-23 01:58:55 +03:00
alexey-milovidov
f252110afd
Merge pull request #113 from yandex/metrika-sync-3
...
Metrika sync 3
2016-09-22 00:55:43 +04:00
Vitaliy Lyudvichenko
37ed6a3038
Fixed dynamic complation errors. [#METR-22071]
2016-09-21 20:13:32 +03:00
Vitaliy Lyudvichenko
451a4b1d67
Added new Arena parameter to add() method of IAggregateFunction. [#METR-22071]
2016-09-21 20:13:32 +03:00
Vitaliy Lyudvichenko
0a93de0727
Leave only HashSet implementation. [#METR-22071]
2016-09-21 20:13:32 +03:00
Vitaliy Lyudvichenko
924075621e
Added three experimental implementations for groupUniqArray() aggregate function. [#METR-22071]
2016-09-21 20:13:32 +03:00
Alexey Milovidov
ec4b7c967d
Merge branch 'master' of github.com:yandex/ClickHouse
2016-09-21 18:23:15 +03:00
Alexey Milovidov
d3a38e7cfe
Allow to omit tcp_port or http_port in config [#METR-22844].
2016-09-21 18:22:38 +03:00
Alexey Arno
2feb831a52
dbms: Server: Updated functional test. [#METR-22842]
2016-09-21 18:10:06 +03:00
Alexey Arno
0c478b8fe6
dbms: Server: Bug fix [#METR-22842]
2016-09-21 17:26:17 +03:00
Alexey Arno
9fc95c5093
dbms: Server: better [#METR-19266]
2016-09-21 15:51:11 +03:00
Alexey Arno
cc43b1b165
dbms: Server: better [#METR-19266]
2016-09-21 15:31:50 +03:00
Alexey Arno
a1da591237
dbms: Server: Fixed display of arrays . [#METR-19266]
2016-09-21 14:00:04 +03:00
Alexey Arno
bd53eb8054
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-21 11:24:48 +03:00
Alexey Arno
bad88a8062
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-20 19:59:14 +03:00
Alexey Arno
9ceac9ac31
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-20 18:59:47 +03:00
Alexey Arno
1ade2397e4
dbms: Server: better [#METR-19266]
2016-09-20 17:57:22 +03:00
Alexey Arno
af84b22697
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-20 17:12:15 +03:00
Alexey Arno
045169a065
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-20 16:51:45 +03:00
Alexey Arno
a38fef4c60
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-20 10:27:45 +03:00
Alexey Arno
58fec71f0f
dbms: Server: Do not pay attention to this commit. [#METR-19266]
2016-09-19 19:57:52 +03:00
Alexey Arno
dd300f6618
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-19 19:04:53 +03:00
Alexey Arno
89bc411ab1
dbms: Server: Bug fix. [#METR-19266]
2016-09-19 17:50:56 +03:00
Alexey Arno
c81eb1d730
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-19 12:40:17 +03:00
Alexey Arno
94187aff43
Merge branch 'METR-19266' of github.com:yandex/ClickHouse into METR-19266 [#METR-19266]
2016-09-19 11:46:54 +03:00
Alexey Arno
8718c95e1e
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-19 11:46:48 +03:00
Alexey Arno
85383ab7bf
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-19 11:20:10 +03:00
Alexey Milovidov
365be3c026
Fixed warning with gcc 6 [#METR-2944].
2016-09-19 09:24:18 +03:00
Alexey Milovidov
2dd04b39f7
Enabling parallel merging of intermediate aggregation results in memory efficient mode [#METR-22237].
2016-09-19 09:02:42 +03:00
Alexey Milovidov
891a0ea06e
Addition to prev. revision [#METR-22237].
2016-09-19 08:24:49 +03:00
Alexey Milovidov
8d70fd4d51
MergingAggregatedMemoryEfficient: clarifications, probably fixed error with aggregation_memory_efficient_merge_threads > 1 [#METR-22237].
2016-09-19 08:01:32 +03:00
Alexey Milovidov
6dd008a034
Added 'runningDifference' function [#METR-22730].
2016-09-17 01:00:30 +03:00
Alexey Arno
16f8f33051
dbms: Server: a little better [#METR-19266]
2016-09-16 22:55:29 +03:00
Alexey Arno
10770bc921
dbms: Server: Fixed typo. [#METR-19266]
2016-09-16 21:47:46 +03:00
Alexey Arno
e0347308b9
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-16 19:11:36 +03:00
Alexey Arno
11484598e3
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-16 00:55:07 +03:00
Alexey Arno
5a7b98d29a
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-16 00:27:34 +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
Alexander Prudaev
174b9a806d
merge clickhouse into metrika repo
2016-09-14 16:20:17 +03:00
alexey-milovidov
4066071f4c
Merge pull request #106 from ludv1x/METR-22050
...
Adaptive time intervals for embedded dictionaries loading [#METR-22050].
2016-09-13 23:06:57 +04:00
Alexander Prudaev
5d5bb88118
columnar-appender-common: fix PoolWithFailOver [#METR-20682].
2016-09-13 19:00:47 +03:00
Alexander Prudaev
d376a81692
columnar-appender-common: fix PoolWithFailOver [#METR-20682].
2016-09-13 19:00:47 +03:00
Vitaliy Lyudvichenko
e966044634
Avoid reloading of loaded dicts on fast start stage
2016-09-13 16:44:35 +03:00
alexey-milovidov
39d256c619
Merge pull request #105 from ludv1x/METR-22593
...
metadata_modification_time column for system.tables [#METR-22593].
2016-09-13 05:05:09 +04:00
Alexey Arno
59043c680e
dbms: Server: Ongoing work. Do not pay attention. [#METR-19266]
2016-09-12 17:16:21 +03:00
Alexey Arno
91636a981f
dbms: Server: unfinished work. Do not pay attention to this. [#METR-19266]
2016-09-12 01:03:26 +03:00
Alexey Arno
b7ca838dc0
dbms: Server: cleanups [#METR-19266]
2016-09-11 13:06:34 +03:00
Alexey Arno
ef7eb14979
dbms: Server: Adding nullable types support for arrays. Ongoing. [#METR-19266]
2016-09-11 10:40:47 +03:00
Eugene Konkov
1c983b2872
save each test result to separate junit xml file in order to keep results of performed tests in case of aborted script
2016-09-06 18:47:24 +03:00
Vitaliy Lyudvichenko
e7507afb99
Adaptive time intervals for embedded dictionaries loading [#METR-22050].
2016-09-05 21:55:23 +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
9a724ce07b
Merge branch 'master' of github.com:yandex/ClickHouse
2016-09-04 20:24:12 +03:00
Alexey Milovidov
469eebe4f0
Investigation [#METR-2944].
2016-09-04 20:12:07 +03:00
Alexey Milovidov
3ed7b86e7b
More convenient behaviour when user writes 'toDate(1111111111.)' (passes unix timestamp as float) [#METR-2944].
2016-09-04 03:42:24 +03:00
Alexey Milovidov
4d65dd3b37
Get rid of buggy code (that coincidently was useless too) [#METR-2944].
2016-09-04 03:01:48 +03:00
Eugene Konkov
a45a8ca9d0
Add test case timeout [#METRIQA-248]
2016-09-02 19:27:12 +03:00
Alexey Arno
443613c153
dbms: Fixed bug in ALTER TABLE ... MODIFY COLUMN. [#METR-19622]
2016-09-02 18:43:43 +03:00
Eugene Konkov
ae1edc4197
fix console output
2016-09-02 16:15:01 +03:00
Alexey Milovidov
322e5031bd
Investigation [#METR-22327].
2016-09-02 07:03:40 +03:00
Alexey Milovidov
5cdc330273
Fixed error [#METR-22625].
2016-09-02 05:58:59 +03:00
Alexey Milovidov
344e975a59
Temporarily improvement [#METR-22608].
2016-09-02 03:58:18 +03:00
Alexey Milovidov
9a8105b952
Removed obsolete tests [#METR-2807].
2016-09-01 22:33:03 +03:00
Alexey Milovidov
3978358e74
Fixed error [#METR-22462].
2016-09-01 21:55:13 +03:00
Alexey Milovidov
5cea0bb822
Fixed error [#METR-22462].
2016-09-01 21:45:45 +03:00
Alexey Milovidov
3656f0efe2
Fixed error in test [#METR-2807].
2016-09-01 20:58:40 +03:00
Eugene Konkov
08cbd95290
Write junit-compatible xml report to file specified with --output argument.
2016-09-01 20:40:02 +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 Arno
6c064ab55b
dbms: Better comment [#METR-18510]
2016-09-01 13:24:06 +03:00
Alexey Arno
18930e5bb5
dbms: Better. [#METR-18510]
2016-09-01 11:19:19 +03:00
Alexey Milovidov
0db84044e5
Better [#METR-22608].
2016-09-01 05:26:45 +03:00
Alexey Arno
5dc3b28774
dbms: Fixed deadlock. [#METR-18510]
2016-08-31 19:42:04 +03:00
alexey-milovidov
4e0fc72505
Merge pull request #99 from smi2/master
...
CORS hearder test
2016-08-31 01:33:46 +04:00
igor
c04e82263d
CORS header test, fix grep
2016-08-30 23:53:59 +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
b0834368c0
dbms: Added support for the construction CAST(NULL, Nullable(T)). This fixes the behavior of tables which have columns whose default value is NULL. [#METR-19266]
2016-08-30 19:14:05 +03:00
igor
9c66d18cb5
CORS hearder test
2016-08-30 09:25:24 +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
31fcf61ee0
Fixed error [#METR-22462].
2016-08-26 22:51:25 +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
8dd6acac59
Added comment [#METR-22482].
2016-08-26 20:57:19 +03:00
Alexey Milovidov
b85dc1bc0f
convertCharset: development [#METR-22482].
2016-08-26 05:24:17 +03:00
Alexey Milovidov
6e91f49d4c
Addition to prev. revision [#METR-22482].
2016-08-26 00:47:45 +03:00
Alexey Milovidov
d9db19acea
Function 'convertCharset': development [#METR-22482].
2016-08-26 00:44:47 +03:00
alexey-milovidov
cbabbb0bc4
Merge pull request #93 from yurial/yurial-fix-dictHas-METR-22522
...
use 'std::vector<bool> loaded_ids' for FlatDictionary::has()
2016-08-26 00:13:27 +04:00
Yuri Dyachenko
06032a6737
use 'std::vector<bool> loaded_ids' for FlatDictionary::has()
2016-08-25 23:09:58 +03:00
Alexey Arno
4c8d5b1630
dbms: fixed issue with columns having default values [#METR-19266]
2016-08-25 23:01:36 +03:00
Alexey Milovidov
689f599e2a
Fixed error, removed partially duplicate code [#METR-22462].
2016-08-25 20:23:29 +03:00
Alexey Arno
e75a45db66
dbms: typo fix [#METR-19266]
2016-08-25 18:51:18 +03:00
Alexey Milovidov
416a74575e
Merge branch 'master' of github.com:yandex/ClickHouse
2016-08-25 18:50:17 +03:00
Alexey Milovidov
a3953de0b8
Removed useless files (preparation) [#METR-22462].
2016-08-25 18:48:25 +03:00
Alexey Arno
06f2bb52f0
dbms: Added functional test for nullable-specific functionality. [#METR-19266]
2016-08-25 18:13:05 +03:00
Yuri Dyachenko
c3697364fd
enable debug symbols for CMAKE_BUILD_TYPE=Debug
2016-08-25 17:58:01 +03:00
Alexey Arno
27e095f095
dbms: Do not allow inserting NULLs into non-nullable columns [#METR-19266]
2016-08-25 17:04:26 +03:00
Alexey Arno
4b71823b49
dbms: better [#METR-19266]
2016-08-25 16:24:06 +03:00
Alexey Arno
ae2d8d9adb
dbms: better [#METR-19266]
2016-08-25 16:23:24 +03:00
Alexey Arno
d4da820f6c
dbms: Allow INSERT when source columns and target columns have compatible types up to nullability. [#METR-19266]
2016-08-25 15:38:47 +03:00
Alexey Arno
d4e5cd2004
dbms: Fixed issues with INSERT. [#METR-19266]
2016-08-24 19:52:17 +03:00
Alexey Arno
6a036bad4f
dbms: Fixed issues with INSERT. [#METR-19266]
2016-08-24 19:02:34 +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
igor
3bbbdb29f5
Add CORS hearder,param:add_http_cors_header and check request header
2016-08-23 21:35:23 +03:00
alexey-milovidov
9148209bc2
Merge pull request #80 from yandex/metrica-sync2
...
Metrica sync2
2016-08-23 18:18:19 +04:00
Pavel Kartavyy
6647ba628f
ConcurrentBoundedQueue: move if nothrow assign possible. copy otherwise
2016-08-23 17:01:45 +03:00
Pavel Kartavyy
457109ac71
ColumnVector: renamed get() to getElement()
2016-08-23 15:58:49 +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
Pavel Kartavyy
2032acd557
Merge commit 'e960efd5e63e4de51151724db92e6c2548aa88d9'
...
Conflicts:
metrica/src/ClickHouse/libs/libdaemon/include/daemon/GraphiteWriter.h
metrica/src/ClickHouse/libs/libdaemon/src/GraphiteWriter.cpp
2016-08-22 17:22:27 +03:00
Alexey Milovidov
22b57b060c
Fixed error [#METR-22304].
2016-08-20 23:10:47 +03:00
Alexey Milovidov
d76514fbe1
Added test [#METR-22329].
2016-08-20 20:19:06 +03:00
Alexey Milovidov
902c70bfa9
Fixed error with duplicate columns in subqueries [#METR-22381].
2016-08-20 20:10:00 +03:00
Alexey Milovidov
2c16a4ad2a
Removed unused method [#METR-2944].
2016-08-20 17:34:34 +03:00
Pavel Kartavyy
6e7bb0cd65
Merge branch 'master' into METR-19530
...
Conflicts:
metrica/src/CMakeLists.txt
metrica/src/ClickHouse/libs/libdaemon/include/daemon/GraphiteWriter.h
metrica/src/ClickHouse/libs/libdaemon/src/GraphiteWriter.cpp
metrica/src/libs/CMakeLists.txt
metrica/src/libs/liblogbroker-client/src/LogBroker.cpp
metrica/src/libs/liblogbroker-log-import/include/logbroker-log-import/LogBrokerLogImportTask-inl.h
metrica/src/libs/libstatdaemons/include/statdaemons/write_destinations/ClickHouseCluster.h
metrica/src/programs/cleanerd/src/config.xml
metrica/src/programs/deduplicatord/src/Task.cpp
metrica/src/programs/visit-log-processor/src/VisitLogHandler.h
metrica/src/tools/ssqls/templates/header.tpl
2016-08-19 17:15:58 +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 Milovidov
e960efd5e6
Changed semantic of intDiv, intDivOrZero functions for floating point arguments [#METR-19446].
2016-08-19 06:17:53 +03:00
Alexey Milovidov
06bcc34be2
Don't do DNS requests for each fetch from replica [#METR-22304].
2016-08-19 04:54:23 +03:00
Alexey Milovidov
374b2bc356
Client: fixed error that 'format' command line option was collided between common arguments and arguments for external tables [#METR-22057].
2016-08-19 00:00:00 +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
e822631310
dbms: cleanup [#METR-19266]
2016-08-18 18:58:46 +03:00
Alexey Arno
e138621b7c
dbms: improvements [#METR-19266]
2016-08-18 17:33:56 +03:00
Alexey Arno
f65e7b4a0f
dbms: improvements [#METR-19266]
2016-08-18 17:25:02 +03:00
Pavel Kartavyy
9c8697655e
build: fix build after merge with clickhouse repo
2016-08-18 14:17:07 +03:00
Alexey Milovidov
80e8c38c28
Addition [#METR-22400].
2016-08-18 02:02:50 +03:00
Alexey Milovidov
349d303558
Addition to prev. revision [#METR-22400].
2016-08-17 23:17:16 +03:00
Alexey Milovidov
a50c733345
Make tests deterministic [#METR-22400].
2016-08-17 23:03:22 +03:00
Alexey Arno
da06da5528
dbms: cleanup [#METR-19266]
2016-08-17 20:35:54 +03:00
Alexey Arno
fd2225e1fb
dbms: cleanup [#METR-19266]
2016-08-17 20:20:21 +03:00
Alexey Arno
8b9742431e
dbms: cleanup [#METR-19266]
2016-08-17 19:31:00 +03:00
Alexey Arno
c4f348619d
dbms: cleanup [#METR-19266]
2016-08-17 16:38:33 +03:00
Alexey Arno
74ccf71a2a
dbms: cleanup [#METR-19266]
2016-08-17 14:54:21 +03:00
Alexey Milovidov
e387d94275
More verbose error message when conversion function cannot parse value from string [#METR-22408].
2016-08-17 10:51:39 +03:00
Alexey Milovidov
09563dc4da
More verbose error message when conversion function cannot parse value from string [#METR-22408].
2016-08-17 10:47:03 +03:00
Alexey Milovidov
1d6e77fd9b
More verbose error message when conversion function cannot parse value from string [#METR-22408].
2016-08-17 10:41:44 +03:00
Alexey Milovidov
dc0f76bc87
More verbose error message when conversion function cannot parse value from string [#METR-22408].
2016-08-17 10:40:06 +03:00
Alexey Milovidov
d713c2971d
More verbose error message when conversion function cannot parse value from string [#METR-22408].
2016-08-17 10:02:00 +03:00
Alexey Milovidov
cafd27c496
More verbose error message when conversion function cannot parse value from string [#METR-22408].
2016-08-17 09:55:47 +03:00
Alexey Milovidov
df9c5ff547
Translation of comments [#METR-22400].
2016-08-17 09:41:43 +03:00
Alexey Milovidov
d13190a2db
Fixed error with 'visibleWidth' function when applied to Array(Enum...) or Tuple(Enum...) [#METR-22432].
2016-08-17 09:25:01 +03:00
Alexey Milovidov
9012d0727d
Updated comment [#METR-22252].
2016-08-17 09:12:17 +03:00
Alexey Milovidov
ffbd901c9c
Added test [#METR-22252].
2016-08-17 09:11:25 +03:00
Alexey Milovidov
635fed9055
Added test [#METR-22252].
2016-08-17 09:03:46 +03:00
Alexey Milovidov
7a04c805c4
Added test [#METR-22400].
2016-08-17 08:53:14 +03:00
Alexey Milovidov
56a091cb6e
Throw exception when multi-statements are disabled [#METR-22252].
2016-08-17 08:38:51 +03:00
Alexey Milovidov
a9eca34a14
Statistics in JSON formats: development [#METR-22400].
2016-08-17 07:55:57 +03:00
Alexey Milovidov
dfa46b9fcb
Statistics in JSON formats: development [#METR-22400].
2016-08-17 07:54:43 +03:00
Alexey Milovidov
9531d6413b
Statistics in JSON formats: development [#METR-22400].
2016-08-17 07:53:14 +03:00
Alexey Milovidov
01b3f8e90e
Statistics in JSON formats: development [#METR-22400].
2016-08-17 07:38:19 +03:00
Alexey Milovidov
ee40dfb9cb
Statistics in JSON formats: development [#METR-22400].
2016-08-17 06:29:26 +03:00
Alexey Milovidov
70d7451c8c
Miscellaneous [#METR-2944].
2016-08-17 05:44:45 +03:00
Alexey Arno
821f1e6482
dbms: cleanup [#METR-19266]
2016-08-17 01:40:05 +03:00
Alexey Arno
4ae075c7b9
dbms: temporarily rolled back change that removes isNumeric()/behavesAsNumber() because it introduces bugs [#METR-19266]
2016-08-17 01:32:42 +03:00
Alexey Arno
576bd2744f
dbms: temporarily rolled back change that removes isNumeric()/behavesAsNumber() because it introduces bugs [#METR-19266]
2016-08-17 01:32:19 +03:00
Alexey Milovidov
27d42574fc
Added test result [#METR-22428].
2016-08-17 00:45:35 +03:00
Alexey Milovidov
3d4a40156f
Added test [#METR-22428].
2016-08-17 00:44:28 +03:00
Alexey Milovidov
b1de66f6d3
Added comment [#METR-22428].
2016-08-17 00:39:49 +03:00
Alexey Milovidov
278d56ea4c
Allow to parse Java-style floating point denormals 'NaN' and 'Infinity' [#METR-22428].
2016-08-17 00:23:53 +03:00
Alexey Milovidov
db4950c868
Added address and query into (text) error log [#METR-22441].
2016-08-16 23:33:00 +03:00
Alexey Milovidov
54beaf7f8d
Miscellaneous [#METR-22428].
2016-08-16 23:21:28 +03:00
Alexey Arno
be2a305366
dbms: cleanup [#METR-19266]
2016-08-16 16:31:42 +03:00
Alexey Arno
a13f32265e
dbms: cleanup [#METR-19266]
2016-08-16 15:53:22 +03:00
Alexey Arno
519240dd9a
dbms: cleanup [#METR-19266]
2016-08-16 15:34:54 +03:00
Alexey Arno
0efc990f67
dbms: cleanup [#METR-19266]
2016-08-16 15:25:45 +03:00
Alexey Arno
fa700f986f
dbms: cleanup [#METR-19266]
2016-08-16 15:10:12 +03:00
Alexey Arno
fe79074884
dbms: cleanup [#METR-19266]
2016-08-16 14:26:17 +03:00
Alexey Milovidov
63834bf441
Style [#METR-2944].
2016-08-15 23:07:31 +03:00
Alexey Milovidov
6bbac4b06c
Added test [#METR-21993].
2016-08-15 22:43:51 +03:00
Alexey Milovidov
73a2ddcaf8
Attempt to fix an error with defaults [#METR-21993].
2016-08-15 22:41:44 +03:00
Alexey Arno
e513df2e5c
dbms: reverted change (was bogus) [#METR-19266]
2016-08-15 20:26:06 +03:00
Alexey Arno
8340f8fd07
dbms: better [#METR-19266]
2016-08-15 20:10:30 +03:00
alexey-milovidov
2f232b25c2
Merge pull request #72 from serebrserg/METR-22322
...
METR-22322: add geo distance function
2016-08-15 21:02:07 +04:00
serebrserg
191d8b9707
METR-22322: add functional test
2016-08-15 19:34:03 +03:00
Alexey Arno
44a135f656
dbms: better [#METR-19266]
2016-08-15 17:36:01 +03:00
Alexey Arno
04c9975c84
dbms: fix [#METR-19266]
2016-08-15 17:07:23 +03:00
Alexey Arno
a9310a5568
dbms: fix [#METR-19266]
2016-08-15 16:30:37 +03:00
Alexey Arno
e19cd2e464
dbms: fix [#METR-19266]
2016-08-15 15:42:12 +03:00
serebrserg
c8bbb26802
METR-22322: array instead of vector
2016-08-15 15:41:06 +03:00
Alexey Arno
f4e77aaf97
dbms: Better code for functions processing. Code cleanup. [#METR-19266]
2016-08-15 14:14:29 +03:00
serebrserg
db5bae495b
METR-22322: rename function, add comments
2016-08-14 15:18:11 +03:00
Alexey Milovidov
1bb6ccd7f8
Better [#METR-22410].
2016-08-13 08:29:53 +03:00
Alexey Milovidov
9efc240f34
Corrected tests whose sensitivity may have degraded after introduced squashing blocks on INSERT by default [#METR-21877].
2016-08-13 08:06:36 +03:00
Alexey Milovidov
5fc8043b6f
Fixed error [#METR-22410].
2016-08-13 07:31:15 +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
19f861464a
Moving code [#METR-2944].
2016-08-13 04:57:35 +03:00
Alexey Milovidov
af7e4a0c73
Try to improve performance of ColumnString::insertInto [#METR-22173].
2016-08-12 23:50:34 +03:00
serebrserg
429b73422f
METR-22322: add geo distance function
2016-08-12 19:51:08 +03:00
Alexey Arno
96855a06b8
dbms: Code cleanup. [#METR-19266]
2016-08-12 18:29:45 +03:00
Alexey Arno
c74ee4e478
dbms: Code cleanup [#METR-19266]
2016-08-12 18:22:28 +03:00
Alexey Arno
8ebbc141eb
dbms: Code cleanup. [#METR-19266]
2016-08-12 17:57:39 +03:00
Alexey Arno
0d2b542b4c
dbms: Got rid of code that should have been removed a long time ago. [#METR-19266]
2016-08-12 17:29:02 +03:00
Alexey Arno
568fe119fb
dbms: Got rid of useless display code for CASE and IS NULL/IS NOT NULL. Also simplified CASE implementation. [#METR-19266]
2016-08-12 17:06:58 +03:00
Alexey Milovidov
d5ad347532
Fixed probable source of race conditions [#METR-22327].
2016-08-12 08:20:06 +03:00
Alexey Milovidov
8224217e25
Fixed build [#METR-2944].
2016-08-11 23:59:17 +03:00
Alexey Arno
3fcf4347cd
dbms: More comments. Cleanups. Moved a lot of FunctionsArray code into implementation file. [#METR-19266]
2016-08-11 19:47:28 +03:00
Alexey Arno
9896c8ce78
dbms: Merged from master [#METR-19266]
2016-08-11 17:15:27 +03:00
Alexey Arno
180b14eabf
dbms: better [#METR-19266]
2016-08-11 16:50:47 +03:00
Alexey Milovidov
9f51a59322
Merge branch 'master' of github.com:yandex/ClickHouse
2016-08-11 03:47:47 +03:00
Alexey Milovidov
715cb482fa
Miscellaneous [#METR-2807].
2016-08-11 03:47:01 +03:00
Alexey Arno
828012c077
dbms: better [#METR-19266]
2016-08-11 03:39:12 +03:00
Alexey Arno
87f330627e
dbms: better [#METR-19266]
2016-08-11 03:17:30 +03:00
Alexey Arno
6bd84296d1
dbms: performance boost for multiIf [#METR-19266]
2016-08-11 00:39:20 +03:00
Alexey Milovidov
6cc8dadd6d
Fixed error [#METR-21993].
2016-08-11 00:20:46 +03:00
Alexey Arno
42cb1f690c
dbms: improvements [#METR-19266]
2016-08-11 00:15:51 +03:00
Alexey Milovidov
225d6bf30a
Fixed possible overflow [#METR-22187].
2016-08-10 23:09:37 +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
b0256b9935
Fixed stack overflow [#METR-22219].
2016-08-10 21:49:10 +03:00
Alexey Milovidov
d8eb52c189
Improvement [#METR-22352].
2016-08-10 10:20:21 +03:00
Alexey Milovidov
65e557a105
Fixed test [#METR-22352].
2016-08-10 08:22:52 +03:00
Alexey Milovidov
a71f846d27
Client: added --echo option to simlify investigating diff of functional tests [#METR-22352].
2016-08-10 08:13:45 +03:00
Alexey Milovidov
e0182a035c
clickhouse-test: removed unused option; added support to run subset of tests [#METR-22352].
2016-08-10 07:48:14 +03:00
Alexey Milovidov
6bc1840b88
Fixed error [#METR-22352].
2016-08-10 07:20:50 +03:00
Alexey Milovidov
dde2c4c3c5
Creating directory for flags [#METR-21594].
2016-08-10 03:47:00 +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
bb5bdd098d
Whitespace [#METR-2944].
2016-08-09 23:39:03 +03:00
Alexey Milovidov
41c28b26d0
Fixed test [#METR-2944].
2016-08-07 21:20:57 +03:00
Alexey Milovidov
f8e8875b8a
Fixed warnings on clang [#METR-2944].
2016-08-07 19:28:12 +03:00
Alexey Milovidov
f129e94429
Fixed warnings on clang [#METR-2944].
2016-08-07 19:17:57 +03:00
Alexey Milovidov
30eb125100
Fixed error with INSERT SELECT and nested data structures [#METR-22328].
2016-08-07 18:13:40 +03:00
Alexey Milovidov
cb7a458ac4
Added check [#METR-22325].
2016-08-07 14:12:55 +03:00
Alexey Milovidov
65c34e8274
Addition to prev. revision [#METR-2807].
2016-08-07 12:10:45 +03:00
Alexey Milovidov
6c861fe798
Style [#METR-2807].
2016-08-07 12:09:18 +03:00
Alexey Milovidov
11d6962797
Fixed error [#MOBMET-3953].
2016-08-07 11:30:29 +03:00
Alexey Milovidov
6d614f2f96
Fixed error [#MOBMET-3953].
2016-08-07 11:23:44 +03:00
Alexey Milovidov
d613c1e0e9
Removed old debug code [#METR-2944].
2016-08-07 11:13:29 +03:00
Alexey Milovidov
0ae29e867b
Less wrong [#MOBMET-3953].
2016-08-07 11:12:58 +03:00
Alexey Milovidov
7dfcdbfb86
Fixed error in ComplexKeyCacheDictionary [#MOBMET-3953].
2016-08-07 09:10:15 +03:00
Alexey Milovidov
b5b37d0f26
Added test program [#MOBMET-3953].
2016-08-07 01:33:20 +03:00
Alexey Milovidov
9fd26e381a
Less code [#MOBMET-3953].
2016-08-07 01:31:58 +03:00
Alexey Milovidov
0630debf11
Merge branch 'block-simplification'
2016-08-05 22:21:36 +03:00
Alexey Milovidov
fa9dc8a521
Fixed error [#METR-22173].
2016-08-05 22:20:38 +03:00
Alexey Milovidov
a37b9371b0
Fixed error [#METR-22173].
2016-08-05 22:15:07 +03:00
Alexey Arno
531ff3d5ac
dbms: Merged with master [#METR-19266]
2016-08-05 18:44:19 +03:00
Alexey Arno
2906783686
dbms: Cleanup [#METR-19266]
2016-08-05 18:05:08 +03:00
Alexey Arno
efe8a6f7da
dbms: Cleanup [#METR-19266]
2016-08-05 17:59:26 +03:00
Alexey Arno
989b3d87fd
dbms: Cleanup [#METR-19266]
2016-08-05 17:00:56 +03:00
Alexey Arno
06428778c3
dbms: Cleanup [#METR-19266]
2016-08-05 15:56:32 +03:00
Alexey Arno
38331e93e7
dbms: Cleanup + added function assumeNotNull [#METR-19266]
2016-08-05 15:52:09 +03:00
Alexey Arno
655d0cb5b4
dbms: Cleanup [#METR-19266]
2016-08-05 15:30:56 +03:00
Alexey Arno
a6ed503f49
dbms: Cleanup [#METR-19266]
2016-08-05 14:34:50 +03:00
Alexey Arno
a5cd138deb
dbms: Cleanup [#METR-19266]
2016-08-05 14:31:55 +03:00
Alexey Arno
65b262a15c
dbms: Cleanup [#METR-19266]
2016-08-05 13:56:39 +03:00
Alexey Arno
1802f8d299
dbms: Cleanup [#METR-19266]
2016-08-05 13:32:41 +03:00
Alexey Arno
98b5fde211
dbms: Cleanup [#METR-19266]
2016-08-05 13:04:00 +03:00
Alexey Arno
e6fee12355
dbms: Cleanup [#METR-19266]
2016-08-05 12:53:14 +03:00
Alexey Arno
d73a6efa42
dbms: Cleanup [#METR-19266]
2016-08-05 12:35:37 +03:00
Alexey Arno
f6ab219176
dbms: Cleanup [#METR-19266]
2016-08-05 12:19:32 +03:00
Alexey Arno
a1218c3134
dbms: Cleanup [#METR-19266]
2016-08-05 10:57:02 +03:00
Alexey Arno
e38d29346e
dbms: Cleanup [#METR-19266]
2016-08-05 10:49:56 +03:00
Alexey Milovidov
402f09c3c4
Improved test [#METR-22173].
2016-08-05 05:41:41 +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 Arno
2e15882f5d
dbms: Cleanup [#METR-19266]
2016-08-05 02:33:07 +03:00
Alexey Arno
91bfb1aee2
dbms: Cleanup [#METR-19266]
2016-08-05 02:32:18 +03:00
Alexey Arno
4500376dc8
dbms: Cleanup [#METR-19266]
2016-08-05 02:17:58 +03:00
Alexey Arno
0bcda15bb5
dbms: Cleanup [#METR-19266]
2016-08-05 02:11:54 +03:00
Alexey Arno
2888a7be26
dbms: Cleanup [#METR-19266]
2016-08-05 02:10:35 +03:00
Alexey Arno
a3edb7ea86
dbms: Cleanup [#METR-19266]
2016-08-05 00:43:56 +03:00
Alexey Milovidov
093353d0ad
Blocks simplification [#METR-22173].
2016-08-05 00:40:20 +03:00
Alexey Arno
79a0e6ecd3
dbms: Cleanup [#METR-19266]
2016-08-05 00:30:16 +03:00
Alexey Arno
8c02bc44c5
dbms: Added support for nullable parameters (conditions and/or branches) in the function multiIf [#METR-19266]
2016-08-04 18:06:27 +03:00
Alexey Milovidov
ca044bf0de
Added comment [#METR-22173].
2016-08-04 08:47:59 +03:00
Alexey Milovidov
091e4a53ab
Addition to prev. revision [#METR-22173].
2016-08-04 08:32:58 +03:00
Alexey Milovidov
f638ebbbf5
Probably better [#METR-22173].
2016-08-04 08:19:37 +03:00
Alexey Milovidov
4922eac99a
Added test [#METR-22296].
2016-08-04 08:18:46 +03:00
Alexey Milovidov
6c476974d4
Maybe better [#METR-22173].
2016-08-04 07:51:41 +03:00
Alexey Milovidov
8f36012d47
Added special exception to allow to convert string with serialized DateTime to Date [#METR-22296].
2016-08-04 01:39:16 +03:00
Alexey Milovidov
d7ce4dd410
Better grepability [#METR-22173].
2016-08-03 23:25:09 +03:00
Alexey Milovidov
62d067c81f
Addition to prev. revision [#METR-22285].
2016-08-02 23:02:34 +03:00
Alexey Milovidov
b7cecc176d
Protection against infinite loop in RegionsHierarchy [#METR-22285].
2016-08-02 22:42:01 +03:00
Alexey Milovidov
ff23a9cdda
Fixed test [#METR-22229].
2016-08-02 22:22:46 +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
441aaf6e1d
Added toTOrZero conversion functions [#METR-22229].
2016-08-02 08:32:09 +03:00
Alexey Milovidov
f4ac673379
Allowed to CAST Strings to Array, Tuple [#METR-22263].
2016-08-02 06:30:34 +03:00
Alexey Milovidov
9a07830dbb
Removed useless code (experimental) [#METR-2944].
2016-08-02 04:46:05 +03:00
Alexey Milovidov
1c25aa3b9d
Removed useless code [#METR-2944].
2016-08-01 23:03:55 +03:00
Alexey Milovidov
23a4a8bf19
Fixed error [#METR-2944].
2016-07-31 13:43:54 +03:00
Alexey Milovidov
47fc043fd9
More [#METR-2944].
2016-07-31 09:48:06 +03:00
Alexey Milovidov
899636e9fd
Another improvement for UBSan [#METR-2944].
2016-07-31 09:36:39 +03:00
Alexey Milovidov
9014f19f01
Fewer warnings from UBSan [#METR-2944].
2016-07-31 08:56:36 +03:00
Alexey Milovidov
6f4fc79cde
Better [#METR-2944].
2016-07-31 06:53:16 +03:00
Alexey Milovidov
1d2937f781
Allow access only from localhost for developers builds, ran from source tree [#METR-2944].
2016-07-31 06:05:42 +03:00
Alexey Milovidov
03bc662b36
Better diagnostics [#METR-22263].
2016-07-30 08:30:28 +03:00
Alexey Milovidov
5b9d80505f
Whitespaces [#METR-2807].
2016-07-30 08:03:20 +03:00
Alexey Milovidov
6d6c22f92e
Allow to start under thread sanitizer [#METR-2944].
2016-07-30 07:44:04 +03:00
Alexey Milovidov
1700f4e132
Added support for complex typed arguments for function toString [#METR-22263].
2016-07-30 07:39:51 +03:00
Alexey Milovidov
ea734b6bee
Removed compatibility layer with OLAPServer [#METR-2944].
2016-07-30 04:08:00 +03:00
Alexey Milovidov
1be60a3b0b
Merge branch 'master' of github.com:yandex/ClickHouse
2016-07-29 19:46:45 +03:00
Alexey Milovidov
349fd1aca8
Removed logrotate [#MTRSADMIN-2107].
2016-07-29 19:46:11 +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
0ffae7b119
Added test [#METR-22226].
2016-07-28 23:25:56 +03:00
Alexey Milovidov
1d2a5086d2
Fixed incompatibility [#METR-22226].
2016-07-28 23:25:38 +03:00
Alexey Milovidov
040a957073
Added test [#METR-22188].
2016-07-28 05:22:17 +03:00
Alexey Milovidov
118026db6b
Added test [#METR-22227].
2016-07-28 05:20:04 +03:00
Alexey Milovidov
f459167a0d
Added test [#METR-20624].
2016-07-28 05:18:07 +03:00
Alexey Milovidov
1bde542a29
Client: fixed incompatibility after library update [#METR-22227].
2016-07-28 04:41:26 +03:00
Alexey Milovidov
6f633644be
Allowed to have more users in users.xml/users.d files [#METR-22203].
2016-07-27 04:25:44 +03:00
Alexey Milovidov
f1aab70e3d
Fixed incompatibility with new parser of JOINs [#METR-22206].
2016-07-26 22:43:58 +03: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 Milovidov
1c4293eb99
Fixed error with 'array' function [#METR-22188].
2016-07-26 20:20:43 +03:00
Alexey Arno
18340adbe8
dbms: better [#METR-19266]
2016-07-26 15:58:51 +03:00
Alexey Arno
44aa30fedf
dbms: better [#METR-19266]
2016-07-26 12:18:28 +03:00
Alexey Milovidov
e1411af2ed
Fixed error with external sorting when constants are present [#METR-21787].
2016-07-25 23:57:05 +03:00
Alexey Arno
2514b2a04c
dbms: simplifications, improvements, post-testing fixes. Unfinished, so do not pay attention to this commit. [#METR-19266]
2016-07-25 21:26:45 +03:00
Alexey Arno
022645e7ac
dbms: better [#METR-19266]
2016-07-25 00:43:37 +03:00
Alexey Arno
1055c10621
dbms: fixes [#METR-19266]
2016-07-25 00:34:09 +03:00
Alexey Arno
1fe6786b78
dbms: NULL support for MergeTree [#METR-19266]
2016-07-24 22:32:21 +03:00
Alexey Milovidov
9d1a720d90
Fixed error with assumed monotonicity of integer conversion functions [#METR-2944].
2016-07-24 02:02:14 +03:00
Alexey Milovidov
46694bbf84
Added missing file [#METR-2944].
2016-07-23 23:54:22 +03:00
Alexey Milovidov
5f423e9023
Fixing incompatibilities [#METR-2944].
2016-07-23 05:42:42 +03:00
Alexey Milovidov
dc665c67c5
Fixing incompatibilities [#METR-2944].
2016-07-23 05:25:09 +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 Milovidov
1ef87202f6
Rectifications of JOINs: development [#METR-2944].
2016-07-21 18:48:11 +03:00
Alexey Arno
252d7994e7
dbms: cleanup [#METR-19266]
2016-07-19 13:57:57 +03:00
Alexey Arno
5de99bda9c
dbms: Added IS NULL/IS NOT NULL [#METR-19266]
2016-07-18 19:12:29 +03:00
Alexey Milovidov
9f9be1b7fc
Rectification of JOINs [#METR-2944].
2016-07-18 04:20:53 +03:00
Alexey Milovidov
40ae51e7b3
Rectifying JOINs [#METR-2944].
2016-07-18 03:14:24 +03:00
Alexey Milovidov
3d4aaf1a33
JOINs rectification: development [#METR-2944].
2016-07-17 23:10:50 +03:00
Alexey Milovidov
c9521dd370
Added test [#METR-21691].
2016-07-17 20:07:34 +03:00
Alexey Milovidov
e66ba2e1d8
Fixed error with aggregate function anyHeavy [#METR-21691].
2016-07-17 20:06:19 +03:00
Alexey Arno
6cf06f6004
dbms: improvements [#METR-19266]
2016-07-14 21:36:34 +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
500707f641
dbms: bug fix [#METR-19266]
2016-07-13 17:23:08 +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
3e479c375c
dbms: simpler [#METR-19266]
2016-07-12 17:58:54 +03:00
Alexey Arno
7e2f0d22cc
dbms: aggregate function support [#METR-19266]
2016-07-12 16:07:39 +03:00
Alexey Arno
13b4a5bd4a
dbms: aggregate function support [#METR-19266]
2016-07-12 16:02:52 +03:00
Alexey Arno
68c50de457
dbms: simpler [#METR-19266]
2016-07-11 19:41:57 +03:00
Alexey Arno
72576afb84
dbms: simpler [#METR-19266]
2016-07-11 19:37:44 +03:00
Alexey Arno
9c9b23b22e
dbms: simpler [#METR-19266]
2016-07-11 17:54:46 +03:00
Alexey Arno
2fe9d36f39
dbms: compilation fix [#METR-19266]
2016-07-11 13:29:42 +03:00
Alexey Arno
dcbe183d41
dbms: merged with master [#METR-19266]
2016-07-11 13:09:16 +03:00
Alexey Milovidov
2331a367eb
Fixed error [#METR-18149].
2016-07-10 21:53:27 +03:00
Alexey Milovidov
d4c364afa9
Tiny modifications [#METR-22035].
2016-07-10 20:19:35 +03:00
Alexey Milovidov
6912bfa6be
Added test [#METR-22035].
2016-07-10 19:04:25 +03:00
Alexey Milovidov
f5f38e1e50
Better support for tuples, arrays in SELECT DISTINCT [#METR-22035].
2016-07-10 18:58:58 +03:00
Alexey Milovidov
a01534e6ab
Added syntactic sugar for count(DISTINCT ...) and 'count_distinct_implementation' setting [#METR-22035].
2016-07-10 18:52:35 +03:00
Alexey Milovidov
7f7838c989
Added half-way support (for orantius) for tuples in subquery result in right hand side of IN [#METR-18149].
2016-07-10 14:49:33 +03:00
alexey-milovidov
e4c62935c3
Merge pull request #49 from yandex/METR-18844
...
Metr 18844
2016-07-10 12:43:19 +03:00
Alexey Milovidov
ff558b9a10
Added test [#METR-18149].
2016-07-10 10:41:03 +03:00
Alexey Milovidov
9d2e8a4636
Fixed test [#METR-18149].
2016-07-10 10:36:37 +03:00
Alexey Milovidov
003d63023b
Fixed error [#METR-18149].
2016-07-10 10:24:24 +03:00
Alexey Milovidov
b10177ed69
Additions [#METR-18149].
2016-07-10 08:50:09 +03:00
Alexey Milovidov
402a4933e3
Fixed errors with tuples [#METR-18149].
2016-07-10 07:09:59 +03:00
Alexey Milovidov
9208a72b5a
Working out tuples [#METR-18149].
2016-07-10 05:51:13 +03:00
Alexey Milovidov
e6e6953bf3
Miscellaneous modifications [#METR-2944].
2016-07-10 05:33:50 +03:00
Alexey Milovidov
df7215487a
Fixed error [#METR-18149].
2016-07-10 05:14:23 +03:00
Alexey Milovidov
03ed8fc58e
Addition to prev. revision [#METR-2944].
2016-07-10 02:40:15 +03:00
Alexey Milovidov
3a6208c6d0
Translated few comments [#METR-2944].
2016-07-10 02:37:29 +03:00
Alexey Milovidov
fbc7c1f40a
Fixed parsing of tuple element expression [#METR-18149].
2016-07-09 09:51:30 +03:00
Alexey Milovidov
f08a5aba80
Improved performance of array function for non-constant arguments [#METR-22034].
2016-07-09 09:33:44 +03:00
Alexey Milovidov
8af48d9dfc
Partially fixed bad code [#METR-22034].
2016-07-09 08:11:54 +03:00
Alexey Milovidov
e1181f2175
Added support for arbitary nested type of arrays for function has [#METR-18149].
2016-07-09 07:39:57 +03:00
Alexey Milovidov
27360b8166
Added support for tuple arguments of function if [#METR-22033].
2016-07-09 06:54:57 +03:00
Alexey Milovidov
fb3a28f646
Added test [#METR-22032].
2016-07-09 03:20:44 +03:00
Alexey Milovidov
943c056b02
Better [#METR-22032].
2016-07-09 02:47:58 +03:00
Alexey Milovidov
33d324b8d6
Probably fixed error [#METR-22032].
2016-07-09 00:47:54 +03:00
Alexey Milovidov
777f6bd05c
Added miscellaneous function 'rowNumberInAllBlocks' [#METR-21993].
2016-07-09 00:46:18 +03:00
Alexey Arno
2201ad84ff
dbms: merged with master [#METR-19266]
2016-07-08 19:52:26 +03:00
Alexey Arno
a2e3c88dee
dbms: Server: Fixes. Fix for PODArray::swap(). [#METR-18844]
2016-07-08 19:08:32 +03:00
Alexey Arno
b1079964da
dbms: Server: Fixes. Fix for PODArray::swap(). [#METR-18844]
2016-07-08 18:30:57 +03:00
Alexey Arno
be56cabd51
dbms: Server: Fixes. Fix for PODArray::swap(). [#METR-18844]
2016-07-08 18:10:47 +03:00
Alexey Arno
7d4691c271
dbms: Server: Fixes. Fix for PODArray::swap(). [#METR-18844]
2016-07-08 17:53:00 +03:00
Alexey Milovidov
3b34b0a84c
Addition to prev. revision [#METR-22008].
2016-07-08 07:22:23 +03:00
Alexey Milovidov
ea0b6b3669
Implemented function arrayElement for generic case; partially removed bad code [#METR-22008].
2016-07-08 07:16:30 +03:00
Alexey Arno
9725ce95d0
dbms: Server: Fixes. Fix for PODArray::swap() in progress. [#METR-18844]
2016-07-08 01:49:38 +03:00
Alexey Arno
f30a954526
dbms: Server: in PODArray, fixed move constructor, move operator, and swap method when using AllocatorWithStackMemory. [#METR-18844]
2016-07-07 20:57:49 +03:00
Alexey Arno
e3dcf89f2d
dbms: Server: in PODArray, fixed move constructor, move operator, and swap method when using AllocatorWithStackMemory. [#METR-18844]
2016-07-07 20:57:03 +03:00
Alexey Arno
078924ea13
dbms: Server: in PODArray, fixed move constructor, move operator, and swap method when using AllocatorWithStackMemory. [#METR-18844]
2016-07-07 19:59:01 +03:00
Alexey Arno
aa41a18fc5
dbms: Server: in PODArray, fixed move constructor, move operator, and swap method when using AllocatorWithStackMemory. [#METR-18844]
2016-07-07 19:56:49 +03:00
Alexey Arno
99a437c0d5
dbms: Server: in PODArray, fixed move constructor, move operator, and swap method when using AllocatorWithStackMemory. [#METR-18844]
2016-07-07 19:45:27 +03:00
Alexey Arno
fdfba69a46
dbms: Server: Merged with master. [#METR-18844]
2016-07-07 19:44:05 +03:00
Alexey Arno
7429d4e96c
dbms: Server: Feature development. [#METR-19266]
2016-07-07 13:33:12 +03:00
Alexey Milovidov
f8243864a2
Fixed test [#METR-21877].
2016-07-07 08:13:08 +03:00
Alexey Milovidov
c2929666fd
Fixed error [#METR-21877].
2016-07-07 04:57:48 +03:00
Alexey Milovidov
77f178e046
Squashing transforms: development [#METR-21877].
2016-07-07 00:50:16 +03:00