Commit Graph

10755 Commits

Author SHA1 Message Date
vdimir
45233666b6
Relax filter for information_schema.processlist in mysql_kill_sync_thread_restore_test 2021-07-22 14:05:23 +03:00
Alexander Kuzmenkov
60ca9990e5
Merge pull request #26668 from ClickHouse/aku/window-materialize
materialize all columns in window transform
2021-07-22 13:42:36 +03:00
vdimir
f61ecee989
Remove tests/integration/test_foo 2021-07-22 13:33:43 +03:00
vdimir
d1b6274deb
Strip lines in runner output in _get_all_tests 2021-07-22 13:33:05 +03:00
vdimir
a8f986350c
Log errors on integration test listing error in ci-runner 2021-07-22 12:31:15 +03:00
Nikolai Kochetov
5ffd99dfd4
Merge pull request #25674 from amosbird/distributedreturnconnection
Drain connection asynchronously
2021-07-22 11:04:49 +03:00
Azat Khuzhin
dac13793e7 Disable 01955_clickhouse_benchmark_connection_hang under UBsan
UBsan does not works reliable when the RLIMIT_NOFILE exceeded.
2021-07-22 10:09:37 +03:00
Azat Khuzhin
3f0dd40c69 Avoid hanging clickhouse-benchmark if connection fails (i.e. on EMFILE) 2021-07-22 10:08:49 +03:00
ryzuo
94d4fb9dfc Cleanup the incomplete fix of nullability return value of lagInFrame/leadInFrame 2021-07-22 10:37:29 +08:00
ryzuo
df9ec5655c Add missing test back in 01591_window_function 2021-07-22 10:30:10 +08:00
ryzuo
fd0c016423 Make tests of nth_value pass 2021-07-22 10:22:24 +08:00
ryzuo
4eb053a303 Implementaion of window function nth_value.
1. Implemented the window function nth_value
2. Make the return type of lag/lead, and nth_value functions to be
ColumnNullable, thus the returned value can be null if it is out
of frame.
2021-07-22 10:19:19 +08:00
Alexey Milovidov
ba06e8ccd0 Fix flaky test mutation_stuck_after_replace_partition 2021-07-22 03:39:23 +03:00
Alexey Milovidov
ed341b64e4 Disable parallel formatting 2021-07-22 03:24:35 +03:00
alexey-milovidov
2796aa333f
Merge pull request #26618 from ClickHouse/fix-flaky-test-22
Fix flaky test 01509_check_many_parallel_quorum_inserts
2021-07-22 02:58:07 +03:00
alexey-milovidov
f9581893d8
Merge pull request #26658 from azat/skip_unavailable_shards-excessive-attempts
Fix excessive connect attempts with skip_unavailable_shards
2021-07-22 02:12:32 +03:00
Vladimir
576b407804
Support conditions in JOIN ON section (#24420)
* Try to enforce table identification in CollectJoinOnKeysMatcher

* Support filtering conditions in JOIN ON for HashJoin

* Correct handle non equi join

* Update test 00878_join_unexpected_results

* Join on filters calculated as one row before join

* Do not lookup key in hash join if condition for row is not hold

* better

* Support filtering conditions in JOIN ON for MergeJoin

* Support Nullable mask in JOIN ON section

* Fix style in Interpreters/TableJoin.cpp

* Change return type of getColumnAsMask in join_common to ColumnPtr

* Handle Nullable(Nothing) type in JOIN ON section, add test cases

* Fix type cast JoinCommon::getColumnAsMask

* Check type if conditions in JOIN ON section, support functions

* Update tests with JOIN ON

* Style changes, add comments for conditions in JOIN ON section

* Add test cases for join on condtions

* JOIN ON key1 = key2 AND (cond1 OR cond2)

* Remove CollectJoinOnKeysVisitor has_join_keys

* Add test cases for join on nullable/lc conditions

* Fix style

* Change error code 48 to 403 in join on tests

* Fix whitespace
2021-07-21 20:03:33 +03:00
vdimir
1d0ceff2dc
Fix mysql_kill_sync_thread_restore_test 2021-07-21 18:17:45 +03:00
Caspian
eab4cb3cdc use new syntax, update docs 2021-07-21 23:08:38 +08:00
Maksim Kita
49983883cc Added tests 2021-07-21 16:41:45 +03:00
Alexander Kuzmenkov
7f0fec6d5d materialize all columns in window transform 2021-07-21 16:06:50 +03:00
alexey-milovidov
4b51ec3a83
Merge pull request #26619 from ClickHouse/fix-flaky-test-23
Fix one possible cause of tests flakiness
2021-07-21 15:24:30 +03:00
Nikolai Kochetov
65d3e713d6 Fix another one test. 2021-07-21 15:16:13 +03:00
Alexey Boykov
925e2a6a22
Merge branch 'ClickHouse:master' into master 2021-07-21 14:54:17 +03:00
Alexey Boykov
4ec811d1fd Revert "Revert "Merge branch 'master' into master""
This reverts commit 28279e13f2.
2021-07-21 14:16:05 +03:00
Alexey Boykov
28279e13f2 Revert "Merge branch 'master' into master"
This reverts commit 0543736da1, reversing
changes made to e8e34ba786.
2021-07-21 14:11:13 +03:00
Alexander Kuzmenkov
6ae4031723
Merge pull request #26521 from ClickHouse/aku/lag-in-frame-nullable
fix lagInFrame for nullable types
2021-07-21 14:10:16 +03:00
Azat Khuzhin
7b7e8acf4f Fix excessive connect attempts with skip_unavailable_shards
Before this patch the query was sent from
RemoteBlockInputStream::readPrefix() and also from
RemoteBlockInputStream::read().

And since in case of skip_unavailable_shards=1 connection errors are
ignored, it tries to do x2 connect attempts.

Fix this, but removing RemoteBlockInputStream::readPrefix().

Fixes: #26511
2021-07-21 10:06:54 +03:00
Azat Khuzhin
6c83aa50f5 Cover clickhouse-benchmark --roundrobin 2021-07-21 08:52:06 +03:00
Alexey Milovidov
09449cc101 Whitespaces 2021-07-21 04:47:56 +03:00
Alexey Milovidov
f62fc8c43d Fix another cause of flakiness 2021-07-21 04:05:56 +03:00
Alexey Milovidov
d815023700 Fix one source of flaky tests 2021-07-21 03:58:01 +03:00
Alexey Milovidov
17ce71ce3d Fix flaky test 01509_check_many_parallel_quorum_inserts 2021-07-21 03:38:55 +03:00
Alexey Milovidov
f9234f74aa Fix flaky test 01622_defaults_for_url_engine 2021-07-21 02:28:00 +03:00
alexey-milovidov
fcca3e3e56
Merge pull request #26423 from ClickHouse/fix-header-for-scalar-query-with-empty-result
Fix incompatible result type for scalar queries with empty result.
2021-07-21 02:07:04 +03:00
alexey-milovidov
f177898f5c
Merge pull request #26499 from arenadata/ADQM-326
SELECT String from ClickHouse as Avro string - PartialMatch
2021-07-21 02:04:04 +03:00
alexey-milovidov
0304cf2041
Merge pull request #26557 from amosbird/groupbitmaporfix
Fix wrong name of groupBitmapAnd/Or/Xor.
2021-07-21 02:02:39 +03:00
Alexander Kuzmenkov
a197511a96 fixes 2021-07-21 01:36:15 +03:00
Alexey Milovidov
8a37bbc217 Fix flaky test, one more attempt 2021-07-21 01:27:27 +03:00
Alexey Milovidov
4a0ec010af Merge remote-tracking branch 'origin/master' into fix-flaky-test-20 2021-07-20 21:47:22 +03:00
Alexey Milovidov
9995c6d745 Another attempt 2021-07-20 21:46:41 +03:00
alexey-milovidov
772b18db8a
Merge pull request #26579 from vdimir/test-jinja-templates
Support jinja templates for sql files in clickhouse-test
2021-07-20 21:13:44 +03:00
Nikita Mikhaylov
348a3abb0b
Merge pull request #26508 from kitaisreal/storage-dictionary-quoted-names-fix
Storage Dictionary quoted names fix
2021-07-20 19:35:48 +03:00
vdimir
1b5de5de0d
Fix style in clickhouse-test removesuffix 2021-07-20 17:51:22 +03:00
vdimir
8429f64030
Log skipped test if no jinja2 2021-07-20 17:49:20 +03:00
alexey-milovidov
3bcef76a9d
Merge pull request #26529 from kssenii/fixing-rabbitmq
Fix rabbitmq shutdown in case rabbitmq setup was not started
2021-07-20 16:41:25 +03:00
vdimir
a170af9b49
Rewrite couple of tests to jinja templates 2021-07-20 16:41:24 +03:00
vdimir
6f8561c084
Support jijna templates for sql files in clickhouse-test 2021-07-20 16:40:04 +03:00
Alexey Boykov
0543736da1
Merge branch 'master' into master 2021-07-20 16:22:32 +03:00
Alexey Boykov
e8e34ba786 compatibility with remote 2021-07-20 16:10:55 +03:00
Amos Bird
9fdae29421
Fix groupBitmapAnd/Or/Xor name 2021-07-20 20:55:18 +08:00
Nikolai Kochetov
fa8c9e3264 Fix another one test. 2021-07-20 15:35:42 +03:00
Nikita Mikhaylov
47c1bb3416
Merge pull request #25822 from ClickHouse/fix_no_column_materialized_mysql
Fix 'Not found column' error in MaterializeMySQL
2021-07-20 15:03:54 +03:00
Nikita Mikhaylov
4d3f828beb
Merge pull request #26314 from kssenii/fix-hdfs-crash
Fix hdfs crash
2021-07-20 15:01:56 +03:00
Caspian
7c6dc56bcd
Merge branch 'master' into grant_by_replace 2021-07-20 17:41:12 +08:00
Maksim Kita
9b53f4f2b3 Storage Dictionary quoted names fix 2021-07-20 11:35:10 +03:00
caspian
f3a073e22e fix tests 2021-07-20 15:49:56 +08:00
Alexey Milovidov
72a76d34f5 Merge remote-tracking branch 'origin/master' into fix-flaky-test-20 2021-07-20 01:00:25 +03:00
Alexey Milovidov
909a50e648 Fix flaky test 2021-07-20 00:58:48 +03:00
kssenii
63c05e6e14 Fix rabbitmq shutdown in case rabbitmq setup was not started 2021-07-19 21:06:10 +00:00
Alexander Kuzmenkov
61a01782a6 fix lagInFrame for nullable types 2021-07-19 19:31:57 +03:00
Amos Bird
dbfb699690
Asynchronously drain connections. 2021-07-19 21:53:29 +08:00
Caspian
c2c7196cc8 update tests 2021-07-19 21:15:55 +08:00
Nikolai Kochetov
7a24e72e76 Merge branch 'master' into fix-header-for-scalar-query-with-empty-result 2021-07-19 15:48:44 +03:00
Nikolai Kochetov
72f31af3b2 Review fixes. 2021-07-19 15:43:31 +03:00
Nikolai Kochetov
96e20e2641 Fix some tests. 2021-07-19 15:35:55 +03:00
mergify[bot]
39f71f4a08
Merge branch 'master' into fix_no_column_materialized_mysql 2021-07-19 12:27:38 +00:00
Ilya Golshtein
8204516882 SELECT String from ClickHouse as Avro string - PartialMatch 2021-07-19 13:45:24 +03:00
Yatsishin Ilya
cdc8f2f743 fix new test 2021-07-19 11:32:20 +03:00
Yatsishin Ilya
2ae7d72dc9 merge remote-tracking branch 'origin' into integration-6 2021-07-19 09:49:17 +03:00
Vitaly Baranov
1fc822b19d
Merge pull request #26465 from vitlibar/explicit-encryption-mode
Set encryption algorithm explicitly.
2021-07-19 09:38:02 +03:00
Maksim Kita
0be89e838d
Merge pull request #26475 from amosbird/fixaliascolumn
Fix column alias rewriting
2021-07-18 23:53:01 +03:00
Alexey Milovidov
348e8bf262 Fix test 2021-07-18 23:32:05 +03:00
Alexey Milovidov
ab9c50143a Fix tests 2021-07-18 23:28:18 +03:00
Kseniia Sumarokova
b0ddc4fb30
Merge pull request #26364 from kssenii/fixing-date32
Continuation of #25774
2021-07-18 21:44:45 +03:00
Alexey Milovidov
aeeea32eb1 Fix test 2021-07-18 20:01:21 +03:00
Alexey Milovidov
e26f66f51f Fix test 2021-07-18 18:32:34 +03:00
Alexey Milovidov
2fedbfdf65 Fix test 2021-07-18 18:30:59 +03:00
Amos Bird
d74aa64f6b
Fix column alias rewriting 2021-07-18 23:27:19 +08:00
Alexey Milovidov
009625b154 Fix tests 2021-07-18 18:18:55 +03:00
Alexey Milovidov
fb11e9de41 Fix test 2021-07-18 18:09:48 +03:00
Alexey Milovidov
fb6fe7a29d Whitespaces 2021-07-18 18:07:32 +03:00
Alexey Milovidov
4f8a82b844 Fix test 2021-07-18 18:05:42 +03:00
Alexey Milovidov
ad4c6a63e1 Fix and improve test 2021-07-18 18:04:32 +03:00
Alexey Milovidov
4587ddaeeb Fix test 2021-07-18 18:02:31 +03:00
Alexey Milovidov
eb134377b2 Fix tests 2021-07-18 18:01:16 +03:00
Alexey Milovidov
4a74cb7cef Fix tests 2021-07-18 17:58:14 +03:00
Alexey Milovidov
da14f2885d Fix test 2021-07-18 17:56:45 +03:00
Alexey Milovidov
8a92ddeb19 Fix test 2021-07-18 17:55:16 +03:00
alexey-milovidov
b52411a715
Merge pull request #12455 from amosbird/npc
Nullable primary key with correct KeyCondition
2021-07-18 17:52:20 +03:00
Alexey Milovidov
819d2e9cf7 Fix some tests 2021-07-18 12:16:35 +03:00
Caspian
591d583c5b support REPLACE GRANT NONE syntax 2021-07-18 16:58:48 +08:00
Vitaly Baranov
81ea8521b1 Set encryption algorithm explicitly. 2021-07-18 10:29:42 +03:00
kssenii
9cb10aae3c Some fixes 2021-07-18 03:43:08 +00:00
Alexey Milovidov
da94ed8a87 Merge branch 'master' into random_timezone_for_stateless_tests 2021-07-18 01:12:24 +03:00
alexey-milovidov
1d8aa729fd
Testflows (3rd party enterprise grade testing framework) is unreliable. 2021-07-18 01:07:21 +03:00
Alexey Milovidov
b7690e3fb4 Fix flaky test distributed_ddl_output_mode 2021-07-18 01:04:05 +03:00
alexey-milovidov
7dda0da027
Merge pull request #26461 from azat/integration-tests-fixes-v21.9.1.7477
Fix flaky test_replicated_mutations (due to lack of threads in pool)
2021-07-17 19:22:30 +03:00
alexey-milovidov
2316f42009
Merge pull request #26365 from Algunenano/set_index
Draft: Don't build set for indices when analyzing a query
2021-07-17 19:21:58 +03:00
BoloniniD
19b673fb3b Style fix for error message 2021-07-17 15:30:03 +03:00
BoloniniD
f0113a79d9 Fix for flaky tests, added temporary files for data and logs 2021-07-17 13:58:40 +03:00
Alexey Milovidov
abc77ad63a Fixup for #26131 2021-07-17 13:15:35 +03:00
alexey-milovidov
ecaf22149c
Merge pull request #26131 from fastio/estimates_for_select_query
Estimates for select query
2021-07-17 13:14:57 +03:00
Alexey Milovidov
f13ed405a2 Fix perf test 2021-07-17 13:11:50 +03:00
alexey-milovidov
917cdcd0bb
Merge pull request #26426 from vdimir/functions-coding-split-file
Split FunctionsCoding into several files
2021-07-17 13:01:50 +03:00
Azat Khuzhin
bb22615fad Fix flaky test_replicated_mutations (number_of_free_entries_in_pool_to_execute_mutation=0)
CI reports [1]:

    2021.07.16 09:09:21.040944 [ 172 ] {} <Debug> DiskLocal: Reserving 1.00 MiB on disk `default`, having unreserved 18.00 GiB.
    ...
    2021.07.16 09:09:21.041200 [ 28 ] {} <Debug> default.test_mutations (ReplicatedMergeTreeQueue): Not executing log entry queue-0000000288 of type MUTATE_PART for part 200201_3_3_0_16 because source parts size (217.00 B) is greater than the current maximum (0.00 B).
    2021.07.16 09:09:21.041529 [ 171 ] {} <Debug> DiskLocal: Reserving 1.00 MiB on disk `default`, having unreserved 18.00 GiB.
    2021.07.16 09:09:21.041838 [ 34 ] {} <Debug> default.test_mutations (ReplicatedMergeTreeQueue): Not executing log entry queue-0000000288 of type MUTATE_PART for part 200201_3_3_0_16 because source parts size (217.00 B) is greater than the current maximum (0.00 B).
    2021.07.16 09:09:21.042359 [ 34 ] {} <Debug> default.test_mutations (ReplicatedMergeTreeQueue): Not executing log entry queue-0000000290 of type MUTATE_PART for part 200201_12_12_0_16 because source parts size (237.00 B) is greater than the current maximum (0.00 B).

  [1]: https://clickhouse-test-reports.s3.yandex.net/26336/a3653bd665bd59c7c05b0fcd58ea2246e0b69915/integration_tests_(thread).html#fail1
2021-07-17 11:50:04 +03:00
BoloniniD
2e05063298 Merge branch 'master' of github.com:ClickHouse/ClickHouse into pipe_reading 2021-07-17 10:30:18 +03:00
alexey-milovidov
10f3500b3b
Merge pull request #26431 from azat/tests-fixes-v21.9.1.7477
Tests fixes v21.9.1.7477
2021-07-17 02:51:01 +03:00
mergify[bot]
89634ae224
Merge branch 'master' into estimates_for_select_query 2021-07-16 23:15:30 +00:00
alexey-milovidov
38dfe1fc0a
Merge pull request #26172 from ClickHouse/exception_id
Add error id to exceptions
2021-07-17 02:07:17 +03:00
alexey-milovidov
c9a917a163
Merge pull request #26282 from FArthur-cmd/adding-system-warnings-26039
Show warnings
2021-07-17 01:53:57 +03:00
alexey-milovidov
bc907bd27c
Merge pull request #26336 from azat/dist-per-table-monitor-settings
Add ability to set Distributed directory monitor settings via CREATE TABLE
2021-07-17 01:49:40 +03:00
alexey-milovidov
1701cc429d
Merge pull request #26353 from azat/optimize_distributed_group_by_sharding_key-fix
Fix optimize_distributed_group_by_sharding_key for multiple columns
2021-07-17 01:45:10 +03:00
alexey-milovidov
6f13eb49c1
Merge pull request #26320 from Algunenano/profile_sleep_calls
Add profile events for sleep function calls
2021-07-17 01:37:23 +03:00
alexey-milovidov
c373b86743
Merge pull request #26371 from CurtizJ/improve-perf-get-columns
Improve performance of getting list of columns
2021-07-17 01:34:15 +03:00
alexey-milovidov
375883fe51
Merge pull request #26366 from vzakaznikov/add_testflows_modules_after_kerberos_merge
Enabling all TestFlows modules except LDAP after Kerberos merge.
2021-07-17 01:30:48 +03:00
alexey-milovidov
f3a5d3227a
Merge pull request #26428 from ClickHouse/fix-msan-from-22517
Fix msan crash from 22517
2021-07-17 01:11:55 +03:00
alexey-milovidov
ccf9d2fd7f
Merge pull request #26425 from ClickHouse/fix-flaky-test-19
Relax condition in flaky test
2021-07-17 01:07:51 +03:00
Azat Khuzhin
41329a59e8 Fix 01455_shard_leaf_max_rows_bytes_to_read (set prefer_localhost_replica=0) 2021-07-16 23:15:30 +03:00
Azat Khuzhin
6d786f9734 Rewrite 01882_total_rows_approx using http interface w/o system.processes 2021-07-16 23:12:37 +03:00
Kseniia Sumarokova
e844cec16f
Merge branch 'master' into fix-hdfs-crash 2021-07-16 22:21:30 +03:00
Vitaly Baranov
958494b98e
Merge pull request #26377 from vitlibar/encrypted-disk-comments-and-improvements
Add comments for encrypted disks; some improvements in code.
2021-07-16 21:24:51 +03:00
Caspian
636dcb0e9c rename test files 2021-07-17 00:09:36 +08:00
Nikolai Kochetov
1c1cc22a06 Fix msan crash from #22517. 2021-07-16 17:22:26 +03:00
Alexey Milovidov
dc884de1a3 Relax condition in flaky test 2021-07-16 16:58:02 +03:00
Nikolai Kochetov
d996d0bae9 Fix incompatible result type for scalar queries with empty result. 2021-07-16 16:38:35 +03:00
mergify[bot]
126a2d7ad1
Merge branch 'master' into dist-per-table-monitor-settings 2021-07-16 13:32:40 +00:00
BoloniniD
fcbfa27f33 Merge branch 'master' of github.com:ClickHouse/ClickHouse into pipe_reading 2021-07-16 16:28:26 +03:00
Yatsishin Ilya
d11ec777c9 Merge remote-tracking branch 'origin' into integration-6 2021-07-16 16:28:02 +03:00
Yatsishin Ilya
e6b724ad3f postgres rework 2021-07-16 16:26:35 +03:00
Alexey Boykov
83e581244c add current_database in tests 2021-07-16 16:18:18 +03:00
vdimir
4cf2e33647
Use registerAlias for mysql comatibility of ntoa/aton functions 2021-07-16 16:18:06 +03:00
alexey-milovidov
181f20cfe1
Merge pull request #26368 from ianton-ru/fix_dns_exception
Catch Poco exception in resolveIPAddressImpl
2021-07-16 16:04:55 +03:00
Filatenkov Artur
848f595e97
Update 01526_client_start_and_exit.expect-not-a-test-case
fix no matching with reference
2021-07-16 14:59:39 +03:00
Alexey Boykov
8026ed5ee9 Adding query_id functions and tests 2021-07-16 14:47:17 +03:00
Artur
0373f2f6d0 correct expect files to avoid freezing 2021-07-16 09:57:28 +00:00
alexey-milovidov
72ed5e0dfb
Merge pull request #26031 from nvartolomei/nv/test-cte-distributed
Test CTE with aggregation over distributed table
2021-07-16 12:24:29 +03:00
alexey-milovidov
4103c22310
Merge pull request #26245 from arenadata/ADQM-322
Avro string for ClickHouse String
2021-07-16 12:23:50 +03:00
caspian
25d1d9c2b4 update tests 2021-07-16 17:05:57 +08:00
Vitaly Baranov
9cc258327e Add comments for encrypted disks; some improvements in code. 2021-07-16 12:04:25 +03:00
Anton Ivashkin
4dfd6ddcdb Catch Poco exception in resolveIPAddressImpl 2021-07-16 10:47:44 +03:00
BoloniniD
bab7681bc1 Fix test number and some fixes in reference 2021-07-16 10:22:37 +03:00
Vladimir
c8ead44c23
Merge pull request #26374 from vdimir/infinite-pmj-fix 2021-07-16 09:50:44 +03:00
Vitaly Baranov
427813071d
Merge pull request #26363 from vitlibar/fix-crash-login-as-dropped-user
Fix possible crash when login as dropped user
2021-07-16 09:47:35 +03:00
caspian
08101af4fd add tests 2021-07-16 11:21:50 +08:00
Azat Khuzhin
e2d8ba893a Fix 01460_DistributedFilesToInsert (correctly set dist table settings) 2021-07-16 04:10:47 +03:00
Azat Khuzhin
df5a26738d Fix 01040_distributed_directory_monitor_batch_inserts by properly set batch mode 2021-07-16 04:10:47 +03:00
alexey-milovidov
c03dd8d923
Merge pull request #26362 from ClickHouse/fix-integration-test-3
Fix flaky integration test about "replicated max parallel fetches".
2021-07-15 21:28:25 +03:00
vdimir
cf77a3e05a
Fix infine non joined block stream in merge join 2021-07-15 18:22:46 +03:00
Artur
de004d7afb wrong reference name 2021-07-15 15:13:23 +00:00
Artur
45d58d68c9 correcting interactive test 2021-07-15 14:37:44 +00:00
BoloniniD
f27e69a31f Merge branch 'master' of github.com:ClickHouse/ClickHouse into pipe_reading 2021-07-15 17:37:37 +03:00
Anton Popov
a2c493cd7f add perf test for table with many arrays 2021-07-15 17:02:48 +03:00
Raúl Marín
fa305b1a72 Tests should work with joined_subquery_requires_alias 2021-07-15 15:11:16 +02:00
Artur
c0a34e2842 Adding interactive test for warning messages during connection 2021-07-15 12:53:11 +00:00
Yatsishin Ilya
aa698f6c98 better 2021-07-15 15:49:52 +03:00
Yatsishin Ilya
be9a0a9ca2 better test_storage_s3, test_storage_s3_get_unstable still not OK 2021-07-15 15:49:25 +03:00
Yatsishin Ilya
51fcaa906c add sync for on cluster ddl 2021-07-15 15:48:09 +03:00
Alexey Milovidov
241bb3757a Remove "long" from test name 2021-07-15 15:37:33 +03:00
Alexey Milovidov
a2fa2543b7 Fix flaky test 01293_client_interactive_vertical_multiline_long 2021-07-15 15:36:42 +03:00
Raúl Marín
c2f0d7c514 Don't build set for indices when analyzing a query 2021-07-15 14:25:22 +02:00
Vitaliy Zakaznikov
91021aea18 Enabling all TestFlows modules except LDAP after Kerberos merge. 2021-07-15 08:14:59 -04:00
Raúl Marín
f92a2d3784 Drop view when done 2021-07-15 14:09:42 +02:00
Raúl Marín
757a210f92 Add profile events to sleep function calls 2021-07-15 14:09:42 +02:00
BoloniniD
5a15266d55 Replaced third test, fixed reference 2021-07-15 15:00:45 +03:00
kssenii
3ba2d114d5 Revert "Merge pull request #26352 from ClickHouse/revert-25774-datatype-date32"
This reverts commit 94a210650f, reversing
changes made to 0893b9ff8e.
2021-07-15 11:41:52 +00:00
Vitaly Baranov
c2bb0a02a8 Add test. 2021-07-15 14:36:56 +03:00
Alexey Milovidov
d984fc4301 Fix flaky integration test 2021-07-15 13:35:37 +03:00
Filatenkov Artur
29b1155c95
Merge pull request #26261 from SaintBacchus/toTimeZone
Make toTimeZone monotonicity when timeZone is a constant value
2021-07-15 13:02:35 +03:00
Vitaly Baranov
ec6b1ece24
Merge pull request #21659 from zvonand/kerberos_tests
Enabling Kerberos Testflows tests
2021-07-15 12:59:44 +03:00
vdimir
dd3e1a8a4d
Adjust exception message in test_replicated_fetches_timeouts 2021-07-15 11:58:21 +03:00
Peng Jian
63f2b9f342 fix test 2021-07-15 16:07:17 +08:00
zvonand
8bd805b2c2 xfails 2021-07-15 11:05:50 +03:00
alexey-milovidov
9ba4064c86
Revert "Datatype Date32, support range 1925 to 2283" 2021-07-15 10:53:35 +03:00
Peng Jian
9c4dbda0ef fix tast case reference 2021-07-15 14:25:05 +08:00
Azat Khuzhin
7b209694d5 Fix optimize_distributed_group_by_sharding_key for multiple columns
Before we incorrectly check that columns from GROUP BY was a subset of
columns from sharding key, while this is not right, consider the
following example:

    select k1, any(k2), sum(v) from remote('127.{1,2}', view(select 1 k1, 2 k2, 3 v), cityHash64(k1, k2)) group by k1

Here the columns from GROUP BY is a subset of columns from sharding key,
but the optimization cannot be applied, since there is no guarantee that
particular shard contains distinct values of k1.

So instead we should check that GROUP BY contains all columns that is
required for calculating sharding key expression, i.e.:

    select k1, k2, sum(v) from remote('127.{1,2}', view(select 1 k1, 2 k2, 3 v), cityHash64(k1, k2)) group by k1, k2
2021-07-15 09:09:58 +03:00
alexey-milovidov
21f2b006cd
Update test_cte_distributed.py 2021-07-15 08:17:22 +03:00
alexey-milovidov
0893b9ff8e
Merge pull request #26218 from amosbird/projection-improve1
Aggressive IN index analysis for projections.
2021-07-15 08:13:45 +03:00
alexey-milovidov
96030dc2d7
Merge pull request #26250 from vdimir/issue-26017-join-totals-key
Fix block structure mismatch in join totals
2021-07-15 08:03:37 +03:00
alexey-milovidov
59e6502a3b
Merge pull request #26329 from vzakaznikov/fix_testflows_rbac_sample_by_tests
Fixing RBAC sample by tests in TestFlows.
2021-07-15 08:01:33 +03:00
alexey-milovidov
3e1eecba89
Merge pull request #26326 from egatov/master
Modifications to an obscure Yandex TSKV format
2021-07-15 07:54:48 +03:00
Peng Jian
ac06ba3329 add test reference 2021-07-15 11:12:28 +08:00
万康
c8a9349a38 skip parallel test 2021-07-15 11:07:12 +08:00
huangzhaowei
d5e907ac8d Add a test case for monotonicity totimezone 2021-07-15 10:39:34 +08:00
Evgeniy Gatov
5a884da13c METR-41529 2021-07-15 00:57:18 +03:00
Raúl Marín
255fbe22a2 Drop view when done 2021-07-14 23:27:36 +02:00
kssenii
435f6d3d92 Update skip_list.json 2021-07-15 00:18:48 +03:00
kssenii
f20ea87bfb Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into add-sqlite-database-path-check 2021-07-14 20:49:05 +00:00
Kseniia Sumarokova
e42a26a585
Merge pull request #26234 from jasine/master
convert timestamp and  timestamptz data types to DateTime64 in postgres engine
2021-07-14 23:42:51 +03:00
alexey-milovidov
11a4b56f51
Merge pull request #26305 from ClickHouse/function_range_max_elements_in_block
Add a setting `function_range_max_elements_in_block`
2021-07-14 23:15:25 +03:00
kssenii
61652acede Add test 2021-07-14 22:49:16 +03:00
Vitaliy Zakaznikov
521916c203 Fixing RBAC sample by tests in TestFlows. 2021-07-14 15:40:04 -04:00
Raúl Marín
901e251d53 Add profile events to sleep function calls 2021-07-14 18:44:09 +02:00
Amos Bird
0558ecdc3f
Aggressive IN index analysis for projections. 2021-07-14 22:56:52 +08:00
Raúl Marín
59ec2bafbd Improve read_file_to_stringcolumn compatibility
If you don't go enough times back (../../) it might not reach /tmp/c.txt
2021-07-14 16:35:46 +02:00
Peng Jian
93b09c54fd add test case 2021-07-14 21:12:32 +08:00
Alexey Milovidov
9070cb53dd Disable Testflows RBAC test (unstable) 2021-07-14 15:51:07 +03:00
Peng Jian
eed01abf65 fix test case 2021-07-14 20:42:02 +08:00
vdimir
e2280aad18
Merge branch 'master' into exception_id 2021-07-14 14:50:50 +03:00
vdimir
55d12a497c
Adjust integration test to exception messages 2021-07-14 14:50:27 +03:00
Anton Popov
e2249bf1e5
Merge pull request #26256 from zxc111/issue-822
Check hash function at table creation
2021-07-14 14:16:02 +03:00
Kseniia Sumarokova
c339363929
Merge pull request #25918 from infinivision/zero_copy_hdfs
HDFS zero copy replication
2021-07-14 13:23:09 +03:00
vdimir
b49e37aa07
Rewrite join totals, fix block structure mismatch 2021-07-14 13:02:23 +03:00
BoloniniD
3be17d0639 Make multiple read test executable 2021-07-14 12:26:00 +03:00
Alexey Milovidov
acd6e4f0aa Add a test 2021-07-14 12:13:40 +03:00
Vladimir
c6177bd0cc
Merge pull request #26123 from vdimir/issue-25806-null-enum-to-str 2021-07-14 10:22:37 +03:00
zxc111
75393249bf fix test case 2021-07-14 11:53:09 +08:00
Zhichang Yu
fe5d17680e Merge remote-tracking branch 'origin/master' into zero_copy_hdfs 2021-07-14 02:12:28 +00:00
jasine
bd59ca22df
fix: style and MaterializedPostgreSQL test (#3)
fix: style and MaterializedPostgreSQL test (#3)
2021-07-14 08:51:14 +08:00
alexey-milovidov
c01497a80a
Merge pull request #26028 from nvartolomei/nv/aggregate-alias-column
Add test case for aggregation w/ alias columns
2021-07-14 03:30:14 +03:00
kssenii
b393603b57 Fix build 2021-07-13 22:25:26 +00:00
Nikita Mikhaylov
46eb563e79 update arcadia skip list 2021-07-13 20:19:06 +00:00
kssenii
3242a8a86a Update test 2021-07-13 19:06:08 +00:00
Alexander Tokmakov
590615df66 fix 2021-07-13 22:01:43 +03:00
Artur
3b61682265 add new config to skip warnings 2021-07-13 17:50:48 +00:00
Alexander Tokmakov
f0ed6be269 Merge branch 'master' into system_zookeeper_log 2021-07-13 20:49:37 +03:00
Nikita Mikhaylov
208ef7a2d2
Merge pull request #24980 from Andr0901/s2-library
Integration of S2 library
2021-07-13 20:10:57 +03:00
Nikita Mikhaylov
f8b4b3e81b
Merge pull request #25595 from ClickHouse/revert-25593-revert-24867-ncb/h3-indexing-funcs
Implement h3ToGeo function [2]
2021-07-13 20:08:17 +03:00
Maksim Kita
3d05f07ece
Merge pull request #25917 from excitoon-favorites/defaultblocksizeprediction
Using required columns for block size prediction
2021-07-13 20:05:41 +03:00
Ilya Golshtein
969458f043 Avro string for ClickHouse string minor fixes 2021-07-13 20:03:01 +03:00
Ilya Golshtein
020cce63b0 Avro string for ClickHouse string tests and doc 2021-07-13 20:03:00 +03:00
Vitaly Baranov
3c395389b0
Merge pull request #24206 from alexelex/alexelex-encryption-1
Data encryption on VFS level
2021-07-13 19:50:25 +03:00
zxc111
e0497e9549 fix test case 2021-07-14 00:36:21 +08:00
mergify[bot]
d5898ecba6
Merge branch 'master' into fix_no_column_materialized_mysql 2021-07-13 14:03:05 +00:00
BoloniniD
f33f931aff Some changes after test review 2021-07-13 16:49:29 +03:00
Nikita Mikhaylov
c255f152aa
Merge pull request #26051 from ClickHouse/fix_21184
Fix sequence_id in MySQL protocol
2021-07-13 16:03:25 +03:00
kssenii
f86817d57c Check inclusion inside user_files 2021-07-13 12:38:37 +00:00
Nikita Mikhaylov
cac2aa9699 Revert "Revert "Implement h3ToGeo function"" 2021-07-13 12:10:21 +00:00
zxc111
b958bc07e1 fix hash function for sampling is not unsigned integer 2021-07-13 19:31:32 +08:00
BoloniniD
4772840a94
File format parameter fix
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2021-07-13 14:08:51 +03:00
vdimir
f94b1419f2
Add testcase to 01107_join_right_table_totals 2021-07-13 14:07:06 +03:00
Nikita Mikhaylov
927706da1f fix arcadia 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
9cd29f359f fix test 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
1b4f60a0f6 fix fuzzer 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
fa816ab19c fix fuzzer 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
fbf529411b fix tests 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
7ebd678508 update arcadia_skip 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
8062b492c5 added tests to skip list 2021-07-13 10:51:08 +00:00
Nikita Mikhaylov
67fecc55a9 add tests 2021-07-13 10:50:39 +00:00
Nikita Mikhaylov
0be0fc810b fix tests 2021-07-13 10:50:39 +00:00
Nikita Mikhaylov
356c11bb25 fix tests 2021-07-13 10:50:38 +00:00
Andr0901
f78480507e some fixes 2021-07-13 10:50:12 +00:00
Andr0901
fe075f407e add some cap and rect functions 2021-07-13 10:49:55 +00:00
Andr0901
4d75450e54 add tests 2021-07-13 10:49:55 +00:00
alexey-milovidov
b4741ed2fe
Merge pull request #23140 from amosbird/fixrandomoneshardinsert
Fix misbehaviors when insert_distributed_one_random_shard = 1
2021-07-13 11:47:53 +03:00
alexey-milovidov
af7ecb7f7a
Merge pull request #25798 from azat/optimize_skip_unused_shards_rewrite_in-types-fix
Fix optimize_skip_unused_shards_rewrite_in for non-UInt64 types
2021-07-13 11:40:59 +03:00
alexey-milovidov
101ee12f18
Merge pull request #26038 from amosbird/projection-fix11
Fix normal projection with prewhere
2021-07-13 11:40:08 +03:00
alexey-milovidov
2dafd9d4a8
Update test_select_aggregate_alias_column.py 2021-07-13 11:39:15 +03:00
Vitaly Baranov
e086e5e384
Merge branch 'master' into alexelex-encryption-1 2021-07-13 11:28:41 +03:00
jasine
9832c48c33
fix postgres test and array of DateTime64 (#1)
fix postgres test and array of DateTime64
2021-07-13 15:28:15 +08:00