Vladimir Chebotarev
f8c0fef919
Attempt to make table-level setting s3_min_upload_part_size
.
2019-09-23 12:41:59 +00:00
Alexander Tokmakov
89280c0ca8
fix tests
2019-09-23 13:45:26 +03:00
maqroll
a6e7519f9d
Merge remote-tracking branch 'upstream/master'
2019-09-23 07:55:07 +00:00
maqroll
e1613d0704
+ integration test
2019-09-23 07:27:49 +00:00
philip.han
3c40bb86ae
Clean up a test table in bloom_filter_test
2019-09-23 15:45:57 +09:00
philip.han
833b188b88
Fix a result of bloom_filter_test
2019-09-23 15:24:53 +09:00
philip.han
315fcc6ef6
Add a testcase that checks nested array type of bloom_filter
2019-09-23 12:41:23 +09:00
Alexey Milovidov
e6f1fdc011
Added another test
2019-09-23 02:56:27 +03:00
Alexey Milovidov
69c79c31bb
Merging function 'repeat': improved test
2019-09-23 02:31:33 +03:00
Alexey Milovidov
454b83fcd3
Merging function 'repeat'
2019-09-23 02:30:13 +03:00
Alexey Milovidov
52272eeea9
Merge branch 'master' of https://github.com/ucasFL/ClickHouse into ucasFL-master
2019-09-23 02:04:18 +03:00
Alexey Milovidov
bdea16e308
Merging S3: Moved S3 settings to <s3> in config to correspond to <merge_tree> and <kafka>
2019-09-23 01:44:10 +03:00
alexey-milovidov
2054f80623
Merge pull request #5596 from excitoon-favorites/table_function_s3
...
s3 table function and storage
2019-09-23 00:53:06 +03:00
alexey-milovidov
6fa234cea4
Merge pull request #6894 from azat-archive/hashed-dict-memory-usage-v2
...
[RFC] Add sparsehash support for hashed dictionary (to reduce memory usage)
2019-09-22 15:55:36 +03:00
Vladimir Chebotarev
4608da1344
Minor tests improvement.
2019-09-22 11:03:02 +00:00
Vladimir Chebotarev
64d49e4565
Minor review fixes.
2019-09-22 10:42:47 +00:00
fenglv
4465fdb8bf
Add test
...
fix
fix
fix
2019-09-22 14:25:43 +08:00
alexey-milovidov
67e02b4ea0
Merge pull request #6957 from infinivision/add_bitmapSubsetLimit
...
added bitmapSubsetLimit
2019-09-22 04:58:44 +03:00
alesapin
4575b6e4ff
Merge pull request #7031 from yandex/rename-storage-policy-name
...
Renamed "storage_policy_name" to "storage_policy"
2019-09-21 17:03:19 +03:00
Azat Khuzhin
420089c301
Add new dictionary layout (sparse_hashed) that is more memory efficient
...
With this new layout, sparsehash will be used over default HashMap,
sparsehash is more memory efficient but it is also slower.
So in a nutshell:
- HashMap uses ~2x more memory then sparse_hash_map
- HashMap ~2-2.5x faster then sparse_hash_map
(tested on lots of input, and the most close to production was
dictionary with 600KK hashes and UInt16 as value)
TODO:
- fix allocated memory calculation
- getBufferSizeInBytes/getBufferSizeInCells interface
- benchmarks
v0: replace HashMap with google::sparse_hash_map
v2: use google::sparse_hash_map only when <sparse> isset to true
v3: replace attributes with different layout
v4: use ch hash over std::hash
2019-09-21 02:22:40 +03:00
alexey-milovidov
f8d19f6bf3
Merge pull request #6968 from azat-archive/create_as_skip_indices
...
[RFC] Introduce create_as_skip_indices
2019-09-20 23:53:49 +03:00
alexey-milovidov
2432a68009
Merge pull request #7022 from 4ertus2/bugs
...
Fix "Unknown identifier" in ORDER BY and GROUP BY with Multiple Joins
2019-09-20 23:45:51 +03:00
alexey-milovidov
3f500aad4b
Merge pull request #6976 from sfod/issue-3571
...
Throw exceptions if WITH TOTALS/ROLLUP/CUBE are specified without agg…
2019-09-20 23:39:00 +03:00
Alexey Milovidov
42b739550b
Renamed "storage_policy_name" to "storage_policy"
2019-09-20 23:35:50 +03:00
alexey-milovidov
5314088648
Merge pull request #6980 from filimonov/huge_pk_performance_test
...
Adding performance test for huge pk (issue #6924 )
2019-09-20 23:29:56 +03:00
Alexander Tokmakov
0080639f79
Merge branch 'master' into merging_values_with_expressions
2019-09-20 23:26:01 +03:00
Alexander Tokmakov
2c7384ff39
add performance test
2019-09-20 22:45:26 +03:00
alexey-milovidov
123b8cb43c
Merge pull request #6990 from Akazz/timeout_for_sync_replica_cmd
...
Fixed timeout mechanism for SYNC REPLICA command + simplified related code
2019-09-20 20:32:51 +03:00
alexey-milovidov
aabd6906f2
Merge pull request #6982 from 4ertus2/mjoin
...
PartialMergeJoin bugfixes
2019-09-20 20:19:00 +03:00
millb
4f24512ba4
Test added.
2019-09-20 19:40:06 +03:00
chertus
7726130303
fix multiple joins aliasing for order by and group by
2019-09-20 19:01:19 +03:00
sfod
bc9bcfdb7e
Fix tests which use WITH TOTALS without aggregation
2019-09-20 17:42:30 +03:00
sfod
bf2654e093
Use sql file to test changes
2019-09-20 17:39:26 +03:00
stavrolia
7309e813bc
cleanup hdfs docs
2019-09-20 14:26:00 +03:00
Alexander Kazakov
2d807368e1
Adjusted timings in test + more verbose diagnostics
2019-09-20 00:20:58 +03:00
Azat Khuzhin
b2a3db1048
Ignore indices for CREATE TABLE .. AS .. if storage do not support them
2019-09-19 23:55:38 +03:00
chertus
da14951ecd
implement MergeJoin.joinTotals()
2019-09-19 17:53:03 +03:00
Alexander Kazakov
90c9d83fa5
Added missing newline at the EOF
2019-09-19 17:48:08 +03:00
Alexander Kazakov
7a0f7a57e2
Chmod +x for test!!!
2019-09-19 15:48:18 +03:00
Akazz
787a646680
Added a test to challenge timeout mechanism in SYNC REPLICA command
2019-09-19 13:00:44 +03:00
Vladimir Chebotarev
bd1ce56797
Tests decomposition.
2019-09-19 09:34:33 +00:00
Zhichang Yu
0dc3866c36
added bitmapSubsetLimit
2019-09-19 10:15:36 +08:00
alexey-milovidov
1fe79ad43c
Merge pull request #6941 from dimarub2000/enums_in_section
...
IN with Enums numeric values
2019-09-19 02:24:34 +03:00
alexey-milovidov
9c675e50bb
Merge pull request #6963 from nicelulu/issue_6616
...
optimize limit 1,0 and test.
2019-09-19 02:23:56 +03:00
alexey-milovidov
01a1920e9b
Merge pull request #6970 from infinivision/add_bitmapMin_bitmapMax
...
added bitmapMin and bitmapMax
2019-09-19 02:01:16 +03:00
alexey-milovidov
bc1ecb0be5
Merge pull request #6951 from yandex/aku/alloc-continue
...
Make the quadratic Arena::allocContinue less bad.
2019-09-19 01:57:26 +03:00
alexey-milovidov
d7681d0239
Merge pull request #6977 from Akazz/minor_fixes_in_tests-2
...
Reworked flapping test - 00715_fetch_merged_or_mutated_part_zookeeper
2019-09-19 01:54:27 +03:00
alexey-milovidov
db470be077
Update merge_tree_huge_pk.xml
2019-09-18 23:07:23 +03:00
chertus
08a28d2dc2
fix pm join bug (wrong right equal range copy)
2019-09-18 21:44:44 +03:00
chertus
38a73fb551
add simple perf test for partial merge join
2019-09-18 20:04:10 +03:00
Mikhail Filimonov
67e1cf9b73
Adding performance test for huge pk (issue #6924 )
2019-09-18 17:35:45 +02:00
Artem Zuikov
aae82eed5a
Merge pull request #6940 from 4ertus2/mjoin
...
PartialMergeJoin
2019-09-18 16:16:10 +03:00
Akazz
aa8ef05955
Reworked test 00715_fetch_merged_or_mutated_part_zookeeper
2019-09-18 16:14:56 +03:00
sfod
0bad4b4a05
Throw exceptions if WITH TOTALS/ROLLUP/CUBE are specified without aggregate functions
2019-09-18 16:08:51 +03:00
Alexander Kuzmenkov
e1898ca89a
Make the quadratic Arena::allocContinue less bad.
...
Scenarios that use Arena::allocContinue may waste quadratically many
memory and perform quadratically many copying, when the memory range
size reaches Arena's linear allocation threshold. To alleviate this,
make sure that the next memory chunk allocated by allocContinue is at
least linear_growth_threshold bytes bigger than the previous one, so
that we don't reallocate and copy that often.
2019-09-18 15:04:56 +03:00
CurtizJ
651f5b0e9f
merging with master
2019-09-18 13:21:10 +03:00
CurtizJ
79a08ef8ea
Merge remote-tracking branch 'upstream/master' into merging_redis
2019-09-18 12:58:22 +03:00
philip.han
ff30f4d890
Add testcases for Arrays in bloom_filter index
2019-09-18 18:32:46 +09:00
Zhichang Yu
460ccb04a2
added bitmapMin and bitmapMax
2019-09-18 16:56:12 +08:00
alexey-milovidov
03014fe920
Merge pull request #6944 from malkfilipp/add-limit-clause-to-show-queries
...
Add LIMIT clause to SHOW queries
2019-09-18 02:07:45 +03:00
root
f4b7cae998
optimize limit 1,0 and test.
2019-09-18 02:55:59 +08:00
chertus
2b3a4b0650
support const and LC columns in partial merge-join
2019-09-17 21:53:52 +03:00
chertus
58fad78980
support MergeJoin nullable convertion (right side)
2019-09-17 19:55:11 +03:00
CurtizJ
4df1f1bb9a
better integration test for redis dictionary (but still bad)
2019-09-17 16:35:19 +03:00
malkfilipp
aab95fd517
Bump the test number
2019-09-17 15:41:25 +03:00
akuzm
75dc7d331e
Merge pull request #6937 from amosbird/ubmemfix
...
In hash tables, properly initialize zero key cell.
2019-09-17 14:57:38 +03:00
chertus
da5d35b34e
partial merge join (minimal tested version)
2019-09-16 22:31:22 +03:00
Amos Bird
1cf47da60d
ubsan/memsan fix.
2019-09-16 21:20:17 +08:00
malkfilipp
ed42b94af7
Add tests
2019-09-15 19:08:26 +03:00
alexey-milovidov
831eebe4dc
Merge pull request #6934 from abyss7/CLICKHOUSE-4643
...
Name temporary external table with existing subquery alias
2019-09-15 09:46:10 +03:00
Vladimir Chebotarev
d53872c300
Tests improvement.
2019-09-14 07:44:46 +00:00
Ivan
66d6e0cbb3
Update 01009_global_array_join_names.reference
2019-09-14 01:03:44 +03:00
Ivan
8fcf490bd9
Update 01009_global_array_join_names.reference
2019-09-14 00:58:39 +03:00
Ivan
33e6681c90
Update 01009_global_array_join_names.sql
2019-09-13 23:00:28 +03:00
Dmitry Rubashkin
57eef84322
DROP
2019-09-13 22:09:00 +03:00
Dmitry Rubashkin
ea3f80460c
Tests.
2019-09-13 22:07:22 +03:00
alexey-milovidov
10e274213d
Merge pull request #6930 from filimonov/performance_test_lowcard_arr
...
performance test for lowcardinality array
2019-09-13 20:01:57 +03:00
Ivan
d697f4a1d1
Update 01009_global_array_join_names.sql
2019-09-13 19:07:54 +03:00
Ivan
add919e922
Update 01009_global_array_join_names.sql
2019-09-13 17:44:04 +03:00
Vladimir Chebotarev
4406ad1061
Tests fix.
2019-09-13 13:53:17 +00:00
Vladimir Chebotarev
2cddcebc31
Moved server to clickhouse instance in test.
2019-09-13 13:17:58 +00:00
Ivan Lezhankin
a3944624a0
Add test
2019-09-13 14:10:41 +03:00
alesapin
02cff38fef
Merge with master
2019-09-13 13:58:23 +03:00
Vladimir Chebotarev
b324261285
Minor test fix.
2019-09-13 10:18:09 +00:00
Vladimir Chebotarev
a54b43cd01
Better test, minor fix.
2019-09-13 13:04:21 +03:00
Nikolai Kochetov
86bee0b8b5
Merge pull request #6684 from yandex/processors-2
...
Processors 2
2019-09-13 11:58:04 +03:00
alexey-milovidov
12c26e6013
Merge pull request #6891 from yandex/low_cardinality_in_native_http
...
Low cardinality in native http
2019-09-13 09:01:08 +03:00
alexey-milovidov
ba40858094
Merge pull request #6928 from proller/fix27
...
CLICKHOUSE-4652 Another fix for АrrayEnumerateUniqRanked with empty arrays
2019-09-13 08:57:30 +03:00
alexey-milovidov
b31c5d15b6
Merge pull request #6929 from vitlibar/better-http-server-in-test_dictionaries_all_layouts_and_sources
...
Better simulation of HTTP server for integration test
2019-09-13 08:55:38 +03:00
Mikhail Filimonov
3f9d4a5d8e
performance test for lowcardinality array, showing significant performance degradation comparing to plain array
2019-09-12 22:46:31 +02:00
Vitaly Baranov
df372ba7b3
Better simulation of HTTP server used in the integration test test_dictionaries_all_layouts_and_sources
2019-09-12 23:11:25 +03:00
proller
8ce32897fa
CLICKHOUSE-4652 Another fix for АrrayEnumerateUniqRanked with empty arrays
2019-09-12 22:38:34 +03:00
Nikolai Kochetov
1319168a3a
Merge branch 'master' into processors-2
2019-09-12 16:28:51 +03:00
Nikolai Kochetov
4115d79a30
Added test for LowCardinality conversions in Native over http.
2019-09-12 12:51:29 +03:00
Nikolai Kochetov
4722d371a1
Add test from #6862 .
2019-09-12 11:45:19 +03:00
alexey-milovidov
cb2f4ebfaf
Merge pull request #6909 from abyss7/issue-6902
...
Put delimiter only after consuming a message
2019-09-12 03:20:38 +03:00
Alexander Tokmakov
f323476111
Merge branch 'master' into merging_values_with_expressions
2019-09-11 23:31:37 +03:00
alesapin
b0fce77c3d
Fix path to data on disk
2019-09-11 20:17:10 +03:00
Nikolai Kochetov
55acc72249
Added test.
2019-09-11 16:57:39 +03:00
Ivan Lezhankin
622ab139ee
Add test
2019-09-11 16:13:09 +03:00
alesapin
0b8aec469f
Make absolute path on disks start from /clickhouse/data, fix freeze and rename, add tests
2019-09-11 13:57:32 +03:00
alesapin
193049293a
More comments, more readable code
2019-09-10 14:21:59 +03:00
alesapin
9f88baebb9
More constants, better tests
2019-09-09 16:50:19 +03:00
Nikolai Kochetov
c9cca3ba8b
Merged with master
2019-09-09 16:20:30 +03:00
alesapin
2288d25972
Add parser test
2019-09-09 15:41:46 +03:00
alesapin
ef08d6f10b
More tests
2019-09-09 15:28:28 +03:00
alesapin
27419c965e
Merge with master
2019-09-09 14:13:36 +03:00
CurtizJ
3b3657ff1e
Merge branch 'add-ext-dict-redis' of https://github.com/comunodi/ClickHouse into merging_redis
2019-09-09 13:51:50 +03:00
alexey-milovidov
8389200229
Merge pull request #6832 from CurtizJ/merging_input_function
...
Merging #5450 (table function input).
2019-09-07 20:16:45 +03:00
Alexander Tokmakov
d78c82a8ae
fixes
2019-09-06 22:01:44 +03:00
alexey-milovidov
be8341d174
Merge pull request #6851 from Akazz/minor_fixes_in_tests-1
...
Fixing a few things in stateless tests
2019-09-06 22:00:54 +03:00
filimonov
526afd44ed
Make SensitiveDataMasker a singleton. ( #6810 )
...
Among other things, it is used to filter logs, which are being written even after the global server context is deinitialized, so we can't keep masker there.
2019-09-06 20:48:27 +03:00
akazz
f511337028
Fixing minor things
2019-09-06 18:54:33 +03:00
alesapin
cfd753a1f3
Add test and found bugs
2019-09-06 18:09:20 +03:00
Anton Popov
69da4f30b3
Merge branch 'master' into merging_input_function
2019-09-06 16:20:00 +03:00
Nikolai Kochetov
52305cefbc
Merge branch 'merging-aggregated-processors' into processors-2
2019-09-06 15:21:17 +03:00
alesapin
0c9a9dee1c
Merge with master
2019-09-06 11:53:32 +03:00
alexey-milovidov
3d8ec8fb33
Merge pull request #6823 from yandex/fancyqlx-master
...
Merge #6167
2019-09-06 03:18:26 +03:00
Olga Khvostikova
4129d8cf60
Merge pull request #6092 from yandex/globs-in-file-one-more-attempt
...
Globs in storage file and HDFS
2019-09-05 23:05:37 +03:00
Olga Khvostikova
f90642ce23
Merge pull request #6610 from CurtizJ/merging_with_ties_and_with_fill
...
WITH TIES modifier for LIMIT and WITH FILL modifier for ORDER BY. (continuation of #5069 )
2019-09-05 22:45:48 +03:00
alesapin
ab518d7787
Split code to parts
2019-09-05 18:53:23 +03:00
stavrolia
587a780ba2
Better
2019-09-05 17:42:17 +03:00
CurtizJ
b04cea7463
minor fixes of table function input
2019-09-05 16:17:01 +03:00
alesapin
f576cbb8a4
Simplify code
2019-09-05 16:12:29 +03:00
alesapin
b71faee8cd
Merge branch 'master' into ObjatieGroba-feature_multiple_disks
2019-09-05 13:19:05 +03:00
Nikolai Kochetov
e1e600b8b3
Update test with sample and prewhere.
2019-09-05 10:42:14 +03:00
Ivan
ab7df6b6dd
Fix kafka tests ( #6805 )
...
* Commit offsets more precisely
* Get rid of DelimitedReadBuffer since read buffers don't line up well
* Increase timeouts
2019-09-05 00:25:33 +03:00
alesapin
c003f443f9
Refactor
2019-09-04 20:26:53 +03:00
Nikolai Kochetov
0d1846baab
Update test create table if not exists sample_prewhere
2019-09-04 19:46:10 +03:00
Nikolai Kochetov
3bd453985b
Merge branch 'master' of https://github.com/fancyqlx/ClickHouse into fancyqlx-master
2019-09-04 18:48:12 +03:00
Vladimir Chebotarev
81f49d97bd
Minor fix.
2019-09-04 13:39:54 +00:00
Vladimir Chebotarev
e9300ffbb5
Tests finally works!
2019-09-04 13:39:54 +00:00
Vladimir Chebotarev
8c4eb13be6
Fixed unavailable test servers issue in test_storage_s3.
2019-09-04 13:39:54 +00:00
Vladimir Chebotarev
3e4af7b844
Attempt to make integration tests.
2019-09-04 13:39:54 +00:00
Vladimir Chebotarev
395560df1b
Fixed multipart uploads and 100-continue.
2019-09-04 13:39:54 +00:00
Vladimir Chebotarev
c6136c2b16
Test improvement.
2019-09-04 13:39:54 +00:00
Vladimir Chebotarev
af45849ce0
Minor test fixes.
2019-09-04 13:39:53 +00:00
Vladimir Chebotarev
6b9397e805
Tests fixes.
2019-09-04 13:39:53 +00:00
Vladimir Chebotarev
cca3a9acc7
Added test for PUT redirect.
2019-09-04 13:39:53 +00:00
Vladimir Chebotarev
ae40d68eb0
Updated tests.
2019-09-04 13:39:53 +00:00
Vladimir Chebotarev
19642cf822
Tests update.
2019-09-04 13:39:53 +00:00
Vladimir Chebotarev
efade38d7b
Fixed test, so it does not pass now.
2019-09-04 13:39:53 +00:00
Vladimir Chebotarev
52f242daf0
tests (WIP)
2019-09-04 13:39:53 +00:00
alesapin
3ffa9fa972
Resolve conflict
2019-09-04 15:44:12 +03:00
alesapin
8b6abab486
Merge branch 'master' into ObjatieGroba-feature_multiple_disks
2019-09-04 15:41:27 +03:00
CurtizJ
7accc09066
Merge branch 'palasonic-add-input-function' of https://github.com/palasonic1/ClickHouse into merging_input_function
2019-09-04 15:25:20 +03:00
alexey-milovidov
b2e80b0cd9
Merge branch 'master' into query_masking
2019-09-03 22:58:15 +03:00
alexey-milovidov
4f7d472cb7
Merge pull request #6048 from Akazz/ternary-logic-light
...
Correct implementation of ternary logic for AND/OR
2019-09-03 22:09:56 +03:00
alexey-milovidov
5f33fd946f
Merge pull request #6711 from dimarub2000/exception_while_insert
...
Exception check added in client when sending insertion data.
2019-09-03 21:47:48 +03:00
alexey-milovidov
152dba1b2e
Merge pull request #6796 from CurtizJ/fix-flappy-ttl-test
...
Fix column TTL with user defaults.
2019-09-03 21:35:00 +03:00