Commit Graph

13407 Commits

Author SHA1 Message Date
Alexey Milovidov
d2a127ffa9 Less dependencies [#CLICKHOUSE-2] 2018-09-03 07:57:01 +03:00
Alexey Milovidov
6831b6c0f9 Fixed build; fixed possibly suboptimal code #3008 2018-09-03 07:29:36 +03:00
alexey-milovidov
72c799ad76
Merge pull request #3008 from 4ertus2/decimal
even more Decimal
2018-09-03 07:19:33 +03:00
alexey-milovidov
7d8f0a6140
Merge pull request #3022 from yandex/padded-arena
Padded Arena
2018-09-03 05:39:42 +03:00
Alexey Milovidov
3873ab1adb Fixed tests in Sandbox [#CLICKHOUSE-2] 2018-09-03 05:32:29 +03:00
Alexey Milovidov
aa5d919f33 Miscellaneous [#CLICKHOUSE-2] 2018-09-03 03:39:22 +03:00
Alexey Milovidov
cb0af7c3af Removed unused aggregation method [#CLICKHOUSE-2] 2018-09-03 03:33:29 +03:00
Alexey Milovidov
8e17652f0d Removed AggregationMethodConcat, because AggregationMethodSerialized appeared to be far superior [#CLICKHOUSE-2] 2018-09-03 03:07:05 +03:00
Alexey Milovidov
0b2ec39f11 Miscellaneous [#CLICKHOUSE-2] 2018-09-03 03:00:56 +03:00
Alexey Milovidov
13aac718a3 Reverted wrong change [#CLICKHOUSE-2] 2018-09-03 01:24:46 +03:00
Alexey Milovidov
1de3f144f6 Padding chunks in Arena in attempt to improve performance [#CLICKHOUSE-2] 2018-09-03 00:28:25 +03:00
Alexey Milovidov
bc84ca06a6 Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 23:46:16 +03:00
Alexey Milovidov
6acd58ee60 Respect alignment in groupArray function [#CLICKHOUSE-2] 2018-09-02 22:53:35 +03:00
Alexey Milovidov
4b01c2d9ba Added comment [#CLICKHOUSE-2] 2018-09-02 22:49:12 +03:00
Alexey Milovidov
243441cb51 Disable leak sanitizer for embedded clang and lld [#CLICKHOUSE-2] 2018-09-02 22:46:09 +03:00
VadimPE
003ce833d1 Merge branch 'master' of https://github.com/amosbird/ClickHouse into amosbird_window_funnel 2018-09-02 17:49:59 +03:00
Alexey Milovidov
372c36f054 Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 08:35:03 +03:00
Alexey Milovidov
9af71bb733 Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 08:25:32 +03:00
Alexey Milovidov
26587dd2bb Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 08:23:20 +03:00
Alexey Milovidov
03038c75c4 Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 08:07:49 +03:00
Alexey Milovidov
24675aed1a Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 08:01:21 +03:00
Alexey Milovidov
77ccc8c65c Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 07:58:55 +03:00
Alexey Milovidov
8d76be1dfd Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 07:41:40 +03:00
Alexey Milovidov
5f7825a91c Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 07:36:32 +03:00
Alexey Milovidov
f93ede0182 Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 07:33:15 +03:00
Alexey Milovidov
bf443fcfa0 Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 07:30:55 +03:00
Alexey Milovidov
ab78bc1b5c Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 07:13:15 +03:00
Alexey Milovidov
a903a5a755 Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 06:58:31 +03:00
Alexey Milovidov
b9c4820bdd Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 06:52:04 +03:00
Alexey Milovidov
ff13752d01 Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 06:47:14 +03:00
Alexey Milovidov
afe3973325 Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 06:43:31 +03:00
Alexey Milovidov
66afebc498 Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 06:40:15 +03:00
Alexey Milovidov
538edbb8e2 Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 06:33:48 +03:00
Alexey Milovidov
6c61dbde26 Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 06:14:00 +03:00
Alexey Milovidov
d27c7ed08a Addition to prev. revision [#CLICKHOUSE-2] 2018-09-02 06:10:21 +03:00
Alexey Milovidov
fc27be314b Avoid temporary nullptr references [#CLICKHOUSE-2] 2018-09-02 06:00:04 +03:00
Alexey Milovidov
684d3f6162 Fixed bug #2830 2018-09-02 05:27:56 +03:00
Alexey Milovidov
c3ca20c25c Rectification of FunctionsComparison [#CLICKHOUSE-2] 2018-09-02 05:09:15 +03:00
Alexey Milovidov
9e5778134d Miscellaneous #3018 2018-09-02 04:54:24 +03:00
Alexey Milovidov
c306bca055 Rectification of FunctionsComparison [#CLICKHOUSE-2] 2018-09-02 04:42:18 +03:00
Alexey Milovidov
3a24e636db Rectification of FunctionsComparison [#CLICKHOUSE-2] 2018-09-02 04:40:47 +03:00
Alexey Milovidov
f47c30c85b Rectification of FunctionsComparison [#CLICKHOUSE-2] 2018-09-02 04:26:08 +03:00
Alexey Milovidov
e97d1bb63f Rectification of FunctionsComparison [#CLICKHOUSE-2] 2018-09-02 04:12:32 +03:00
Alexey Milovidov
f910b5e9de Added comment #2957 2018-09-02 03:34:34 +03:00
Alexey Milovidov
f97d9e8f3f Fixed build #2957 2018-09-02 03:25:33 +03:00
Alexey Milovidov
f7107f12b4 Merge branch 'master' into extra-warnings 2018-09-02 03:13:36 +03:00
alexey-milovidov
16dc142a05
Merge pull request #3017 from yandex/ubsan-fixes
Fixes for UBSan.
2018-09-02 03:12:20 +03:00
Alexey Milovidov
1c2e4c3654 Documentation for ProfileEvents (more) #3010 2018-09-02 03:11:17 +03:00
Alexey Milovidov
63767c3c4e Documentation for ProfileEvents (more) #3010 2018-09-02 03:06:42 +03:00
Alexey Milovidov
ed6b5fe9eb Documentation for ProfileEvents (more) #3010 2018-09-02 03:05:09 +03:00
Alexey Milovidov
788a97dca1 Documentation for ProfileEvents (draft) #3010 2018-09-02 02:43:43 +03:00
Alexey Milovidov
c8fc8e8cbe Documentation for ProfileEvents (draft) #3010 2018-09-02 02:14:48 +03:00
Alexey Milovidov
8eb746b216 Documentation for ProfileEvents (draft) #3010 2018-09-02 02:13:17 +03:00
Alexey Milovidov
e78dbcbb88 Merge branch 'master' of github.com:yandex/ClickHouse 2018-09-02 02:11:28 +03:00
Alexey Milovidov
35b573e4d2 Documentation for ProfileEvents (draft) #3010 2018-09-02 02:11:11 +03:00
Alexey Milovidov
45a4a95959 Fixed error in UBSan [#CLICKHOUSE-2] 2018-09-02 00:18:33 +03:00
Alexey Milovidov
61413ead23 Removed notice in gcc-8 [#CLICKHOUSE-2] 2018-09-02 00:03:06 +03:00
Alexey Milovidov
c75cc14703 Fixed error in UBSan [#CLICKHOUSE-2] 2018-09-01 23:28:46 +03:00
Alexey Milovidov
751cf62262 Added documentation for CurrentMetrics #3010 2018-09-01 22:51:38 +03:00
Alexey Milovidov
f5d03f6ac2 Miscellaneous [#CLICKHOUSE-2] 2018-09-01 22:14:04 +03:00
alexey-milovidov
64b48b5fcf
Merge pull request #2907 from zhang2014/feature/support_join_for_table_function
ISSUES-2906 support join for table function
2018-09-01 20:49:49 +03:00
alexey-milovidov
087570e6ac
Merge pull request #2974 from zhang2014/fix/nested_json_for_visitRaw
ISSUES-2973 support nested json struct for visitParamExtractRaw
2018-09-01 20:47:42 +03:00
alexey-milovidov
889e060993
Merge pull request #3006 from VadimPE/CLICKHOUSE-1660
CLICKHOUSE-1660 Added duplicated columns removal in USING(...)
2018-09-01 20:43:54 +03:00
alexey-milovidov
15bf642a00
Update 00702_join_with_using.sql 2018-09-01 20:43:47 +03:00
Alexey Milovidov
ce032470b3 Full support for alignment of aggregate states #2808 2018-09-01 07:39:46 +03:00
Alexey Milovidov
338437baf7 Full support for alignment of aggregate states #2808 2018-09-01 07:28:12 +03:00
Alexey Milovidov
146f3f0a14 Full support for alignment of aggregate states #2808 2018-09-01 07:25:43 +03:00
Alexey Milovidov
7d77d001f5 Full support for alignment of aggregate states #2808 2018-09-01 07:25:03 +03:00
Alexey Milovidov
8f54125884 Minor modifications #2808 2018-09-01 06:17:43 +03:00
alexey-milovidov
6d5092518f
Merge pull request #2808 from chenxing-xc/master
Aligned aggregate state  #2754
2018-09-01 05:38:11 +03:00
Alexey Milovidov
c060fde75e Removed notice in gcc-8 [#CLICKHOUSE-2] 2018-09-01 05:22:30 +03:00
Alexey Milovidov
652ecc42c6 Fixed alignment issues with AutoArray [#CLICKHOUSE-2] 2018-09-01 04:03:34 +03:00
Alexey Milovidov
dbd0e2f533 Clarifications #2482 2018-09-01 01:41:42 +03:00
chertus
fe1e3300b7 remove dirty code [CLICKHOUSE-3765] 2018-08-31 20:36:27 +03:00
alesapin
66eb5402b0 Fix style 2018-08-31 16:25:33 +03:00
alesapin
a3ebbea3a0 Fix style 2018-08-31 16:23:56 +03:00
alesapin
650d15696f CLICKHOUSE-3800: Add memory comsumption profile_event of compiled expression cache 2018-08-31 15:39:27 +03:00
chertus
ca91c93adf disable Nullable(Decimal) [CLICKHOUSE-3905] 2018-08-31 14:59:33 +03:00
chertus
4cf8f174da some tests [CLICKHOUSE-3905] 2018-08-31 14:19:19 +03:00
VadimPE
910bb20ccf CLICKHOUSE-1660 add test 2018-08-31 13:30:57 +03:00
alesapin
ac6ab62c6f CLICKHOUSE-3800: Remove use after free of context 2018-08-31 13:27:08 +03:00
VadimPE
db8e63ff67 CLICKHOUSE-1660 Added duplicated columns removal in USING(...) 2018-08-31 13:00:46 +03:00
chertus
d0f452f6d9 some tests [CLICKHOUSE-3905] 2018-08-31 12:25:49 +03:00
chertus
845db9b46e CAST for decimal [CLICKHOUSE-3905] 2018-08-31 11:59:21 +03:00
zhang2014
a1f2b9ae0c ISSUES-2973 support nested json struct for visitParamExtractRaw 2018-08-31 15:25:28 +08:00
alesapin
711b228a30 Merge remote-tracking branch 'upstream/master' 2018-08-31 10:15:33 +03:00
Alexey Milovidov
9966e4405b Merge branch 'master' of github.com:yandex/ClickHouse 2018-08-31 04:46:51 +03:00
Alexey Milovidov
8aecbc6df6 Data streams: better [#CLICKHOUSE-3944] 2018-08-31 04:46:39 +03:00
Alexey Milovidov
37438b6750 More thread names #2482 2018-08-31 04:00:09 +03:00
Alexey Milovidov
f75204d908 More thread names #2482 2018-08-31 03:59:48 +03:00
alexey-milovidov
a05cdfbb45
Merge branch 'master' into extra-warnings 2018-08-31 03:03:44 +03:00
Alexey Milovidov
bee164f1a0 Added test [#CLICKHOUSE-2] 2018-08-31 02:55:34 +03:00
Alexey Milovidov
0c6c1e83a3 Avoid excessive padding in Pretty formats [#CLICKHOUSE-2] 2018-08-31 02:34:12 +03:00
Alexey Milovidov
5df5df8971 utils/check-style/check-style -n 2018-08-31 00:13:34 +03:00
alexey-milovidov
918d17ffeb
Update FunctionsVisitParam.h 2018-08-30 23:57:00 +03:00
Alexey Milovidov
9acb770c23 Added a test to clearly illustrate the difference between arrayEnumerateUniq and arrayEnumerateDense #2975 2018-08-30 23:43:08 +03:00
alexey-milovidov
46a38b72b9
Merge pull request #2975 from amosbird/dense
Extending arrayEnumerateUniq.
2018-08-30 23:26:31 +03:00
alexey-milovidov
c9838fdf34
Update FunctionsArray.cpp 2018-08-30 23:22:14 +03:00
Alexey Milovidov
06053d9c1f Added comments #2980 2018-08-30 23:12:15 +03:00
alexey-milovidov
e0b1b5ff78
Merge pull request #2980 from amosbird/memcpySmall
Padding for IO buffers.
2018-08-30 22:53:47 +03:00
alexey-milovidov
3b8e3c854c
Merge pull request #3000 from proller/fix3
CLICKHOUSE-3940 Fix crash on join
2018-08-30 22:52:59 +03:00
alexey-milovidov
f22b12b698
Update Join.cpp 2018-08-30 22:52:28 +03:00
alesapin
81a333ee87
Return to odbc-bridge argument. 2018-08-30 22:35:59 +03:00
robot-clickhouse
f171557c77 Auto version update to [18.12.1] [54407] 2018-08-30 22:28:33 +03:00
Alexey Milovidov
76eaacf1be Fixed tests in Sandbox [#CLICKHOUSE-2] 2018-08-30 22:27:36 +03:00
alesapin
d192c8a2f3 Fix again 2018-08-30 22:23:55 +03:00
alesapin
6bfde2825e Fix conflict 2018-08-30 22:23:00 +03:00
alexey-milovidov
72a2405e09
Merge pull request #3002 from proller/fix13
USE_INTERNAL_CONSISTENT_HASHING_LIBRARY
2018-08-30 22:11:55 +03:00
proller
de2b740db7 USE_INTERNAL_CONSISTENT_HASHING_LIBRARY 2018-08-30 22:07:24 +03:00
Alexey Milovidov
6ccd74aeeb Attempt to fix performance regression due to usage of taskstats #2482 2018-08-30 21:48:41 +03:00
proller
48766c1c2d split libconsistent-hashing 2018-08-30 21:44:46 +03:00
Alexey Milovidov
c06d6b7ae6 Moved file (preparation) #2482 2018-08-30 21:40:46 +03:00
Alexey Milovidov
fd5c419f17 Miscellaneous #2482 2018-08-30 21:36:24 +03:00
alesapin
ed34ffc94e
Merge branch 'master' into master 2018-08-30 19:34:29 +03:00
alesapin
6e64067a70 CLICKHOUSE-3800: Move cache to context, change hashing algorithm, add drop instruction for compiled expressions cache 2018-08-30 19:31:20 +03:00
proller
81960a2690 CLICKHOUSE-3940 Fix crash on join 2018-08-30 18:44:30 +03:00
VadimPE
5551f2902c CLICKHOUSE-1660 2018-08-30 15:32:11 +03:00
alexey-milovidov
b05c62be9f
Merge pull request #2994 from CurtizJ/CLICKHOUSE-3935
ClickHouse-3935  Fix bug with qualified columns in where clause
2018-08-30 15:01:47 +03:00
alexey-milovidov
992aee9c2c
Update 00702_where_with_quailified_names.sql 2018-08-30 15:01:34 +03:00
CurtizJ
c818683ce7 update test 2018-08-30 14:48:58 +03:00
alexey-milovidov
ba3a20073c
Merge pull request #2988 from VadimPE/test_recovery_replica
add integration test for recovery replica
2018-08-30 14:20:10 +03:00
alexey-milovidov
2e22a14c5c
Merge pull request #2997 from VadimPE/fix_exception_message
Fix error message in exception message for DROP TABLE/PARTITION
2018-08-30 14:19:58 +03:00
chertus
409562a397 decimal: add test for input/output formats CLICKHOUSE-3765 2018-08-30 14:17:02 +03:00
VadimPE
81893ae577 Fix error message 2018-08-30 12:33:31 +03:00
robot-clickhouse
8125bd3df9 Auto version update to [18.12.0] [54407] 2018-08-30 03:23:20 +03:00
CurtizJ
764aa70d04 fix bug with quailified columns in where clause 2018-08-30 01:09:04 +03:00
CurtizJ
b43d403815 Revert "fix bug with quailified columns in where clause"
This reverts commit e007fd2b9e.
2018-08-30 01:04:45 +03:00
proller
56e571f18d odbc-bridge fixes (#2993)
* start clickhouse odbc-bridge as clickhouse-odbc-bridge

* fix

* prepare to odbc bridge tests
2018-08-30 00:32:46 +03:00
Alexey Milovidov
48cbf9de3c Merge branch 'master' of github.com:yandex/ClickHouse 2018-08-30 00:30:49 +03:00
Alexey Milovidov
c94e0f0161 Fixed tests in Sandbox [#CLICKHOUSE-2] 2018-08-30 00:30:39 +03:00
alesapin
647446c45e CLICKHOUSE-3800: More correct compilated function call counter 2018-08-29 23:05:31 +03:00
proller
0f16160cb7 stderr.log fixes 2018-08-29 22:52:04 +03:00
CurtizJ
e007fd2b9e fix bug with quailified columns in where clause 2018-08-29 22:45:29 +03:00
Alexey Milovidov
26b5b52c24 Merge branch 'master' of github.com:yandex/ClickHouse 2018-08-29 22:01:14 +03:00
Alexey Milovidov
c34d36bf35 Fixed tests in Sandbox [#CLICKHOUSE-2] 2018-08-29 22:01:01 +03:00
proller
4529f33457 Fix clickhouse-test-server
rename /var/log/clickhouse-server/stderr to stderr.log and stdout to stdout.log
2018-08-29 21:48:14 +03:00
chertus
29d8d07975 decimal improvements [CLICKHOUSE-3765] 2018-08-29 21:47:19 +03:00
alexey-milovidov
794b4d30a8
Merge pull request #2989 from yandex/fix-context-lifetime-try-2-quick
Fix lifetime of Context reference in functions (first quick variant) …
2018-08-29 21:32:48 +03:00
alexey-milovidov
07408490b6
Merge pull request #2982 from VadimPE/CLICKHOUSE-3934
CLICKHOUSE-3934 add join_default_strictness
2018-08-29 21:32:03 +03:00
alexey-milovidov
b99bf0c558
Update Settings.h 2018-08-29 21:27:41 +03:00
alesapin
06adf19053 CLICKHOUSE-3800: Remove tab 2018-08-29 20:51:23 +03:00
alesapin
d2a5efb11b CLICKHOUSE-3800: Add perf test 2018-08-29 20:49:43 +03:00
Vadim
59e494a78d
Update 00701_join_default_strictness.reference 2018-08-29 19:48:09 +03:00
Vadim
b0f66d15d2
Update 00701_join_default_strictness.sql 2018-08-29 19:42:45 +03:00
Alexey Milovidov
48db3d4df8 Added test #2989 2018-08-29 19:27:29 +03:00
Alexey Milovidov
3361247126 Fix lifetime of Context reference in functions (first quick variant) [#CLICKHOUSE-2] 2018-08-29 18:36:24 +03:00
Alexey Milovidov
4ebfaa768e Miscellaneous [#CLICKHOUSE-2] 2018-08-29 18:16:34 +03:00
VadimPE
f253719eac CLICKHOUSE-3934 add SettingsJoinStrictness 2018-08-29 18:15:42 +03:00
alesapin
7498105b67 CLICKHOUSE-3800: Fix hash and equals functions 2018-08-29 18:14:44 +03:00
Alexey Milovidov
697067f207 Fix lifetime of Context reference in functions (first quick variant) [#CLICKHOUSE-2] 2018-08-29 17:59:08 +03:00
Alexey Milovidov
87dfd8e47e Removed useless field #2447 2018-08-29 17:55:28 +03:00
VadimPE
5c370143c4 CLICKHOUSE-3847 fix time for cleanupthread and sleep() 2018-08-29 17:13:20 +03:00
VadimPE
a90a9af818 CLICKHOUSE-3847 fix time for cleanup_delay_period 2018-08-29 17:03:39 +03:00
VadimPE
d626ae11a7 CLICKHOUSE-3934 2018-08-29 16:54:43 +03:00
Vadim Plakhtinskiy
f0c16900aa CLICKHOUSE-3934 fix bug with CROSS JOIN 2018-08-29 16:51:07 +03:00
VadimPE
8c10c11804 CLICLKHOUSE-3847 add test 2018-08-29 16:47:48 +03:00
chertus
7bac9698f6 fix build 2018-08-29 16:24:33 +03:00
chertus
9becb21e52 better comments for IColumn [CLICKHOUSE-2] 2018-08-29 15:10:18 +03:00
chertus
a69c936b44 improve field visitors for UUID CLICKHOUSE-3249 2018-08-29 14:58:40 +03:00
VadimPE
a569d88e6a CLICKHOUSE-3847 add test 2018-08-29 13:04:41 +03:00
alesapin
a8db29c714 Merge remote-tracking branch 'upstream/master' 2018-08-29 11:42:50 +03:00
zhang2014
f921c9c169 ISSUES-863 support optimize predicate for view 2018-08-29 13:29:03 +08:00
Amos Bird
8851fbcab2 Padding for IO buffers.
Testing data

```
select 'aaaaaaaa','bbbbbbbb','cccccccc','dddddddd','eeeeeeee','ffffffff','gggg','hhh' from numbers(3000000) into outfile '/tmp/test.tsv'
```

Testing command
```
echo "select count() from file('/tmp/test.tsv', CSV, 'a String, b String, c String, d String, e String, f String, g String, h String') where not ignore(e)" | clickhouse-benchmark
```

TSV parser has less overhead than CSV, using it would better unveil the benefits of memcpySmall.

Before
```
QPS: 1.662, RPS: 4985463.906, MiB/s: 603.823, result RPS: 1.662, result MiB/s: 0.000.
0.000%  0.559 sec.
10.000% 0.564 sec.
20.000% 0.568 sec.
30.000% 0.572 sec.
40.000% 0.575 sec.
50.000% 0.581 sec.
60.000% 0.592 sec.
70.000% 0.624 sec.
80.000% 0.639 sec.
90.000% 0.664 sec.
95.000% 0.686 sec.
99.000% 0.711 sec.
99.900% 0.715 sec.
99.990% 0.716 sec.
```

After
```
QPS: 1.861, RPS: 5582303.107, MiB/s: 676.110, result RPS: 1.861, result MiB/s: 0.000.
0.000%  0.510 sec.
10.000% 0.514 sec.
20.000% 0.517 sec.
30.000% 0.521 sec.
40.000% 0.523 sec.
50.000% 0.527 sec.
60.000% 0.530 sec.
70.000% 0.539 sec.
80.000% 0.558 sec.
90.000% 0.584 sec.
95.000% 0.589 sec.
99.000% 0.608 sec.
99.900% 0.655 sec.
99.990% 0.663 sec.
```
2018-08-29 09:39:44 +08:00
alexey-milovidov
a5d7097c08
Merge pull request #2977 from amosbird/sse2csv
Enable sse2 for CSV parsing.
2018-08-29 03:04:17 +03:00
proller
e30d93a0f2 Better debug helpers (#2983)
* Better debug helpers

* fix
2018-08-29 03:03:07 +03:00
alexey-milovidov
f3b2cf6c11
Merge pull request #2985 from 4ertus2/uuid
field visitors for UUID CLICKHOUSE-3249
2018-08-29 03:02:25 +03:00
Alexey Milovidov
783fc4de27 Merge branch 'master' of github.com:yandex/ClickHouse 2018-08-28 23:39:28 +03:00
Alexey Milovidov
2581d88f0e Better error message: avoid confusion when column is named a [#CLICKHOUSE-3] 2018-08-28 23:39:18 +03:00
proller
18044995ba Fix includes 2018-08-28 22:36:27 +03:00
chertus
6a02b18b93 field visitors for UUID CLICKHOUSE-3249 2018-08-28 21:36:41 +03:00
Alexey Milovidov
f45afa37a8 Miscellaneous [#CLICKHOUSE-3] 2018-08-28 21:25:40 +03:00
alesapin
1a85271702 CLICKHOUSE-3800: Add expression cache 2018-08-28 20:06:42 +03:00
Vadim
2bab5f941d
Update 00701_join_default_strictness.sql 2018-08-28 17:58:08 +03:00
Vadim
6a3d398a26
Update 00701_join_default_strictness.reference 2018-08-28 17:57:44 +03:00
Vadim
9a0802f5bd
fix documentation 2018-08-28 17:52:27 +03:00
Vadim
98abde8480
Update ExpressionAnalyzer.cpp 2018-08-28 17:41:15 +03:00
Vadim
096b5e6a9d
Update ExpressionAnalyzer.cpp 2018-08-28 17:40:07 +03:00
Vadim
564ddbf8d8
Update ExpressionAnalyzer.cpp 2018-08-28 17:33:57 +03:00
VadimPE
139f855230 CLICKHOUSE-3934 add tests 2018-08-28 17:26:12 +03:00
Vadim
a8c1199ad4
Merge branch 'master' into CLICKHOUSE-3934 2018-08-28 17:06:17 +03:00
chertus
86dd83d012 fix use of broken context in decimal arithm/comparison 2018-08-28 16:59:52 +03:00
VadimPE
398d38eead CLICKHOUSE-3934 add join_default_strictness 2018-08-28 16:57:31 +03:00
Amos Bird
4ae8721a82
ill formated #else breaks client history 2018-08-28 20:05:27 +08:00
proller
c219562b32 Better clickhouse-test-server 2018-08-28 14:57:35 +03:00
Amos Bird
8d6a26b8df Enable sse2 for CSV parsing.
Testing data

```
select 'aaaaaaaa,bbbbbbbb,cccccccc,dddddddd,eeeeeeee,ffffffff,gggg,hhh' from numbers(3000000) into outfile '/tmp/test.csv'
```

Testing command
```
echo "select count() from file('/tmp/test.csv', CSV, 'a String, b String, c String, d String, e String, f String, g String, h String') where not ignore(e)" | clickhouse-benchmark

```

Before
```
QPS: 1.317, RPS: 3949749.687, MiB/s: 478.380, result RPS: 1.317, result MiB/s: 0.000.
0.000%  0.704 sec.
10.000% 0.712 sec.
20.000% 0.718 sec.
30.000% 0.726 sec.
40.000% 0.739 sec.
50.000% 0.754 sec.
60.000% 0.770 sec.
70.000% 0.788 sec.
80.000% 0.798 sec.
90.000% 0.815 sec.
95.000% 0.826 sec.
99.000% 0.850 sec.
99.900% 0.857 sec.
99.990% 0.858 sec.
```

After
```
QPS: 1.533, RPS: 4598308.336, MiB/s: 556.932, result RPS: 1.533, result MiB/s: 0.000.
0.000%  0.626 sec.
10.000% 0.635 sec.
20.000% 0.639 sec.
30.000% 0.642 sec.
40.000% 0.643 sec.
50.000% 0.645 sec.
60.000% 0.649 sec.
70.000% 0.652 sec.
80.000% 0.658 sec.
90.000% 0.682 sec.
95.000% 0.710 sec.
99.000% 0.727 sec.
99.900% 0.733 sec.
99.990% 0.734 sec.
```
2018-08-28 19:46:11 +08:00
alexey-milovidov
9ff0edc203
Merge pull request #2971 from urykhy/zk-operation-timeout
Make ZK operation timeout configurable
2018-08-28 14:23:09 +03:00
CurtizJ
a603595120 remove redundant code 2018-08-28 12:27:17 +03:00
Amos Bird
a4dfe0ae38 Extending arrayEnumerateUniq.
https://github.com/yandex/ClickHouse/issues/2934
2018-08-28 15:31:25 +08:00
zhang2014
16404c8e7b ISSUES-2973 support nested json struct for visitParamExtractRaw 2018-08-28 13:45:21 +08:00
Alexey Milovidov
3e216f055c Miscellaneous #2758 2018-08-28 03:44:42 +03:00
Alexey Milovidov
9a4b4fbccd Miscellaneous #2758 2018-08-28 03:23:52 +03:00
Alexey Milovidov
236c3872b8 Miscellaneous #2758 2018-08-28 03:23:38 +03:00
Alexey Milovidov
32286484cd Miscellaneous #2758 2018-08-28 03:22:32 +03:00
Alexey Milovidov
52379be265 Miscellaneous #2758 2018-08-28 03:21:02 +03:00
Alexey Milovidov
4f8d324fa7 Miscellaneous #2758 2018-08-28 03:18:32 +03:00
Alexey Milovidov
fa0ffcf8dc Miscellaneous #2758 2018-08-28 03:17:27 +03:00
Alexey Milovidov
2a4b4eefd6 Miscellaneous #2758 2018-08-28 03:10:05 +03:00
Alexey Milovidov
ea643eeff9 Miscellaneous #2758 2018-08-28 03:03:10 +03:00
Alexey Milovidov
7c777c48d7 Miscellaneous #2758 2018-08-28 03:01:03 +03:00
Alexey Milovidov
0a7e288d70 Miscellaneous #2758 2018-08-28 02:59:49 +03:00
Alexey Milovidov
bab6cd504d Miscellaneous #2758 2018-08-27 22:16:38 +03:00
Alexey Milovidov
24bd803c07 Whitespaces #2758 2018-08-27 22:06:32 +03:00
Alexey Milovidov
f5cc5ef877 Merge branch 'CLICKHOUSE-3847' of https://github.com/VadimPE/ClickHouse into VadimPE-CLICKHOUSE-3847 2018-08-27 22:04:14 +03:00
proller
cc86cb503e clickhouse-test-server with temporary data dir 2018-08-27 21:32:50 +03:00
Alexey Milovidov
f9b6483f95 Checkpoint [#CLICKHOUSE-2] 2018-08-27 21:21:34 +03:00
Alexey Milovidov
74fee0dc98 Enabling -Wshadow [#CLICKHOUSE-2] 2018-08-27 21:20:58 +03:00
Alexey Milovidov
a3cd1ea8cb Enabling -Wshadow [#CLICKHOUSE-2] 2018-08-27 21:16:32 +03:00
Alexey Milovidov
0d02315778 Enabling -Wshadow [#CLICKHOUSE-2] 2018-08-27 21:07:17 +03:00
Alexey Milovidov
3efffba44e Enabling -Wshadow [#CLICKHOUSE-2] 2018-08-27 21:05:28 +03:00
Alexey Milovidov
956f76e000 Enabling -Wshadow [#CLICKHOUSE-2] 2018-08-27 20:58:43 +03:00
Alexey Milovidov
5b257c588f Enabling -Wshadow [#CLICKHOUSE-2] 2018-08-27 20:42:13 +03:00
Yury Stankevich
f3024d2fba Make ZK operation timeout configurable 2018-08-27 20:26:19 +03:00
Alexey Milovidov
d4ea8bdb88 Merge remote-tracking branch 'origin/master' into extra-warnings 2018-08-27 20:18:39 +03:00
Alexey Milovidov
6e18af7ed3 Enabling -Wshadow [#CLICKHOUSE-2] 2018-08-27 20:18:14 +03:00
chertus
d6a85d9d63 Merge branch 'master' of github.com:yandex/ClickHouse 2018-08-27 20:17:26 +03:00
chertus
220909eb39 minor fix CLICKHOUSE-3765 2018-08-27 20:17:12 +03:00
alexey-milovidov
98148d914c
Merge pull request #2958 from blahgeek/skip-json-object
Skip object fields on json input
2018-08-27 20:07:32 +03:00
Alexey Milovidov
486d87ebcd Merge remote-tracking branch 'origin/master' into extra-warnings 2018-08-27 20:01:33 +03:00
alexey-milovidov
95b2bcbc6b
Merge pull request #2970 from 4ertus2/decimal
Some more Decimal
2018-08-27 19:59:26 +03:00
alexey-milovidov
3328fb456a
Merge pull request #2966 from amosbird/nrvo
Get rid of useless std::move to get NRVO
2018-08-27 19:56:03 +03:00
Alexey Milovidov
ad5855b7c1 Compatibility with old CMake [#CLICKHOUSE-2] 2018-08-27 19:49:40 +03:00
chertus
9dbaa5f4a9 remove strange code CLICKHOUSE-3765 2018-08-27 19:46:42 +03:00
CurtizJ
0e28195e7a update syntax and test 2018-08-27 19:43:29 +03:00
Vadim
2d8bffafa3
Update MergeTreeSettings.h 2018-08-27 19:38:54 +03:00
Vadim
4d9d80b271
Update MergeTreeSettings.h 2018-08-27 19:38:36 +03:00
Alexey Milovidov
076e1fb2e1 Enabling -Wshadow [#CLICKHOUSE-2] 2018-08-27 19:31:45 +03:00
alesapin
4ecf3ce8ef
Merge pull request #2969 from alesapin/master
CLICKHOUSE-3894: Fix Kafka test
2018-08-27 19:24:39 +03:00
VadimPE
418375aa1d Merge branch 'CLICKHOUSE-3847' of https://github.com/VadimPE/ClickHouse into CLICKHOUSE-3847 2018-08-27 19:23:08 +03:00
VadimPE
70ebb6a47d CLICKHOUSE-3847 fix code-style 2018-08-27 19:22:39 +03:00
Alexey Milovidov
e5a2dd8624 Merge branch 'master' into extra-warnings 2018-08-27 19:19:04 +03:00
chertus
ee873c8e9f Merge branch 'master' into decimal 2018-08-27 19:18:48 +03:00
chertus
c86f2878ff add special ColumnDecimal instead of ColumnVector<DecimalNN> CLICKHOUSE-3765 2018-08-27 19:16:16 +03:00
alesapin
1f0f1ecad3 CLICKHOUSE-3894: Fix Kafka test 2018-08-27 19:15:39 +03:00
Vadim
64a27e592b
Update ReplicatedMergeTreeCleanupThread.cpp 2018-08-27 19:00:40 +03:00
VadimPE
4d198f2bfe CLICKHOUSE-3847 fix build 2018-08-27 18:54:07 +03:00
VadimPE
0281678c3e CLICKHOUSE-3847 fix code style 2018-08-27 18:44:51 +03:00
Alexey Milovidov
303cc7242f Addition to prev. revision #2956 2018-08-27 18:01:33 +03:00
Alexey Milovidov
6e57168030 Removed code with duplicate semantics [#CLICKHOUSE-2] 2018-08-27 18:01:33 +03:00
alexey-milovidov
7de0549879
Update ReadHelpers.h 2018-08-27 18:00:08 +03:00
alexey-milovidov
01f01b1ee1
Update ReadHelpers.cpp 2018-08-27 17:54:58 +03:00
alesapin
a2a623d228
Merge pull request #2967 from alesapin/master
Small fixes in testing framework
2018-08-27 17:53:56 +03:00
alesapin
716c8016d7 CLICKHOUSE-3894: Print stack trace 2018-08-27 17:45:37 +03:00
alesapin
06d091580d CLICKHOUSE-3894: Increase MySQL timeout and add logging 2018-08-27 17:43:59 +03:00
proller
3acce3bff9 Build fix (#2944)
* Build fix

* Better sample build scripts

* zlib apple fix

* fix

* fix

* better so version

* SPLIT_SHARED -> LINK_MODE

* clean
2018-08-27 17:39:20 +03:00
Amos Bird
ea84430864 Get rid of useless std::move to get NRVO
http://eel.is/c++draft/class.copy.elision#:constructor,copy,elision

Some quote:

> Speaking of RVO, return std::move(w); prohibits it. It means "use move constructor or fail to compile", whereas return w; means "use RVO, and if you can't, use move constructor, and if you can't, use copy constructor, and if you can't, fail to compile."

There is one exception to this rule:
```cpp
Block FilterBlockInputStream::removeFilterIfNeed(Block && block)
{
    if (block && remove_filter)
        block.erase(static_cast<size_t>(filter_column));

    return std::move(block);
}
```

because references are not eligible for NRVO, which is another rule "always move rvalue references and forward universal references" that takes precedence.
2018-08-27 22:15:48 +08:00
VadimPE
a8974f8786 CLICKHOUSE-3847 add Coordinator 2018-08-27 16:51:22 +03:00
alesapin
3913a6ef4e
Merge pull request #2965 from alesapin/master
CLICKHOUSE-3894: Wait zookeeper before clickhouse start
2018-08-27 16:51:05 +03:00
alesapin
570343fdb3 CLICKHOUSE-3894: Wait zookeeper before clickhouse start 2018-08-27 16:42:39 +03:00
alexey-milovidov
806316511f
Merge pull request #2960 from zhang2014/fix/on_cluster_crash
ISSUES-2482 fix crash when on cluster
2018-08-27 16:25:26 +03:00
Vadim
be2d821669
Merge branch 'master' into CLICKHOUSE-3847 2018-08-27 15:26:41 +03:00