Alexey Zatelepin
f75fb6cd68
refactor InterpreterSelectQuery constructors [#CLICKHOUSE-3798]
2018-07-20 22:44:34 +03:00
chertus
5ec47b4a1c
decimal (in progress)
2018-07-20 22:05:07 +03:00
proller
7be750afe9
Apple build fixes
2018-07-20 20:21:03 +03:00
Nikolai Kochetov
df379afde4
Reserve memory for HashTable in ColumnUnique.
2018-07-20 19:16:33 +03:00
Alexey Milovidov
a1684d4a4a
Miscellaneous #2687
2018-07-20 19:02:23 +03:00
Alexey Milovidov
09d22da9b9
Miscellaneous #2687
2018-07-20 18:59:11 +03:00
Alexey Milovidov
4a975c9d4c
Merge branch 'master' of https://github.com/alesapin/ClickHouse
2018-07-20 18:50:54 +03:00
Alexey Milovidov
a4d699e7f5
Comment [#CLICKHOUSE-2]
2018-07-20 18:50:39 +03:00
alexey-milovidov
c9dc058345
Update Collator.cpp
2018-07-20 18:49:47 +03:00
Nikolai Kochetov
7f8688b67b
Support data type with dictionary for krimary key.
2018-07-20 18:41:01 +03:00
alesapin
fae9c33282
CLICKHOUSE-3791: Add system table collations
2018-07-20 16:17:16 +03:00
Nikolai Kochetov
2bce1f0fb7
Fix tests.
2018-07-20 16:07:51 +03:00
proller
c58584fbe7
clickhouse-test-server: allow run with build in source (cmake .)
2018-07-20 15:40:11 +03:00
Nikolai Kochetov
df8e030b2d
Fix tests.
2018-07-20 15:30:04 +03:00
Nikolai Kochetov
3a74ec7c0c
Mergred with master
2018-07-20 14:08:54 +03:00
Nikolai Kochetov
bf26fda38d
Added canBeExecutedOnDefaultArguments into IFunction. Don't run function on defaults is this flag is true.
2018-07-20 13:19:07 +03:00
Nikolai Kochetov
e8bd73ff9b
Fixed function makeDictionary for column with dictionary argument.
2018-07-20 13:19:05 +03:00
Nikolai Kochetov
cbbbda2539
Supported serialization of several dictionaries into single part.
...
Run function on nested column of column with dictionary only if arguments have single column with dictionary and other columns are const.
2018-07-20 13:18:21 +03:00
Nikolai Kochetov
9c763f8090
Make DatsTypeWithDictionary independent from index type.
2018-07-20 13:16:27 +03:00
Nikolai Kochetov
c542cb6314
Expanding indexes for ColumnUnique.
2018-07-20 13:15:55 +03:00
alesapin
2915a58c8f
Merge remote-tracking branch 'upstream/master'
2018-07-20 13:13:50 +03:00
alesapin
32e03f42ef
CLICKHOUSE-3772: Fix initialization
2018-07-20 13:13:23 +03:00
alesapin
73bcc95af9
CLICKHOUSE-3772: Change return type to const reference
2018-07-20 13:07:11 +03:00
alesapin
a45e707f41
CLICKHOUSE-3772: Rename column in formats
2018-07-20 13:01:46 +03:00
alesapin
ec156e9f2b
CLICKHOUSE-3772: Add system tables formats, data_type_families, table_functions, aggregate_function_combinators
2018-07-20 13:00:56 +03:00
robot-metrika-test
b54159aefa
Auto version update to [18.1.0] [54396]
2018-07-20 04:00:20 +03:00
Alexey Milovidov
550f41bc65
Preparation #2646
2018-07-20 03:34:15 +03:00
Alexey Milovidov
e97fd327fd
Merge branch 'master' of github.com:yandex/ClickHouse
2018-07-20 03:18:27 +03:00
Alexey Milovidov
509e00c226
Revert "Auto version update to [1.2.0] [54396]"
...
This reverts commit e464d2d430
.
2018-07-20 03:18:16 +03:00
Alexey Milovidov
65f6696750
Quote all identifiers when querying external database #2635
2018-07-20 03:04:48 +03:00
Alexey Milovidov
0b827058ff
Added missing file #2635
2018-07-20 03:04:48 +03:00
Alexey Milovidov
245b114363
Quote all identifiers when querying external database #2635
2018-07-20 03:04:48 +03:00
Alexey Milovidov
9af2a9179e
Added test #2677
2018-07-20 03:00:04 +03:00
robot-metrika-test
e464d2d430
Auto version update to [1.2.0] [54396]
2018-07-19 23:55:02 +03:00
Alexey Milovidov
fe8c4d64e4
Better fix #2660
2018-07-19 23:51:03 +03:00
Alexey Milovidov
31dbbb05d2
Removed useless setting #2677
2018-07-19 23:22:49 +03:00
Alexey Milovidov
1b39ddf10b
Whitespaces [#CLICKHOUSE-2]
2018-07-19 19:39:48 +03:00
Vadim
b8ae9f7951
[CLICKHOUSE-2830] add FunctionArrayDistinct ( #2670 )
...
* [CLICKHOUSE-2830] add FunctionArrayDistinct
* [#CLICKHOUSE-2830] Add tests and fix
* [CLICKHOUSE-2830] fix bug with array without NULL
* [CLICKHOUSE-2830] fix test
* [CLICKHOUSE-3844] Add suport Tuple and other types in Uniq, EnumerateUniq and Distinct
* [CLICKHOUSE-3844] Add '\n'
* [CLICKHOUSE-3844] fix
* [CLICKHOUSE-2830] del Nullable return type
* Update FunctionsArray.cpp
* [CLICKHOUSE-3844] add new tests
* [CLICKHOUSE-3844] add new tests
2018-07-19 16:53:32 +03:00
alesapin
56523948bf
CLICKHOUSE-3842: Rename local variables
2018-07-19 16:51:57 +03:00
alesapin
ae44b41318
CLICKHOUSE-3842: Fix loadKeys method in dictionary library
2018-07-19 16:51:57 +03:00
alexey-milovidov
164425d1ec
Fix performance regression with prepared sets when they are used inside another subquery. ( #2677 )
...
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Added documentation about ClickHouse testing (draft) [#CLICKHOUSE-2]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Removed debug output [#CLICKHOUSE-3796]
* Removed debug output [#CLICKHOUSE-3796]
* Updated documentation about ClickHouse testing [#CLICKHOUSE-2]
* Revert "Updated documentation about ClickHouse testing [#CLICKHOUSE-2]"
This reverts commit 9eafc13f3b
.
* Revert "Added documentation about ClickHouse testing (draft) [#CLICKHOUSE-2]"
This reverts commit e28ad4b5fe
.
* Fixed test #2677
* Update InterpreterSelectQuery.cpp
2018-07-19 16:36:21 +03:00
proller
dfa41cdc19
Fix build without readline
2018-07-19 12:29:02 +03:00
alesapin
d0d61e4ea4
CLICKHOUSE-3842: Rename local variables
2018-07-19 11:47:35 +03:00
Alexey Milovidov
7f04f593ed
Moved code to .cpp; log only when skipping of errors is enabled #2669
2018-07-18 22:02:40 +03:00
Alexey Milovidov
a32c2e14a6
Removed unused method that became incompatible [#CLICKHOUSE-2]
2018-07-18 20:16:04 +03:00
alesapin
1f2c54c8af
CLICKHOUSE-3842: Fix loadKeys method in dictionary library
2018-07-18 20:06:13 +03:00
Amos Bird
8b2e68bfa0
Function try in destructor rethrows exceptions
...
According to https://en.cppreference.com/w/cpp/language/function-try-block , function try block used in destructor will rethrow exceptions if there isn't a return statement specified.
2018-07-18 16:29:12 +03:00
proller
51cdec0bec
CLICKHOUSE-3771: fixes
2018-07-18 12:48:45 +03:00
alexey-milovidov
f491bccb1c
Update 00633_func_or_in.sql
2018-07-18 09:27:25 +03:00
chenxing.xc
9bf6f8a62c
add test for #2663
2018-07-18 09:27:25 +03:00
chenxing.xc
f6000b304c
OR to IN rewrite issue in functions
2018-07-18 09:27:25 +03:00
Leonardo Cecchi
6d8d59bd1b
Log number of skipped rows during a bulk insert
...
When in a bulk insert the rows are parsed server-side and there are
skipped rows, log the number of these rows at the TRACE level.
2018-07-18 03:04:01 +03:00
Constantin S. Pan
8539c1e119
Fix the column size difference bug in SummingMergeTree
2018-07-18 00:17:04 +03:00
proller
c7848d2062
CLICKHOUSE-3771: Fixes
2018-07-17 21:22:32 +03:00
robot-metrika-test
d362e2e141
Auto version update to [1.1.54398] [54395]
2018-07-17 20:04:13 +03:00
alexey-milovidov
4b31f389b7
Update BufferBase.h
2018-07-17 19:41:41 +03:00
Amos Bird
c3c762cde7
Fast path for stringify float points.
2018-07-17 19:41:41 +03:00
robot-metrika-test
43ed979431
Auto version update to [1.1.54397] [54395]
2018-07-17 18:37:27 +03:00
robot-metrika-test
e68699c669
Auto version update to [1.1.54396] [54395]
2018-07-17 16:21:31 +03:00
proller
d271b58e7b
CLICKHOUSE-3771 Clean
2018-07-17 16:19:40 +03:00
robot-metrika-test
02f7b96484
Auto version update to [1.2.1] [54396]
2018-07-17 14:53:14 +03:00
robot-metrika-test
4806d23261
Auto version update to [54396]
2018-07-17 14:45:10 +03:00
proller
3f949fc86a
CLICKHOUSE-3771: new version scheme
2018-07-17 14:15:14 +03:00
Alexey Milovidov
09d9ac671b
Added a test #2657
2018-07-16 19:31:34 +03:00
Alexey Milovidov
2465803888
Merge branch 'aggregate-function-max-intersections-fix-sorting' of https://github.com/furmur/ClickHouse into furmur-aggregate-function-max-intersections-fix-sorting
2018-07-16 19:05:58 +03:00
alexey-milovidov
d1eac37389
Update AggregateFunctionMaxIntersections.h
2018-07-16 19:04:35 +03:00
proller
cce2e005c5
Macos default build fixes
2018-07-16 17:16:26 +03:00
alexey-milovidov
f31b1236c1
Update MergeTreeDataSelectExecutor.cpp
2018-07-16 16:44:32 +03:00
proller
0b0a2838c8
Fix compile error with boost 1.68.0
2018-07-16 16:44:32 +03:00
Michael Furmur
218a282f88
maxIntersections: add sorting by weight
2018-07-16 15:01:05 +03:00
Alexey Milovidov
6ba5b3bd82
Fixed warning [#CLICKHOUSE-2]
2018-07-16 09:09:27 +03:00
Alexey Milovidov
317807f03d
Fixed warning [#CLICKHOUSE-2]
2018-07-16 09:08:39 +03:00
Alexey Milovidov
9de268a455
Added a test from Silviu Caragea #2026
2018-07-16 09:06:44 +03:00
Alexey Milovidov
0a2e6eca45
Implemented generic case for comparison operators #2026
2018-07-16 09:06:44 +03:00
Alexey Milovidov
7540bdfa29
Merge branch 'master' of github.com:yandex/ClickHouse
2018-07-16 07:22:25 +03:00
Alexey Milovidov
52b284a67f
Updated README for integration tests [#CLICKHOUSE-2]
2018-07-16 07:22:16 +03:00
Alexey Milovidov
6a2d8d4f3f
Added support for arbitary complex types in "uniq" family of aggregate functions #2010
2018-07-16 06:55:41 +03:00
Alexey Milovidov
77ed75e1d3
Merge branch 'master' into amosbird-master
2018-07-16 06:34:22 +03:00
Alexey Milovidov
06fdc5d0ab
Fixed error with DROP TEMPORARY queries #2624
2018-07-16 06:34:05 +03:00
alexey-milovidov
947c5eb6c9
Avoid accidential truncating table in default database in test.
2018-07-16 06:32:43 +03:00
alexey-milovidov
4d1c470469
Update MergeTreeData.cpp
2018-07-16 06:22:22 +03:00
Alexey Zatelepin
b1a97f90fc
add test [#CLICKHOUSE-3748]
2018-07-16 06:22:22 +03:00
Alexey Zatelepin
88aa790a2d
save mutations to disk and load them on startup [#CLICKHOUSE-3748]
2018-07-16 06:22:22 +03:00
Alexey Zatelepin
78b83d78f0
execute part mutations in a background pool [#CLICKHOUSE-3748]
2018-07-16 06:22:22 +03:00
Alexey Zatelepin
88300258a7
info in system.mutations for nonreplicated MergeTree [#CLICKHOUSE-3748]
2018-07-16 06:22:22 +03:00
Alexey Zatelepin
ce17868a5c
execute mutations synchronously for StorageMergeTree [#CLICKHOUSE-3748]
2018-07-16 06:22:22 +03:00
Alexey Milovidov
ad3d882b67
Mitigate race condition in test [#CLICKHOUSE-2]
2018-07-16 04:10:41 +03:00
Alexey Milovidov
9381af3bbb
Merge branch 'master' of github.com:yandex/ClickHouse
2018-07-16 03:33:21 +03:00
Alexey Milovidov
a4c0ab7c04
Removed obsolete file #2635
2018-07-16 03:33:12 +03:00
Alexey Milovidov
0f3d6fe756
Fixed error #2649
2018-07-16 03:30:13 +03:00
Alexey Milovidov
63d3d9c8ed
Added a test from Silviu Caragea #1322
2018-07-16 03:30:13 +03:00
Alexey Milovidov
13e5b246f8
Added test #1322
2018-07-16 03:30:13 +03:00
Alexey Milovidov
eee02143a8
Implemented more accurate CAST from String to Nullable of Date and DateTime #1322
2018-07-16 03:30:13 +03:00
Alexey Milovidov
297805f719
Implemented toOrZero, toOrNull functions for Date and DateTime arguments (incomplete) #1322
2018-07-16 03:30:13 +03:00
Alexey Milovidov
8533011a49
More accurate conversion to Nullable type in function CAST #1322
2018-07-16 03:30:13 +03:00
filimonov
d13c6f6823
deadlinks2
2018-07-16 03:22:42 +03:00
VadimPE
5bb8f7ea4a
[CLICKHOUSE-3269] rename isDigit()
2018-07-15 00:22:29 +03:00
VadimPE
4134711faa
[CLICKHOUSE-3269] fix
2018-07-15 00:22:29 +03:00
VadimPE
18681db7fa
[CLICKHOUSE-3269] fix bug with netmaskToIPv6()
2018-07-15 00:22:29 +03:00
alexey-milovidov
b384b7afc4
Update Users.cpp
2018-07-15 00:22:29 +03:00
VadimPE
c45a5aa775
fix netmask from IPv4 to IPv6
2018-07-15 00:22:29 +03:00
VadimPE
0036e75a92
add example in users.xml
2018-07-15 00:22:29 +03:00
VadimPE
5834c0f9d9
fix bug
2018-07-15 00:22:29 +03:00
VadimPE
180ba17e6b
fix
2018-07-15 00:22:29 +03:00
VadimPE
849f02104f
added support for new masks
2018-07-15 00:22:29 +03:00
proller
5384504fa2
More information in 'Cannot read all data' errors
2018-07-13 22:06:26 +03:00
Alexey Milovidov
215ec2be98
Tiny improvement [#CLICKHOUSE-3820]
2018-07-13 20:27:58 +03:00
alexey-milovidov
53f9ae3cf1
Update CompressedReadBufferBase.cpp
2018-07-13 06:41:18 +03:00
proller
9d0b6bffe4
Better error: Print checksums if they mismatch
2018-07-13 06:41:18 +03:00
Alexey Milovidov
c315200e64
Fixed rare error in ZooKeeper library: callback never called in case when network error happens after reading response header but before response body was read - that will lead to deadlock and readonly table [#CLICKHOUSE-3820]
2018-07-13 00:31:38 +03:00
robot-metrika-test
d2c4696bc6
Auto version update to [54394]
2018-07-12 16:25:17 +03:00
robot-metrika-test
b683792769
Auto version update to [54393]
2018-07-11 23:45:40 +03:00
Alexey Milovidov
14d5aa061f
Miscellaneous #1322
2018-07-11 22:37:57 +03:00
Alexey Milovidov
d6a3cade18
Whitespaces [#CLICKHOUSE-3820]
2018-07-11 19:10:02 +03:00
Alexey Milovidov
06fc37abd4
Merge branch 'master' of github.com:yandex/ClickHouse
2018-07-11 18:58:56 +03:00
Alexey Milovidov
0352d6916f
Updated default clickhouse-client config #1959
2018-07-11 18:58:29 +03:00
robot-metrika-test
5a25d7df26
Auto version update to [54392]
2018-07-11 16:00:46 +03:00
Alexey Milovidov
b3b41c9661
Non significant changes #2521
2018-07-11 15:59:37 +03:00
Alexey Milovidov
2f4605e7da
Fixed build #2627
2018-07-11 15:50:23 +03:00
alexey-milovidov
9793ae98e0
Merge pull request #2521 from ssmike/CLICKHOUSE-3547
...
CLICKHOUSE-3547 streaming histogram aggregation
2018-07-11 15:48:12 +03:00
alexey-milovidov
e0ce1aac56
Update WriteBufferFromOStream.cpp
2018-07-10 23:46:10 +03:00
alexey-milovidov
ba25b84e6d
Update WriteBufferFromOStream.cpp
2018-07-10 23:46:10 +03:00
alexey-milovidov
401c48272d
Update WriteBufferFromOStream.h
2018-07-10 23:46:10 +03:00
alexey-milovidov
1737228039
Update ReadBufferFromIStream.cpp
2018-07-10 23:46:10 +03:00
alexey-milovidov
21a5a7a544
Update ReadBufferFromIStream.h
2018-07-10 23:46:10 +03:00
proller
2e0869f567
Write current position in stream errors
2018-07-10 23:46:10 +03:00
Alexey Milovidov
8eea4ae9cd
Fixed race condition in test #2604
2018-07-10 22:00:07 +03:00
Alexey Milovidov
abf8cd24d7
Fixed discrepancy [#CLICKHOUSE-2837]
2018-07-10 21:39:32 +03:00
Alexey Milovidov
98f8ae3edb
Fixed error with timeouts [#CLICKHOUSE-2837]
2018-07-10 20:40:17 +03:00
robot-metrika-test
f6e0a4ae68
Auto version update to [54391]
2018-07-10 19:16:29 +03:00
Alexey Milovidov
e3b3c9f81b
Added test for chroot in ZK [#MDBSUPPORT-204]
2018-07-10 19:14:27 +03:00
Alexey Milovidov
f80081ca03
Fixed chroot prefix in information about exception for ZooKeeper multi transaction (variant 2) [#MDBSUPPORT-204]
2018-07-10 19:14:27 +03:00
Amos Bird
f5764910c4
Fix TRUNCATE command for temporary tables.
2018-07-10 22:25:08 +08:00
Alexey Milovidov
a26a0f5331
Better exception message for KeeperMiltiException [#MDBSUPPORT-204]
2018-07-10 16:47:14 +03:00
Alexey Milovidov
8e0ae12b4e
Miscellaneous [#CLICKHOUSE-2]
2018-07-10 16:43:01 +03:00
Георгий Кондратьев
f8b53280a0
Do not add lib prefix to dictionary_library plugins
...
By convention plugins (libraries that are only meant for dlopen) do not have lib prefix.
2018-07-10 14:29:19 +03:00
Alexey Milovidov
15dd80a913
Debugging [#CLICKHOUSE-2]
2018-07-10 03:35:00 +03:00
Simon Podlipsky
6c7ba03d0f
Add missing UInt128 (UUID) field visitors
2018-07-10 00:39:13 +03:00
Alexey Milovidov
3c34487f43
Preparations [#CLICKHOUSE-2]
2018-07-09 23:36:58 +03:00
Amos Bird
ea01a3b22e
add OPTIMIZE FINAL support for ReplicatedMergeTree.
2018-07-09 18:03:23 +03:00
Mikhail Surin
877acef7d5
remove temporary allocations
2018-07-08 16:56:33 +03:00
Alexey Milovidov
7707b5a209
Improvement [#CLICKHOUSE-3810]
2018-07-08 02:53:49 +03:00
Alexey Milovidov
a34f1231f3
Fixed error with empty TinyLog table; added a test from Nickolay Kovalev #2563
2018-07-07 23:05:52 +03:00
Alexey Milovidov
4f2655960c
Fixed test [#CLICKHOUSE-2]
2018-07-07 22:39:20 +03:00
Alexey Milovidov
d2a44248cd
Fixed error with empty TinyLog table; added a test from Nickolay Kovalev #2563
2018-07-07 22:02:10 +03:00
Alexey Milovidov
b714d87de7
Get rid of virtual columns in system.tables table [#CLICKHOUSE-3806]
2018-07-07 21:58:48 +03:00
Alexey Milovidov
c126b9a5ab
Fixed trashy test #2115
2018-07-07 21:52:58 +03:00
Mikhail Surin
69b8774611
ensure parameter type
2018-07-07 15:38:47 +03:00
Mikhail Surin
9f5e9d1389
epsilon
2018-07-07 15:09:21 +03:00
Mikhail Surin
ca837723ed
fix unique for empty point sets
2018-07-07 13:40:32 +03:00
Alexey Milovidov
c3b7abaa8b
Added another test #2115
2018-07-06 22:47:08 +03:00
Alexey Milovidov
b01d7bb5e2
Fixed wrong code #2115
2018-07-06 22:37:58 +03:00
Alexey Milovidov
299d029d35
Added a test from Silviu Caragea #2115
2018-07-06 22:22:12 +03:00
Alexey Milovidov
43111f2ac9
Fixed error with function "has" and Nullable array argument #2115
2018-07-06 22:19:38 +03:00
Alexey Milovidov
576885c6b8
Little better [#CLICKHOUSE-2]
2018-07-06 21:35:37 +03:00
robot-metrika-test
173deed844
Auto version update to [54390]
2018-07-06 19:37:50 +03:00
Alexey Milovidov
93f8316e1f
Little better [#CLICKHOUSE-3806]
2018-07-06 19:34:53 +03:00
Alexey Milovidov
1927ab56e1
Merge branch 'master' of github.com:yandex/ClickHouse
2018-07-06 19:22:37 +03:00
Alexey Milovidov
95915579c7
Fixed test [#CLICKHOUSE-3806]
2018-07-06 19:22:15 +03:00
alexey-milovidov
1e78445a25
Update FunctionsConversion.h
2018-07-06 18:55:26 +03:00
Nikolai Kochetov
935b7edb48
Removed enums from IDataType::isValueRepresentedByUnsignedInteger
2018-07-06 18:55:26 +03:00
Nikolai Kochetov
f676fed344
Added test with monotonic integer cast.
2018-07-06 18:55:26 +03:00
Nikolai Kochetov
7592b6e34a
Fixed monotonic constraints for unsigned integer types.
2018-07-06 18:55:26 +03:00
Alex Zatelepin
f7f4f220f1
Update MergeTreeData.cpp
2018-07-06 15:14:23 +03:00
Ciprian Hacman
fd6fb023b6
Recreate format_version.txt when missing
2018-07-06 15:14:23 +03:00
Mikhail Surin
8c4f04c452
invalid values handler
2018-07-06 14:29:14 +03:00
Alexey Milovidov
7fcf609812
Miscellaneous [#CLICKHOUSE-3806]
2018-07-06 03:28:39 +03:00
Alexey Milovidov
5d52be3c7e
Merge branch 'master' of github.com:yandex/ClickHouse
2018-07-06 03:27:58 +03:00
Alexey Milovidov
21508df7c2
Fixed extremely bad code #2313
2018-07-06 03:27:47 +03:00
Alexey Milovidov
67b9a69f19
Fixed error in prev. revision [#CLICKHOUSE-3806]
2018-07-06 00:26:23 +03:00
Alexey Milovidov
88c582106b
Attempt to get rid of VirtualColumnFactory (part 2) [#CLICKHOUSE-3806]
2018-07-05 23:38:05 +03:00
Alexey Milovidov
cc2250f688
Attempt to get rid of VirtualColumnFactory (part 1) [#CLICKHOUSE-3806]
2018-07-05 22:56:51 +03:00
Alexey Milovidov
0a188389c0
Fixed error #2599
2018-07-05 21:56:33 +03:00
Alexey Milovidov
4a35b57cea
Little better #2599
2018-07-05 21:45:18 +03:00
Amos Bird
78beacb3a5
Make OPTIMIZE be able to merge all parts with FINAL.
2018-07-05 21:32:54 +03:00
Alexey Zatelepin
d5f8e4a1a5
load quorum status in merge predicate asynchronously [#CLICKHOUSE-3802]
2018-07-05 20:06:33 +03:00
Alexey Zatelepin
a41ee1f0a7
switch to ephemeral nodes for block number locks [#CLICKHOUSE-3802]
2018-07-05 20:06:33 +03:00
Alexey Zatelepin
0a46d231ed
speedup merge selection: async exists check for selected parts [#CLICKHOUSE-3802]
2018-07-05 20:06:33 +03:00
Alexey Zatelepin
116ed0a59e
add RestartingThread wakeup for faster session recovery
2018-07-05 19:30:52 +03:00
Alexey Zatelepin
fe83c8dab1
stricter validation of mutation commands #2588
2018-07-05 17:19:33 +03:00
Mikhail Surin
0418f179dc
merge review
2018-07-05 16:29:43 +03:00
Alexey Zatelepin
88951cac62
clearer error message in test
2018-07-05 16:29:22 +03:00
Mikhail Surin
8bb17685fd
reduce memory footprint
2018-07-05 14:33:59 +03:00
Mikhail Surin
f598e6d47c
add tests
2018-07-05 12:53:42 +03:00
Mikhail Surin
984fe8e4fd
implement n log(n) compression algorigthm
2018-07-05 12:53:42 +03:00
Mikhail Surin
b09323c547
naive implementation
2018-07-05 12:53:42 +03:00
Alexey Milovidov
c45aa180e8
Reviewing #2521
2018-07-05 02:24:36 +03:00
Alexey Milovidov
018e48399e
Make the test results more stable with respect to floating point calculations method #2521
2018-07-05 01:37:48 +03:00
Alexey Milovidov
bfc29a3b91
Updated test #2521
2018-07-05 01:32:55 +03:00
Alexey Milovidov
ac2d352203
Reviewing #2521
2018-07-05 01:28:15 +03:00
Alexey Milovidov
b18a0e3ec0
Reviewing #2521
2018-07-05 00:49:32 +03:00
Alexey Milovidov
efb4eab4fd
Merge branch 'CLICKHOUSE-3547' of https://github.com/ssmike/ClickHouse into ssmike-CLICKHOUSE-3547
2018-07-05 00:29:40 +03:00
Alexey Milovidov
c6eaca7c67
Adaptations #2574
2018-07-05 00:15:29 +03:00
Alexey Milovidov
7209d8b76f
Adaptations #2574
2018-07-05 00:09:58 +03:00
Alexey Milovidov
84fd35da41
Adaptations #2574
2018-07-05 00:00:50 +03:00
Alexey Milovidov
7bdafa6105
Merge branch 'master' of https://github.com/amosbird/ClickHouse into amosbird-master
2018-07-04 23:54:54 +03:00
Alexey Milovidov
c0373c1d45
Style; added comment #2566
2018-07-04 23:46:17 +03:00
Alexey Milovidov
47958bee7c
Merge branch 'feature-agg-func-in-summing-merge-tree' of https://github.com/kvap/ClickHouse into kvap-feature-agg-func-in-summing-merge-tree
2018-07-04 23:34:28 +03:00
Alexey Milovidov
4535f96148
Implemented TODO #2584
2018-07-04 20:28:52 +03:00
Alexey Milovidov
8fd1dbf6ec
Make the test compatible with different versions of curl #2490
2018-07-04 20:28:52 +03:00
Alexey Milovidov
e6c293ab60
Added setting "use_index_for_in_with_subqueries_max_values" #2571
2018-07-04 20:28:52 +03:00
Alexey Milovidov
76e35959fb
Fixed test #2490
2018-07-04 20:28:52 +03:00
Alexey Milovidov
c99e717632
Fixed bad code #2571
2018-07-04 20:28:52 +03:00
Alexey Milovidov
6afec54f7a
Addition to prev. revision #2571
2018-07-04 20:28:52 +03:00
Alexey Milovidov
e86f73e465
Fixed half of bad code #2571
2018-07-04 20:28:52 +03:00
Alexey Milovidov
083b075631
Removed useless method #2571
2018-07-04 20:28:52 +03:00
Alexey Milovidov
4b099e385b
Fixed typo #2482
2018-07-04 20:28:06 +03:00
Nikolai Kochetov
d49a39e5e5
Added test with runningDifference function. #2590
2018-07-04 20:25:48 +03:00
Nikolai Kochetov
5e3c0c0238
Supported nullable for runningDifference function. #2590
2018-07-04 20:25:48 +03:00
Alexey Milovidov
f00f9d1f9a
Merge branch 'master' into CLICKHOUSE-2910
2018-07-04 16:29:58 +03:00
Alexey Zatelepin
48c48c6c9a
add functional test for mutations of Replicated tables [#CLICKHOUSE-3747]
2018-07-02 22:34:15 +03:00
Nikolai Kochetov
67755fe882
Added test. #2580
2018-07-02 20:46:33 +03:00
Nikolai Kochetov
323578c8b6
Reload client connection params before reconnection. #2580
2018-07-02 20:46:33 +03:00
Alexey Milovidov
9845814701
Obfuscator: added heuristic #2518
2018-06-30 22:03:26 +03:00
Alexey Milovidov
394b020869
Fixed potential issue in Obfuscator on illegal UTF-8 source #2518
2018-06-30 02:27:56 +03:00
Nikolai Kochetov
6e5e57353a
Review fixes. [#CLICKHOUSE-3694] #2156
2018-06-29 19:18:50 +03:00
Nikolai Kochetov
f5ecd410ae
Renamed test.
2018-06-29 17:05:02 +03:00
Alexey Zatelepin
3cbced0d2a
add integration test for mutations of Replicated tables [#CLICKHOUSE-3747]
2018-06-29 16:46:28 +03:00
Amos Bird
900b046943
Add options to enable parsing CSV with single/double quote.
2018-06-29 15:34:55 +08:00
Alexey Milovidov
e051998e1c
Renamed setting "send_logs_level" #2482
2018-06-28 23:11:14 +03:00
Alexey Milovidov
d8654d07e1
Auto version update to [54389]
2018-06-28 22:43:27 +03:00
Alexey Milovidov
3894f094ea
Fixed setting descriptions #2482
2018-06-28 22:40:18 +03:00
alexey-milovidov
1381369638
Update Defines.h
2018-06-28 20:48:05 +03:00
alexey-milovidov
3904ba561f
Merge branch 'master' into CLICKHOUSE-2910
2018-06-28 20:47:25 +03:00
Alexey Milovidov
d4eefc414c
Merge branch 'query_in_form_data' of https://github.com/stavrolia/ClickHouse into stavrolia-query_in_form_data
2018-06-28 20:34:58 +03:00
alexey-milovidov
b7ac6ac8c1
Update IAST.cpp
2018-06-28 20:25:09 +03:00
Nikolai Kochetov
782caef119
Added IAST::appendColumnName(WriteBuffer &); reimplemented IAST::getColumnName() using it.
2018-06-28 20:25:09 +03:00
Nikolai Kochetov
bd4a899dd3
Reduced the number of IAST::getColumnName() calls in ExpressionAnalyzer.
2018-06-28 20:25:09 +03:00
Nikolai Kochetov
29ef36a270
Added test. [#CLICKHOUSE-3794]
2018-06-28 20:15:12 +03:00
Nikolai Kochetov
acd6c8fafd
Supported array(tuple) arguments for arrayEnumerateUniq function. [#CLICKHOUSE-3794]
2018-06-28 20:15:12 +03:00
Alexey Milovidov
6f21706f65
Added test #2553
2018-06-28 19:05:41 +03:00
Alexey Milovidov
493b67d051
Removed useless file [#CLICKHOUSE-2]
2018-06-28 18:59:39 +03:00
Nikolai Kochetov
ebde528506
Create default macros in global context. [#CLICKHOUSE-3793]
2018-06-28 17:11:09 +03:00
Mikhail Surin
c7a305eca3
fix float transform
2018-06-28 16:36:40 +03:00
stavrolia
5966b78d41
add case with external file
2018-06-27 21:53:11 +03:00
robot-metrika-test
e03d523f19
Auto version update to [54388]
2018-06-27 16:10:59 +03:00
Alexey Zatelepin
2447755700
BackgroundSchedulePool: remove task from delayed even it it is currently executing
...
If the task was left in the delayed_tasks set, it could lead to a nasty bug:
delayExecutionThreadFunction() would schedule the task, then it would immediately
go on a next iteration and schedule the same task again. Thus this task would be
continually executing, and other delayed tasks would have no chance to run.
2018-06-27 13:47:58 +03:00
Nikolai Kochetov
bf3327da8b
Removed nullable column from ColumnUnique. Added IColumnUnique::getNestedNotNullableColumn().
2018-06-26 20:38:32 +03:00
Constantin S. Pan
59e7af6926
Add a test with materialized view against null table and lots of data
2018-06-26 16:26:51 +01:00
Nikolai Kochetov
9f591b8d02
Merged with master.
2018-06-26 17:41:29 +03:00
Nikolai Kochetov
b1eace2877
Fixed DataTypeWithDictionary deserialization.
2018-06-26 17:12:35 +03:00
Nikolai Kochetov
f191eb8ae9
Fix ColumnWithDictionary::getPremutation limit
2018-06-26 17:12:34 +03:00
Nikolai Kochetov
9e9b33ebe5
Fix deserialization indexes for additional keys in DataTypeWithDictionary.
2018-06-26 17:12:30 +03:00
Nikolai Kochetov
f56d16769b
Added pre and post serialization for IDataType BinaryBulkWithMultipleStreams. Supported dictionary serialization format with single global dictionary (limited wit max_dictionary_size) and additional keys which are stored per granule. Changed IDataType::enumerateStream interface. Added (de)serialization params for binary bulk with multiple stream (de)serialization. Changed IColumn::index interface.
2018-06-26 17:12:21 +03:00
Nikolai Kochetov
58cbcbd5c3
Supported DataTypeWithDictionary in CAST function.
2018-06-26 17:12:21 +03:00
Nikolai Kochetov
df71a25b4f
Removed function makeDictionary, added functions makeDictionaryUInt{8,16,32,64}
2018-06-26 17:12:21 +03:00
Nikolai Kochetov
12bf5ef565
Added IColumn::convertToFullColumnIfWithDictionary; supported FilterDescription for ColumnWithDictionary
2018-06-26 17:12:15 +03:00
Nikolai Kochetov
0eed697623
Fixed typo.
2018-06-26 14:28:24 +03:00
Constantin S. Pan
cc4c4e0b49
Make the test more comprehensive and fix bugs in AggregateFunction implementation of SummingMergeTree
2018-06-26 11:28:42 +01:00
stavrolia
e1cd4d22db
Add test ( #2490 )
2018-06-25 21:17:10 +03:00
Nikolai Kochetov
bd7c72de5c
Spelling.
2018-06-25 16:08:35 +03:00
Nikolai Kochetov
60f0ed9296
Added processing stage check for StorageMerge. [#CLICKHOUSE-3694] #2156
2018-06-25 15:47:51 +03:00
Nikolai Kochetov
4f7c284d34
Fixed build.
2018-06-25 15:47:45 +03:00
Nikolai Kochetov
ba4cf6faf0
Merged with master.
2018-06-25 15:08:21 +03:00
Nikolai Kochetov
7c95d15374
Added test. #2525
2018-06-25 13:57:28 +03:00
Nikolai Kochetov
91c9906c88
Fixed reading from ReplacingMergeTree from emprty row set after prewhere. #2525
2018-06-25 13:48:11 +03:00
Mikhail Surin
0188538b33
fix review
2018-06-22 21:30:13 +03:00
Mikhail Surin
021f3b564b
add tests
2018-06-22 21:30:13 +03:00
Mikhail Surin
7ee530a97d
implement n log(n) compression algorigthm
2018-06-22 21:30:13 +03:00
Mikhail Surin
511e608080
use arena
2018-06-22 21:30:13 +03:00
Mikhail Surin
2f300e9df9
change bins schema
2018-06-22 21:30:13 +03:00
Mikhail Surin
3373909cbd
naive implementation
2018-06-22 21:30:09 +03:00
robot-metrika-test
a21a9577f4
Auto version update to [54387]
2018-06-22 21:10:11 +03:00
Alexey Zatelepin
7ce4ebf1e1
fix test (disable random component in CleanupThread sleep period)
2018-06-22 18:53:59 +03:00
Alexey Zatelepin
7ce74d1730
ZooKeeper client: before the fix we waited 2x longer than necessary before the timeout
2018-06-22 18:30:29 +03:00
Constantin S. Pan
1333b5e97b
Fix the test for AggregateFunction in SummingMergeTree
2018-06-22 16:29:04 +01:00
Alexey Zatelepin
b247635acf
disable unreliable test [#CLICKHOUSE-3758]
2018-06-22 13:46:07 +03:00
Alexey Zatelepin
971fddb299
add comments [#CLICKHOUSE-3747]
2018-06-22 13:43:35 +03:00
zhang2014
f4e72792a5
ISSUES-2553 add offset parameter to numbers
2018-06-22 12:55:36 +03:00
Alexey Zatelepin
e78dc8142c
factor out common code [#CLICKHOUSE-3747]
2018-06-21 22:47:44 +03:00
Alexey Zatelepin
a6c61848f1
mutations finalizing task [#CLICKHOUSE-3747]
2018-06-21 22:47:44 +03:00
Alexey Zatelepin
2fb3d42dfd
temporary fix for a bug when several mutations have the same predicate [#CLICKHOUSE-3747]
2018-06-21 22:47:44 +03:00
Alexey Zatelepin
36982b967d
use single mutex in ReplicatedMergeTreeQueue for simplicity
2018-06-21 22:47:44 +03:00
Alexey Zatelepin
b2cdfcbaca
calculate and update parts_to_do for mutations [#CLICKHOUSE-3747]
2018-06-21 22:47:44 +03:00
proller
a31adcfdea
Allow use unbundled cpuid ( #2543 )
...
* Wait test server startup for 5s
* clean
* Allow use system libcpuid
* cpuid: move include/cpuid/ -> include/libcpuid/
* fix
2018-06-21 20:35:03 +03:00
proller
e1ae5233df
Add // Y_IGNORE tags
2018-06-21 18:24:36 +03:00
Constantin S. Pan
e94570d206
Add support for AggregateFunction in SummingMergeTree
2018-06-21 16:10:32 +01:00
proller
2d9d723d3c
Wait test server startup for 5s
2018-06-21 17:54:48 +03:00
Nikolai Kochetov
96df20f6b5
Fixed ColumnUnique::compareAt implementation; deprecated several metods for IColumnUnique
2018-06-21 16:29:09 +03:00
Nikolai Kochetov
f88584d748
Added DeserializeBinaryBulkState which stores reading state for ColumnWithDictionary.
2018-06-21 16:28:53 +03:00
Vitaliy Lyudvichenko
1a4157f2a9
clickhouse_common_io does not depend on dbms. [#CLICKHOUSE-2910]
...
Get rid of extra linking dependencies for clickhouse_common_io. [#CLICKHOUSE-2910]
2018-06-21 15:13:56 +03:00
Vitaliy Lyudvichenko
358e4ae9bf
Fixed failures in utils, more precise test. [#CLICKHOUSE-2910]
2018-06-20 18:41:15 +03:00
Vitaliy Lyudvichenko
310bb4116e
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-06-19 23:33:11 +03:00
Vitaliy Lyudvichenko
e13ba09004
Rewritten ThreadStatus via adding shared thread state. [#CLICKHOUSE-2910]
...
Fixed race condition in SystemLog.
2018-06-19 23:30:35 +03:00
proller
fbe7df73a2
CLICKHOUSE-3762 Build fixes ( #2488 )
...
CONTRIB-254
2018-06-19 21:09:09 +03:00
proller
a4e6f726e8
Build and test fixes
2018-06-19 00:13:11 +03:00
Vitaliy Lyudvichenko
8dc1bebf00
Add logs forwarding from remote severs to client. [#CLICKHOUSE-2910]
2018-06-18 19:30:26 +03:00
Vitaliy Lyudvichenko
e031b5360a
Minor enhancement. [#CLICKHOUSE-2910]
2018-06-18 16:50:20 +03:00
Vitaliy Lyudvichenko
392f6e0c6c
Print query_id in logs. Add own logging interface. [#CLICKHOUSE-2910]
2018-06-18 16:41:13 +03:00
Alexey Milovidov
187d93ea82
Addition to prev. revision #2520
2018-06-18 05:17:00 +03:00
Alexey Milovidov
4871fb3626
Addition to prev. revision #2520
2018-06-18 05:16:00 +03:00
Alexey Milovidov
447ffe32a9
Addition to prev. revision #2520
2018-06-18 05:15:19 +03:00
Alexey Milovidov
ea01f6a3ff
Addition to prev. revision #2520
2018-06-18 05:12:19 +03:00
Alexey Milovidov
82102c6896
Fixed conflicting headers on Fedora Rawhide while using Linux native AIO #2520
2018-06-18 04:33:34 +03:00
Alexey Milovidov
3ea8ce1c0a
Obfuscator: better default parameter #2518
2018-06-17 02:34:34 +03:00
Alexey Milovidov
6173e4b71f
Returned back "explicit" #2501
2018-06-16 09:00:51 +03:00
Alexey Milovidov
2298f1c68b
Fixed strange code #2501
2018-06-16 08:54:06 +03:00
Alexey Milovidov
b108882e2e
Merge branch 'master' of https://github.com/alesapin/ClickHouse into alesapin-master
2018-06-16 08:29:00 +03:00
Alexey Milovidov
05d31f5e46
LZ4_decompress_faster: reordered variants and removed variant that is always worse [#CLICKHOUSE-3773]
2018-06-16 07:48:37 +03:00
Alexey Milovidov
52755f248a
Fixed error [#CLICKHOUSE-2]
2018-06-16 06:35:23 +03:00
Alexey Milovidov
d8eb8c8ddf
Fixed error [#CLICKHOUSE-2]
2018-06-16 06:31:49 +03:00
Alexey Milovidov
e4776e8b5d
Fixed build (no include path was specified) #2513
2018-06-16 05:31:41 +03:00
Alexey Milovidov
4e8082a699
Fixed build [#CLICKHOUSE-2]
2018-06-16 05:16:19 +03:00
alexey-milovidov
d853b28543
Merge pull request #2513 from yandex/trim-exit-string
...
Trim exit string
2018-06-16 05:15:25 +03:00
alexey-milovidov
d578bcbd5c
Update StringUtils.h
2018-06-16 05:14:37 +03:00
Alexey Milovidov
0272fc996a
Fixed build [#CLICKHOUSE-2]
2018-06-16 05:13:54 +03:00
Alexey Milovidov
e66cdfe429
Fixed error [#CLICKHOUSE-2]
2018-06-16 05:06:51 +03:00
Alexey Milovidov
e6aa58e667
Fixed error [#CLICKHOUSE-2]
2018-06-16 05:04:46 +03:00
alexey-milovidov
f589ab2831
Merge pull request #2518 from yandex/anonymizer
...
Simple tool for table data obfuscation.
2018-06-16 05:01:15 +03:00
alexey-milovidov
e6daa67beb
Merge pull request #1890 from yandex/lz4_experiments
...
Faster LZ4 decompression (experimental) + simple draft of data mutator.
2018-06-16 04:57:47 +03:00
Alexey Milovidov
fae4359ee1
Data obfuscator: added documentation [#CLICKHOUSE-2]
2018-06-16 04:45:19 +03:00
Alexey Milovidov
9d137881a9
Data obfuscator: added documentation [#CLICKHOUSE-2]
2018-06-16 04:44:25 +03:00
Alexey Milovidov
914b1fc967
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-16 03:52:27 +03:00
Alexey Milovidov
116c91c9ca
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-16 03:50:52 +03:00
Alexey Milovidov
4e02a4c81f
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-16 03:27:59 +03:00
Alexey Milovidov
80ed67c8ee
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-16 02:54:33 +03:00
Constantin S. Pan
ca88ba7cfa
Add a test for AggregateFunction in SummingMergeTree
2018-06-15 16:11:43 +01:00
Vitaliy Lyudvichenko
a0e9d17bfd
Add query_id and host_name to server logs. [#CLICKHOUSE-2910]
2018-06-15 16:49:01 +03:00
Alexey Milovidov
16c16dcc2d
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 13:42:13 +03:00
Alexey Milovidov
9043e36fa1
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 13:03:02 +03:00
Alexey Milovidov
ddd10d956b
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 12:44:14 +03:00
Alexey Milovidov
108cca6ac1
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 12:40:40 +03:00
Alexey Milovidov
47bded3520
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 12:21:53 +03:00
Alexey Milovidov
3de1efa2c2
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 12:07:42 +03:00
Alexey Milovidov
bd5247864b
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 11:53:06 +03:00
alesapin
ffad002bf5
Add missed stl header
2018-06-15 10:42:57 +03:00
Alexey Milovidov
43a98634a9
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 10:09:54 +03:00
alesapin
5bc0f26496
Add missed file
2018-06-15 10:05:14 +03:00
Alexey Milovidov
5fa604db7b
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 09:27:16 +03:00
Alexey Milovidov
e1b85c84f7
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 09:14:39 +03:00
Alexey Milovidov
1c4eb2c586
Data obfuscator: development [#CLICKHOUSE-2]
2018-06-15 08:33:39 +03:00
Alexey Milovidov
c375814e44
Added support for intHashCRC32 on AArch64 [#CLICKHOUSE-2]
2018-06-15 08:21:12 +03:00
Alexey Milovidov
233906f61b
Enabled ARM Neon [#CLICKHOUSE-2]
2018-06-15 00:58:48 +03:00
alesapin
6e07b17632
Added WriteBufferFromHTTP and used it in StorageURL. Also small refactoring.
2018-06-15 00:22:56 +03:00
alesapin
148cbe8058
Added WriteBufferFromHTTP and used it in StorageURL. Also small refactoring.
2018-06-15 00:20:39 +03:00
Alexey Milovidov
0c467158f9
Attempt to use ARM Neon [#CLICKHOUSE-2]
2018-06-15 00:14:08 +03:00
Alexey Milovidov
d4aa1dffa2
Attempt to use ARM Neon [#CLICKHOUSE-2]
2018-06-15 00:13:13 +03:00
Alexey Milovidov
c9789f985a
Fallback for non x86 [#CLICKHOUSE-2]
2018-06-14 23:16:57 +03:00
Alexey Milovidov
af5875960f
Fallback for non x86 [#CLICKHOUSE-2]
2018-06-14 23:09:05 +03:00
Alexey Milovidov
cc4f896a9d
Fallback for non x86 [#CLICKHOUSE-2]
2018-06-14 23:05:52 +03:00
Alexey Milovidov
177251790b
Fallback for non x86 [#CLICKHOUSE-2]
2018-06-14 23:05:20 +03:00
Alexey Milovidov
e27af42041
Fallback for non x86 [#CLICKHOUSE-2]
2018-06-14 23:04:48 +03:00
Alexey Milovidov
86053c754f
Fixed warning on platforms where char is unsigned [#CLICKHOUSE-2]
2018-06-14 22:57:11 +03:00
Alexey Milovidov
a2fdda4231
Fixed warning on platforms where char is unsigned [#CLICKHOUSE-2]
2018-06-14 22:54:11 +03:00
Nikolai Kochetov
fd406f30ad
Trim exit string before checking. #2510
2018-06-14 22:21:35 +03:00
Nikolai Kochetov
27c6df7e20
Trim exit string before checking. #2510
2018-06-14 22:15:35 +03:00
alesapin
4125b0c7f3
Merge remote-tracking branch 'upstream/master'
2018-06-14 21:06:24 +03:00
Vitaliy Lyudvichenko
608895d9ff
Disable compression for Log packets. [#CLICKHOUSE-2910]
2018-06-14 18:33:59 +03:00
Vitaliy Lyudvichenko
e5e73d4a9b
Add CAP_NET_ADMIN capability check. [#CLICKHOUSE-2910]
2018-06-14 17:58:39 +03:00
Vitaliy Lyudvichenko
4cd230f85c
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-06-14 16:04:00 +03:00
Vitaliy Lyudvichenko
95b42afcb9
Add test for profile events logging. [#CLICKHOUSE-2910]
2018-06-14 14:56:12 +03:00
Alexey Milovidov
1e60b733f4
Fixed warning #2504
2018-06-13 23:02:27 +03:00
alexey-milovidov
08ec751a8c
Merge pull request #2504 from yandex/system-mutations-table
...
[WIP] system.mutations table skeleton
2018-06-13 23:00:30 +03:00
alexey-milovidov
c1910fef37
Update ASTAlterQuery.h
2018-06-13 23:00:10 +03:00
Alexey Milovidov
90e933c9bf
Merge branch 'master' of github.com:yandex/ClickHouse
2018-06-13 22:42:25 +03:00
Alexey Milovidov
95e4bcdb56
Fixed non-deterministic test #2352
2018-06-13 22:42:04 +03:00
alexey-milovidov
f123fce023
Merge pull request #2505 from yandex/use-zookeeper-session-timeout-from-server
...
Use zookeeper session timeout from zookeeper server.
2018-06-13 22:36:37 +03:00
Nikolai Kochetov
cedf7a309e
Use zookeeper session timeout from zookeeper server.
2018-06-13 22:24:54 +03:00
alexey-milovidov
ca883a699d
Update StorageURL.cpp
2018-06-13 21:54:32 +03:00
alexey-milovidov
931ccf988f
Update TableFunctionURL.h
2018-06-13 21:52:17 +03:00
alexey-milovidov
f546169a4d
Update StorageURL.cpp
2018-06-13 21:51:56 +03:00
Alexey Zatelepin
a3bf3e6d20
add missing columns to system.parts [#CLICKHOUSE-3747]
2018-06-13 18:47:40 +03:00
Alexey Zatelepin
b60a2a90fa
rename method for clarity
2018-06-13 17:15:36 +03:00
Alexey Zatelepin
4ee581117b
system.mutations table skeleton [#CLICKHOUSE-3747]
2018-06-13 17:15:36 +03:00
Alexey Zatelepin
2c61a5940c
store mutation entries in shared_ptr
2018-06-13 17:14:12 +03:00
Alexey Zatelepin
c5c601f662
save serialized commands in ReplicatedMergeTreeMutationEntry; split InterpreterAlterQuery::parseAlter() [#CLICKHOUSE-3747]
2018-06-13 17:14:08 +03:00
Alexey Zatelepin
14947b494f
make ASTAlterQuery::Parameters a real AST element ASTAlterCommand [#CLICKHOUSE-3747]
2018-06-13 17:13:28 +03:00
alesapin
567bbb2bbb
Fix header path and small fixes in tests
2018-06-13 10:36:47 +03:00
alesapin
7eaac3e40d
Merge remote-tracking branch 'upstream/master'
2018-06-13 10:27:41 +03:00
alesapin
b42351d36c
Fix format in storage url
2018-06-13 10:00:07 +03:00
Alexey Milovidov
397ac0fb24
Updated performance testing tool #1890
2018-06-13 05:52:03 +03:00
Alexey Milovidov
288d19a706
Merge branch 'master' into lz4_experiments
2018-06-13 04:33:41 +03:00
Alexey Milovidov
7f294007cb
Removed string size overestimation #2428
2018-06-13 03:51:23 +03:00
alesapin
ceef414cb8
Add simple tests for table function url and table function engine
2018-06-12 18:59:43 +03:00
Alexey Milovidov
e3d5a2860e
Updated LZ4 performance testing tool #1890
2018-06-12 08:04:16 +03:00
Alexey Milovidov
0baa62b0da
Merge branch 'lz4_experiments' of github.com:yandex/ClickHouse into lz4_experiments
2018-06-12 07:18:13 +03:00
Alexey Milovidov
cf94f609f6
Fixed error #1890
2018-06-12 07:18:01 +03:00
Alexey Milovidov
777ace12b4
Added test #1890
2018-06-12 06:44:53 +03:00
Alexey Milovidov
24b0f77a2c
Revert "Added ASLR to aid debugging #1890 "
...
This reverts commit 619225323d
.
2018-06-12 06:33:26 +03:00
Alexey Milovidov
d560db65f6
Fixed weird error #1890
2018-06-12 06:32:48 +03:00
Alexey Milovidov
2a30db6b44
Whitespace [#CLICKHOUSE-2]
2018-06-12 06:26:24 +03:00
Alexey Milovidov
eb83b2046b
Fixed potential issue #1890
2018-06-12 06:25:54 +03:00
alesapin
df4f8bea35
Merge remote-tracking branch 'upstream/master'
2018-06-11 16:31:58 +03:00
alesapin
0f529dbc6e
Add table fuction url and storage URL
2018-06-11 15:13:00 +03:00
Alexey Milovidov
619225323d
Added ASLR to aid debugging #1890
2018-06-11 08:02:20 +03:00
alexey-milovidov
17d90fe6da
Merge branch 'master' into lz4_experiments
2018-06-10 23:13:38 +03:00
alexey-milovidov
fafecb3c25
Better modularity of formats. ( #2492 )
...
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development): removed very old tests #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
2018-06-10 22:22:49 +03:00
Alexey Milovidov
72af2b7b0f
Removed wrong modification #2260
2018-06-10 21:26:02 +03:00
Alexey Milovidov
641076de51
Reverted unclear modification #2260
2018-06-09 21:39:29 +03:00
Alexey Milovidov
ebe5e3f9b6
Reverted unclear modification #2260
2018-06-09 21:35:51 +03:00
Alexey Milovidov
6475ea98c7
Merging: Fixed most of problems, actualized test #2260
2018-06-09 21:17:27 +03:00
Alexey Milovidov
d864f39ec7
Merge branch 'master' into zhang2014-feature/support_truncate
2018-06-09 19:10:06 +03:00
Alexey Milovidov
cfacdf1457
Merging: Fixed most of problems #2260
2018-06-09 19:09:37 +03:00
Alexey Milovidov
f3d8b4e3cf
Merging: Fixed most of problems #2260
2018-06-09 19:03:07 +03:00
Vitaliy Lyudvichenko
9a788d9790
Fixed exception safety in TCPHandler. [#CLICKHOUSE-2910]
2018-06-09 18:58:41 +03:00
Alexey Milovidov
d56c199f07
Merging: Fixed half of problems #2260
2018-06-09 18:48:22 +03:00
Vitaliy Lyudvichenko
c04dfb40a6
Fixed memory tracking. [#CLICKHOUSE-2910]
2018-06-09 18:29:08 +03:00
Alexey Milovidov
0bc678474e
Merge branch 'feature/support_truncate' of https://github.com/zhang2014/ClickHouse into zhang2014-feature/support_truncate
2018-06-09 17:24:50 +03:00
alexey-milovidov
b159bf1605
Update HTTPHandler.cpp
2018-06-09 15:24:18 +03:00
Olga Khvostikova
15cc44d894
Fix possible memeory problem
2018-06-09 07:18:59 +00:00
Olga Khvostikova
7b8c31eb50
Fix
2018-06-09 06:59:12 +00:00
Olga Khvostikova
c89c62f929
Draft
2018-06-09 06:56:10 +00:00
Vitaliy Lyudvichenko
ed7cd86f09
Fixed several bug. Trun on --server_logs_level=warning in tests. [#CLICKHOUSE-2910]
...
Fixed several test to be compatible with --server_logs_level=warning.
2018-06-08 22:50:15 +03:00
Alexey Milovidov
045d5975b3
Fixed discrepancy between Query, SelectQuery, InsertQuery profile events [#CLICKHOUSE-3769]
2018-06-08 22:32:35 +03:00
Alexey Milovidov
f45c0ce9a9
Added instruction to use TScanCode [#CLICKHOUSE-2].
2018-06-08 21:52:37 +03:00
alexey-milovidov
77fd2f3721
Merge pull request #2484 from yandex/format-settings
...
Allowed to switch between 'basic' and 'best effort' methods of parsing DateTime values from text formats.
2018-06-08 21:46:07 +03:00
Alexey Milovidov
64ea1046e1
Using ninja by default: updated instructions [#CLICKHOUSE-2]
2018-06-08 19:18:07 +03:00
Alexey Milovidov
c937e2ebc6
Added test #1710
2018-06-08 06:27:44 +03:00
Alexey Milovidov
96fbe1d716
Allowed to switch between 'basic' and 'best effort' methods of parsing DateTime from text #1710
2018-06-08 06:27:34 +03:00
Alexey Milovidov
101276e541
Allowed to switch between 'basic' and 'best effort' methods of parsing DateTime from text #1710
2018-06-08 06:15:33 +03:00
Alexey Milovidov
2152b932c2
Allowed to switch between 'basic' and 'best effort' methods of parsing DateTime from text: preparation #1710
2018-06-08 05:56:37 +03:00
Alexey Milovidov
9940b4f8ff
Passing settings to ser/de of data types: development #1710
2018-06-08 05:26:44 +03:00
Alexey Milovidov
29bd48fc7a
Passing settings to ser/de of data types: development #1710
2018-06-08 05:24:27 +03:00
Alexey Milovidov
26d448baad
Passing settings to ser/de of data types: development #1710
2018-06-08 04:51:55 +03:00
Alexey Milovidov
d81d4dfb29
Merge branch 'master' into format-settings
2018-06-08 01:39:55 +03:00
Alexey Milovidov
f483e4cb05
Added test for already fixed issue [#CLICKHOUSE-3750]
2018-06-08 00:27:05 +03:00
alexey-milovidov
7bae3506c4
Merge pull request #2483 from yandex/cast-fix-bad-code
...
Fixed bad code in implementation of CAST expression.
2018-06-08 00:25:30 +03:00
Alexey Milovidov
27fac69f1a
Actualized tests [#CLICKHOUSE-3764]
2018-06-08 00:09:57 +03:00
Alexey Milovidov
8901414ad2
Fixed error; added test [#CLICKHOUSE-3764]
2018-06-07 23:49:59 +03:00
Alexey Milovidov
f71eb36719
Added test [#CLICKHOUSE-3764]
2018-06-07 23:37:16 +03:00
Alexey Milovidov
7125db4679
Fixed code with extremely high level of ugliness [#CLICKHOUSE-3764]
2018-06-07 23:25:38 +03:00
alexey-milovidov
a0592aa7a7
Merge pull request #2472 from alesapin/master
...
Introduce logging in shared library dictionaries
2018-06-07 22:04:38 +03:00
Vitaliy Lyudvichenko
99b68d3cf3
Add more options for loggig. [#CLICKHOUSE-2910]
2018-06-07 21:46:53 +03:00
Vitaliy Lyudvichenko
ac54e52fb3
Add server logs passing to client. [#CLICKHOUSE-2910]
2018-06-07 20:58:50 +03:00
alesapin
40c2b21b65
Change dictionary shared library api to v3. Both in library and examples.
2018-06-07 20:41:14 +03:00
alexey-milovidov
587189b211
Merge branch 'master' into clang-compliant
2018-06-07 17:43:20 +03:00
proller
cb65528147
Build fixes ( #2481 )
...
* Build fixes
* fix
* Fix package without compiler
* Better
* fix
* fix
* fix
* Build fix
* fix
* fix
* fix
* Build fix
* Fix test
* test fixes
* test: netcat-openbsd
* Compile fixes
* Update AggregateFunctionStatisticsSimple.h
* Update FunctionsRound.h
2018-06-07 17:42:38 +03:00
alesapin
d2bfa25769
Remove unused include
2018-06-07 12:22:27 +03:00
flow
c408854c3c
Clang compliant on macosx
2018-06-07 12:21:38 +08:00
alexey-milovidov
be4be0758a
Remove escaping in presentational formats ( #2476 )
...
* Removed escaping in presentational formats; changed a way how NULL is output #1729
* Addition to prev. revision #1729
* Addition to prev. revision #1729
* Updated tests #1729
* Updated function visibleWidth to be consistent with Pretty formats #1729
2018-06-07 04:30:29 +03:00
proller
095420e158
Build fixes ( #2475 )
...
* Build fixes
* fix
* Fix package without compiler
* Better
* fix
* fix
* fix
* Build fix
* fix
* fix
* fix
* Build fix
* Fix test
2018-06-07 04:20:53 +03:00
Alexey Milovidov
0b7bf8491f
Merge branch 'master' into format-settings
2018-06-07 02:13:45 +03:00
Alexey Milovidov
89b2096fd7
Merge branch 'master' of github.com:yandex/ClickHouse
2018-06-07 00:21:46 +03:00
Alexey Milovidov
cc1691949a
Modified tests #2429
2018-06-07 00:15:47 +03:00
Alexey Milovidov
a00e5e2c5c
Preparations #2429
2018-06-07 00:13:49 +03:00
Alexey Milovidov
37bd5f175b
Whitespaces #2429
2018-06-06 23:38:02 +03:00
Alexey Milovidov
5fa25968c8
Merge branch 'task_ends_starts' of https://github.com/VadimPE/ClickHouse into VadimPE-task_ends_starts
2018-06-06 23:36:22 +03:00
proller
347579ce46
Cmake: mark system includes as SYSTEM ( #1449 )
...
* contrib: cctz as submodule. update cctz.
* pbuilder: add ubuntu bionic, devel
* Cmake: mark system includes as SYSTEM
* Build fixes
* fix
* Fix package without compiler
* Better
* fix
* fix
* fix
* Build fix
* fix
* fix
* fix
* Cmake: Add SYSTEM to includes for external libs
2018-06-06 23:21:58 +03:00
alesapin
2a39f05f99
Shared Library Dict Logging: Replace multiple functions with single one and add logging examples into test libraries
2018-06-06 23:21:16 +03:00
proller
e475647594
Build fix
2018-06-06 23:07:41 +03:00
proller
8ba439a8b7
Build fix (copy-headers)
2018-06-06 22:57:01 +03:00
Vadim
57f961138e
add \n
2018-06-06 22:55:08 +03:00
Vadim
2ca21dfde7
fix
2018-06-06 22:36:14 +03:00
proller
4dabc18585
Build fix
2018-06-06 22:00:11 +03:00
Vadim
4b5e28a9d1
fix test's name
2018-06-06 21:49:43 +03:00
proller
01a31414eb
Build fixes ( #2474 )
2018-06-06 21:41:39 +03:00
Vadim
fec000b8dc
Add new tests and new impl
2018-06-06 21:22:49 +03:00
Alexey Milovidov
b6a6e391b8
Fixed minor security issue [#CLICKHOUSE-3758]
2018-06-06 21:05:35 +03:00
Alexey Milovidov
583b9af56f
Fixed error: user settings don't apply when using session_id parameter [#CLICKHOUSE-3763]
2018-06-06 20:35:35 +03:00
Alexey Milovidov
3bb0bd322e
Merge branch 'master' of github.com:yandex/ClickHouse
2018-06-06 20:17:06 +03:00
Alexey Milovidov
267a69fe7e
Better type for number of rows [#CLICKHOUSE-2]
2018-06-06 20:16:05 +03:00
proller
82a4565ebe
Build fixes ( #2473 )
2018-06-06 19:05:53 +03:00
alesapin
1adee7a6c5
Merge remote-tracking branch 'upstream/master'
2018-06-06 17:35:55 +03:00
alesapin
6426e573aa
Fix format
2018-06-06 17:35:33 +03:00
Alexey Zatelepin
863c1c6ed5
add fields related to part mutations to system.replicas table [#CLICKHOUSE-3747]
2018-06-06 16:22:30 +03:00
Alexey Zatelepin
dbfee942af
escape serialized AST in MutationCommands (just in case) [#CLICKHOUSE-3747]
2018-06-06 14:30:58 +03:00
Alexey Milovidov
092d156800
Settings for DateTime format (incomplete) [#CLICKHOUSE-2]
2018-06-06 00:39:01 +03:00
Alexey Milovidov
51044279e5
Squashed #2471
2018-06-05 23:09:51 +03:00
Alexey Milovidov
b9b89a5590
Less dependencies [#CLICKHOUSE-2]
2018-06-05 22:46:49 +03:00
Alexander Sapin
5a524a7819
Remove empty lines
2018-06-05 22:20:16 +03:00
Alexander Sapin
4e3dc0d8a2
Introduce logging in shared library dictionaries
2018-06-05 22:17:16 +03:00
proller
c1904d3c55
Build and test fixes ( #2470 )
2018-06-05 20:43:10 +03:00
Alexey Zatelepin
3947f25365
add general comment about the mutation algorithm [#CLICKHOUSE-3747]
2018-06-05 17:55:35 +03:00
Alexey Zatelepin
2fde0acb36
allow ALTER DELETE in distributed DDL [#CLICKHOUSE-3688]
2018-06-05 16:23:52 +03:00
alexey-milovidov
39e69b421a
Merge pull request #2468 from yandex/fix-partition-key-parts-pruning
...
Fix pruning of parts by conditions on partition key columns
2018-06-05 15:52:47 +03:00
Alexey Zatelepin
0e63004ecf
add test [#CLICKHOUSE-3757]
2018-06-05 14:00:17 +03:00
Nikolai Kochetov
d018f3ad60
Per granula reading for ColumnWithDictionary in MergeTreeRangeReader.
2018-06-05 13:10:54 +03:00
Nikolai Kochetov
caa86bc59a
Fixed ColumnWithDictionary::serializeBinaryBulkWithMultipleStreams, added more comments.
2018-06-05 13:10:44 +03:00
proller
4d12a823da
Use copy-headers from cmake. (working compiler test without package install) ( #2456 )
...
* Try use copy-headers from cmake [WIP]
* Using internal compiler without install
* 32bit Compile fix
* Fixes
* fix
* clean
* fix
* clean
2018-06-04 23:26:17 +03:00
alexey-milovidov
f69ecf7a9d
Merge pull request #2448 from LiuYangkuan/fix-issue-2439
...
fix Exception in issue#2439
2018-06-04 23:17:44 +03:00
alexey-milovidov
3af746aab1
Merge pull request #2462 from proller/fix19
...
Build fixes
2018-06-04 23:17:21 +03:00
alexey-milovidov
88efe5ad56
Merge pull request #2463 from yandex/pvs-studio
...
Fixes according to PVS-Studio report.
2018-06-04 22:59:47 +03:00
Alexey Milovidov
0f96a5c1c5
Suppressions for PVS-Studio [#CLICKHOUSE-3]
2018-06-04 22:46:47 +03:00
Alexey Milovidov
a6caf556ef
Fixed potential issue found by PVS-Studio [#CLICKHOUSE-3]
2018-06-04 22:43:38 +03:00
Alexey Milovidov
f467fb38c7
Fixed bug found by PVS-Studio; added test [#CLICKHOUSE-3]
2018-06-04 22:37:58 +03:00
Alexey Milovidov
47c24bb2ad
Added instruction of running PVS-Studio [#CLICKHOUSE-3]
2018-06-04 22:35:02 +03:00
Alexey Milovidov
ca52d96e09
Insignificant changes for PVS-Studio [#CLICKHOUSE-3]
2018-06-04 22:22:27 +03:00
proller
9907388766
32bit Compile fix
2018-06-04 20:04:31 +03:00
Alexey Milovidov
e5682e81f7
Slightly better (preparation) [#CLICKHOUSE-3]
2018-06-04 20:01:00 +03:00
Alexey Zatelepin
a9b348fe5e
check if partition key condition can be true in parallelogram instead of range [#CLICKHOUSE-3757]
2018-06-04 19:20:02 +03:00
Alexey Zatelepin
ec7446e541
calculate primary key when mutating a part [#CLICKHOUSE-3747]
2018-06-04 18:45:34 +03:00
Alexey Milovidov
df11490b2a
Insignificant changes guided by PVS-Studio [#CLICKHOUSE-3]
2018-06-04 18:45:08 +03:00
Alexey Milovidov
5fa1cdf49e
Better code (preparation) [#CLICKHOUSE-3]
2018-06-04 18:44:29 +03:00
Alexey Milovidov
d811647668
Suppressions for PVS-Studio [#CLICKHOUSE-3]
2018-06-04 18:28:25 +03:00
Alexey Milovidov
9b4823769a
Better fix [#CLICKHOUSE-3]
2018-06-04 18:26:20 +03:00
Alexey Milovidov
522cd82e76
Non significant change: slightly better [#CLICKHOUSE-3]
2018-06-04 18:07:32 +03:00
Alexey Milovidov
1001209e2a
Fixed bug found by PVS-Studio [#CLICKHOUSE-3]
2018-06-04 18:05:19 +03:00
Alexey Milovidov
fa3a01f942
Fixed bug found by PVS-Studio [#CLICKHOUSE-3]
2018-06-04 18:03:21 +03:00
Alexey Milovidov
531e9d14be
Non significant change: slightly better [#CLICKHOUSE-3]
2018-06-04 18:01:24 +03:00
Alexey Milovidov
de72b4adde
Fixed bug found by PVS-Studio [#CLICKHOUSE-3]
2018-06-04 18:01:18 +03:00
Vitaliy Lyudvichenko
89f2107c75
C++ify taskstats getter, periodic auto update of profile events. [#CLICKHOUSE-2910]
2018-06-04 17:50:35 +03:00
alexey-milovidov
f428f30bc6
Merge pull request #2461 from yandex/CLICKHOUSE-3749
...
Clickhouse-3749
2018-06-04 17:24:35 +03:00
Alexey Milovidov
1829aba596
Non significant change: slightly better [#CLICKHOUSE-3]
2018-06-04 17:17:47 +03:00
Alexey Milovidov
278ccdff73
Non significant change: removed redundant checks [#CLICKHOUSE-3]
2018-06-04 17:17:24 +03:00
Alexey Milovidov
9cbcfc87f2
Fixed bug found by PVS-Studio [#CLICKHOUSE-3]
2018-06-04 17:16:08 +03:00
Nikolai Kochetov
bc2be6afe3
Added more tests for in function in with pk columns.
2018-06-04 17:10:54 +03:00
Nikolai Kochetov
5717b16165
Updated test with in syntax. [#CLICKHOUSE-3749]
2018-06-04 16:32:20 +03:00
Nikolai Kochetov
1b4c294f01
Added left tuple argument unpacking for IN function if it doesn't equals to set types. [#CLICKHOUSE-3749]
2018-06-04 16:30:38 +03:00
Alexey Zatelepin
2e77c508ad
add comments [#CLICKHOUSE-3747]
2018-06-04 14:43:09 +03:00
Alexey Zatelepin
e55097b866
introduce constants for max level and max block number
2018-06-04 14:23:47 +03:00
Alexey Milovidov
8cb65277e2
Non significant changes according to clang's -Weverything, part 5 [#CLICKHOUSE-2]
2018-06-04 01:11:50 +03:00
Alexey Milovidov
7c60adbebb
Non significant changes according to clang's -Weverything, part 4 [#CLICKHOUSE-2]
2018-06-03 23:48:36 +03:00
Alexey Milovidov
f5adbceed2
Non significant changes according to clang's -Weverything, part 3 [#CLICKHOUSE-2]
2018-06-03 23:39:06 +03:00
Alexey Milovidov
1c2b024c39
Non significant changes according to clang's -Weverything, part 2 [#CLICKHOUSE-2]
2018-06-03 20:43:56 +03:00
Alexey Milovidov
734cebdf09
Non significant changes according to clang's -Weverything, part 1 [#CLICKHOUSE-2]
2018-06-03 19:51:31 +03:00
robot-metrika-test
a6693cffc0
Auto version update to [54386]
2018-06-01 23:16:46 +03:00
Alexey Zatelepin
89ebe9c49f
add SYSTEM SYNC REPLICA before OPTIMIZE FINAL for test stability
2018-06-01 22:51:36 +03:00
Vitaliy Lyudvichenko
b46f2ad946
Simplified code via introducing states. [#CLICKHOUSE-2910]
2018-06-01 22:39:32 +03:00
alexey-milovidov
02f7277dc7
Update ReplicatedMergeTreeQueue.h
2018-06-01 21:06:43 +03:00
Vitaliy Lyudvichenko
2b179b560b
Initialize external tables after enqueue query. [#CLICKHOUSE-2910]
2018-06-01 18:32:27 +03:00
alexey-milovidov
46cb408fd8
Update BackgroundSchedulePool.cpp
2018-06-01 16:35:16 +03:00
Alexey Zatelepin
af06ca5d3c
Merge branch 'master' into replicated-mergetree-mutations
2018-06-01 16:21:14 +03:00
robot-metrika-test
6a57f55f0c
Auto version update to [54385]
2018-06-01 15:43:56 +03:00
Alexey Milovidov
ba48e31507
Miscellaneous [#CLICKHOUSE-3753]
2018-06-01 15:37:56 +03:00
Alexey Milovidov
81a505ad64
Better name [#CLICKHOUSE-3753]
2018-06-01 15:37:50 +03:00
Alexey Milovidov
ce12f0b37c
Fixed error in ZK library [#CLICKHOUSE-3753]
2018-06-01 15:37:39 +03:00
Vitaliy Lyudvichenko
549a6944d9
Better AsynchronousBlockInputStream in sync mode. [#CLICKHOUSE-2910]
2018-06-01 14:58:17 +03:00
Alexey Milovidov
3cb68784ad
Miscellaneous [#CLICKHOUSE-3753]
2018-05-31 22:30:08 +03:00
Alexey Milovidov
515bd29df7
Better name [#CLICKHOUSE-3753]
2018-05-31 22:28:30 +03:00
Alexey Milovidov
6eb43fe9e9
Merge branch 'master' of github.com:yandex/ClickHouse
2018-05-31 22:26:46 +03:00
Alexey Milovidov
5dbd5b6d68
Fixed error in ZK library [#CLICKHOUSE-3753]
2018-05-31 22:26:21 +03:00
Alexey Zatelepin
8da32835d1
add needed file
2018-05-31 21:41:39 +03:00
Alexey Milovidov
848032ef16
Added test [#CLICKHOUSE-3726]
2018-05-31 21:28:47 +03:00
Alexey Milovidov
f45c479a8b
Removed wrong query optimization [#CLICKHOUSE-3726]
2018-05-31 21:28:04 +03:00
Alexey Zatelepin
f63d2dc3c8
cannot take a number of unlocked abandonable lock
2018-05-31 20:28:17 +03:00
Alexey Milovidov
eeefe89acd
Added test [#CLICKHOUSE-3092]
2018-05-31 20:06:07 +03:00
Vitaliy Lyudvichenko
0355f81f20
[WIP] Introduced query_thread_log. [#CLICKHOUSE-2910]
2018-05-31 18:54:08 +03:00
Alexey Zatelepin
c9bb986330
Merge branch 'master' into replicated-mergetree-mutations
...
Conflicts:
dbms/src/Storages/MergeTree/AbandonableLockInZooKeeper.h
dbms/src/Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.h
dbms/src/Storages/StorageReplicatedMergeTree.cpp
2018-05-31 18:52:42 +03:00
Alexey Zatelepin
dbf6949e0b
support skipping mutations (just in case) [#CLICKHOUSE-3747]
2018-05-31 18:21:00 +03:00
Babacar Diassé
3d518e48b9
NULL check to allow insertion in distributed tables with Materialized views
2018-05-31 17:21:35 +03:00
Vitaliy Lyudvichenko
dc5de3bbec
More optimal conflicts check in future_parts. [#CLICKHOUSE-2]
2018-05-31 17:14:50 +03:00
Vitaliy Lyudvichenko
888f5f4a24
Allow merges after CLEAR COLUMN. [#CLICKHOUSE-3]
...
Resolves #2315
2018-05-31 17:14:50 +03:00
Alexey Milovidov
0f2f2a043f
Added README #2442
2018-05-31 16:35:22 +03:00
alexey-milovidov
5164ef91df
Merge pull request #2442 from shedx/master
...
benchmark data generator implemented
2018-05-31 16:33:23 +03:00
Alexey Zatelepin
d89221c458
easier init and deactivation of BackgroundSchedulePool tasks
2018-05-31 16:18:52 +03:00
alexey-milovidov
cdacf073e8
Merge pull request #2449 from proller/fix15
...
CLICKHOUSE-3587 Always write client error to log
2018-05-30 22:27:21 +03:00
proller
dc721ed721
Try make cache for getSampleBlock ( #2313 )
...
* Cache for getSampleBlock
* Update InterpreterSelectWithUnionQuery.cpp
* Update 00632_get_sample_block_cache.sql
* Add tests
2018-05-30 22:23:15 +03:00
proller
b1f4bf3199
CLICKHOUSE-3587 Always write client error to log
2018-05-30 19:15:35 +03:00
LiuYangkuan
7eb25ef55b
fix Exception in issue#2439
2018-05-30 11:11:53 -04:00
Vadim
620b4a2587
fix tests
2018-05-30 02:21:20 +03:00
Vadim
31a6613105
fix error
2018-05-30 02:01:36 +03:00
Vadim
cf9c03a7bd
add test
2018-05-29 22:18:05 +03:00
Vitaliy Lyudvichenko
e265e5c2ab
Refactoring. [#CLICKHOUSE-2910]
2018-05-29 21:14:31 +03:00
proller
ead9493741
Build fixes
2018-05-29 20:54:48 +03:00
shedx
d9133cb74a
benchmark data generator implemented
2018-05-29 19:14:03 +03:00
proller
221c833cfc
Temporary use copy-headers from debian package
2018-05-29 18:13:30 +03:00
proller
0cd644f5ec
Fix test (no zookeeper detection)
2018-05-29 15:48:36 +03:00
proller
060e965215
Try fix copy_headers ( #2435 )
2018-05-29 01:17:10 +03:00
proller
6a70df6d26
Again fix test 00505_secure with random ports ( #2436 )
2018-05-28 23:55:13 +03:00
proller
895b8e6515
Fix test 00505_secure with random ports ( #2433 )
2018-05-28 23:38:46 +03:00