pyos
8c8a8f9c0f
Extend the test jit-compilable function to arbitrary numbers
2018-04-25 13:37:25 +03:00
pyos
5f1bf11ede
Implement a loop over the columns in jit-compiled code
2018-04-25 13:37:25 +03:00
pyos
407008a4d9
Separate jit-compilability checks from actual compilation
2018-04-25 13:37:25 +03:00
pyos
e96a5e8344
Implement JIT compilation, without a loop for now.
...
It actually seems to work, so long as you only have one row that is. E.g.
> select something(cast(number + 6 as Float64), cast(number + 2 as Float64)) from system.numbers limit 1';
8
with this IR:
define void @"something(CAST(plus(number, 6), 'Float64'), CAST(plus(number, 2), 'Float64'))"(void**, i8*, double*) {
entry:
%3 = load void*, void** %0
%4 = bitcast void* %3 to double*
%5 = load double, double* %4
%6 = getelementptr void*, void** %0, i32 1
%7 = load void*, void** %6
%8 = bitcast void* %7 to double*
%9 = load double, double* %8
%10 = fadd double %5, %9
store double %10, double* %2
ret void
}
2018-04-25 13:37:25 +03:00
pyos
b398ffbaba
Map all number types to LLVM types.
...
The example from the previous commit doesn't need a cast to Float64 anymore.
2018-04-25 13:37:25 +03:00
pyos
851684de51
Add a JIT interface for row-wise default-nullable functions.
...
Not actually implemented, though. It does print out some jit-compiled stuff,
but that's about it. For example, this query:
select number from system.numbers where something(cast(number as Float64)) == 4
results in this on server's stderr:
define double @"something(CAST(number, 'Float64'))"(void**, i8*, void*) {
"something(CAST(number, 'Float64'))":
ret double 1.234500e+04
}
(and an exception, because that's what the non-jitted method does.)
As one may notice, this function neither reads the input (first argument;
tuple of arrays) nor writes the output (third argument; array), instead
returning some general nonsense.
In addition, `#if USE_EMBEDDED_COMPILER` doesn't work for some reason,
including LLVM headers requires -Wno-unused-parameter, this probably only
works on LLVM 5.0 due to rampant API instability, and I'm definitely
no expert on CMake. In short, there's still a long way to go.
2018-04-25 13:37:25 +03:00
pyos
27d90fb941
Add an example function that uses LLVM to compile its own body
2018-04-25 13:37:25 +03:00
Silviu Caragea
1dd5a704fc
Merge remote-tracking branch 'origin/master' into background-schedule-pool-fix
...
# Conflicts:
# dbms/src/Common/ZooKeeper/LeaderElection.h
# dbms/src/Storages/MergeTree/ReplicatedMergeTreeAlterThread.cpp
# dbms/src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp
# dbms/src/Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp
# dbms/src/Storages/StorageReplicatedMergeTree.cpp
2018-04-24 20:11:59 +03:00
alexey-milovidov
6c73fb86e3
Update FunctionsMath.h
2018-04-24 10:11:03 -07:00
Babacar Diassé
22b2099b0b
use exp10 and cbrt from vectorclass when enabled
2018-04-24 10:11:03 -07:00
Tsarkova Anastasia
12c8014e5c
Conditional computations.
2018-04-24 09:16:39 +02:00
sundy-li
e882acef31
fix:ODBC sqlType mapping
2018-04-23 22:55:06 -07:00
Alexey Milovidov
2627a4da2e
Better test #2066
2018-04-22 22:09:35 -07:00
Alexey Milovidov
afb7127c67
Better test #2066
2018-04-22 20:32:53 -07:00
Alexey Milovidov
958a3d7ee7
Fixed error with Arrays inside Nested data type; added a test #2066
2018-04-22 20:30:28 -07:00
Ivan Zhukov
8cb45392c1
Propagate a CSV delimiter to non-basic DataTypes
2018-04-22 20:30:07 +03:00
Ivan Zhukov
e402ff3f81
Unify string checks with a new type
2018-04-22 02:42:01 +03:00
Ivan Zhukov
e84263eb3b
Add a SettingChar type
2018-04-22 02:42:00 +03:00
Ivan Zhukov
a138ab2820
Add CSV delimter support in CSVRowOutputStream
2018-04-22 02:08:50 +03:00
Ivan Zhukov
91cb03bdaf
Add delimiter support in CSVRowInputStream
2018-04-22 02:08:31 +03:00
Ivan Zhukov
1fc6bb6ffe
Add a CSV delimiter setting
2018-04-22 01:20:39 +03:00
Alexey Milovidov
499b67642f
Allow to startup with replicated tables in readonly mode when there is no ZooKeeper configured [#CLICKHOUSE-2]
2018-04-21 21:41:06 +03:00
robot-metrika-test
c6e29f0cbb
Auto version update to [54380]
2018-04-20 22:47:21 +03:00
Alexey Milovidov
fb4a44a913
Added test #2257
2018-04-20 22:46:01 +03:00
Alexey Milovidov
5ba5e80846
Added correct code #2257
2018-04-20 22:45:23 +03:00
Alexey Milovidov
970fda46fd
Merge branch 'master' of github.com:yandex/ClickHouse
2018-04-20 22:22:24 +03:00
Alexey Milovidov
9c750c4786
Added test #2257
2018-04-20 22:22:03 +03:00
alexey-milovidov
60fade5de8
Revert "ISSUES-1885 UTF8 countCodePoints use SIMD"
2018-04-20 22:18:24 +03:00
robot-metrika-test
8bbb295bbc
Auto version update to [54379]
2018-04-20 22:15:52 +03:00
Alexey Milovidov
c087449023
Fixed error #2246
2018-04-20 22:14:04 +03:00
Alexey Milovidov
ac48e1e911
Fixed error #2246
2018-04-20 20:34:09 +03:00
alexey-milovidov
21a5d2dfde
Update Macros.h
2018-04-20 19:10:26 +03:00
alexey-milovidov
c783a69d6b
Update Macros.cpp
2018-04-20 19:10:26 +03:00
Kirill Shvakov
918dbc2902
#2249 allow macros while creating kafka engine
2018-04-20 19:10:26 +03:00
Ivan He
c94b0a1960
fix typo of struct name
2018-04-20 16:27:48 +03:00
Alexey Milovidov
6b88a2a7a5
Better info in log #2246
2018-04-20 04:14:04 +03:00
Alexey Milovidov
70be882b64
Renamed PK to Key where it's appropriate #2246
2018-04-20 03:27:25 +03:00
Alexey Milovidov
d71b3a95ef
Renamed PK to Key where it's appropriate #2246
2018-04-20 03:20:50 +03:00
Alexey Milovidov
72f9f927ac
Added test result #2246
2018-04-20 00:38:45 +03:00
Alexey Milovidov
207a8cc03c
Fixed error with Sets, part 2 #2246
2018-04-20 00:36:58 +03:00
Alexey Milovidov
ce0ac3f8f8
Fixed error with Sets, part 2 #2246
2018-04-20 00:34:04 +03:00
Alexey Milovidov
02abff4fdb
Added failing test #2246
2018-04-19 23:45:27 +03:00
Alexey Milovidov
fee22dac33
Merge branch 'master' of github.com:yandex/ClickHouse
2018-04-19 23:34:23 +03:00
Alexey Milovidov
c0978919e3
Fixed error with partition key IN, part 1 #2246
2018-04-19 23:34:02 +03:00
Alexey Milovidov
a6c194fa6d
Insignificant change #2246
2018-04-19 23:32:56 +03:00
张健
e9b03b3abc
ISSUES-2242 add default data_path & metadata_path for system.tables with temporary ( #2243 )
2018-04-19 23:22:08 +03:00
Vitaliy Lyudvichenko
a29a99b7d3
Add test for ZooKeeperImpl with watch and chroot. [#CLICKHOUSE-2]
2018-04-19 22:40:42 +03:00
Alexey Milovidov
9a05dd6161
ZooKeeperImpl: fixed error with watches and chroot [#CLICKHOUSE-2]
2018-04-19 22:21:37 +03:00
Alexey Milovidov
12e33cfd85
Exit from threads when ZooKeeper session is expired (non significant change) [#CLICKHOUSE-2]
2018-04-19 21:16:18 +03:00
Alexey Milovidov
da94c7dd91
Exit from queueUpdatingThread when ZooKeeper session is expired (non-significant change) [#CLICKHOUSE-2]
2018-04-19 21:01:50 +03:00
Silviu Caragea
32dd4554da
Merge remote-tracking branch 'github/master' into background-schedule-pool-fix
...
# Conflicts:
# dbms/src/Storages/StorageReplicatedMergeTree.cpp
2018-04-19 09:29:49 +03:00
Alexey Milovidov
f9da1fce37
Addition to prev. revision #2164
2018-04-19 08:54:16 +03:00
Alexey Milovidov
41428e4a11
Allowed to read files by table function "file" inside "user_files_path" #2164
2018-04-19 08:32:09 +03:00
alexey-milovidov
08dfd8a09b
Merge pull request #2164 from topvisor/add_table_function_file
...
Add table function file
2018-04-19 07:53:49 +03:00
alexey-milovidov
565c31c0fb
Update TableFunctionFile.cpp
2018-04-19 07:46:29 +03:00
alexey-milovidov
8f5436e8b0
Update StorageFile.cpp
2018-04-19 07:39:48 +03:00
alexey-milovidov
4b3aa3fc11
Update StorageFile.cpp
2018-04-19 07:39:16 +03:00
alexey-milovidov
19f918512b
Update StorageFile.cpp
2018-04-19 07:36:08 +03:00
Alexey Milovidov
ef14902ef9
Style #1925
2018-04-19 07:25:08 +03:00
Alexey Milovidov
6388c916de
Fixed style; added a comment about terribly wrong code [#CLICKHOUSE-2]
2018-04-19 07:23:58 +03:00
alexey-milovidov
0612977bc3
Merge pull request #1925 from zhang2014/fix/ISSUES-995
...
ISSUES-995 support relative path with domain
2018-04-19 07:19:23 +03:00
Alexey Milovidov
dcdaa2c7bc
Added performance test #1925
2018-04-19 06:24:27 +03:00
Alexey Milovidov
ea5dac67d6
More tests #2134
2018-04-19 06:10:10 +03:00
Alexey Milovidov
67c451e9cf
Miscellaneous #2134
2018-04-19 06:08:22 +03:00
alexey-milovidov
b23db369f4
Merge pull request #2134 from zhang2014/fix/union_syntax
...
ISSUES-2133 Support union query with subquery
2018-04-19 05:42:52 +03:00
Alexey Milovidov
cce4c8886c
Removed obsolete code #2226
2018-04-19 00:23:55 +03:00
Alexey Milovidov
b4bf2f0c09
Added comment [#CLICKHOUSE-2]
2018-04-19 00:14:47 +03:00
alexey-milovidov
d0b6ac9fa0
Merge pull request #2238 from alex-krash/master
...
Regression test for bug in 1.1.54370
2018-04-18 23:40:06 +03:00
alexey-milovidov
0b26539313
Update 00621_regression_for_in_operator.sql
2018-04-18 23:39:53 +03:00
Alexey Milovidov
a55abd0a25
Fixed test [#CLICKHOUSE-2]
2018-04-18 23:27:27 +03:00
Alexey Milovidov
b6fcb808fe
Updated old code [#CLICKHOUSE-2]
2018-04-18 23:18:18 +03:00
Alexey Milovidov
91e740da4c
Actualized tests [#CLICKHOUSE-2]
2018-04-18 22:54:15 +03:00
Alexey Milovidov
3eff0184fa
Added set size checking when set from subquery is used for index; removed harmful feature for special support of (a, b) IN (SELECT (a, b)) instead of (a, b) IN (SELECT a, b) [#CLICKHOUSE-2]
2018-04-18 22:38:40 +03:00
Alexey Milovidov
3bb2fa4702
Fixed bad code [#CLICKHOUSE-2]
2018-04-18 21:44:02 +03:00
Alexandr Krasheninnikov
3065ebe571
Regression test for bug in 1.1.54370
2018-04-18 15:14:21 +03:00
proller
f8dc8f32d5
Writing changelog ( #2215 )
...
* Maybe fix flappy test
* Make changelog
* Revert "Temporary revert doc about new package name (clickhouse-server vs cickhouse-server-common)"
This reverts commit 721153ed53
.
* Revert "Temporary revert site about new package name (clickhouse-server vs clickhouse-server-common)"
This reverts commit ba5cb121ae
.
* Better changelog
* Better
* Better changelog
* more
* Update CHANGELOG_RU.md
* Update CHANGELOG_RU.md
* Update CHANGELOG_RU.md
2018-04-17 23:57:02 +03:00
alexey-milovidov
22f7a3a545
Merge pull request #2223 from sundy-li/master
...
Fix:ignore the format_version check when the data is empty
2018-04-17 22:50:26 +03:00
alexey-milovidov
089e71d9a5
Merge pull request #2235 from yandex/small-enhancements
...
Small enhancements
2018-04-17 22:45:01 +03:00
Vitaliy Lyudvichenko
400ad55754
Support allow_databases in distributed DDL. [#CLICKHOUSE-3]
...
Resolves #2189
2018-04-17 22:33:58 +03:00
Vitaliy Lyudvichenko
bf832b3ea6
Fixed OPTIMIZE after RENAME of replicated table. [#CLICKHOUSE-2]
2018-04-17 20:59:42 +03:00
Vitaliy Lyudvichenko
5536bf202c
Allow SELECT FROM system.processes while max_queries limit is exceeded. [#CLICKHOUSE-3670]
2018-04-17 20:08:15 +03:00
Vitaliy Lyudvichenko
604c7071c3
Fixed a long lock of ProcessList when KILL QUERY is called. [#CLICKHOUSE-3706]
2018-04-17 18:16:32 +03:00
Vitaliy Lyudvichenko
f642d0828e
Avoid freezing of KILL QUERY. [#CLICKHOUSE-3706]
2018-04-17 17:29:52 +03:00
Alexey Milovidov
798bee18a7
Merge branch 'master' of github.com:yandex/ClickHouse
2018-04-17 00:04:36 +03:00
proller
27b4af9dd7
Change obsolete comment
2018-04-16 23:25:07 +03:00
alexey-milovidov
17dd218338
Merge pull request #2202 from proller/fix15
...
CLICKHOUSE-3700: Fix empty password on replica query
2018-04-16 23:18:47 +03:00
proller
42cb1540a1
Update ClientInfo.h
2018-04-16 23:12:44 +03:00
Alexey Milovidov
1fdea85e21
Adjusted racy test [#CLICKHOUSE-2]
2018-04-16 21:51:13 +03:00
Nikolai Kochetov
73cf78eec9
updated test
2018-04-16 18:48:27 +03:00
Nikolai Kochetov
d9ab10634a
fix build
2018-04-16 18:39:12 +03:00
Nikolai Kochetov
9e05052c2a
merged with master
2018-04-16 18:35:11 +03:00
Nikolai Kochetov
7b8a306e34
minor fixes
2018-04-16 18:11:13 +03:00
sundy-li
12211ffc5b
Fix:ignore the format_version check when the data is empty
2018-04-16 18:04:59 +08:00
proller
0114b69f61
Fix build
2018-04-13 23:16:12 +03:00
proller
f9cd6a09e6
sql: initial EXTRACT(... FROM ...) support ( #2196 )
...
* start
* wip
* wip
* wip
* wip
* wip
* Fix clickhouse-server.postinst
* clean
* wip
* clean
* clean
* clean
* wip
* clean
* Update dump_variable.cpp
2018-04-13 22:35:08 +03:00
Alexey Milovidov
bc47a49d58
Added a test #2208
2018-04-13 21:49:23 +03:00
robot-metrika-test
bf5763e525
Auto version update to [54378]
2018-04-13 15:44:34 +03:00
proller
5b19d89133
Add git hash to version info
2018-04-13 15:42:35 +03:00
robot-metrika-test
fe6feb3a69
Auto version update to [54377]
2018-04-11 17:23:50 +03:00
robot-metrika-test
50c2252c31
Auto version update to [54376]
2018-04-10 21:29:22 +03:00
proller
4034fcecf3
Merge remote-tracking branch 'upstream/master' into fix15
2018-04-10 21:27:21 +03:00
proller
0c2ba39978
Debian: Try make compatible package depends ( #2194 )
...
* Fix split shared build
* Fix build without system odbc libs
* Move dbms/src/Common/iostream_debug_helpers.h -> libs/libcommon/include/common/iostream_debug_helpers.h
* Fix build with libiodbc
* Fix clickhouse-server.postinst
* Debian: Try make compatible package depends
* Try fix fail on travis tests fail
* Try fix package
* Fix ssl test
* fix
* fix
* wip
* try fix
* clean
* fix
2018-04-10 11:25:08 -07:00
Alexey Milovidov
2392f87dca
ZooKeeper: Fixed error [#CLICKHOUSE-2]
2018-04-10 19:48:43 +03:00
proller
157067b127
CLICKHOUSE-3700: Fix empty password on replica query
2018-04-10 17:49:52 +03:00
Silviu Caragea
f1b8d4bc39
Merge remote-tracking branch 'github/master' into background-schedule-pool-fix
2018-04-10 16:27:17 +03:00
Silviu Caragea
c547c5a7b0
Merge remote-tracking branch 'origin/background-schedule-pool-fix'
...
# Conflicts:
# dbms/src/Common/ZooKeeper/LeaderElection.h
# dbms/src/Common/ZooKeeper/ZooKeeper.cpp
# dbms/src/Storages/MergeTree/ReplicatedMergeTreeAlterThread.cpp
# dbms/src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp
# dbms/src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.h
# dbms/src/Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp
# dbms/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp
# dbms/src/Storages/StorageReplicatedMergeTree.cpp
2018-04-10 16:20:14 +03:00
decaseal
c641a6cd57
table function file - remove unnecessary includes [#add_table_function_file]
2018-04-10 11:59:53 +03:00
decaseal
40b41c3c6e
storage file - change error code [#add_table_function_file]
2018-04-10 11:54:31 +03:00
decaseal
e8ae0343ed
Merge remote-tracking branch 'yandex/master' into add_table_function_file_dev
2018-04-10 10:30:46 +03:00
decaseal
50f65890dc
table function file - use only FileStorage [#add_table_function_file]
2018-04-10 10:28:57 +03:00
decaseal
a2db6db50c
table function file - use only FileStorage [#add_table_function_file]
2018-04-10 10:26:33 +03:00
decaseal
279fa17ff6
storage file - fix check creation is allowed [#add_table_function_file]
2018-04-10 10:09:50 +03:00
Alexey Milovidov
d3cf85057b
Removed useless code [#CLICKHOUSE-2]
2018-04-09 18:49:12 +03:00
proller
c26b3bdef1
Fix split shared build; fix build without system odbc libs ( #2191 )
...
* Fix split shared build
* Fix build without system odbc libs
* Move dbms/src/Common/iostream_debug_helpers.h -> libs/libcommon/include/common/iostream_debug_helpers.h
* Fix build with libiodbc
2018-04-09 06:52:39 -07:00
Alexey Milovidov
f02239a307
Fixed linkage of tests [#CLICKHOUSE-2]
2018-04-08 07:54:23 +03:00
Alexey Milovidov
79e319a7b6
ZooKeeper: fixed error [#CLICKHOUSE-2]
2018-04-08 07:45:59 +03:00
Alexey Milovidov
a2482f120d
Fixed test [#CLICKHOUSE-2]
2018-04-08 07:38:27 +03:00
Alexey Milovidov
86317fe0f9
ZooKeeper: Fixed error [#CLICKHOUSE-2]
2018-04-08 07:25:13 +03:00
proller
07b81c875e
CLICKHOUSE-3444: show error for old query on replace_running_query ( #2127 )
...
* Add tests
* Fix test
* Fix test build
* CLICKHOUSE-3444: show error for replace_running_query
* fix naming
* fix
* fix test
* Update IProfilingBlockInputStream.cpp
2018-04-07 06:49:49 +03:00
Alexey Milovidov
babfc6aaf7
Fixed error [#CLICKHOUSE-2]
2018-04-07 06:46:20 +03:00
Alexey Milovidov
18bbd0e61b
Moved SessionPoolHelpers #2180
2018-04-07 06:07:32 +03:00
Alexey Milovidov
f40817f851
Moved SessionPoolHelpers #2180
2018-04-07 06:07:26 +03:00
Alexey Milovidov
3f264f07e9
Removed excessive library dependencies #2180
2018-04-07 05:29:12 +03:00
Alexey Milovidov
3fd2773151
Improved code after introduction of method "getHeader" in every stream [#CLICKHOUSE-2]
2018-04-07 04:46:50 +03:00
Alexey Milovidov
0a4b349f73
Merge branch 'master' of github.com:yandex/ClickHouse
2018-04-07 00:47:18 +03:00
Alexey Milovidov
4e5e0fa664
ReplicatedMergeTree: Better diagnostics [#CLICKHOUSE-2]
2018-04-07 00:46:57 +03:00
alexey-milovidov
84726e17e8
Merge pull request #2185 from yandex/fix-leader-election-race
...
Fix races in leader election.
2018-04-07 00:18:26 +03:00
robot-metrika-test
984d7044ac
Auto version update to [54375]
2018-04-06 23:52:52 +03:00
Alexey Milovidov
9b3169a331
Fixed build with clang 5 (although it is Ok on clang 6) [#CLICKHOUSE-2]
2018-04-06 23:03:35 +03:00
Alexey Milovidov
708dc5ef82
ZooKeeper: fixed error [#CLICKHOUSE-2]
2018-04-06 22:54:18 +03:00
Alexey Milovidov
0d8d99e7a4
Fixed typo [#CLICKHOUSE-2]
2018-04-06 22:48:54 +03:00
Alexey Milovidov
ee7fe63b69
Avoid herd effect in ReplicatedMergeTreeCleanupThread (continued) [#CLICKHOUSE-2]
2018-04-06 22:44:55 +03:00
Alexey Milovidov
fa776b93c2
Avoid herd effect in ReplicatedMergeTreeCleanupThread [#CLICKHOUSE-2]
2018-04-06 22:43:37 +03:00
Alexey Milovidov
af226d62f5
Fixed totally wrong code in SummingMergeTree in the case of complex maps [#CLICKHOUSE-2]
2018-04-06 21:09:20 +03:00
Alexey Milovidov
47637c7885
Actualized test #1846
2018-04-06 19:26:38 +03:00
Alexey Zatelepin
3a8ca70d1f
fix races in leader election [#CLICKHOUSE-3533]
2018-04-06 19:10:23 +03:00
decaseal
139b40f976
storage file - fix check creation is allowed [#add_table_function_file]
2018-04-06 16:43:29 +03:00
decaseal
22870e1e24
table function file - fix data path [#add_table_function_file]
2018-04-06 16:36:17 +03:00
decaseal
157d51446b
Merge remote-tracking branch 'yandex/master' into add_table_function_file_dev
2018-04-06 15:55:02 +03:00
decaseal
92416c3333
table function file - fix [#add_table_function_file]
2018-04-06 15:39:30 +03:00
decaseal
194974f88d
table function file - fix use storage file [#add_table_function_file]
2018-04-06 15:37:35 +03:00
decaseal
b9fee66dfa
table function file - fix use storage file [#add_table_function_file]
2018-04-06 15:33:03 +03:00
decaseal
b3ed1c6cca
table function file - fix use storage file [#add_table_function_file]
2018-04-06 15:32:29 +03:00
decaseal
5f52defb29
table function file - fix use storage file [#add_table_function_file]
2018-04-06 15:32:19 +03:00
decaseal
29b94a0467
table function file - fix use storage file [#add_table_function_file]
2018-04-06 15:25:14 +03:00
decaseal
9ebe22dd2c
table function file - fix use storage file [#add_table_function_file]
2018-04-06 15:18:05 +03:00
decaseal
5b601b9153
table function file - fix use storage file [#add_table_function_file]
2018-04-06 15:13:08 +03:00
decaseal
dc60788fa5
table function file - use storage file [#add_table_function_file]
2018-04-06 15:10:22 +03:00
proller
e933d1a1ee
Cmake fixes ( #2177 )
...
* cmake fixes
* Fix test server config
2018-04-06 05:07:40 -07:00
decaseal
b8d010eb09
table function file - test db data path [#add_table_function_file]
2018-04-06 14:21:41 +03:00
decaseal
30e79f4c7d
storage file - relative table path starts with db_dir_path [#add_table_function_file]
2018-04-06 13:35:52 +03:00
decaseal
8b96dc8c7e
storage file - test db_dir_path [#add_table_function_file]
2018-04-06 13:24:12 +03:00
decaseal
7296bf2cb7
storage file - fix check table file path [#add_table_function_file]
2018-04-06 13:11:39 +03:00
decaseal
d56b78c073
storage file - test fd [#add_table_function_file]
2018-04-06 12:53:38 +03:00
decaseal
39cc42172d
storage file - check table file path [#add_table_function_file]
2018-04-06 12:53:29 +03:00
decaseal
9404ddff84
table function file - test application context [#add_table_function_file]
2018-04-06 11:54:45 +03:00
Alexey Milovidov
9bbd8a968e
ZooKeeper: clarifications [#CLICKHOUSE-2]
2018-04-06 09:22:59 +03:00
Alexey Milovidov
0771874695
ZooKeeper: Fixed error when exception is thrown while session expiration and not all callbacks are called [#CLICKHOUSE-2]
2018-04-06 09:19:53 +03:00
Alexey Milovidov
775daa0fe9
Little better [#CLICKHOUSE-2]
2018-04-06 08:49:03 +03:00
Alexey Milovidov
3884146d92
Little better [#CLICKHOUSE-2]
2018-04-06 08:44:17 +03:00
Alexey Milovidov
ac58f92a97
Fixed error with IN where left hand side is nullable #1846
2018-04-06 08:12:47 +03:00
Alexey Milovidov
2ae9e719c6
Fixed warning [#CLICKHOUSE-2]
2018-04-06 07:48:48 +03:00
Alexey Milovidov
e655cb0bff
Better debug helpers [#CLICKHOUSE-2]
2018-04-06 07:46:18 +03:00
Alexey Milovidov
65ad97452b
Added a test from Silviu Caragea #2113
2018-04-06 03:28:53 +03:00
Alexey Milovidov
30dd11f8ca
Removed (obsolete) special handling for Arrays in the left hand side of IN (continued) #2113
2018-04-06 03:25:14 +03:00
Alexey Milovidov
cf1a2241af
Updated test [#CLICKHOUSE-2]
2018-04-06 02:06:03 +03:00
Alexey Milovidov
e6e12e6490
Fixed test [#CLICKHOUSE-2]
2018-04-06 02:04:31 +03:00
Alexey Milovidov
4c2adf1f30
Fixed test #797
2018-04-06 02:00:19 +03:00
Alexey Milovidov
f66d2fb780
Allow to use FINAL even in case of single part #2086
2018-04-06 00:36:55 +03:00
Alexey Milovidov
6452a3bb76
Removed (obsolete) special handling for Arrays in the left hand side of IN [#CLICKHOUSE-2]
2018-04-05 23:52:01 +03:00
Alexey Milovidov
d9b54a6aae
Updated comment [#CLICKHOUSE-2]
2018-04-05 23:47:06 +03:00
Alexey Milovidov
da7975dc29
Added test #797
2018-04-05 23:43:35 +03:00
Alexey Milovidov
32f6adc5ed
Added test #797
2018-04-05 23:41:55 +03:00
Alexey Milovidov
7d69a3363f
Added test #1282
2018-04-05 23:29:19 +03:00
Alexey Milovidov
83b72b578d
Miscellaneous [#CLICKHOUSE-2]
2018-04-05 22:28:07 +03:00
Alexey Milovidov
438dc2c318
Merge branch 'master' of github.com:yandex/ClickHouse
2018-04-05 22:27:41 +03:00
Alexey Milovidov
0b4a59c8b0
Fixed flappy test [#CLICKHOUSE-2]
2018-04-05 22:27:20 +03:00
robot-metrika-test
feaae7d439
Auto version update to [54374]
2018-04-05 21:26:55 +03:00
Alexey Milovidov
1e2b5f24ac
Improved debug helpers [#CLICKHOUSE-2]
2018-04-05 19:43:39 +03:00
Alexey Milovidov
a2ce515a84
ZooKeeper: Fixed potential issue [#CLICKHOUSE-2]
2018-04-05 19:42:54 +03:00
Daniel Bershatsky
805325015f
Include vector if ENABLE_CLICKHOUSE_CLIENT=True. ( #2182 )
...
* Include vector if ENABLE_CLICKHOUSE_CLIENT=True.
* Update main.cpp
2018-04-05 07:27:39 -07:00
decaseal
aebc28d44b
table function file - test application context [#add_table_function_file]
2018-04-05 12:21:01 +03:00
Alexey Milovidov
36c9409899
Fixed error [#CLICKHOUSE-2]
2018-04-05 07:42:20 +03:00
Alexey Milovidov
d3408d45a8
ZooKeeper: fixed error [#CLICKHOUSE-2]
2018-04-05 07:31:04 +03:00
Alexey Milovidov
e00e81c3e9
ZooKeeper: fixed error [#CLICKHOUSE-2]
2018-04-05 07:06:23 +03:00
Alexey Milovidov
403a2c62a2
Miscellaneous [#CLICKHOUSE-2]
2018-04-05 05:56:11 +03:00
Alexey Milovidov
d5c5a34049
Miscellaneous [#CLICKHOUSE-2]
2018-04-05 05:55:21 +03:00
Alexey Milovidov
dec4094e5b
Removed test case that test for behaviour that was correct accidentially [#CLICKHOUSE-2]
2018-04-05 05:31:17 +03:00
Alexey Milovidov
f734a4523a
Fixed bad test [#CLICKHOUSE-2]
2018-04-05 05:19:32 +03:00
Alexey Milovidov
0dbc8aa1a5
ZooKeeper: added comment [#CLICKHOUSE-2]
2018-04-05 03:53:27 +03:00
Alexey Milovidov
cde5d315f1
ZooKeeper: added comment [#CLICKHOUSE-2]
2018-04-05 03:46:26 +03:00
Alexey Milovidov
0c519c763b
ZooKeeper: added comment [#CLICKHOUSE-2]
2018-04-05 03:44:58 +03:00
Alexey Milovidov
b8df381a97
ZooKeeper: changed operation timeout to 10s because some users run ZooKeeper on servers with HDD and high background load [#CLICKHOUSE-2]
2018-04-05 03:02:09 +03:00
Alexey Milovidov
8faea5437a
ZooKeeper: Better metrics about active sessions [#CLICKHOUSE-2]
2018-04-05 02:59:37 +03:00
Alexey Milovidov
e4fe1ef4b3
ZooKeeper: Better connection loop [#CLICKHOUSE-2]
2018-04-05 02:43:11 +03:00
Alexey Milovidov
5a525605be
ZooKeeper: thread names [#CLICKHOUSE-2]
2018-04-05 02:36:58 +03:00
Alexey Milovidov
ddc4e1e388
ZooKeeper: Better connection loop [#CLICKHOUSE-2]
2018-04-05 02:33:21 +03:00
alexey-milovidov
19312e14b4
Merge pull request #2173 from yandex/fix-in-tuple
...
Fix pk in tuple
2018-04-05 00:43:28 +03:00
KochetovNicolai
634dd2a1d2
Merge branch 'master' into fix-in-tuple
2018-04-05 00:06:52 +03:00
Alexey Milovidov
436de0d0a7
Merge branch 'master' of github.com:yandex/ClickHouse
2018-04-05 00:05:37 +03:00
Alexey Milovidov
669b0d4bb0
Fixed highlight for UNION ALL [#CLICKHOUSE-3689]
2018-04-05 00:05:11 +03:00
Nikolai Kochetov
8f4b54d65b
updated test #2170
2018-04-05 00:03:21 +03:00
Nikolai Kochetov
b96039bafe
added check for partition column in mayBenefitFromIndexForIn #2170
2018-04-05 00:03:16 +03:00
alexey-milovidov
a7a924c03c
Update TimeoutSetter.h
2018-04-04 22:44:38 +03:00
Vitaliy Lyudvichenko
ce8de108ed
Better timeouts handling. [#CLICKHOUSE-2]
2018-04-04 22:44:38 +03:00
Nikolai Kochetov
f5ec675f4a
updated test [#CLICKHOUSE-3680]
2018-04-04 22:38:42 +03:00
Nikolai Kochetov
dc22b881a7
added columns_added_by_join into in with pk [#CLICKHOUSE-3680]
2018-04-04 22:38:42 +03:00
Nikolai Kochetov
fde23f7975
added array_join_columns [#CLICKHOUSE-3680]
2018-04-04 22:38:42 +03:00
Nikolai Kochetov
7d0602c279
added columns from array join to aggregated_columns [#CLICKHOUSE-3680]
2018-04-04 22:38:42 +03:00
Nikolai Kochetov
1ad3010c4a
updated test [#CLICKHOUSE-3680]
2018-04-04 22:36:22 +03:00
Nikolai Kochetov
dddbe14b4b
added columns_added_by_join into in with pk [#CLICKHOUSE-3680]
2018-04-04 22:26:14 +03:00
Nikolai Kochetov
248fe37cb8
added array_join_columns [#CLICKHOUSE-3680]
2018-04-04 21:56:30 +03:00
Nikolai Kochetov
ae76d11833
Merge branch 'master' into fix-in-tuple
2018-04-04 17:42:57 +03:00
Nikolai Kochetov
67330e6789
Merge branch 'fix-in-tuple' of github.com:yandex/ClickHouse into fix-in-tuple
2018-04-04 17:37:34 +03:00
Nikolai Kochetov
eb4171bc0e
added columns from array join to aggregated_columns [#CLICKHOUSE-3680]
2018-04-04 17:36:28 +03:00
Alexey Milovidov
e203457d55
Fixed metric ZooKeeperWaitMicroseconds [#CLICKHOUSE-2]
2018-04-04 05:07:12 +03:00
robot-metrika-test
848d9ecf68
Auto version update to [54373]
2018-04-04 00:45:08 +03:00
Alexey Milovidov
ba7a0ebf86
Better exception messages [#CLICKHOUSE-2]
2018-04-04 00:40:58 +03:00
Alexey Milovidov
76e822274a
Better exception messages [#CLICKHOUSE-2]
2018-04-04 00:29:11 +03:00
Alexey Milovidov
c387b73f70
ZooKeeper: miscellaneous [#CLICKHOUSE-2]
2018-04-04 00:18:46 +03:00
alexey-milovidov
e2a517db12
Update MergeTreeData.cpp
2018-04-04 00:17:22 +03:00
Nikolai Kochetov
537c495a8e
added test [#CLICKHOUSE-3680]
2018-04-04 00:17:22 +03:00
Nikolai Kochetov
4f7d262997
added aggregated_columns to mayBenefitFromIndexForIn [#CLICKHOUSE-3680]
2018-04-04 00:17:22 +03:00
Nikolai Kochetov
2163977b2a
mayBenefitFromIndexForIn returns true if at least one tuple element is in pk [#CLICKHOUSE-3680]
2018-04-04 00:17:22 +03:00
alexey-milovidov
23baae447d
Update MergeTreeData.cpp
2018-04-04 00:16:58 +03:00
Alexey Milovidov
b0eca318cf
ZooKeeper: more instrumentation [#CLICKHOUSE-2]
2018-04-04 00:14:10 +03:00
Alexey Milovidov
8029a9b579
ZooKeeper: more instrumentation [#CLICKHOUSE-2]
2018-04-04 00:11:54 +03:00
Alexey Milovidov
788d8e740d
ZooKeeper: more instrumentation [#CLICKHOUSE-2]
2018-04-04 00:07:22 +03:00
Alexey Milovidov
944748e7da
Modifications after removing libzookeeper [#CLICKHOUSE-2]
2018-04-03 22:54:35 +03:00
Alexey Milovidov
f5652b4477
Modifications after removing libzookeeper; initialize ZooKeeper session lazily [#CLICKHOUSE-2]
2018-04-03 22:43:33 +03:00
Nikolai Kochetov
f7b39b8df2
added test [#CLICKHOUSE-3680]
2018-04-03 22:30:39 +03:00
Nikolai Kochetov
33774e93fa
added aggregated_columns to mayBenefitFromIndexForIn [#CLICKHOUSE-3680]
2018-04-03 22:16:24 +03:00
Nikolai Kochetov
a687c41a8c
mayBenefitFromIndexForIn returns true if at least one tuple element is in pk [#CLICKHOUSE-3680]
2018-04-03 21:37:35 +03:00
Alexey Milovidov
08170d0d77
Modifications after removing libzookeeper [#CLICKHOUSE-2]
2018-04-03 21:24:18 +03:00
Alexey Milovidov
9379d71f74
Miscellaneous [#CLICKHOUSE-2]
2018-04-03 20:37:30 +03:00
Alexey Milovidov
2310bd7947
Miscellaneous [#CLICKHOUSE-2]
2018-04-03 20:35:48 +03:00
decaseal
77b0d7d23b
Merge branch 'master' into add_table_function_file
2018-04-03 15:17:45 +03:00
proller
e58b0830e6
Prepare to new poco (PocoData renamed to PocoSQL) ( #2158 )
2018-04-03 04:48:40 -07:00
decaseal
98463ebe28
table function file - comments [#add_table_function_file]
2018-04-03 11:12:24 +03:00
decaseal
1804d19a2b
table function file - comments [#add_table_function_file]
2018-04-03 11:07:44 +03:00
Alexey Milovidov
0d2c2ea3d4
Fixed error after removed libzookeeper [#CLICKHOUSE-2]
2018-04-03 03:39:58 +03:00
Alexey Milovidov
daa736700d
Minor modification after removing libzookeeper [#CLICKHOUSE-2]
2018-04-03 00:48:39 +03:00
Alexey Milovidov
0c889b76db
Merge branch 'master' of github.com:yandex/ClickHouse
2018-04-02 22:24:23 +03:00
Alexey Milovidov
97431c90bd
Renamed test [#CLICKHOUSE-2]
2018-04-02 22:24:03 +03:00
robot-metrika-test
40e454b1b6
Auto version update to [54372]
2018-04-02 22:13:54 +03:00
Alexey Milovidov
9f472b41e8
Merge branch 'master' of github.com:yandex/ClickHouse
2018-04-02 21:59:37 +03:00
Alexey Milovidov
6364c49ad8
ZooKeeper: fixed chroot [#CLICKHOUSE-2]
2018-04-02 21:59:18 +03:00
proller
6e03373b8d
clickhouse-common-dbg -> clickhouse-common-static-dbg ( #2157 )
2018-04-02 21:44:19 +03:00
Alexey Milovidov
a5f05dc71e
Added test #217 [#CLICKHOUSE-1942]
2018-04-02 21:19:47 +03:00
Alexey Milovidov
bcda215439
Added a comment about absolutely wrong code [#CLICKHOUSE-1942]
2018-04-02 21:16:40 +03:00
Alexey Milovidov
205d648e0d
Fixed error with timeout of distributed queries, part 1 #217 [#CLICKHOUSE-1942]
2018-04-02 21:01:25 +03:00
Alexey Milovidov
5ec4c44989
Merge branch 'master' of github.com:yandex/ClickHouse
2018-04-02 20:57:58 +03:00
Alexey Milovidov
b3e6bb453a
Renamed method #217 [#CLICKHOUSE-1942]
2018-04-02 20:57:38 +03:00
Vitaliy Lyudvichenko
fb7e2cbd16
Fixed processConfig, skip temporary files. [#CLICKHOUSE-2]
2018-04-02 19:23:00 +03:00
Alexey Milovidov
c1d36b559a
Added example config for ZooKeeper on localhost: for development purposes [#CLICKHOUSE-2]
2018-04-02 18:54:12 +03:00
decaseal
ca78eed896
table function file - fix path validate [#add_table_function_file]
2018-04-02 18:51:22 +03:00
decaseal
2100d00764
table function file - fix path validate [#add_table_function_file]
2018-04-02 18:49:40 +03:00
decaseal
0a9e281199
table function file - test path validate [#add_table_function_file]
2018-04-02 18:47:31 +03:00
decaseal
a0f40c79f9
table function file - fix path validate [#add_table_function_file]
2018-04-02 18:40:35 +03:00
decaseal
fba2f32c53
table function file - fix path validate [#add_table_function_file]
2018-04-02 18:38:43 +03:00
decaseal
58489628aa
fix table function file [#add_table_function_file]
2018-04-02 17:23:53 +03:00
decaseal
42f028ddde
fix table function file [#add_table_function_file]
2018-04-02 17:15:41 +03:00
KochetovNicolai
62e6a1bde6
Update MergeTreeBaseBlockInputStream.cpp
...
Check is block is not empty before removing prewhere column
2018-04-02 17:08:05 +03:00
decaseal
358e0183f5
fix table function file [#add_table_function_file]
2018-04-02 16:56:54 +03:00
decaseal
2a6dbd14ae
realize table function file [#add_table_function_file]
2018-04-02 16:15:25 +03:00
Silviu Caragea
f811da7ed4
Move merge selection state into ReplicatedMergeTreeMergeSelectingThread
2018-04-02 15:45:55 +03:00
proller
440b0f33c7
Compile fixes
2018-04-02 15:31:49 +03:00
decaseal
94a573e845
register table function file [#add_table_function_file]
2018-04-02 14:43:51 +03:00
decaseal
871c7a5f0e
create table function file [#add_table_function_file]
2018-04-02 14:43:37 +03:00
Alexey Milovidov
ad137994f9
Modifications after removing libzookeeper [#CLICKHOUSE-2]
2018-04-02 02:16:41 +03:00
Alexey Milovidov
3fe743e2bd
Fixed error after merge [#CLICKHOUSE-2]
2018-04-01 22:29:08 +03:00
alexey-milovidov
b07fb1ddda
Merge branch 'master' into better-range-reader
2018-04-01 22:16:39 +03:00
Alexey Milovidov
d57fcc35c0
Merge branch 'master' of github.com:yandex/ClickHouse
2018-04-01 20:37:20 +03:00
Alexey Milovidov
a1aecc5d96
Fixed error after merge [#CLICKHOUSE-2]
2018-04-01 20:37:09 +03:00
alexey-milovidov
588591f683
Merge pull request #2149 from lamber-ken/master
...
change the return type of funciton countEqual
2018-04-01 20:31:02 +03:00
alexey-milovidov
428ee63a04
Merge branch 'master' into libzookeeper-rewrite
2018-04-01 17:31:20 +03:00
谢磊
c898986650
change the return type of funciton countEqual
...
the maximum length of the array is defined as UInt64.
the maximum of `UInt32` just 4294967295.
it's better to define the return type of the function `countEqual` as `UInt64`.
2018-03-31 12:54:06 -05:00
proller
b3e8949d2a
CLICKHOUSE-3675 Add glibc version test
...
Fix zookeeper tools compile
2018-03-30 16:58:00 +03:00
Alexey Zatelepin
5fdd50c2a2
process included config node once more if include happened [#MTRSADMIN-3894]
2018-03-30 16:33:43 +03:00
proller
ce23653cad
Fix build with old poco ( #2144 )
2018-03-30 05:42:06 -07:00
alexey-milovidov
e6019624c1
Merge pull request #2138 from bretthoerner/uninitialized-fix
...
Fix build when using GCC 7.3.1: -Wmaybe-uninitialized error
2018-03-30 00:15:33 +03:00
alexey-milovidov
f358dc4125
Update ColumnString.h
2018-03-30 00:15:14 +03:00
alexey-milovidov
10e5d63d76
Merge pull request #2131 from ClickHouse-Ninja/system-log-prepare-table-on-each-flush
...
SystemLog: проверка структуры и существования таблицы при каждом flush
2018-03-29 23:55:14 +03:00
alexey-milovidov
30838f4d9f
Update SystemLog.h
2018-03-29 23:54:57 +03:00
alexey-milovidov
c9da34dd84
Merge pull request #2139 from proller/fix16
...
CLICKHOUSE-3644: Server: do not use SO_REUSEPORT
2018-03-29 23:50:06 +03:00
alexey-milovidov
db53190854
Update ColumnString.h
2018-03-29 23:21:40 +03:00
proller
450efef456
Maybe fix test 00429_long_http_bufferization (remove curl timeout)
2018-03-29 22:12:24 +03:00
proller
037cf62230
CLICKHOUSE-3644: Server: do not use SO_REUSEPORT
2018-03-29 20:24:46 +03:00
Brett Hoerner
fef91af96f
Fix build when using GCC 7.3.1: -Wmaybe-uninitialized error
...
Before adding this ignore you would receive the following when using GCC
7.3.1:
[ 82%] Building CXX object dbms/src/Storages/System/CMakeFiles/clickhouse_storages_system.dir/StorageSystemAsynchronousMetrics.cpp.o
In file included from /ClickHouse/dbms/src/Storages/System/StorageSystemAsynchronousMetrics.cpp:5:0:
/ClickHouse/dbms/src/Columns/ColumnString.h: In member function ‘virtual DB::BlockInputStreams DB::StorageSystemAsynchronousMetrics::read(const Names&, const DB::SelectQueryInfo&, const DB::Context&, DB::QueryProcessingStage::Enum&, size_t, unsigned int)’:
/ClickHouse/dbms/src/Columns/ColumnString.h:96:45: error: ‘*((void*)&<anonymous> +8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
const size_t size_to_append = s.size() + 1;
~~~~~~^~
cc1plus: all warnings being treated as errors
make[2]: *** [dbms/src/Storages/System/CMakeFiles/clickhouse_storages_system.dir/build.make:63: dbms/src/Storages/System/CMakeFiles/clickhouse_storages_system.dir/StorageSystemAsynchronousMetrics.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:9105: dbms/src/Storages/System/CMakeFiles/clickhouse_storages_system.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
2018-03-29 12:02:09 -05:00
Alexey Milovidov
b997830289
Fixed error found by Artemeey Gavryushin [#CLICKHOUSE-3]
2018-03-29 18:31:59 +03:00
Kirill Shvakov
b742908731
SystemLog: execute prepareTable() on each flush
...
Merge remote-tracking branch 'upstream/master' into system-log-prepare-table-on-each-flush
#2131 deleted excessive logging
Revert "#2131 deleted excessive logging"
This reverts commit d78a46d958
.
Revert "SystemLog: execute prepareTable() on each flush"
This reverts commit 7f60bb0a9b
.
SystemLog: execute prepareTable() on each flush
2018-03-29 16:57:16 +03:00
Vitaliy Lyudvichenko
134efcd7ed
Swapped send and receive timeouts settings from client. [#CLICKHOUSE-2]
2018-03-29 16:35:59 +03:00
Vitaliy Lyudvichenko
63eee94319
Add max_network_bandwidth_for_all_users setting. [#CLICKHOUSE-2] ( #2137 )
2018-03-29 16:24:36 +03:00
proller
a6f9df105c
Allow use encryption for distributed tables ( #2065 )
...
* Allow use encryption for distributed tables
* wip
* fix
* rename encryption to secure
* Fix DirectoryMonitor with +secure
* fix
* fix
* Update DirectoryMonitor.cpp
* Update DirectoryMonitor.cpp
2018-03-29 04:41:06 +03:00
alexey-milovidov
54986af313
Merge pull request #2122 from proller/fix14
...
CLICKHOUSE-3630: Fix race on logger reload, enable reload
2018-03-29 04:30:30 +03:00
zhang2014
b00cb9d9b0
ISSUES-2133 Support union query with subquery
2018-03-29 09:06:17 +08:00
alexey-milovidov
4126c7767d
Merge pull request #2130 from yandex/fix-distributed-batch-inserts
...
More aggressively move files to broken/ when doing distributed batch inserts
2018-03-29 03:12:28 +03:00
alexey-milovidov
2e15ce6791
Merge pull request #2132 from yandex/small-enhancements
...
Small enhancements
2018-03-29 03:07:49 +03:00
alexey-milovidov
a220a43b8e
Merge branch 'master' into fix-detach-database
2018-03-29 03:01:07 +03:00
Vitaliy Lyudvichenko
de3791dbda
Accpet client-side send and recieve timeouts. [#CLICKHOUSE-2]
2018-03-28 17:10:11 +03:00