Alexey Milovidov
fe94a15092
Merge branch 'master' into dictionaries-user-profile
2019-02-04 17:11:53 +03:00
Alexey Milovidov
a4d1cacea8
Fixed weird behaviour of system logs [#CLICKHOUSE-4275]
2019-02-04 17:08:39 +03:00
Nicolae Vartolomei
9d5d0a9200
Add test for cancel_http_readonly_queries_on_client_close setting
2019-02-04 13:10:23 +00:00
alexey-milovidov
a29385108a
Update Server.cpp
2019-02-04 15:49:54 +03:00
Vasily Nemkov
2716df8ab2
IPv4 and IPv6 Domain implementation.
...
Added:
* IDataTypeDomain interface;
* method DataTypeFactory::registerDataTypeDomain for registering domains;
* DataTypeDomainWithSimpleSerialization domain base class with simple serialization/deserialization;
* Concrete IPv4 and IPv6 domain implementations: DataTypeDomanIPv6 and DataTypeDomanIPv4;
Updated:
* IDataType text serialization/deserialization methods;
* IDataType implementation to use domain for text serialization/deserialization;
* Refactored implementation of the IPv4/IPv6 functions to use formatIPv4/v6 and parseIPv4/v6 from Common/formatIPv6.h;
Tests:
* Added test cases for IPv4 and IPv6 domains.
* Updated IPv4/v6 functions tests to validate more cases;
* Added performance tests for IPv4 and IPv6 related functions;
2019-02-04 12:37:46 +03:00
Lopatin Konstantin
97cb36ac2e
Clickhouse server version option support
2019-02-04 12:21:12 +03:00
Alexey Milovidov
bd04320f13
Added performance test
2019-02-04 01:27:19 +03:00
Alexey Milovidov
1f72b0fb16
Disable JIT compilation for comparison of Date and DateTime and conditional operator
2019-02-04 01:11:28 +03:00
Alexey Milovidov
59318c2ad9
Disable JIT compilation for comparison of Date and DateTime and conditional operator
2019-02-04 01:08:17 +03:00
Nikita Lapkov
5c54bbb750
write traces to trace_log
2019-02-03 21:30:45 +00:00
alexey-milovidov
8db13da097
Update HTTPHandler.cpp
2019-02-03 23:40:34 +03:00
Alexey Milovidov
2129094ba3
Merge branch 'master' into generic-case-for-function-if
2019-02-03 16:01:56 +03:00
Nikita Lapkov
89582cfef2
Merge branch 'master' into query-poor-mans-profiler
2019-02-03 10:06:05 +00:00
Nikita Lapkov
df3db1bff2
basic pipe
2019-02-03 09:57:12 +00:00
alexey-milovidov
91d0d403a2
Merge pull request #3890 from zhang2014/fix/ISSUES-3885
...
ISSUES-3885 temporarily disable predicate optimization for order by
2019-02-03 12:10:20 +03:00
Alexey Milovidov
526b33f607
Added a test
2019-02-03 11:49:49 +03:00
Alexey Milovidov
ad9d5217ec
Updated test
2019-02-03 11:43:00 +03:00
Alexey Milovidov
bf19e73386
Added generic case for function "if"
2019-02-03 11:41:25 +03:00
alexey-milovidov
ad2f6b4db3
Merge pull request #4237 from valexey/date_and_datetime_comparison
...
correct Date and DateTime comparison
2019-02-02 20:58:07 +03:00
alexey-milovidov
592d56ac69
Update FunctionsComparison.h
2019-02-02 20:57:36 +03:00
alexey-milovidov
450c575c7e
Merge pull request #4230 from bsd-conqueror/missing_password_value
...
Fixed the issue when --password was used without a value
2019-02-02 20:53:15 +03:00
alexey-milovidov
fb297b78ba
Update ConnectionParameters.h
2019-02-02 20:52:57 +03:00
alexey-milovidov
69c18786cb
Update Client.cpp
2019-02-02 20:50:57 +03:00
alexey-milovidov
2e082d9a9e
Merge pull request #4233 from yurriy/server-help-option
...
Server help option
2019-02-02 20:49:03 +03:00
alexey-milovidov
a3afe6650f
Merge pull request #4232 from syominsergey/my-branch
...
"-C" option for client and show problematic file path
2019-02-02 20:47:28 +03:00
alexey-milovidov
14f208b9a3
Merge pull request #4239 from danlark1/master
...
produce hints for typo functions and types
2019-02-02 20:42:35 +03:00
Alexey
ce83b82776
test sql syntax fix
2019-02-02 09:00:29 -08:00
Danila Kutenin
3d00aaa7d8
test for typos
2019-02-02 19:09:24 +03:00
Yuriy Baranov
defc6bbcf4
added positional arguments description
2019-02-02 15:37:54 +00:00
Sergei Semin
cc8bac78da
add tests
2019-02-02 18:32:21 +03:00
Alexey
baa1ae9cf7
upper case for SQL in tests
2019-02-02 07:30:47 -08:00
Alexey
8c73b49e34
empty line on the end of file for tests
2019-02-02 07:20:10 -08:00
alexander kozhikhov
c5924d8bfb
review fixes
2019-02-02 18:19:59 +03:00
Alexey
ff02845677
tests
2019-02-02 07:19:06 -08:00
Danila Kutenin
f6acd59929
fix brace
2019-02-02 18:15:53 +03:00
Danila Kutenin
9c7b62e95b
fix function
2019-02-02 18:13:31 +03:00
Danila Kutenin
7d6e4083fa
fix snake_case
2019-02-02 18:08:45 +03:00
Alexey
fc417a4e62
code cleanup
2019-02-02 07:02:57 -08:00
alexey-milovidov
7e5786a2e2
Merge pull request #4236 from kvinty/kvinty-pdqsort
...
Use pdqsort instead of std::sort in ORDER BY
2019-02-02 17:58:10 +03:00
Danila Kutenin
5e62a0825a
produce hints for typo functions and types
2019-02-02 17:54:50 +03:00
Sergei Semin
adfc3bf5b3
fix typo
2019-02-02 17:43:36 +03:00
Sergei Semin
3f92350c2b
rename config file parameter name
2019-02-02 17:40:29 +03:00
alexey-milovidov
e3b32ec679
Merge pull request #4231 from fandyushin/queryid
...
Added Query-Id to http response header
2019-02-02 17:38:13 +03:00
BSD_Conqueror
fbb3fee9af
Fixed a mistype
2019-02-02 17:35:51 +03:00
Mihail Fandyushin
7b51139a80
fixed review notes; remove nullptr
2019-02-02 17:35:35 +03:00
Yuriy Baranov
e6101f3531
removed help message header
2019-02-02 14:33:08 +00:00
Sergei Semin
f3bbb07337
remove extra brackets
2019-02-02 17:29:54 +03:00
Sergei Semin
21cc1f6488
add another option for client configuration file
2019-02-02 17:28:37 +03:00
alexander kozhikhov
9d2a0c69fc
Merge branch 'master' of https://github.com/yandex/ClickHouse into yandex_open_code_competition
2019-02-02 17:28:34 +03:00
alexander kozhikhov
8c2726b77c
Aggregate function for entropy
2019-02-02 17:27:43 +03:00
Alexey
84bbc83192
use common time for Date and DateTime comparisons
2019-02-02 06:23:44 -08:00
Yuriy Baranov
a97c8a43a7
moved include outside ssl includes
2019-02-02 14:05:27 +00:00
Sergei Semin
c7b52af1f8
Revert "treat "-C" as "-c" parameter for clickhouse-client"
...
This reverts commit 6ed2a4d4
2019-02-02 17:01:10 +03:00
Yuriy Baranov
0296c9a941
removed duplicate include
2019-02-02 14:00:33 +00:00
Evgenii Pravda
67d26f6528
Use pdqsort instead of std::sort in ORDER BY
2019-02-02 16:52:20 +03:00
Sergei Semin
959952114c
move client creation and run under try to show exception message
2019-02-02 16:49:24 +03:00
Sergei Semin
cfa31697b6
Revert "show file path when problems with client config loading"
...
This reverts commit 425a12d4
2019-02-02 16:48:30 +03:00
BSD_Conqueror
5a7e4c863d
Added a comment to explain why '\n' is used as the implicit value for the --password option
2019-02-02 16:43:08 +03:00
Mihail Fandyushin
18952a2b96
Fixed 00501 test, added Query-Id support
2019-02-02 16:38:04 +03:00
Yuriy Baranov
a3d0568739
Added --help/-h to server
2019-02-02 13:24:12 +00:00
BSD_Conqueror
171f54a1f6
Merge branch 'missing_password_value' of https://github.com/bsd-conqueror/ClickHouse into missing_password_value
2019-02-02 16:21:55 +03:00
BSD_Conqueror
d2d11d4e96
Removed code duplication in --password handling
2019-02-02 16:20:51 +03:00
Sergei Semin
425a12d48d
show file path when problems with client config loading
2019-02-02 16:11:20 +03:00
BSD_Conqueror
375be7b881
Merge branch 'master' into missing_password_value
2019-02-02 16:10:38 +03:00
BSD_Conqueror
c0f72d18d0
Fixed the issues with the --password option and the user name in the prompt
...
- if --password was used without any value, ask for the password in the prompt
- fixed the issue when a blank user name is shown in the prompt if no user was provided
2019-02-02 16:04:08 +03:00
Sergei Semin
6ed2a4d47d
treat "-C" as "-c" parameter for clickhouse-client
2019-02-02 15:36:04 +03:00
alexey-milovidov
fdfb60318c
Merge pull request #4193 from 4ertus2/ast
...
Refactoring: extract SubqueryForSet to own files
2019-02-02 15:28:31 +03:00
Mihail Fandyushin
7294b8adf2
Added Query-Id to http response header
2019-02-02 15:24:26 +03:00
Nicolae Vartolomei
3fdc04428e
Cancel http read only queries if client socket goes away
...
To check the socket status, try to read one byte from socket in a
non-blocking way:
0 - client closed the connection
>= 1 - client send more data, we are ignoring this case for now
timeout - normal case, client is waiting for response
... - socket broken?
Dirty, but should do the job. Limiting to readonly queries as I don't
want to mess with alter queries / insert select and others.
2019-02-02 12:14:52 +00:00
BSD_Conqueror
baa504f524
Fixed the issue when --password was used without a value
2019-02-02 14:48:06 +03:00
alexey-milovidov
297c2511c7
Merge pull request #4229 from nvartolomei/nv/typos
...
Make START REPLICATED SENDS command start replicated sends
2019-02-02 14:44:51 +03:00
Nicolae Vartolomei
f110d377d2
Fix typo in const name
2019-02-02 11:28:43 +00:00
Nicolae Vartolomei
5a8ebba4e1
Fix typo which prevents to start replicated sends
2019-02-02 11:27:27 +00:00
alexey-milovidov
25502718ae
Merge pull request #4221 from 4ertus2/cross
...
CROSS JOIN to INNER JOIN converter
2019-02-02 14:27:05 +03:00
proller
c7cb8d2db5
Freebsd fixes ( #4225 )
...
* CLICKHOUSE-4109 mlock clickhouse
* wip
* Fix
* wip
* fix
* fix
* better place
* wip
* clean
* tidy
* fix
* Freebsd fix
* Fix compile on ARM
* Freebsd fixes
* Simpler test
* Fuzzy test: dont skip already fixed functions
2019-02-02 14:09:22 +03:00
proller
a383868442
Remove not used dbms/src/IO/InterserverWriteBuffer.*
2019-02-02 12:03:09 +03:00
alesapin
937053ee8f
Merge pull request #4220 from yandex/aux_queries_in_perf_test
...
Add ability to create, fill and drop tables in perftest
2019-02-02 11:15:42 +03:00
Alexey Milovidov
f2ded6a0ae
Added a link to the list of easy tasks
2019-02-02 03:35:59 +03:00
Alexey Milovidov
733372c836
Added a list of easy tasks
2019-02-02 03:31:58 +03:00
Alexey Milovidov
7b0f6c07ef
Added a list of easy tasks
2019-02-02 03:27:25 +03:00
Alexey Milovidov
7f8ac2d26b
Fixed bad function name
2019-02-02 03:25:12 +03:00
chertus
f731702de0
rewrite COMMA JOIN too
2019-02-01 20:22:28 +03:00
chertus
e5a05bae47
missing file
2019-02-01 19:48:25 +03:00
chertus
170c108a59
CROSS JOIN to INNER JOIN converter
2019-02-01 19:36:40 +03:00
Alexey Milovidov
0f577da5c2
Updated system.contributors
2019-02-01 18:49:17 +03:00
alesapin
7fb2556a23
Add ability to create, fill and drop tables in perftest
2019-02-01 18:10:13 +03:00
Alexey Milovidov
1de2716c94
Updated instruction
2019-02-01 17:32:59 +03:00
Alexey Milovidov
3a774c80a1
Updated instruction
2019-02-01 17:29:49 +03:00
Alexey Milovidov
26f99cd49c
Merge branch 'master' of github.com:yandex/ClickHouse
2019-02-01 17:27:14 +03:00
Alexey Milovidov
d30a316ed3
Updated instruction
2019-02-01 17:27:02 +03:00
chertus
52de2cd927
hotfix for allow_experimental_multiple_joins_emulation
2019-02-01 17:26:36 +03:00
Alexey Milovidov
2b8c30a93c
Updated instruction
2019-02-01 16:57:29 +03:00
Alexey Milovidov
d263f3d941
Removed listen host override from the example server config
2019-02-01 16:56:20 +03:00
Alexey Milovidov
8c87795db9
Updated instruction
2019-02-01 16:49:36 +03:00
Alexey Milovidov
2f833d4753
Updated instruction
2019-02-01 16:19:42 +03:00
chertus
350920d50e
test for issue #3567
2019-02-01 15:50:51 +03:00
chertus
f6d7eae0cc
better test for joins with dups (add nulls)
2019-02-01 13:39:30 +03:00
Nikolai Kochetov
6a729e59ba
Merged with master.
2019-02-01 11:36:57 +03:00
Nikolai Kochetov
d143a78419
Refactor ColumnsHashing
2019-02-01 11:23:38 +03:00
Alexey Milovidov
7a4cffd49e
Merge branch 'master' of github.com:yandex/ClickHouse
2019-02-01 01:36:32 +03:00
Alexey Milovidov
f642663a11
Updated instruction
2019-02-01 01:36:23 +03:00
alexey-milovidov
bd62e2d85d
Merge pull request #4184 from 4ertus2/joins
...
Fix JOIN with duplicates [issue-4108]
2019-02-01 01:35:37 +03:00
Alexey Milovidov
6223e9eecf
Updated instruction
2019-01-31 23:54:42 +03:00
alexey-milovidov
012bd5267b
Merge pull request #4195 from yandex/convert-parts-from-old-format
...
А tool to convert an old month-partition part to the custom-partitioned format
2019-01-31 22:45:44 +03:00
Alexey Milovidov
f3f5204cba
Updated instruction
2019-01-31 22:44:58 +03:00
Alexey Milovidov
bf99e785c8
Removed ZooKeeper example config
2019-01-31 21:58:04 +03:00
Alexey Milovidov
e981caf109
Updated instruction
2019-01-31 21:33:37 +03:00
Alexey Milovidov
e1b232ca07
Merge branch 'master' of github.com:yandex/ClickHouse
2019-01-31 21:17:13 +03:00
Alexey Milovidov
be7f0febcb
Added quick start instruction
2019-01-31 21:16:28 +03:00
Alexey Milovidov
435a5497dd
Addition to prev. revision
2019-01-31 21:16:11 +03:00
Alexey Milovidov
0852bc98bf
Added quick start instruction
2019-01-31 21:15:13 +03:00
chertus
26b2526a3b
fix right & full join with dups (complex join on still affected)
2019-01-31 21:10:16 +03:00
proller
335de18102
Fix
2019-01-31 20:18:30 +03:00
proller
157a0eb5d3
Fix compile in directories with spaces
2019-01-31 19:48:37 +03:00
proller
ff30a156c9
Fix compile on ARM
...
Freebsd fix
2019-01-31 18:38:21 +03:00
alesapin
4675c0bd29
Add fs path to result xml
2019-01-31 16:46:43 +03:00
zhang2014
cac52f8312
ISSUES-3885 remove useless methods
2019-01-31 07:23:22 +08:00
alexey-milovidov
1fa8553cc6
Merge pull request #4170 from yandex/split-odbc-bridge
...
Build odbc-bridge as a separate binary. Do not export symbols from it.
2019-01-31 02:22:28 +03:00
alesapin
6d69eb2341
Merge branch 'split-odbc-bridge' of github.com:yandex/ClickHouse into split-odbc-bridge
2019-01-30 21:48:39 +03:00
alesapin
3ca9c06f79
Remove -rdynamic from odbc-bridge linkage and fix mysql test. Also log config
2019-01-30 21:48:20 +03:00
alexey-milovidov
34ce755117
Merge pull request #4196 from proller/fix14
...
Fix rethrowing exception #4188
2019-01-30 21:35:53 +03:00
alexey-milovidov
7a5c57ad8d
Merge pull request #4186 from yandex/fix_cache_compressed_buffer
...
Fix non initialized codec and wrong size in CacheCompressedReadBuffer
2019-01-30 21:18:13 +03:00
chertus
866c2b2e78
move required right keys calculation to Join.cpp
2019-01-30 18:51:39 +03:00
Alexey Milovidov
18e512d069
Merge branch 'master' into dictionaries-user-profile
2019-01-30 18:18:20 +03:00
Alexey Zatelepin
063366307f
fix build
2019-01-30 18:03:43 +03:00
Alexey Milovidov
de661e154d
Removed linking of clickhouse-odbc-bridge to dictionaries
2019-01-30 17:08:42 +03:00
proller
0e863fff1e
Fix rethrowing exception #4188
2019-01-30 17:06:42 +03:00
Alexey Milovidov
73a6209eba
Merge branch 'master' into split-odbc-bridge
2019-01-30 17:01:06 +03:00
Alexey Milovidov
2eb861c143
Reverted part of changes #4188
2019-01-30 16:57:44 +03:00
Alexey Milovidov
9b75767135
Merge branch 'fix14' of https://github.com/proller/ClickHouse into proller-fix14
2019-01-30 16:56:53 +03:00
alesapin
3de94798d5
Merge pull request #4171 from yandex/refactor_performance_test
...
Refactor performance test
2019-01-30 16:54:50 +03:00
Alexey Zatelepin
8957e73681
a tool to convert an old month-partition part to the custom-partitioned format [#CLICKHOUSE-4231]
2019-01-30 16:51:39 +03:00
chertus
d6450bc488
Refactoring: extract SubqueryForSet to own files
2019-01-30 15:01:00 +03:00
alesapin
893b34f31c
Rename clear method
2019-01-30 14:48:23 +03:00
alesapin
586c6b3206
Better logging about exception
2019-01-30 14:07:10 +03:00
proller
1cfec66165
Merge remote-tracking branch 'upstream/master' into fix14
2019-01-30 13:01:45 +03:00
proller
dc34e8998c
Better fix
2019-01-30 13:01:01 +03:00
alesapin
6496bd423f
Add curl to docker image
2019-01-30 12:43:00 +03:00
Nikolai Kochetov
a40f8f9708
Fix unstable test.
2019-01-30 12:20:50 +03:00
alesapin
6edc34bbe9
Merge pull request #4189 from proller/fix10
...
Allow run dictionaries tests from ctest
2019-01-30 11:36:07 +03:00
alesapin
3d53b5f8c6
Add bridge binary to runner script
2019-01-30 11:24:16 +03:00
zhang2014
5906d0b545
ISSUES-3885 fix test failure
2019-01-30 14:59:31 +08:00
zhang2014
e0d69071cc
ISSUES-3885 fix test failure
2019-01-30 14:17:18 +08:00
zhang2014
3af26ca070
ISSUES-3885 better test & fix isStateful bug
2019-01-30 12:49:00 +08:00
zhang2014
ddbd384f32
ISSUES-3885 mark stateful function & do not optimize their predicate
2019-01-30 12:04:28 +08:00
zhang2014
7dd897f2e6
ISSUES-3885 temporarily disable predicate optimization for order by
2019-01-30 08:03:10 +08:00
alesapin
95db9b4d76
Merge master
2019-01-29 23:17:52 +03:00
Alexey Milovidov
b57ec0543f
Setting user when doing in-process loading of dictionaries (incomplete)
2019-01-29 22:05:32 +03:00
alexey-milovidov
fd5ab9ed2e
Merge pull request #4055 from yandex/fix-group-by-array-low-cardibality-arguments
...
Fix group by array low cardinality arguments
2019-01-29 21:32:45 +03:00
proller
3e999ebc1a
Allow run dictionaries tests from ctest
2019-01-29 21:09:31 +03:00