Nikolai Kochetov
850bc9f19d
fixed reading const zero column in prewhere
2017-08-17 23:06:00 +03:00
Alexey Milovidov
9f956d97dd
Removed debug output [#CLICKHOUSE-2].
2017-08-17 21:43:39 +03:00
Marek Vavruša
5ba535f05f
Dictionaries: remove duplicate MySQLDictionarySource.h include
...
refs #1110
2017-08-17 01:35:19 +03:00
proller
175cd99288
Freebsd fixes: fix build with libc++, fix find system lib double-conversion ( #1109 )
...
* Cmake: Don't detect and use -no-pie flag with clang
* Camke: find_unwind: Fix disable on arm
* Freebsd fixes: fix build with libc++, fix find system lib double-conversion
2017-08-17 00:01:43 +03:00
Alexey Milovidov
16d6c4f9e7
Removed very old protocol compatibility features [#CLICKHOUSE-2].
2017-08-16 23:27:35 +03:00
Alexey Milovidov
eb88391655
Fixed error with alias substitution [#CLICKHOUSE-2986].
2017-08-16 23:10:25 +03:00
Alexey Milovidov
3a86673aea
Fixed error when part could become broken during ALTER MODIFY of element of Nested column [#CLICKHOUSE-3232].
2017-08-16 22:41:52 +03:00
Alexey Milovidov
164ad05ae1
Little better [#CLICKHOUSE-3231].
2017-08-16 22:22:49 +03:00
Alexey Milovidov
b6cafb9a88
Set "max_replica_delay_for_distributed_queries" to five minutes by default [#CLICKHOUSE-2141].
2017-08-16 20:21:39 +03:00
Alexey Milovidov
c629799500
Fixed insufficient arguments checking [#CLICKHOUSE-3102].
2017-08-16 17:21:24 +03:00
Alberto
727ca81998
Fixed typo
2017-08-16 14:08:02 +03:00
Alexey Milovidov
68c57b2b61
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-16 00:53:03 +03:00
Alexey Milovidov
2ddf462563
Fixed regression [#CLICKHOUSE-2].
2017-08-16 00:52:52 +03:00
Vitaliy Lyudvichenko
ad40104022
Unix timestamp format for DateTime fields in CSV. Resolves #366 . [#CLICKHOUSE-3168]
2017-08-15 23:22:36 +03:00
Alexey Milovidov
dc29ae7e73
Added test (tnx. egatov) [#CLICKHOUSE-2].
2017-08-15 23:17:50 +03:00
Alexey Milovidov
6033221198
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-15 23:14:32 +03:00
Alexey Milovidov
4272265128
Fixed LimitReadBuffer [#CLICKHOUSE-2].
2017-08-15 23:14:15 +03:00
Alexey Zatelepin
0185fd4542
fix parsing min-max dates from part name [#CLICKHOUSE-3000]
2017-08-15 23:03:59 +03:00
Nikolai Kochetov
f8513b932f
removed ability to select from external temporary table by query_id
2017-08-15 22:31:40 +03:00
Nikolai Kochetov
9c6f1a1e4b
supported drop query for temporary tables [#CLICKHOUSE-3219]
2017-08-15 22:31:40 +03:00
Alexey Zatelepin
372801c59b
fix comments [#CLICKHOUSE-3000]
2017-08-15 22:30:52 +03:00
Alexey Zatelepin
0df4ae6b02
do not use unnecessary temporary objects to query a set of parts [#CLICKHOUSE-3000]
2017-08-15 22:30:52 +03:00
Alexey Zatelepin
f25f0cd759
reduce number of places where partitioning by month is assumed [#CLICKHOUSE-3000]
2017-08-15 22:30:52 +03:00
Vitaliy Lyudvichenko
8a14cc49ff
asyncMulti() -> multi(). [#CLICKHOUSE-3221]
2017-08-15 19:18:02 +03:00
Alexey Milovidov
5af5f78cb7
Terminate only DDLWorker in case of unexpected exception in DDLWorker [#CLICKHOUSE-4].
2017-08-14 08:51:03 +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
Alexey Milovidov
986c6c729d
Fixed incompatibility [#CLICKHOUSE-2].
2017-08-14 07:23:38 +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
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
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
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