Anton Popov
5c42408add
Merge pull request #9113 from dimarub2000/group_by_in_order_optimization
...
[WIP] Optimization of GROUP BY with respect to table sorting key.
2020-06-06 14:25:59 +03:00
alexey-milovidov
42534959e3
Merge pull request #11421 from livace/fix_point_in_polygon_with_nan
...
Fix pointInPolygon with nan
2020-06-06 12:37:19 +03:00
alexey-milovidov
050ef9eb54
Merge pull request #11455 from azat/INSERT-SELECT-FINAL-pipeline-stuck
...
Fix Pipeline stuck for INSERT SELECT FINAL
2020-06-06 12:36:07 +03:00
alexey-milovidov
5f99d887cc
Merge pull request #11443 from 4ertus2/strange
...
Rename setting
2020-06-06 01:45:21 +03:00
Vitaly Baranov
92ae3e11fa
Merge pull request #11356 from PerformanceVision/netloc_function
...
Create a netloc function for extracting network location
2020-06-05 22:13:38 +03:00
Dmitry
a1f8d88cd4
fix new line
2020-06-05 20:42:56 +03:00
Dmitry
9ae9ab2e70
test added
2020-06-05 20:41:47 +03:00
Artem Zuikov
ecca78d855
fix trivial count with join ( #11454 )
2020-06-05 13:28:52 +03:00
Nikolai Kochetov
f2350d3aec
Merge pull request #11415 from azat/SYSTEM-FLUSH-DISTRIBUTED-ON-CLUSTER
...
ON CLUSTER support for SYSTEM {FLUSH DISTRIBUTED,STOP/START DISTRIBUTED SENDS}
2020-06-05 12:59:38 +03:00
hexiaoting
d2052dd1d4
show clusters
2020-06-05 17:13:13 +08:00
Azat Khuzhin
5deda4c7fd
Add regression test for Pipeline stuck error with INSERT SELECT FINAL
2020-06-05 01:11:48 +03:00
Artem Zuikov
ab86ca2fb6
rename v2
2020-06-05 01:10:52 +03:00
Artem Zuikov
6d211bec19
fix trivial count with join
2020-06-05 01:01:40 +03:00
Azat Khuzhin
0f368c804d
Fix SYSTEM START/STOP DISTRIBUTED SENDS w/o table name
2020-06-04 20:22:29 +03:00
Artem Zuikov
f18debb108
fix test
2020-06-04 20:00:15 +03:00
tavplubix
52aada4b80
Fix flacky test
2020-06-04 16:47:21 +03:00
alesapin
603917999b
Merge pull request #11431 from ClickHouse/fix_codecs_arguments_crash
...
Fix segfault with wrong codecs arguments
2020-06-04 16:15:42 +03:00
Artem Zuikov
6cdeb060fb
Fix JOIN over LC and Nullable in key ( #11414 )
2020-06-04 13:07:22 +03:00
alesapin
7fac00ae15
Fix segfault with wrong codecs arguments
2020-06-04 11:55:56 +03:00
Alexey Ilyukhov
1daf1146e1
Fix pointInPolygon with nan
2020-06-04 03:59:07 +03:00
Azat Khuzhin
389f78ceee
Add system.distribution_queue
...
system.distribution_queue contains the following columns:
- database
- table
- data_path
- is_blocked
- error_count
- data_files
- data_compressed_bytes
2020-06-04 02:36:16 +03:00
alexey-milovidov
9e3024976e
Merge pull request #11416 from ClickHouse/add-test-form-11413
...
Added test from #11413
2020-06-04 01:46:57 +03:00
alexey-milovidov
acf7773942
Merge pull request #11403 from Enmk/geohashesInBox-fix
...
Fixed geohashesInBox argument range
2020-06-04 01:44:37 +03:00
Azat Khuzhin
799f9f9011
Wrap 01294_system_distributed_on_cluster into db to know db name for ON CLUSTER
2020-06-04 00:06:36 +03:00
Nikolai Kochetov
f68af0b666
Added test.
2020-06-03 22:43:05 +03:00
Azat Khuzhin
71d0e60dcb
ON CLUSTER support for SYSTEM {FLUSH DISTRIBUTED,STOP/START DISTRIBUTED SEND}
...
It is pretty logical to have ON CLUSTER for managing Distributed tables.
2020-06-03 21:51:52 +03:00
Vasily Nemkov
97a1cc1b52
Fixed geohashesInBox argument range
2020-06-03 13:38:44 +03:00
Ruslan
7757c9ec57
Remove arithmetic operations from aggregation functions ( #10047 )
2020-06-03 13:28:30 +03:00
Alexander Kuzmenkov
c7d9094a7a
Merge pull request #11259 from ClickHouse/consistent_metadata3
...
More consistent metadata for secondary indices
2020-06-03 12:23:21 +03:00
Alexander Kuzmenkov
8bf8b44510
Merge pull request #11366 from ClickHouse/fix-SortingTransform-bug
...
Fix sorting transform bug
2020-06-03 12:11:57 +03:00
Ilya Yatsishin
4b2e92bb40
Merge pull request #11389 from 4ertus2/bugs
...
Fix logical error in joinGet()
2020-06-03 07:49:03 +03:00
alexey-milovidov
6864016e22
Merge pull request #11324 from ClickHouse/improve-performance-of-client-interactive-mode
...
Add setting "output_format_pretty_max_value_width".
2020-06-03 00:17:29 +03:00
alexey-milovidov
7ec11cad65
Merge pull request #11350 from ClickHouse/fix-client-vertical-multiline
...
Fix \G in clickhouse-client multiline mode
2020-06-03 00:13:03 +03:00
Artem Zuikov
7e7aea0ddb
better errors for joinGet()
2020-06-02 23:26:41 +03:00
alexey-milovidov
d47d0d7108
Merge pull request #11346 from ClickHouse/optimize-final-should-force-merge-2
...
OPTIMIZE FINAL should force merge even if concurrent merges are performed (experimental, try 2)
2020-06-02 16:40:20 +03:00
alexey-milovidov
9b07989954
Merge pull request #11348 from ClickHouse/lazy-database-segfault-2
...
Fix potential segfault when using Lazy database.
2020-06-02 16:37:23 +03:00
Nikolai Kochetov
289c983f17
Add test.
2020-06-02 13:52:05 +03:00
Alexander Kuzmenkov
bd84c3be18
Merge branch 'master' into fuzz_data
2020-06-02 12:49:43 +03:00
Guillaume Tassery
500a8d22fa
create netloc function
2020-06-02 15:34:08 +07:00
alesapin
e5eb6071a4
Merge with master
2020-06-02 10:46:58 +03:00
alesapin
1ab3047201
Merge branch 'master' into consistent_metadata3
2020-06-02 10:37:12 +03:00
Alexey Milovidov
1be9a6f6cd
Add tests
2020-06-02 07:02:27 +03:00
Anton Popov
38ce4f33fb
fix flacky test with ttl
2020-06-02 06:00:44 +03:00
Alexey Milovidov
cd07d61ce7
Updated tests
2020-06-02 05:39:21 +03:00
Alexey Milovidov
80f9a47c72
Added test result
2020-06-02 05:10:38 +03:00
Alexey Milovidov
a6bf4b5d70
Fix error with Lazy database
2020-06-02 05:06:16 +03:00
Alexey Milovidov
d34b1a8791
Merge branch 'master' into improve-performance-of-client-interactive-mode
2020-06-02 04:24:17 +03:00
Alexey Milovidov
877a3725eb
Added a test
2020-06-02 03:33:53 +03:00
alexey-milovidov
8e5d672563
Merge pull request #11340 from 4ertus2/bugs
...
Fix crash in select from StorageJoin
2020-06-02 02:46:08 +03:00
Alexey Milovidov
36c23e240d
Update some tests
2020-06-02 02:41:41 +03:00
Alexey Milovidov
2a0da608fd
Update tests
2020-06-02 02:31:50 +03:00
alesapin
ad6447398f
Fix indices calculation during merge
2020-06-01 22:58:30 +03:00
Artem Zuikov
bfa59adbfe
fix select from StorageJoin
2020-06-01 20:27:22 +03:00
Nikolai Kochetov
86d072aff4
Added test.
2020-06-01 19:37:26 +03:00
alesapin
3847ea892d
Merge branch 'master' into consistent_metadata3
2020-06-01 13:17:59 +03:00
Artem Zuikov
9028a25f3c
more types in ASOF JOIN ( #11301 )
2020-06-01 12:38:46 +03:00
Andrei Nekrashevich
1cd888f505
fix
2020-06-01 02:40:38 +03:00
Alexey Milovidov
a76bd99e84
Added setting "output_format_pretty_max_value_width"
2020-06-01 01:12:13 +03:00
alexey-milovidov
8accde79b5
Merge pull request #11162 from azat/data-skip-index-merging-params-fix
...
[RFC] Fix data skipping indexes for columns with additional actions during merge
2020-05-31 19:10:53 +03:00
alexey-milovidov
a8f5b10f15
Merge pull request #10621 from azat/enable_optimize_predicate_expression-order
...
Fix predicates optimization for distributed queries with HAVING
2020-05-31 18:55:35 +03:00
alexey-milovidov
5b2b3739b9
Merge pull request #11318 from devwout/master
...
Fix visitParamExtractRaw for strings with unbalanced { or [.
2020-05-31 17:52:00 +03:00
alexey-milovidov
1a8c19741e
Merge pull request #11311 from ClickHouse/fix-uninitialized-memory-in-cast
...
Fix uninitialized memory in conversion
2020-05-31 17:33:06 +03:00
alexey-milovidov
5010cd724e
Merge pull request #11315 from ClickHouse/add-test-for-distributed_low_cardinality_memory_efficient
...
Added a test for Distributed table with String looking at tables with LowCardinality(String) in presense of memory efficient aggregation setting
2020-05-31 17:30:58 +03:00
alexey-milovidov
bebc6f82fc
Merge pull request #10678 from livace/add_geo_types
...
Add geo data types Point and Polygon
2020-05-31 17:25:15 +03:00
alexey-milovidov
97d9f218af
Merge pull request #11296 from ClickHouse/fix-false-too-slow
...
Fix bug with Throttler and query speed estimation
2020-05-31 14:18:29 +03:00
Ewout
70eaae38f2
Fix visitParamExtractRaw for strings with unbalanced { or [.
...
Closes #11254 .
2020-05-31 00:58:30 +02:00
Alexey Milovidov
3574dfe1db
Added test for Distributed table with Seting looking at tables with LowCardinality(String) in presense of memory efficient aggregation setting #6638
2020-05-30 22:07:46 +03:00
alexey-milovidov
3eea042d16
Merge pull request #11243 from ClickHouse/remove-experimental-use-processors-flag-4
...
Remove some code.
2020-05-30 21:05:14 +03:00
Alexey Milovidov
387843411d
Make is more easy
2020-05-30 19:46:58 +03:00
Alexey Milovidov
c24084a46d
Fix test
2020-05-30 19:41:45 +03:00
Alexey Milovidov
421a62e978
Merge branch 'master' into fix-false-too-slow
2020-05-30 19:36:55 +03:00
Alexey Milovidov
1b825baf21
Added a test
2020-05-30 19:31:36 +03:00
Alexey Ilyukhov
b84c8fcbd8
Add allow_experimental_geo_types; add test
2020-05-30 18:26:19 +03:00
Andrei Nekrashevich
f3447ee63b
fix
2020-05-30 08:47:05 +03:00
Alexey Milovidov
8c8821475c
Fix issue #11286 ; add a test
2020-05-30 00:32:35 +03:00
alexey-milovidov
94887f0c74
Merge pull request #11285 from ClickHouse/fix_fixed_database_tests
...
Add retries in clickhouse-test before server start
2020-05-29 23:54:36 +03:00
alexey-milovidov
88d6633d90
Merge pull request #11290 from ClickHouse/attempt-to-fix-flacky-test
...
Attempt to fix flacky test 01108_restart_replicas_rename_deadlock.sh
2020-05-29 23:53:50 +03:00
Alexey Milovidov
fe9bd0e918
Added a test for #5732
2020-05-29 23:37:14 +03:00
Alexey Milovidov
cf91793d90
Added a test from @den-crane
2020-05-29 23:05:41 +03:00
Alexey Milovidov
1732888d98
Added a test for network throttler
2020-05-29 22:44:24 +03:00
Alexey Milovidov
6ec9287925
Added a test
2020-05-29 22:37:23 +03:00
alexey-milovidov
1abaca5174
Merge pull request #11276 from ClickHouse/fix-constraints-and-insert-performance
...
Fix constraints for DEFAULT fields; fix constraints for temporary tables; improve performance of INSERT for small blocks.
2020-05-29 20:04:59 +03:00
alexey-milovidov
58c1d96582
Merge pull request #11208 from ClickHouse/escape-sequences-php-mysql-style
...
Experiment on parsing backslash escapes in a more convenient way #10922
2020-05-29 17:19:00 +03:00
Alexey Milovidov
e940229e71
Attempt to fix flacky test
2020-05-29 17:09:28 +03:00
Alexey Milovidov
080b2ec891
Attempt to fix flacky test
2020-05-29 17:04:16 +03:00
alexey-milovidov
9c21d9674a
Merge pull request #11270 from ClickHouse/fix-flacky-test-optimize
...
Fix potentially flacky test
2020-05-29 16:37:10 +03:00
alexey-milovidov
e11eeb0ce6
Merge pull request #11265 from ClickHouse/add-a-test-from-donmikel
...
Add a test from @donmikel
2020-05-29 16:32:07 +03:00
Andrei Nekrashevich
2a63522522
fix
2020-05-29 14:38:20 +03:00
alesapin
0f1c81ea52
Fix test because we don't want to modify AST in memory, just change filter params
2020-05-29 14:30:02 +03:00
alesapin
bd03d1acb9
Remove hardcoded database from some tests and add retries to clickhouse-test
2020-05-29 13:08:11 +03:00
Nikolai Kochetov
0e27f47632
Try update test.
2020-05-29 11:42:55 +03:00
Alexey Milovidov
23d7947549
Fix constraints for DEFAULT fields; fix constraints for temporary tables; improve performance of INSERT for small blocks
2020-05-29 05:08:48 +03:00
Andrei Nekrashevich
af469c0da5
fix issues
2020-05-29 05:06:21 +03:00
Alexey Milovidov
263bc6e097
Added missing file
2020-05-29 03:26:56 +03:00
Alexey Milovidov
7df5280060
Fix potentially flacky test
2020-05-29 02:09:11 +03:00
Alexey Milovidov
2b4d9a6349
Add a test from @donmikel
2020-05-29 01:00:01 +03:00
alexey-milovidov
fb4d272f5b
Merge pull request #11258 from vitlibar/protobuf-fix-handling-bad-data
...
Fix handling bad data while reading in Protobuf format.
2020-05-28 23:26:20 +03:00
Vitaly Baranov
99626a5bd3
Add test for handling malformed protobuf data.
2020-05-28 20:07:54 +03:00
Alexey Milovidov
7853722519
Update tests
2020-05-28 17:18:58 +03:00
Alexey Milovidov
71b7bb9c3a
Merge branch 'master' into escape-sequences-php-mysql-style
2020-05-28 16:58:23 +03:00
tavplubix
801c1c1240
Merge pull request #11205 from ClickHouse/fix-view-totals
...
Fix totals and extremes header for view.
2020-05-28 15:05:34 +03:00
Alexander Kuzmenkov
a697560738
Merge pull request #11224 from ClickHouse/aku/merge-arrow-stream
...
Merge ArrowStream format #11088
2020-05-28 09:37:40 +03:00
Andrei Nekrashevich
94c5d87ebc
fix
2020-05-28 06:16:48 +03:00
alexey-milovidov
cbac07f5eb
Merge pull request #11163 from azat/bump-jemalloc
...
[WIP] Bump jemalloc to 5.2.1
2020-05-28 01:17:26 +03:00
alexey-milovidov
dffeec8637
Merge pull request #10537 from expl0si0nn/ttl_expr_data_rollup
...
Support of WHERE and GROUP BY in TTL expressions
2020-05-27 21:35:55 +03:00
Artem Zuikov
4fa3628097
test for probably fixed issue ( #11221 )
2020-05-27 17:25:11 +03:00
Alexander Kuzmenkov
ac263f921e
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-27 15:51:03 +03:00
Alexander Kuzmenkov
0fc1268432
Merge pull request #11120 from azat/function-port
...
Add port() function
2020-05-27 15:27:06 +03:00
alexey-milovidov
2da6a39d5b
Merge pull request #11119 from azat/flacky-test-group_by_limit_memory_tracking
...
Fix 01281_group_by_limit_memory_tracking flackiness
2020-05-27 14:09:22 +03:00
alexey-milovidov
8bfe21f101
Update 01281_group_by_limit_memory_tracking.sh
2020-05-27 14:09:12 +03:00
Nikolai Sorokin
141ed88751
Allow functions in group by keys; Add default aggregate function; Add more tests
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
ed09f68b8d
Better tests
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
c6541b1dad
Up test id; Fix clang build
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
9269db072a
Better tests
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
a991dcf9f4
Add tests
2020-05-27 12:53:15 +03:00
Azat Khuzhin
ec894e7cb3
Check for POPCNT instruction
2020-05-27 03:01:16 +03:00
alexey-milovidov
2aeb6017c1
Merge pull request #11211 from ClickHouse/fix-flacky-test-dist-on-dist
...
Fix flacky test #11190
2020-05-27 00:49:45 +03:00
Nikolai Kochetov
361b92f083
Merge pull request #11200 from ClickHouse/fix-strict-resize-finishing
...
Fix StrictResize
2020-05-26 21:31:44 +03:00
Alexey Milovidov
009f57fc2f
Fix flacky test #11190
2020-05-26 21:26:17 +03:00
Alexey Milovidov
b2057159c1
Experiment on parsing backslash escapes in a more convenient way #10922
2020-05-26 17:24:20 +03:00
Vasily Nemkov
28a2cc0a82
Functions {to,from}UnixTimestamp64{Milli,Micro,Nano}
...
* Family of functions to convert DateTime64 to Int64 and back, usefull for
imporintg/exporting raw timestamp values of certain precision.
* Docs
* Tests
* Fixed ya.make
2020-05-26 16:42:22 +03:00
Nikolai Kochetov
8074e2027f
Added test.
2020-05-26 16:32:44 +03:00
Nikolai Kochetov
b16936ba9d
Added test.
2020-05-26 13:37:10 +03:00
Ilya Yatsishin
2b155ac989
Merge pull request #11185 from ClickHouse/fix-lambda-lc-args
...
Fix lambda lc args
2020-05-26 10:27:35 +03:00
Nikolai Kochetov
53a514093a
Added test.
2020-05-25 22:22:03 +03:00
potya
2974d81b2e
Fix erros and add test
2020-05-25 21:58:30 +03:00
potya
aea97ba9e4
Fix types and add complex test
2020-05-25 20:10:44 +03:00
alesapin
51ffcff75b
Merge pull request #11180 from ClickHouse/revert_flush_logs_in_test
...
Revert #11023
2020-05-25 17:38:19 +03:00
potya
fb08a96582
Add simple test
2020-05-25 14:11:51 +03:00
Nikolai Kochetov
c83014bc76
Merge pull request #11114 from azat/max_threads-simple-query-optimization-fix
...
Do not reserve extra threads after max threads optimization for simple queries
2020-05-25 14:05:46 +03:00
alesapin
3d9ba9ff8a
Revert #11023
2020-05-25 13:06:27 +03:00
hcz
f2e3bcdd15
Improve code style in src and test files of Arrow formats
2020-05-25 10:50:55 +08:00
Alexey Milovidov
75dbfd4652
Fix flacky test
2020-05-25 01:36:00 +03:00
Azat Khuzhin
24271ec50f
Test for data skip index over column under aggregation
...
Affected versions: 19.17.9.60+
2020-05-24 16:12:08 +03:00
Azat Khuzhin
9de1a231c9
Add optional default_port argument for the port() function
2020-05-23 23:36:01 +03:00
Azat Khuzhin
aa5247f1fe
Get back 01281_group_by_limit_memory_tracking (without flackiness)
2020-05-23 22:57:29 +03:00
Azat Khuzhin
409cff11df
Add port() function
...
It uses domain() (getURLHost()) internally so it has the same
limitations:
- no ipv6 support
- no host-without-dots support (i.e. "foobar")
2020-05-23 20:45:56 +03:00
alexey-milovidov
08c7277d2b
Merge pull request #11144 from ClickHouse/dont-validate-polygons-in-non-constant-case
...
Fix performance issue with pointInPolygon
2020-05-23 18:54:50 +03:00
tavplubix
6ece9649f1
Merge pull request #11151 from naorlov/CLICKHOUSE-7224
...
Add `FailedQuery`, `FailedSelectQuery` and `FailedInsertQuery`
2020-05-23 18:47:44 +03:00
Azat Khuzhin
8c69245283
Add a test for max_threads optimization for simple queries
2020-05-23 17:07:43 +03:00
Alexey Milovidov
d5ed38cfe0
Adapted test: do not use points on the edges
2020-05-23 14:27:02 +03:00
Nikita Orlov
d06e7bab7e
issue-7224 Fix failing tests
2020-05-23 13:45:27 +03:00
Nikita Orlov
2545efcf2e
issue-7224 Added tests
2020-05-23 02:03:02 +03:00
Azat Khuzhin
88d08f9f39
Move tests from 00740_optimize_predicate_expression to 01056_predicate_optimizer_bugs
2020-05-23 00:36:30 +03:00
Azat Khuzhin
765ed4f89b
Fix 01056_predicate_optimizer_bugs
2020-05-23 00:36:30 +03:00
Azat Khuzhin
f19c619dfe
Add test from #10613 for enable_optimize_predicate_expression
2020-05-23 00:36:30 +03:00
Azat Khuzhin
6d40c1ea2c
Preserve order of expressions during predicates optimization (enable_optimize_predicate_expression)
...
Before this patch enable_optimize_predicate_expression changes the
order *every* time, so:
foo AND bar -> bar AND foo
And this causes troubles for distributed queries, since query on shard
will have different order of expressions with the initiating server.
2020-05-23 00:36:30 +03:00
Vitaly Baranov
5a0f356cd6
Merge pull request #11038 from Enmk/parseDateTime64BestEffort_fix
...
Fixed parseDateTime64BestEffort implementation
2020-05-22 14:40:39 +03:00
alexey-milovidov
e5808c6f2f
Merge pull request #11122 from ClickHouse/aku/addr2line
...
Remove extra copying from addressToLine
2020-05-22 14:16:46 +03:00
Alexey Milovidov
a2fabd7ff0
Remove unreliable test #11119
2020-05-22 12:36:26 +03:00