Commit Graph

1796 Commits

Author SHA1 Message Date
Nikolai Kochetov
e2c6d09019 Added test. 2020-06-10 18:06:55 +03:00
Alexander Tokmakov
08073903ed fix query_id of http queries 2020-06-10 17:24:42 +03:00
Alexander Tokmakov
9166ddea41 fix segfault in show create table 2020-06-10 15:53:12 +03:00
Nikita Mikhaylov
93b0d5b29b done 2020-06-10 15:47:34 +03:00
alesapin
8be957ecb5 Better checks around metadata 2020-06-10 14:16:31 +03:00
Alexander Kuzmenkov
04b0089776
Merge pull request #11515 from ClickHouse/aku/more-stable-perf-tests
More stable perf tests
2020-06-10 13:25:52 +03:00
Ivan Blinkov
90ee4d52f4 merge master 2020-06-10 13:18:41 +03:00
alesapin
ec933d9d03 Better naming 2020-06-10 12:09:51 +03:00
tavplubix
a93ae46ac1
Merge pull request #11079 from ClickHouse/merging_external_source_cassandra
Merging #4978
2020-06-10 10:39:18 +03:00
Alexander Kuzmenkov
af1c8f8a5f fixup 2020-06-10 02:57:31 +03:00
Alexander Kuzmenkov
f6136ec279 Merge remote-tracking branch 'origin/master' into HEAD 2020-06-10 02:37:52 +03:00
Alexander Kuzmenkov
898d83491d fixup 2020-06-10 02:37:48 +03:00
Alexey Milovidov
c95d5786fd Fixup 2020-06-10 01:52:25 +03:00
alesapin
4f398b5dea Merge remote-tracking branch 'origin/master' into consistent_metadata4 2020-06-09 23:53:38 +03:00
alexey-milovidov
8e05558a5f
Merge pull request #11540 from ClickHouse/fix-direct-io
Fix direct IO with PREWHERE
2020-06-09 23:53:09 +03:00
alexey-milovidov
324f2ee3ce
Merge pull request #11543 from azat/flacky-01293_system_distribution_queue
Fix 01293_system_distribution_queue flackiness
2020-06-09 23:51:25 +03:00
Azat Khuzhin
8a78cffe5c Force table creation on SYSTEM FLUSH LOGS 2020-06-09 21:11:08 +03:00
Alexander Tokmakov
6bb68329f8 Merge branch 'master' into merging_external_source_cassandra 2020-06-09 19:51:14 +03:00
Nikolai Kochetov
e0de3aa7c9
Revert "Addition to #11184" 2020-06-09 19:39:26 +03:00
Nikolai Kochetov
5cc2f318c9
Merge pull request #11495 from vzakaznikov/live_view_support_for_prewhere
Adding support for PREWHERE in live view tables.
2020-06-09 19:09:17 +03:00
Ivan Blinkov
6f7064928f Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-09 19:07:57 +03:00
alesapin
f7a397242f Merge branch 'master' into consistent_metadata4 2020-06-09 18:59:59 +03:00
alesapin
e3ae0734c9 Better test 2020-06-09 18:04:56 +03:00
alesapin
e4b5515f3b
Merge pull request #11548 from ClickHouse/fix_01079_detach
Better 01079_parallel_alter tests
2020-06-09 17:11:45 +03:00
Alexander Kuzmenkov
5719549ee1 fixup 2020-06-09 16:29:07 +03:00
Alexander Kuzmenkov
dd41f6a574
Merge pull request #11527 from azat/dist-insert-local-fix
Fix async INSERT into Distributed for prefer_localhost_replica=0 and w/o internal_replication
2020-06-09 15:21:05 +03:00
Alexander Kuzmenkov
6071b9b9d9 Merge remote-tracking branch 'origin/master' into HEAD 2020-06-09 15:06:32 +03:00
alesapin
a5268b7c46
Update 01079_parallel_alter_detach_table_zookeeper.sh 2020-06-09 13:05:01 +03:00
alesapin
96cdeecd81 Better parallel tests 2020-06-09 13:03:22 +03:00
alesapin
30b02b20e5 Merge branch 'master' into fix-direct-io 2020-06-09 12:39:51 +03:00
Ivan Blinkov
5b3fef526e Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-09 11:51:29 +03:00
Azat Khuzhin
ba4d964388 Add comments for 01281_group_by_limit_memory_tracking test 2020-06-09 11:18:08 +03:00
Azat Khuzhin
1a6c1d1796 Fix 01293_system_distribution_queue test flackiness 2020-06-09 11:18:04 +03:00
Ilya Yatsishin
822c19ddad
Merge pull request #11537 from ClickHouse/usability-exception-message-parse-columns-declaration-list
Better exception message when cannot parse columns declaration list
2020-06-09 09:55:40 +03:00
hexiaoting
75075a7b2b Add DISTINCT keyword when show clusters 2020-06-09 10:39:37 +08:00
Alexey Milovidov
09b9a308cb Fix obvious race condition in test 2020-06-09 05:03:22 +03:00
alesapin
223f45685f Review fixes 2020-06-09 05:03:22 +03:00
alesapin
bdeafe830b Better comment 2020-06-09 04:48:30 +03:00
alesapin
508e0f44d1 Fix modify test 2020-06-09 04:48:30 +03:00
Alexey Milovidov
6936da4e5d Fix bad test 2020-06-09 03:42:56 +03:00
Alexey Milovidov
6ee6b751be Added failing test #11539 2020-06-09 03:38:47 +03:00
alexey-milovidov
91d06c7e4f
Merge pull request #11523 from ClickHouse/fixing_01079_tests
Fixing test and benign race condition during table drop
2020-06-09 02:02:39 +03:00
alexey-milovidov
85363ebe56
Update aggregating_merge_tree.xml 2020-06-09 01:41:57 +03:00
Alexander Kuzmenkov
cb71f2df1f Merge remote-tracking branch 'origin/master' into HEAD 2020-06-09 01:13:38 +03:00
Alexander Kuzmenkov
6a3df071a2 fixup 2020-06-09 01:13:08 +03:00
Alexey Milovidov
f9ea964c87 Added performance test 2020-06-09 00:59:58 +03:00
MovElb
e6dcece2fd return tcp_port 2020-06-08 22:39:02 +03:00
Azat Khuzhin
eee2fb867a Update test_distributed_format to cover remote_servers via <node> 2020-06-08 22:32:06 +03:00
alexey-milovidov
2bff9b4607
Merge pull request #11496 from ClickHouse/fix-aggregation-state-exception-safety-memory-leak
Fix memory leak when exception is thrown in the middle of aggregation with -State functions
2020-06-08 22:03:52 +03:00
Azat Khuzhin
222bbe95d6 Cover load_balancing for Distributed INSERT w/o internal_replication 2020-06-08 21:58:56 +03:00
alesapin
0d375e4522 Fix constraints 2020-06-08 21:49:54 +03:00
alesapin
ce73b30505 Review fixes 2020-06-08 21:08:55 +03:00
alesapin
5db83dad07 Better comment 2020-06-08 18:18:33 +03:00
alesapin
68bd636c9c Fix modify test 2020-06-08 18:16:01 +03:00
Alexander Kuzmenkov
e2e5e1d5f8 More stable perf tests 2020-06-08 16:57:33 +03:00
Alexey Milovidov
7ba2d7e15f Changed timeouts in test 2020-06-08 15:35:57 +03:00
MovElb
fc981a2869 fix for review 2020-06-08 15:05:49 +03:00
alesapin
483c60fadd Merging #8377 2020-06-08 14:25:30 +03:00
Vitaliy Zakaznikov
5fe67c4292 * Removing supportsPrewhere() from StorageLiveView.h as it is not valid.
* Updating test to check using PREWHERE in query against live view table.
* Updating test to check using PREWHERE in the stored query against the table that does
  not support PREWHWERE.
2020-06-08 13:12:40 +02:00
Alexey Milovidov
4216f2fe37 Merge branch 'master' into fix-aggregation-state-exception-safety-memory-leak 2020-06-08 06:31:20 +03:00
hexiaoting
75768413ad fix errors found by Style Check 2020-06-08 10:23:57 +08:00
kssenii
17e7cc03c0 Add consumer failure handler 2020-06-08 01:11:48 +00:00
alexey-milovidov
16f0e3a467
Merge pull request #11493 from ClickHouse/kuskarov-fix_history_bugs
Merging #11453 (save history in clickhouse-client after every query)
2020-06-08 02:13:20 +03:00
Alexey Milovidov
e507f6b836 More crystallized test 2020-06-08 02:01:04 +03:00
Alexey Milovidov
d5443293a3 Added a test 2020-06-08 01:49:26 +03:00
Vitaliy Zakaznikov
75c97ca82a Adding support for PREWHERE in live view tables. 2020-06-08 00:19:23 +02:00
Alexey Milovidov
d8d245354d Added a test 2020-06-07 20:30:55 +03:00
tavplubix
686c0539db
Merge pull request #11487 from ClickHouse/improve_dns_cache
Use DNSResolver to check if user is allowed to connect from an address
2020-06-07 19:55:03 +03:00
Ivan
d2178cbacd
Merge pull request #11388 from filimonov/kafka_better_settings
Better settings for Kafka
2020-06-07 01:26:21 +03:00
Alexander Tokmakov
0cf8015f4a use DNSResolver to check if user is allowed to connect 2020-06-07 00:02:29 +03:00
Ivan
058821fa02
Merge branch 'master' into kafka_better_settings 2020-06-06 19:50:38 +03:00
Ivan
c8808e89fd
Update test.py 2020-06-06 19:48:03 +03:00
Alexey Milovidov
d3d02a67f4 Speed up build by removing old example programs 2020-06-06 19:19:16 +03:00
alexey-milovidov
3e84b17cf8
Merge pull request #11394 from azat/system.distribution_queue
Add system.distribution_queue table
2020-06-06 18:59:59 +03:00
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
Ivan Blinkov
653a9afda0 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-05 22:51:28 +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
Dmitry
2c7e3eab23 stateful tests updated with setting 2020-06-05 20:03:36 +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
Albert Kidrachev
61cf6fe711 add perftest 2020-06-05 06:08:37 +03: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
Albert Kidrachev
60b86f524f add perf-test and fix 2020-06-04 20:10:52 +03:00
Artem Zuikov
f18debb108 fix test 2020-06-04 20:00:15 +03:00
alesapin
212df30fc5 Add test for different ttl versions 2020-06-04 17:18:54 +03:00
tavplubix
52aada4b80
Fix flacky test 2020-06-04 16:47:21 +03:00
alesapin
b163052d1b
Merge pull request #11134 from GrigoryPervakov/custom-auth
Add default credentials and custom headers for s3 storage.
2020-06-04 16:46:01 +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
Mikhail Filimonov
26d93fdfba Fix the test, adjust default for queued.min.messages 2020-06-04 14:14:24 +02: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
Alexander Tokmakov
64c013610a fix 2020-06-04 01:03:49 +03:00
Alexander Tokmakov
e67837bc4a cleenup 2020-06-04 00:11:17 +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
Mikhail Filimonov
bf1e5db0ee Tests from issue #11308, from issue #4116 2020-06-03 19:01:45 +02:00
Alexander Tokmakov
e3aa20708a Merge branch 'master' into merging_external_source_cassandra 2020-06-03 14:55:02 +03:00
Alexander Tokmakov
73926b2cf9 support loading from multiple partitions with complex key 2020-06-03 14:54:26 +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
66eb56631c
Merge pull request #11355 from ClickHouse/fix_some_integration_tests
Fix several flaky integration tests
2020-06-03 02:35:33 +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
alesapin
d113a1cde7 More clear test 2020-06-02 21:47:30 +03:00
alesapin
6253e9b97b Revert disabled tests 2020-06-02 21:41:29 +03:00
alesapin
46fcff26b0 Disable flaky tests 2020-06-02 21:14:16 +03:00
Pervakov Grigorii
bc9381406f Add default credentials and custom headers for s3 table functions. 2020-06-02 20:48:49 +03:00
alesapin
ffa553ad91 Fix test 2020-06-02 18:11:51 +03:00
alesapin
f450b98be2 Merge branch 'master' into fix_some_integration_tests 2020-06-02 17:59:51 +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
alesapin
e5a2ae4637 Remove unused import 2020-06-02 11:46:08 +03:00
alesapin
96ec552b51 Fix flaky ttl test 2020-06-02 11:42:42 +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
Ivan Blinkov
4bd678a3fd Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-02 08:21:30 +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
92ac608447
Merge pull request #11330 from ClickHouse/fix-10241
More parallel MV processing.
2020-06-02 04:06:39 +03:00
alexey-milovidov
c44807071e
Merge pull request #11343 from ClickHouse/fix_some_integration_tests
Fix sync_async test (remove timeout)
2020-06-02 03:57:34 +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
alexey-milovidov
68e2f88635
Merge pull request #11337 from ClickHouse/fix-quantile-arguments
Fix quantile arguments
2020-06-02 02:14:13 +03:00
alesapin
ad6447398f Fix indices calculation during merge 2020-06-01 22:58:30 +03:00
alesapin
5d54e18541 Fix sync_async test (remove timeout) 2020-06-01 22:35:56 +03:00
Ivan Blinkov
6bd4282727 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-01 21:49:56 +03:00
kssenii
d3b069e37b Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into add-storage-rabbitmq-read-only 2020-06-01 18:25:36 +00:00
Artem Zuikov
bfa59adbfe fix select from StorageJoin 2020-06-01 20:27:22 +03:00
kssenii
5939422b85 Add tests for insert part 2020-06-01 17:02:14 +00:00
Nikolai Kochetov
86d072aff4 Added test. 2020-06-01 19:37:26 +03:00
alexey-milovidov
19c6e0e5ae
Merge pull request #11307 from ClickHouse/remove-system-tables-lazy-load
Remove "system_tables_lazy_load" option
2020-06-01 16:26:23 +03:00
Albert Kidrachev
3c6a785937 Merge branch 'master' of https://github.com/Provet/ClickHouse 2020-06-01 15:12:37 +03:00
Albert Kidrachev
02611de051 merge 2020-06-01 15:11:36 +03:00
Alexander Tokmakov
62761eddcc Merge branch 'master' into merging_external_source_cassandra 2020-06-01 14:44:46 +03:00
Ivan Blinkov
89212fb174 Merge branch 'sentry' of github.com:blinkov/ClickHouse; branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-01 14:14:44 +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
alesapin
c4d520d831 Fix part_log test 2020-06-01 12:12:52 +03:00
Nikolai Kochetov
c6c1cd1009 Update test. 2020-06-01 12:12:03 +03:00
alesapin
c22e8f6b9b
Merge pull request #11283 from filimonov/kafka_virtual_column_headers
Virtual columns for Kafka headers
2020-06-01 12:06:00 +03:00
alesapin
364ebe9246
Merge pull request #11260 from filimonov/kafka_virtual_column_timestamp_ms
Add _timestamp_ms virtual columns to Kafka engine
2020-06-01 12:04:17 +03:00
Nikolai Kochetov
f1796b73ff Add perftest. 2020-06-01 11:52:35 +03:00
alesapin
0591eed432
Merge pull request #11266 from ClickHouse/addition-to-11184
Addition to #11184
2020-06-01 11:37:00 +03:00
Ivan Blinkov
fcc7ff0ef9 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-01 08:42:03 +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
92c56afed1
Merge pull request #11320 from ClickHouse/revert-revert-disable-flacky-tests
Disable flacky test #8840
2020-06-01 00:10:53 +03:00
alexey-milovidov
59c9e030b4
Merge pull request #11321 from ClickHouse/better-hung-check
Better check for hung queries in clickhouse-test
2020-05-31 22:19:12 +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
9a362eb02e
Merge pull request #11252 from filimonov/kafka-clientid
Kafka clientid (finishing #11073)
2020-05-31 18:37:30 +03:00
alexey-milovidov
fb1a2fa26b
Merge pull request #11256 from filimonov/librdkafka_1_4_2
Update librdkafka to version 1.4.2
2020-05-31 18:34:55 +03:00
Alexey Milovidov
5192ebdc23 Fix test with obsolete assumption 2020-05-31 18:10:52 +03:00
Alexey Milovidov
87cf123ef8 Merge branch 'master' into remove-system-tables-lazy-load 2020-05-31 18:06:08 +03:00
Alexey Milovidov
293241cc22 Better check for hung queries in clickhouse-test 2020-05-31 17:57:29 +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
ece21b353c
Merge pull request #11312 from ClickHouse/debug-bad-test
Debug bad test "mysql_federated"
2020-05-31 17:32:56 +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
2529df016a Disable flacky test #8840 2020-05-31 17:08:09 +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
kssenii
e80b405359 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into add-storage-rabbitmq-read-only 2020-05-31 10:30:53 +00:00
Dmitry
8ba17ee272 better test 2020-05-31 03:00:16 +03:00
Ewout
70eaae38f2 Fix visitParamExtractRaw for strings with unbalanced { or [.
Closes #11254 .
2020-05-31 00:58:30 +02:00
Dmitry
4b0d32f026 Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization 2020-05-31 00:21:02 +03: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
ff54b4c82b Retain some parts of the modification 2020-05-30 21:43:14 +03:00
Alexey Milovidov
9b4d6ac818 Revert test 2020-05-30 21:42:19 +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
MovElb
b4b5c90343 squash 2020-05-30 20:05:05 +03:00
Alexey Milovidov
6604b6aa18 Debug bad test "mysql_federated" 2020-05-30 20:03:28 +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
Alexey Milovidov
496fed5ed3 Remove "system_tables_lazy_load" option 2020-05-30 17:24:09 +03:00
Nikolai Kochetov
f9009809f2
Delete order_by_with_limit.xml
Delete new test to run old ones.
2020-05-30 12:22:05 +03:00
Nikolai Kochetov
c43976b6c5 Update test. 2020-05-30 11:31:07 +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
61d3d061dc Merge branch 'master' into addition-to-11184 2020-05-30 00:04:27 +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
2ba268c80a Added a test for #6228 2020-05-29 23:45:47 +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
Ivan Blinkov
95ee742ee7 merge master 2020-05-29 22:56:10 +03:00
Ivan Blinkov
4ef322274d Add integration test 2020-05-29 22:53:16 +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
Alexander Tokmakov
8921041706 Merge branch 'master' into merging_external_source_cassandra 2020-05-29 18:20:39 +03:00
Albert Kidrachev
43c0499e87 merging 2020-05-29 17:53:33 +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
Alexey Milovidov
07205519b5 Addition to #11184 2020-05-29 16:31:27 +03:00
alexey-milovidov
3d74122ab4
Merge pull request #11268 from ClickHouse/repeat-test-on-curl-timeout
Repeat test on curl timeout
2020-05-29 16:27:54 +03:00
alexey-milovidov
304c6a1ee3
Merge pull request #11278 from vitlibar/fix-crash-set-default-role-with-wrong-args
Fix crash when SET DEFAULT ROLE is called with wrong arguments.
2020-05-29 16:24:42 +03:00
Nikita Mikhaylov
9233997b24
Merge pull request #11233 from nikitamikhaylov/cache-getstring-bugfix
Cache-dictionary getString() bugfix
2020-05-29 16:32:35 +04: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
Mikhail Filimonov
b885337454 Virtual columns for accessing kafka message headers 2020-05-29 10:44:10 +02:00
Nikolai Kochetov
0e27f47632 Try update test. 2020-05-29 11:42:55 +03:00
Vitaly Baranov
2d12b4d3ac Fix crash when SET DEFAULT ROLE is called with wrong arguments. 2020-05-29 09:54:27 +03:00
Dmitrii Kovalkov
0f730b2ace multitarget great circle 2020-05-29 07:35:39 +02:00
Dmitrii Kovalkov
4c16f7a70f cosmetics 2020-05-29 07:35:39 +02:00
Dmitrii Kovalkov
cdb353856d remove vectorization from binary arithmetic 2020-05-29 07:35:04 +02:00
Dmitrii Kovalkov
71fabcedc4 Fix test 2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
ef030349ff Add hashes to multitarget code, a lot of cosmetics 2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
4a9891c601 use vectorized rand in generateUUIDv4, add multitarget build in intHash32/64 2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
8483dfa272 Delete needless rand implementations 2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
2609b1c370 Save test 2020-05-29 07:34:10 +02:00
Dmitrii Kovalkov
808bb14c5c Add xorshift-rand from lemire for comparing performance 2020-05-29 07:33:37 +02:00
Dmitrii Kovalkov
acbd3b3a70 Compile rand function with AVX 2020-05-29 07:31:59 +02:00
Alexey Milovidov
b7b6380141 Add performance test 2020-05-29 05:30:49 +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
Albert Kidrachev
c91ca6fd4b fix optimization, add comments and performance test 2020-05-29 04:50:02 +03:00
Alexey Milovidov
025c1a8830 Added another check #11170 2020-05-29 03:46:42 +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
5548c9d1ad Repeat test on curl timeout 2020-05-29 01:53:15 +03:00
Alexey Milovidov
86959ca97f Addition to #11184 2020-05-29 01:23:29 +03:00
Alexey Milovidov
2b4d9a6349 Add a test from @donmikel 2020-05-29 01:00:01 +03:00
Mikhail Filimonov
03430b1763 Change the test, accept new librdkafka behaviour 2020-05-28 23:11:29 +02: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
Mikhail Filimonov
e39c4cdf71 Add _timestamp_ms virtual columns to Kafka engine 2020-05-28 19:41:57 +02:00
Dmitry
871539e4cc test and ya.make 2020-05-28 20:30:21 +03:00
Vitaly Baranov
d7cc703233
Merge pull request #11080 from vitlibar/add-authentication-type-to-system-users
Show authentication type in system.users table
2020-05-28 20:20:41 +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
Mikhail Filimonov
6b694d54b4 Better kafka client.id 2020-05-28 15:39:55 +02: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
ca5d7cf5bb fix some broken performance tests 2020-05-28 10:45:03 +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
Vitaly Baranov
98172deffc Show authentication type in table system.users and while executing SHOW CREATE USER query. 2020-05-28 08:34:10 +03:00
Andrei Nekrashevich
94c5d87ebc fix 2020-05-28 06:16:48 +03:00
Andrei Nekrashevich
3c68ecacfe Added function fuzzBits 2020-05-28 05:51:37 +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
b430af82e5
Merge pull request #11232 from vitlibar/add-test-row_policy-affects-only-user-assigned
Add a test for row policy
2020-05-28 01:16:48 +03:00
Alexander Tokmakov
905bce4aeb fix 2020-05-27 23:53:35 +03:00
Nikita Mikhaylov
ec479839d9 fixed 2020-05-27 22:44:22 +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
Alexander Kuzmenkov
640df68e05
Merge pull request #11184 from ClickHouse/enable-log-queries
Enable log_queries by default
2020-05-27 20:55:31 +03:00
Vitaly Baranov
bb0045a242 Add test for row policy that policy defined in users.xml affects only the user it assigned to. 2020-05-27 20:37:43 +03:00
Artem Zuikov
4fa3628097
test for probably fixed issue (#11221) 2020-05-27 17:25:11 +03:00
Alexander Tokmakov
f099ce19a7 fix 2020-05-27 16:54:39 +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
alexey-milovidov
35b1fd43fa
Merge pull request #11212 from ClickHouse/fix-perf-test
Fix error in performance test
2020-05-27 13:33:19 +03:00
alexey-milovidov
992f0dfec5
Merge pull request #11149 from filimonov/kafka_reschedule
Fixed reschedule issue in Kafka
2020-05-27 13:26:55 +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
alesapin
3399e573d1
Merge pull request #11199 from ClickHouse/fix_primary_key_method_call
Fix primary key check
2020-05-27 11:55:12 +03:00
Ivan Blinkov
d941c483b2
Update test.py 2020-05-27 11:25:36 +03:00
Alexander Kuzmenkov
0db71f52a3
Merge pull request #10947 from ClickHouse/aku/inline-memory
Assert that allocator & container are consistent wrt. inline memory
2020-05-27 10:58:59 +03:00
Alexander Kuzmenkov
cd008f9b7f
Update functions_with_hash_tables.xml 2020-05-27 10:58:29 +03:00
filimonov
c73b8372e7
Update test.py 2020-05-27 07:44:13 +02:00
Mikhail Filimonov
efc0b97707 Fix Kafka performance issue related to reschedules based on limits, which were always applied. 2020-05-27 07:39:06 +02:00
Azat Khuzhin
ec894e7cb3 Check for POPCNT instruction 2020-05-27 03:01:16 +03:00
bobrovskij artemij
8d69223aaf show_privileges test fix, one more build fix 2020-05-27 01:20:25 +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
Alexander Tokmakov
940132adc4 Merge branch 'master' into merging_external_source_cassandra 2020-05-27 00:13:57 +03:00
Ivan Blinkov
4a92ad11ec
Update test.py 2020-05-26 23:27:31 +03:00
Alexander Tokmakov
310d522528 minimal implementation 2020-05-26 22:21:18 +03:00
Alexey Milovidov
90f49c0c17 Fix error in performance test 2020-05-26 21:37:20 +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
kssenii
ad1c0de8db Merge 2020-05-26 17:45:39 +00:00
kssenii
14c67c6ae6 Fixes 2020-05-26 17:34:57 +00:00
Alexander Kuzmenkov
83aaea7b0f Merge remote-tracking branch 'origin/master' into HEAD 2020-05-26 18:29:42 +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
Vitaly Baranov
2c8a355f19
Merge pull request #11081 from vitlibar/fix-no-password-mode
Fix settings NO_PASSWORD authentication mode in users.xml.
2020-05-26 14:20:34 +03:00
Nikolai Kochetov
b16936ba9d Added test. 2020-05-26 13:37:10 +03:00
alesapin
5780240e88 Fix primry key check 2020-05-26 12:46:04 +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
Alexander Kuzmenkov
9d25ae22b5 Merge remote-tracking branch 'origin/master' into HEAD 2020-05-26 09:07:01 +03:00
Alexander Kuzmenkov
27df8d5aca fixup 2020-05-26 09:06:46 +03:00
Alexander Kuzmenkov
7142e68d7a fixup 2020-05-26 08:54:04 +03:00
alexey-milovidov
d4acd1af3a
Merge pull request #11179 from excitoon-favorites/s3globfix
Fixed S3 globbing which could fail in case of more than 1000 keys and some backends
2020-05-26 02:45:42 +03:00
filimonov
73a0ef6c0e
Fix for the hang during deletion of engine=Kafka (one more time) (#11145)
* Added flag for safer rdkafka destruction, but more testing detected another hang case, which has no straigt solutions and can be workarounded currenly only by draining the consumer queue, so destructor is back

* After review fixes

* After review fixes2

* After review fixes3
2020-05-26 00:13:10 +03:00
alexey-milovidov
7201018079
Update test.py 2020-05-26 00:05:15 +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
Sofia Antipushina
f206d74b63 fix align of data && add test 2020-05-25 17:02:55 +03:00
Vladimir Chebotarev
e013edce4b Added test for multi-page S3 globbing. 2020-05-25 15:57:27 +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
Vitaly Baranov
eeb4cbc433 Fix settings NO_PASSWORD authentication mode in users.xml. 2020-05-25 11:35:26 +03:00
alesapin
73458c1574
Merge pull request #8840 from excitoon-favorites/returnttltests
Revert "Disable some flappy tests"
2020-05-25 11:29:07 +03:00
Alexander Kuzmenkov
8d5bbed2de Merge remote-tracking branch 'origin/master' into HEAD 2020-05-25 06:44:11 +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
a55a8ba69f
Merge pull request #11158 from ClickHouse/normalize-performance-tests-2
Normalize performance tests 2
2020-05-25 03:49:58 +03:00
Alexey Milovidov
75dbfd4652 Fix flacky test 2020-05-25 01:36:00 +03:00
Alexey Milovidov
8fa637cf73 Fix long tests, part 2 2020-05-24 23:35:49 +03:00
Alexey Milovidov
02500e4b11 Fix long tests 2020-05-24 23:33:13 +03:00
Nikita Vasilev
5801a33b83 Merge remote-tracking branch 'upstream/master' into nikvas0/ssd_dict 2020-05-24 19:08:07 +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
Alexey Milovidov
a70b819ca2 Adapted test time 2020-05-24 02:33:47 +03:00
alexey-milovidov
17df54785e
Update merge_table_streams.xml 2020-05-23 23:45:28 +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
Alexey Milovidov
3b29ea09c1 Fix another strange test 2020-05-23 17:56:35 +03:00
Alexey Milovidov
2c76899f53 Edited strange test 2020-05-23 17:53:54 +03:00
Alexey Milovidov
9d1d7c61d6 Replace hits_1000m to hits_100m 2020-05-23 17:52:32 +03:00
Alexey Milovidov
d019474641 Replace hits_1000m to hits_100m 2020-05-23 17:51:18 +03:00
Alexey Milovidov
1dc284d9f1 Add performance test #10981 2020-05-23 17:41:13 +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 Vasilev
d4cc01446c Merge remote-tracking branch 'upstream/master' into nikvas0/ssd_dict 2020-05-23 13:06:47 +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
Alexey Milovidov
c79ded1653 Added performance test for point in const polygon 2020-05-22 22:03:30 +03:00
alesapin
1536be0a13
Merge pull request #11142 from Jokser/register-s3-disk-without-bucket
Create root S3 bucket before any CH instance is started
2020-05-22 20:52:25 +03:00
Alexander Tokmakov
ac54d470da Merge branch 'master' into merging_external_source_cassandra 2020-05-22 17:27:40 +03:00
Alexey Milovidov
490a94105e Two more zeros in performance test 2020-05-22 16:51:04 +03:00
alexey-milovidov
27f365dc10
Merge pull request #11141 from ClickHouse/add-performance-test-non-constant-polygons
Add performance test for non-constant polygons
2020-05-22 16:49:23 +03:00
Pavel Kovalenko
1165c44acf Enable test_replicated_mergee_tree_s3 2020-05-22 14:55:30 +03:00
Pavel Kovalenko
89b9fb6d41 Create 'root' S3 bucket before CH is started. 2020-05-22 14:48:08 +03:00
Alexey Milovidov
e60fee3f3d Add performance test for non-constant polygons 2020-05-22 14:46:54 +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
1a5fa0e6fa Remove totally wrong performance test #10623 2020-05-22 14:39:21 +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
b82c633716
Merge pull request #11048 from filimonov/kafka_missed_data_during_drop
Fixes the potential missed data during termination of Kafka engine table
2020-05-22 14:11:10 +03:00
alesapin
138e4562f3 Skip flacky test 2020-05-22 13:38:56 +03:00
Alexey Milovidov
a2fabd7ff0 Remove unreliable test #11119 2020-05-22 12:36:26 +03:00
alesapin
b9dfa61774
Merge pull request #11042 from CurtizJ/modify-ttl
Apply TTL for old data, after ALTER MODIFY TTL query
2020-05-22 11:12:14 +03:00
Alexander Kuzmenkov
322d731d28 Remove extra copying from addressToLine
The line is already serialized to the same arena, so there is no need to
copy it. Also add this function to query profiler test, so that it has
some coverage.
2020-05-22 03:01:35 +03:00
Alexander Kuzmenkov
fecd84d3c0
Merge pull request #10915 from ClickHouse/aku/mongodb-uri
Support MongoDB URI
2020-05-21 23:02:12 +03:00
alexey-milovidov
2d9433242e
Merge pull request #11097 from ClickHouse/azat-memory-tracking-2
Merging #11022
2020-05-21 20:19:59 +03:00
alexey-milovidov
41a3817efa
Merge pull request #11096 from ClickHouse/test-for-ttl-in-system-parts
Test for TTL info in system.parts
2020-05-21 20:19:41 +03:00
Alexander Tokmakov
f40fadc3d6 fix segfault 2020-05-21 18:29:18 +03:00
Vasily Nemkov
403aae9126 Fixed parseDateTime64BestEffort implementation
Fixed argument resolution issues.
Added tests and made sure -orNull and -orZero variants alwo work correctly.
2020-05-21 17:21:39 +03:00
alexey-milovidov
b480f137f3
Merge pull request #10623 from livace/master
Add point in polygon for non-const polygons
2020-05-21 15:18:24 +03:00
alexey-milovidov
569f20e4c6
Merge pull request #11023 from azat/tests-system-log-cleanup
[RFC] Truncate system.*_log tables before each test
2020-05-21 15:14:25 +03:00
Alexey Milovidov
6669607e17 Merge branch 'master' into vectorize-sum 2020-05-21 15:02:51 +03:00
Alexey Milovidov
80c7e85f38 Disable potentially unreliable check 2020-05-21 13:58:05 +03:00
Alexey Milovidov
886266fdad Attempt to fix an error 2020-05-21 13:57:24 +03:00
Alexey Milovidov
1fca0294fe Fix logical error in test 2020-05-21 13:48:48 +03:00
Alexey Milovidov
c816916fba Fix typo 2020-05-21 13:46:36 +03:00
Alexey Milovidov
38f36f6b58 Merge branch 'memory-tracking' of https://github.com/azat/ClickHouse into azat-memory-tracking-2 2020-05-21 13:00:04 +03:00
Alexey Milovidov
7e4cd8f8d4 Test for TTL info in system.parts 2020-05-21 12:55:39 +03:00
Nikolai Kochetov
986dfe79a5
Merge pull request #10858 from azat/min_mv_insert_block_size
[RFC] Introduce min_insert_block_size_{rows,bytes}_for_materialized_views (for MVs)
2020-05-21 12:52:58 +03:00
alexey-milovidov
4a237faede
Merge pull request #11074 from Jokser/memory-leak-in-register-disk-s3
Fix memory leak in registerDiskS3
2020-05-21 12:42:46 +03:00
alexey-milovidov
8c2b7c31a5
Fix too long perf test. 2020-05-21 09:49:15 +03:00
hcz
4effdeaa0e Add tests 2020-05-21 12:13:49 +08:00
Azat Khuzhin
77bdb5f462 Add a test for GROUP BY memory accounting
- GROUP BY
- GROUP BY LIMIT
- GROUP BY MEMORY_LIMIT_EXCEEDED
2020-05-21 02:06:55 +03:00
Alexander Tokmakov
31b6f5f0d2 Merge branch 'master' into merging_external_source_cassandra 2020-05-20 23:44:53 +03:00
Alexander Tokmakov
4b30b3168c try fix build 2020-05-20 23:26:39 +03:00
Alexander Kuzmenkov
09ea7253cd performance test for some functions that use hash tables 2020-05-20 22:37:14 +03:00
kssenii
4dc659b763 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into add-storage-rabbitmq-read-only 2020-05-20 18:17:41 +00:00
alexey-milovidov
07924f0ae1
Merge pull request #11029 from azat/system_tables_lazy_load
Disable system_tables_lazy_load by default
2020-05-20 21:15:09 +03:00
Pavel Kovalenko
d98c1589ed Better error handling in Proxy Resolver. 2020-05-20 19:01:05 +03:00
Anton Popov
d62fe980ef Merge remote-tracking branch 'upstream/master' into modify-ttl 2020-05-20 16:52:30 +03:00
Vitaly Baranov
06d18a4378
Merge pull request #11050 from vitlibar/amosbird_betterdictget
dictGet with table name
2020-05-20 14:18:24 +03:00
Vladimir Chebotarev
c0947ab609 Minor fixes in test_ttl_move. 2020-05-20 12:59:06 +03:00
Vladimir Chebotarev
a9a7da8e68 Fixed test_ttl_move::test_alter_multiple_ttls. 2020-05-20 12:59:06 +03:00
Vladimir Chebotarev
b9f35aad02 Revert "Disable some flappy tests"
This reverts commit e6958c0e49.
2020-05-20 12:59:06 +03:00
kssenii
1760f01f74 Add tests for RabbitMQ read-only part 2020-05-20 09:42:56 +00:00
Artem Zuikov
9b38324028
fix JOIN with PREWHERE with second analyze() (#11051) 2020-05-20 12:29:23 +03:00
alesapin
2673c985bd
Merge pull request #11002 from ClickHouse/zookeeper_in_tmpfs_intergration_tests
Add ability to run zookeeper in integration tests with tmpfs
2020-05-20 11:30:13 +03:00
alesapin
dc330ca7cb
Merge pull request #11037 from ClickHouse/alter_rename_and_modify
Fix alter rename with different types of alter
2020-05-20 11:28:13 +03:00
kssenii
41b99edc04 Add base for RabbitMQ integration tests 2020-05-20 09:22:12 +03:00
Anton Popov
bd3e7307d0 fix integration test 2020-05-20 01:43:16 +03:00
Alexander Kuzmenkov
bc34e0ff94 fixup 2020-05-19 23:12:10 +03:00
Vitaly Baranov
57bd7afc03 Fix passing dictionary's name to dictGet() with alias. 2020-05-19 21:17:29 +03:00
Amos Bird
ce3c53a00a dictGet* with table name 2020-05-19 20:33:45 +03:00
Mikhail Filimonov
b50480cbde Fixes the potential missed data during termination of Kafka engine table 2020-05-19 18:55:37 +02:00
Alexander Kuzmenkov
c3d9bb829b performance comparison 2020-05-19 18:28:03 +03:00
alesapin
a17f034271 Bump compose version to 2.3, and make tmpfs for zookeeper optional 2020-05-19 18:27:10 +03:00
Nikolai Kochetov
c147badf4f Merge remote-tracking branch 'upstream/master' into min_mv_insert_block_size 2020-05-19 18:24:21 +03:00
Anton Popov
35b916433a fix TTL with defaults after modify 2020-05-19 16:06:35 +03:00
alesapin
70e5553204 At least something works 2020-05-19 12:54:56 +03:00
Azat Khuzhin
f57ac3d3f0 Update test_part_log_table
- system_tables_lazy_load
- SYSTEM FLUSH LOGS
2020-05-19 10:47:47 +03:00
Azat Khuzhin
249a1eb7f9 Fix test_server_initialization, but looking into default database only 2020-05-19 10:43:37 +03:00
Alexander Tokmakov
175b7aedf3 Merge branch 'master' into merging_external_source_cassandra 2020-05-19 05:21:27 +03:00
Anton Popov
58ed04dc24 materialize TTL after its modifying 2020-05-19 04:53:01 +03:00
Azat Khuzhin
04aa6dd7e3 Update test_system_tables_lazy_load to cover both cases and make it run 2020-05-19 03:03:45 +03:00
Azat Khuzhin
e9dc2cbcf7 Add missing SYSTEM FLUSH LOGS before TRUNCATE TABLE in clickhouse-test
Suggested-by: @filimonov
2020-05-19 01:12:51 +03:00
Azat Khuzhin
bd86f15680 Use QueryFinish over magic const in tests
Find all usages with:
  $ git grep 'type[ ]*=[ ]*2' tests/queries/0_stateless/

Sure this is not all...
2020-05-18 21:18:37 +03:00
Azat Khuzhin
32071ba080 Do not add event_date/event_time condition for system.*_log
Also some of them can be even more simplified, since the system.*_log
are empty most of the time there should not be any conditions at all
(i.e. `query` LIKE and so on).
2020-05-18 21:18:37 +03:00
Azat Khuzhin
bdbfa08e02 Truncate system.*_log by default in tests
Enable it by default due to:
- it is a sane default
- avoids modifying docker images
2020-05-18 21:18:37 +03:00
Vitaliy Zakaznikov
59a1c230cd Fixing tests/queries/0_stateless/00979_live_view_watch_continuous_aggregates.py. 2020-05-18 20:17:29 +02:00
Sofia Antipushina
d2aa881345 Merge branch 'master' of github.com:ClickHouse/ClickHouse 2020-05-18 13:41:03 +03:00
alesapin
b4652625c7 Try to enable skipped tests 2020-05-18 13:02:52 +03:00
alesapin
1ccd4fb978 Add missed drop in test 2020-05-18 12:24:48 +03:00
alesapin
0395f59b73 Just wait slightly more in test 2020-05-18 12:03:51 +03:00
Alexey Milovidov
738842b846 Moved test #4277 to bugs 2020-05-18 09:20:17 +03:00
Alexey Milovidov
daeaa07c90 Merge branch 'pull-4277' 2020-05-18 09:19:23 +03:00
Alexey Milovidov
65e387f1a3 Added a test 2020-05-18 08:03:58 +03:00
Alexey Milovidov
db422434ff Add performance test 2020-05-18 07:55:06 +03:00
alexey-milovidov
893d05c1a0
Merge pull request #10989 from ClickHouse/fix-test-right-join
Fix non-deterministic test
2020-05-18 07:43:12 +03:00
alexey-milovidov
7efd2a825f
Merge pull request #10463 from ClickHouse/parallel-final
Parallel final
2020-05-18 05:20:18 +03:00
Alexey Milovidov
ed6c8054f0 Fix bad test 2020-05-18 03:48:46 +03:00
Andrei Nekrashevich
eba043aaf8 Merge branch 'master' into random_string_utf8_function 2020-05-17 22:53:42 +03:00
alexey-milovidov
f7b1263d41
Merge pull request #10268 from ClickHouse/max-rows-to-sort
Added failing tests about "max_rows_to_sort" setting.
2020-05-17 22:21:30 +03:00
alexey-milovidov
8d3c37992a
Merge pull request #10533 from ClickHouse/alter-key-column-better-exception-message
Better exception message and error code for ALTER of key column #9078
2020-05-17 22:21:14 +03:00
alexey-milovidov
92686fea27
Merge pull request #10974 from ClickHouse/xolm-random_fixed_string_function
Merging  #10866
2020-05-17 22:20:53 +03:00
alexey-milovidov
76dfc37bbf
Merge pull request #10975 from ClickHouse/Potya-master
Merging #10856
2020-05-17 22:20:36 +03:00
Andrei Nekrashevich
9d2801e0d8 fix 2020-05-17 16:07:37 +03:00
alexey-milovidov
7cf3538840
Merge pull request #10270 from ClickHouse/quota-key-in-client
Support quota_key for Native client
2020-05-17 14:09:40 +03:00
Azat Khuzhin
c35c89f61a Add a test for min_insert_block_size_rows_for_materialized_views 2020-05-17 12:19:44 +03:00
alexey-milovidov
6c49967395
Merge pull request #10802 from PerformanceVision/offset_without_limit
Add the ability to set an OFFSET clause without a LIMIT
2020-05-17 12:06:22 +03:00
alexey-milovidov
6d34f24605
Merge branch 'master' into complex_key_direct 2020-05-17 11:55:01 +03:00
Alexey Milovidov
59b0435547 Fix tests 2020-05-17 11:25:29 +03:00
Alexey Milovidov
c701ccbec0 Merge branch 'master' of https://github.com/Potya/ClickHouse into Potya-master 2020-05-17 11:19:37 +03:00
alexey-milovidov
1bceb48e65
Merge pull request #10920 from ClickHouse/fix-notNullIn-with-null
Fix not null in with null
2020-05-17 11:16:43 +03:00
alexey-milovidov
7ee35f102d
Merge pull request #10867 from azat/dist-INSERT-load-balancing
Respect prefer_localhost_replica/load_balancing on INSERT into Distributed
2020-05-17 11:11:35 +03:00
Alexey Milovidov
157d0b612c Merge branch 'random_fixed_string_function' of https://github.com/xolm/ClickHouse into xolm-random_fixed_string_function 2020-05-17 10:54:48 +03:00
alexey-milovidov
2ec9d1e9ab
Merge pull request #10512 from ClickHouse/fix-ubsan-decimal-parse
Fix UBSan report in Decimal parse
2020-05-17 10:46:03 +03:00
Alexey Milovidov
de8120d69a Improvement; added a test 2020-05-17 10:17:54 +03:00
Alexey Milovidov
20c9c2d3ec Better test 2020-05-17 09:52:33 +03:00
Alexey Milovidov
1ebd71a230 Updated test reference because new result is correct 2020-05-17 09:48:49 +03:00
Alexey Milovidov
df1e1f4638 Merge branch 'master' of github.com:yandex/ClickHouse into max-rows-to-sort 2020-05-17 09:28:23 +03:00
alexey-milovidov
5297d1e86a
Merge pull request #10928 from vitlibar/check-access-once-for-dictget
dictGet() checks access once
2020-05-17 09:27:59 +03:00
Alexey Milovidov
f7087c721e Merge branch 'master' into max-rows-to-sort 2020-05-17 09:08:46 +03:00
alexey-milovidov
a3346e9331
Merge pull request #10912 from ClickHouse/static-mutate
Static mutate
2020-05-17 09:05:35 +03:00
alexey-milovidov
261410ff58
Merge pull request #10829 from ClickHouse/variance-nonnegative
Ensure that variance is nonnegative
2020-05-17 09:04:27 +03:00
Alexey Milovidov
47504dc213 Merge branch 'max-rows-to-sort' of github.com:yandex/ClickHouse into max-rows-to-sort 2020-05-17 08:57:42 +03:00
Alexey Milovidov
3742462119 Merge branch 'master' into max-rows-to-sort 2020-05-17 08:56:42 +03:00
Alexey Milovidov
f4ac1eec04 Merge branch 'master' into quota-key-in-client 2020-05-17 08:15:13 +03:00
Alexey Milovidov
7396790bd9 Update tests 2020-05-17 07:47:32 +03:00
Andrei Nekrashevich
675509ed23 Added function randomStringUTF8 2020-05-17 07:43:53 +03:00
alexey-milovidov
0fd0711b51
Merge pull request #10910 from filimonov/kafka_drop_hang_fix
Fix for the hang during deletion of engine=Kafka
2020-05-17 07:13:54 +03:00
Alexey Milovidov
f8a6fa8728 Update test 2020-05-17 06:18:06 +03:00
Alexey Milovidov
7e24492fb9 Added performance test 2020-05-17 06:16:34 +03:00
Alexey Milovidov
b156ac3cc1 Merge branch 'master' into fix-ubsan-decimal-parse 2020-05-17 05:42:24 +03:00
Alexey Milovidov
7df4748753 Merge branch 'master' into variance-nonnegative 2020-05-17 05:00:59 +03:00
Alexander Tokmakov
f89bf6155b fix bad test 2020-05-17 04:16:56 +03:00
Alexey Milovidov
a9f64b4c1c Ensure that the variance is nonnegative 2020-05-16 22:55:38 +03:00
alesapin
d0b56a4c7d
Merge pull request #10887 from ClickHouse/vzakaznikov-add_alter_rename_column_to_distributed
Vzakaznikov add alter rename column to distributed
2020-05-16 12:54:32 +03:00
alesapin
be4037abb5
Merge pull request #10895 from ClickHouse/fix_multiple_renames
Fix error in multiple rename commands in a single query.
2020-05-16 12:54:04 +03:00
Nikolai Kochetov
c957154fef
Merge pull request #10952 from ClickHouse/fix-distributed-queries-incompatibility-19.16-20.1
Fix incompatibility of two-level aggregation between 19.16 and 20.1
2020-05-16 10:17:15 +03:00
Sofia Antipushina
fa38cf780c Add tests for -Distinct combinator 2020-05-16 03:02:55 +03:00
tavplubix
cc4ddfd89e
Merge pull request #10901 from ClickHouse/merging_10554
Merging #10554
2020-05-15 23:23:02 +03:00
Mikhail Filimonov
791f3a6c90 Merge branch 'kafka_drop_hang_fix' of github.com:filimonov/ClickHouse into kafka_drop_hang_fix 2020-05-15 22:20:45 +02:00
Mikhail Filimonov
405cce2c53 Another variant of fix. It looks like we do not need destructor at all 2020-05-15 22:19:21 +02:00
Nikolai Kochetov
fb38c2a30b
Remove experimental_use_processors setting, part 1. (#10924)
Remove experimental_use_processors setting, part 1.
2020-05-15 22:28:10 +03:00
Nikolai Kochetov
7d6ac4a87b Added test. 2020-05-15 22:21:30 +03:00
Nikolai Kochetov
c4a07812f7 Try fix build. 2020-05-15 18:48:19 +03:00
alesapin
6fb9a19a40 Ignore some tests 2020-05-15 17:33:50 +03:00
Anton Popov
11b4bc7189
Merge pull request #10889 from CurtizJ/tuple-literal
Fix backward compatibility with tuples and distributed.
2020-05-15 15:39:03 +03:00
Vitaly Baranov
d92ac9ea47
Merge branch 'master' into RBAC-10 2020-05-15 14:12:43 +03:00
alesapin
ef1c7da4af
Merge pull request #10757 from ClickHouse/fix-parallel-mv
Fix parallel MV
2020-05-15 14:03:09 +03:00
alesapin
26606dd640 Fix polymorphic parts 2020-05-15 13:36:35 +03:00
Артем Стрельцов
be731ad62e Merge branch 'master' of github.com:yandex/ClickHouse into complex_key_direct 2020-05-15 12:01:09 +03:00
alexey-milovidov
689b5094f8
Merge pull request #10926 from ClickHouse/test-empty-external-data
Added a test for empty external data
2020-05-15 10:35:20 +03:00
alexey-milovidov
985b83a228
Merge pull request #10903 from ClickHouse/lexer-unicode-whitespaces
Support for unicode whitespaces in queries.
2020-05-15 10:31:59 +03:00
alexey-milovidov
f4d1f7cb2b
Merge pull request #10918 from ClickHouse/fix_01019_alter_materialized_view_consistent
Fix test 01019_alter_materialized_view_consistent
2020-05-15 10:20:00 +03:00
Vitaly Baranov
201c88f64f Get dictionary and check access rights only once per each call of any function reading external dictionaries. 2020-05-15 03:14:14 +03:00
Artem Zuikov
8e8a2a17d6 build fixes 2020-05-15 03:01:31 +03:00
Ri
fc7afaa639
Bitonic sort on GPU (OpenCL) (#10232) 2020-05-15 03:01:14 +03:00
Alexander Tokmakov
6a496ce9dc better test 2020-05-15 00:51:21 +03:00
Anton Popov
4c0cbc78a9 trigger CI 2020-05-14 23:44:52 +03:00
Alexey Milovidov
273267ca8b Added a test for empty external data 2020-05-14 20:36:59 +03:00
alesapin
8eb27f6f13 Fix rename with compact parts 2020-05-14 19:56:13 +03:00
Nikolai Kochetov
b81d96b84e Add test. 2020-05-14 17:27:05 +03:00
potya
dc4af074b2 Remove REAl and INT8, add some tests 2020-05-14 17:11:59 +03:00
alesapin
e5c8c8ca02 Fix test 2020-05-14 15:45:42 +03:00
Alexander Kuzmenkov
99d50063f3 Support MongoDB URI 2020-05-14 14:36:49 +03:00
Vitaly Baranov
c30587196a Add system tables for users, roles and grants. 2020-05-14 14:12:20 +03:00
Vitaly Baranov
b1f362b2dc Add system table for access types. 2020-05-14 14:12:20 +03:00
Vitaly Baranov
a14f322723 Add system tables for settings profiles. 2020-05-14 14:12:15 +03:00
filimonov
f97c14f7be
bit better comment 2020-05-14 12:18:17 +02:00
Mikhail Filimonov
6499d702f9 After review fixes 2020-05-14 12:15:38 +02:00
Nikolai Kochetov
4d22374f24 Merged with master. 2020-05-14 12:06:15 +03:00
Mikhail Filimonov
a1013f1e71 Fix for the hang during deletion of engine=Kafka 2020-05-14 10:38:02 +02:00
Nikolai Kochetov
f65305878b
Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues (#10890)
* Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues

* Try fix build.

* Try fix build.

* Fix build.

* Make convertToValues static.

* fix build.

* Remove const casts.

* Added comment.

* Fix build.

* Fix build.

* Add test.

* Fix test.
2020-05-14 10:59:14 +03:00
Azat Khuzhin
dac0b7d1f5 Create table with the same load_balancing policy in test_insert_distributed_load_balancing 2020-05-14 03:29:03 +03:00
alexey-milovidov
f8195a577c
Merge pull request #10744 from Jokser/s3-proxy-resolver
S3 with proxy resolver
2020-05-14 02:19:10 +03:00
alexey-milovidov
4175167455
Merge pull request #10902 from ClickHouse/recreate-databases-in-tests
clickhouse-test: recreate database for every test
2020-05-14 02:13:06 +03:00
Azat Khuzhin
de1d529e86 Cover nearest_hostname in test_insert_distributed_load_balancing 2020-05-14 01:50:56 +03:00
alexey-milovidov
b3d8c09bfb
Merge pull request #10852 from dgrr/format/multiple-queries
Added multiple query formatting on clickhouse-format
2020-05-14 01:06:44 +03:00
Alexey Milovidov
09c3bb2613 Added a test 2020-05-14 00:37:20 +03:00
alexey-milovidov
623b2e5a43
Merge pull request #10849 from ClickHouse/fix_optimize_and_alter_hangs
Fix mutations and OPTIMIZE hangs when replica becomes inactive
2020-05-13 23:41:13 +03:00
Alexey Milovidov
0faf7bc39b clickhouse-test: create unique database for every test (part 2) 2020-05-13 23:17:12 +03:00
Nikolai Kochetov
496d90b613
Merge pull request #10860 from CurtizJ/pk-function
Fix sample with final (addition to #10715)
2020-05-13 23:04:25 +03:00
Alexey Milovidov
6c671eb6a6 clickhouse-test: recreate database for every test (part 1) 2020-05-13 23:03:10 +03:00
Alexander Tokmakov
b1ed51df6e add simple test 2020-05-13 22:47:35 +03:00
alesapin
ab760846c2 Fix some rename cases 2020-05-13 20:43:30 +03:00
Vitaly Baranov
5b84121d81 Improve system tables for quotas. Remove function currentQuota(). 2020-05-13 19:40:48 +03:00
Vitaly Baranov
e64e2ebdf6 Improve system table for row policies. Remove function currentRowPolicies(). 2020-05-13 19:40:48 +03:00
Vitaly Baranov
9a89a04c1f Improve TSV class in test tools: now it can get a table as a list of lists. 2020-05-13 19:40:48 +03:00
Vitaly Baranov
dd8b29b4fb Use enum Type instead of std::type_index to represent the type of IAccessEntity.
This change simplifies handling of access entities in access storages.
2020-05-13 19:40:48 +03:00
Vitaly Baranov
66e348a93f Refactoring of getting information about access rights. 2020-05-13 19:40:33 +03:00
dgrr
bd77908c93 Added multiline test 2020-05-13 18:31:23 +02:00
potya
1ceabf1e10 at start 2020-05-13 18:49:17 +03:00
alexey-milovidov
a65601e410
Merge pull request #10874 from hczhcz/patch-0513
Support large tuples in function tupleElement
2020-05-13 18:42:10 +03:00
alexey-milovidov
0433d9c6fc
Merge pull request #10870 from azat/fix-SIGSEGV-in-hash-table-for-string
Fix SIGSEGV in StringHashTable (if such key does not exist)
2020-05-13 18:40:28 +03:00
alesapin
774f9fccc5
Update test.py 2020-05-13 18:25:55 +03:00
Anton Popov
d13a11b421 fix backward compatibility with tuples and distributed 2020-05-13 17:14:05 +03:00
alesapin
22c7a843a6 Remove already added tests 2020-05-13 16:03:33 +03:00
alesapin
1c4564d9ed Simplify rename tests 2020-05-13 15:56:32 +03:00
alesapin
352c402cf2 Merge branch 'add_alter_rename_column_to_distributed' of https://github.com/vzakaznikov/ClickHouse into vzakaznikov-add_alter_rename_column_to_distributed 2020-05-13 14:14:23 +03:00
alesapin
377ef6535d
Merge pull request #10847 from ClickHouse/fix_alter_rename_and_constraints
Fix constraints after column rename
2020-05-13 11:09:55 +03:00
Alexander Tokmakov
032197b015 fix alter and optimize hangs when replica becomes inactive 2020-05-13 10:06:57 +03:00
hcz
4a4914361c Support large tuples in function tupleElement 2020-05-13 11:53:40 +08:00
Alexey Milovidov
3927647fbb Fix test 2020-05-13 06:50:25 +03:00
Alexey Milovidov
32ad64ae01 Fix LIVE VIEW tests 2020-05-13 06:50:14 +03:00
Alexey Milovidov
d52f9d9785 Fix bad test 2020-05-13 06:50:14 +03:00
alexey-milovidov
7fa7afd24d
Merge pull request #10868 from ClickHouse/improve-move-partition-tests
Improve tests for ALTER MOVE
2020-05-13 06:48:37 +03:00
Andrei Nekrashevich
322e5bc4f5 fix issues 2020-05-13 04:22:57 +03:00
Azat Khuzhin
6e11c8a1a2 Add test for missing items in string hashtables via GROUP BY 2020-05-13 03:40:05 +03:00
Andrei Nekrashevich
767a790fce fix issues 2020-05-13 03:20:41 +03:00
Alexey Milovidov
2800df4450 Improve tests for ALTER MOVE 2020-05-13 03:02:53 +03:00
Alexey Milovidov
1b42a6ccdc Fix bad tests 2020-05-13 02:55:16 +03:00
Azat Khuzhin
0ea3411137 Add integration test for load balancing for Distributed INSERT 2020-05-13 02:51:17 +03:00
Alexey Milovidov
c57210736b Merge branch 'master' into fix-infinite-loop-in-test 2020-05-13 02:32:14 +03:00
Andrei Nekrashevich
1d52c1b9d0 Added function randomFixedString 2020-05-13 01:48:55 +03:00
Anton Popov
67213b8ad4 fix sample with final 2020-05-12 21:23:40 +03:00
alesapin
35a9a203f1
Update test.py 2020-05-12 18:01:43 +03:00
Артем Стрельцов
10f6817fdd added new layout to integration test 2020-05-12 18:00:08 +03:00
Nikolai Kochetov
f093c8f206 Fix test. 2020-05-12 17:38:45 +03:00
alesapin
979779e06f Fix constraints after column rename 2020-05-12 14:26:44 +03:00
Alexey Milovidov
c811e1f0d0 Fix double whitespace 2020-05-12 06:41:45 +03:00
alexey-milovidov
75607db571
Merge pull request #10826 from azat/block-sort-fix
Fix columns order after Block::sortColumns()
2020-05-12 06:39:18 +03:00
alexey-milovidov
82668cee6e
Merge pull request #10827 from ClickHouse/fix-logical-error-convert-field-to-type
Fix logical error in convertFieldToType
2020-05-12 05:22:56 +03:00
Anton Popov
a1333895eb
Merge pull request #10791 from oandrew/key-condition-source-type
Use src_type for conversion in KeyCondition
2020-05-12 03:29:43 +03:00
Alexey Milovidov
f61576fdfa Fix logical error in convertFieldToType 2020-05-12 02:53:03 +03:00
Azat Khuzhin
eb97afa9be Add a test for INSERT into Buffer() with different order of columns (via MV) 2020-05-12 02:50:42 +03:00
Vitaliy Zakaznikov
3505ccc2fc Increasing zookeeper_session_timeout setting to 15 sec. 2020-05-11 20:27:19 +02:00
Vitaliy Zakaznikov
1efc372c0c Fixing test_rename_with_parallel_select. 2020-05-11 20:09:45 +02:00
alexey-milovidov
1e70230991
Merge pull request #10722 from Enmk/DateTime64_fixes
function toStartOfSecond(DateTime64) -> DateTime64
2020-05-11 20:20:58 +03:00
alexey-milovidov
15e38c8b44
Merge pull request #10563 from azat/SELECT-ALIAS-CAST
Fix SELECT of column ALIAS which default expression type different from column type
2020-05-11 20:20:34 +03:00
Vitaliy Zakaznikov
9780da3e74 Adding more tests to check renaming of columns. 2020-05-11 19:01:06 +02:00
alexey-milovidov
64d19e2984
Merge pull request #10808 from ClickHouse/remove-obsolete-tsan-suppressions
Remove obsolete TSan suppressions
2020-05-11 19:18:34 +03:00
alexey-milovidov
0fe9ed93a6
Update 01132_max_rows_to_read.sql 2020-05-11 12:07:11 +03:00
Alexey Milovidov
7d480ffa3d Added failing tests 2020-05-11 12:06:24 +03:00
Vasily Nemkov
2c2005817f New function toStartOfSecond(DateTime64) -> DateTime64
This funtion nullifies sub-second part of DateTime64 value.
2020-05-11 12:06:06 +03:00
Guillaume Tassery
5b6e9f2a7e offset_without_limitMerge branch 'master' of github.com:ClickHouse/ClickHouse into offset_without_limit 2020-05-11 16:05:44 +07:00
alexey-milovidov
33d491edf3
Merge pull request #10516 from azat/dist-GROUP_BY-sharding_key-fixes
Disable GROUP BY sharding_key optimization by default (and fix for WITH ROLLUP/CUBE/TOTALS)
2020-05-11 12:03:27 +03:00
alexey-milovidov
3a982e01d0
Merge pull request #10803 from ClickHouse/slightly-better-test
Slightly better test
2020-05-11 11:59:40 +03:00
Alexey Milovidov
99e64729bb Remove obsolete TSan suppressions 2020-05-11 10:05:46 +03:00
Alexey Milovidov
89c8581d4e Fix infinite loop in test 2020-05-11 09:15:47 +03:00
alexey-milovidov
06ba85fdf2
Merge pull request #10795 from ClickHouse/list-licenses
Added "system.licenses" table
2020-05-11 09:00:55 +03:00
alexey-milovidov
f400d418df
Merge pull request #10799 from ClickHouse/mv-scalars-flacky-test
Fix flacky test #10603
2020-05-11 08:59:04 +03:00
Alexey Milovidov
3cfb305664 Slightly better test 2020-05-11 08:52:40 +03:00
Guillaume Tassery
9ed397bc2c add tests 2020-05-11 12:48:19 +07:00
Alexey Milovidov
af3287a48b Add MSan suppression for MariaDB Client library 2020-05-11 07:37:30 +03:00
Alexey Milovidov
c5e78d12e7 Merge branch 'master' into list-licenses 2020-05-11 07:35:35 +03:00
Alexey Milovidov
8e551a082c Fix flacky test #10603 2020-05-11 07:33:06 +03:00
Andrew Onyshchuk
1ee875a5fc Add test 2020-05-10 23:15:59 -05:00
alexey-milovidov
40ef113503
Merge branch 'master' into parallel-final 2020-05-11 06:47:44 +03:00
alexey-milovidov
170a341c1f
Trigger CI 2020-05-11 06:40:07 +03:00
alexey-milovidov
27594ff870
Merge pull request #10579 from 4ertus2/some
Test for fixed issue
2020-05-11 06:30:35 +03:00
alexey-milovidov
ddc84163a7
Merge pull request #10486 from azat/dist-send-on-INSERT
Fix distributed send that are scheduled by INSERT query
2020-05-11 06:28:35 +03:00
alexey-milovidov
afd0938b99
Merge pull request #10603 from ClickHouse/fix-mv-scalars
Fix mv scalars
2020-05-11 06:26:19 +03:00
alexey-milovidov
d2c813fa7a
Update 01269_alias_type_differs.sql 2020-05-11 06:23:58 +03:00
Alexey Milovidov
da583760c4 Added "system.licenses" table 2020-05-11 05:39:01 +03:00
Alexey Milovidov
49e57c555d Fixed code; added a test 2020-05-11 03:16:50 +03:00
Alexey Milovidov
2438a510b0 Merge branch 'fuzz_functions' of https://github.com/xolm/ClickHouse into xolm-fuzz_functions 2020-05-11 02:42:55 +03:00
Alexey Milovidov
9654532940 Adjust thresholds in perf test 2020-05-11 00:31:01 +03:00
Andrei Nekrashevich
c3873495c9 fix and performance test template 2020-05-10 22:07:02 +03:00
Nikita Vasilev
607981a458 impr test 2020-05-10 20:32:03 +03:00
Nikita Vasilev
3d41582310 fix 2020-05-10 10:01:10 +03:00
alexey-milovidov
9fbf23bc07
Merge pull request #10782 from ClickHouse/fix-test-query-profiler
Fix flacky test for query profiler
2020-05-10 08:18:44 +03:00
alexey-milovidov
ce671e8b3e
Update 01268_mv_scalars.sql 2020-05-10 05:29:53 +03:00
Alexey Milovidov
668a21b94f Remove racy part of performance-introspection test 2020-05-10 05:25:32 +03:00
Alexey Milovidov
a5ab3f3373 Fix flacky test 2020-05-10 04:25:08 +03:00
Artem Zuikov
f1e331503b Merge branch 'master' into some 2020-05-10 03:46:48 +03:00
Alexey Milovidov
d9257a8682 Merge branch 'arrow-io-format' of https://github.com/FawnD2/ClickHouse into FawnD2-arrow-io-format 2020-05-10 03:26:10 +03:00
alexey-milovidov
b961392871
Merge pull request #10658 from vzakaznikov/fixing_test_00979_live_view_watch_continuous_aggregates
Fixing and re-enabling 00979_live_view_watch_continuous_aggregates.py test.
2020-05-10 03:08:16 +03:00
alexey-milovidov
63c4a7661f
Merge pull request #10715 from CurtizJ/pk-function
Fix usage of primary key wrapped into a function.
2020-05-10 02:08:59 +03:00
Nikolai Kochetov
41baf1ab0f Update tests. 2020-05-09 21:43:16 +03:00
Nikolai Kochetov
264599179f Update test. 2020-05-09 21:43:16 +03:00
Nikolai Kochetov
74b5e19fa5 Added test. 2020-05-09 21:43:16 +03:00
alexey-milovidov
e41e998f4a
Merge pull request #10758 from bgiard/master
Fix serialize/deserialize of denominator of Average functions
2020-05-09 21:22:16 +03:00
Alexey Milovidov
735d04472d Remove flappy test for INSERT INTO LIVE VIEW @vzakaznikov 2020-05-09 21:14:50 +03:00
alexey-milovidov
b707156e09
Trigger CI 2020-05-09 19:19:47 +03:00
alexey-milovidov
7689ec344b
Merge pull request #10766 from ClickHouse/fix-performance-tests-errors
Fix performance test errors
2020-05-09 18:28:01 +03:00
Nikita Vasilev
74d5ed65c1 fix tests 2020-05-09 14:48:33 +03:00
Alexey Milovidov
978d38f34a Raised threshold for one of tests 2020-05-09 04:42:52 +03:00
alexey-milovidov
699ef4ff52
Merge pull request #10741 from hczhcz/patch-0422
Fix OrNull and OrDefault
2020-05-09 04:38:32 +03:00
Alexey Milovidov
666fd29d82 Fix performance test errors 2020-05-09 04:28:31 +03:00
alexey-milovidov
5992bae69a
Merge pull request #10736 from ClickHouse/extract-groups-range-check
Added range check for extractGroups function
2020-05-09 04:21:56 +03:00
Baudouin Giard
be2cf70da8 Fix serialize/deserialize of denominator of Average functions
Use writeBinary/readBinary to serialize/deserialize the denominator of Average functions.

Previously it would be transmitted as an unsigned int, which means its value would get corrupted when doing an avgWeighted over a floating point number.

Note: this commit is not backwards compatible!

Signed-off-by: Baudouin Giard <bgiard@bloomberg.net>
2020-05-08 15:10:47 -04:00
Nikolai Kochetov
869c933972 Added test. 2020-05-08 19:15:49 +03:00
Ivan
85d783c247
Poco contrib refactoring (#10396)
* Remove config_common.h
* Refactor libcpuid contrib
* Remove support for libcpuinfo
* Define USE_CPUID in Arcadia
* Refactor Poco libraries
2020-05-08 17:11:19 +03:00
Vitaliy Zakaznikov
089371ddfb Reverting test so that it can pass. 2020-05-08 14:48:24 +02:00
Vitaliy Zakaznikov
dd5dd5de32 Updating test_rename_with_parallel_ttl_move to check if parts got moves.
Adding renaming of the time column used inside the TTL expression after insert.
2020-05-08 13:35:50 +02:00
Pavel Kovalenko
5cc0927874 Add comment explaining protocol for proxy resolver configuration. 2020-05-08 14:07:26 +03:00
Pavel Kovalenko
8602f7b47c Minor updates in proxy resolver parameters naming. 2020-05-08 13:58:56 +03:00
Pavel Kovalenko
6165c2aa99 Add possibility to use proxy resolver in DiskS3. 2020-05-08 13:53:12 +03:00
Vitaliy Zakaznikov
eb3c6ca0d8 Adding configuration files. 2020-05-08 12:36:37 +02:00
hcz
8a60e22223 Fix OrNull and OrDefault 2020-05-08 17:52:54 +08:00
Nikolai Kochetov
766ca03d85
Merge pull request #10728 from ClickHouse/fix-10489
Added test for #10721.
2020-05-08 11:58:29 +03:00
Alexey Milovidov
e6b08799a0 Update test 2020-05-08 02:34:48 +03:00
Alexey Milovidov
a366e6924b Fix typo in test 2020-05-08 02:33:31 +03:00
Alexey Milovidov
1f0d95e5c3 Added range check for extractGroups function 2020-05-08 02:31:15 +03:00
Alexander Tokmakov
2cb4c91c02 fix dockerfiles 2020-05-08 00:08:19 +03:00
Vitaliy Zakaznikov
65f139f374 Adding more integration tests for alter rename column. 2020-05-07 21:00:17 +02:00
Vitaliy Zakaznikov
6d071c430e Adding stateless test for alter rename column on a distributed table. 2020-05-07 19:39:33 +02:00
Nikolai Kochetov
9605e80a8e Added test. 2020-05-07 18:26:57 +03:00
Vitaliy Zakaznikov
abe28968f4 Adding tests. 2020-05-07 15:50:42 +02:00
Nikolai Kochetov
6ef3400894 Added test. 2020-05-07 16:14:16 +03:00
Anton Popov
5fe74b1a3e
Merge pull request #10686 from CurtizJ/fix-nultiple-sets
Fix multiple usages of 'IN' operator
2020-05-07 15:39:41 +03:00
alexey-milovidov
3e583ef45e
Merge pull request #10712 from ClickHouse/merging-extract-groups
Merging #10534
2020-05-07 15:34:41 +03:00
alexey-milovidov
9ef730b7a6
Merge pull request #10553 from qoega/curl-no-curlrc
Add -q option to curl requests to disable .curlrc use on developer servers
2020-05-07 15:18:56 +03:00
Ilya Yatsishin
22a908a5cc
remove unnecessary change 2020-05-07 14:53:40 +03:00