Commit Graph

10154 Commits

Author SHA1 Message Date
l1tsolaiki
9f05b387e5 Add colons 2021-07-04 22:33:13 +03:00
l1tsolaiki
a48f500956 Add tests with multiple rows 2021-07-04 22:28:05 +03:00
Vitaly Baranov
618a77fafa Improve logging in integration tests. 2021-07-04 22:24:54 +03:00
alexey-milovidov
3f5ef4afe0
Update 01936_empty_function_support_uuid.sql 2021-07-04 22:14:22 +03:00
Maksim Kita
62b88fda73
Merge pull request #25900 from kssenii/json-extract
Support LowCardinality, Decimal and uuid for json extract
2021-07-04 22:04:21 +03:00
Azat Khuzhin
7e17290acd Fix sharding_key from column w/o function for remote()
P.S. that code looks redundant, and I'm not even sure that it was
required when it was first added in
325cc47ca5.
2021-07-04 21:23:30 +03:00
feng lv
e73a908dd3 fix test
fix style
2021-07-04 16:45:04 +00:00
Kseniia Sumarokova
8351f1db99
Merge pull request #20470 from kssenii/pg-ch-replica
MaterializePostgreSQL table engine and database engine
2021-07-04 19:34:54 +03:00
alesapin
cf2fc94d9d
Merge pull request #25820 from ClickHouse/better_remove_empty_parts
Replace lost parts with empty parts instead of hacking replication queue
2021-07-04 18:55:49 +03:00
zxc111
a51067e7ff update 01936_empty_function_support_uuid 2021-07-04 23:25:51 +08:00
alexey-milovidov
91aa1e6c7b
Update 01936_empty_function_support_uuid.sql 2021-07-04 18:13:20 +03:00
zxc111
faa174c6c4 Add test for function empty support uuid 2021-07-04 22:55:10 +08:00
l1tsolaiki
ae5cb2c8bf Fix test (empty string) 2021-07-04 13:44:47 +03:00
kssenii
c060963875 Better 2021-07-04 13:33:10 +03:00
l1tsolaiki
520c4a8f8a Fix according to review 2021-07-04 12:10:16 +03:00
kssenii
b39888f199 Do not allow inconsistency in publication 2021-07-04 08:54:41 +00:00
Kseniia Sumarokova
9b4d35ef95
Merge pull request #25940 from kssenii/move-to-prewhere-if-final
Add setting optimize_move_to_prewhere_if_final
2021-07-04 11:33:24 +03:00
Kseniia Sumarokova
705e839390
Merge branch 'master' into inconsisteny 2021-07-04 02:29:56 +03:00
mergify[bot]
6901fc7c7d
Merge branch 'master' into drop-race 2021-07-03 23:27:25 +00:00
kssenii
92eed10f10 Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-extract 2021-07-04 02:24:22 +03:00
alexey-milovidov
916177a197
Merge branch 'master' into dev-map-bug 2021-07-04 02:03:43 +03:00
Alexey Milovidov
1960c717ed A couple of tests 2021-07-04 01:59:28 +03:00
kssenii
8a8e72b77f Update .reference 2021-07-03 18:44:17 +00:00
mergify[bot]
52366c4303
Merge branch 'master' into move-to-prewhere-if-final 2021-07-03 16:07:09 +00:00
Alexey Milovidov
127455f15f Remove experimental ANTLR parser 2021-07-03 18:48:03 +03:00
Alexey Milovidov
313117c7d8 Skip ANTLR test 2021-07-03 18:28:42 +03:00
alexey-milovidov
51bf60a938
Merge pull request #17769 from xjewer/alex/remove_engine_setting
CLICKHOUSE-784: reset merge tree setting
2021-07-03 18:27:15 +03:00
alexey-milovidov
1dda771864
Merge pull request #25554 from CurtizJ/fix-alter-ttl-column
Fix `ALTER MODIFY COLUMN` of columns, which participates in TTL expressions
2021-07-03 18:26:37 +03:00
mergify[bot]
9da1c98998
Merge branch 'master' into fix_aggregation_ttl 2021-07-03 15:07:44 +00:00
mergify[bot]
a2183dff39
Merge branch 'master' into better_remove_empty_parts 2021-07-03 15:01:11 +00:00
kssenii
a0623ddb08 Correct test 2021-07-03 13:35:11 +00:00
mergify[bot]
a318ed966a
Merge branch 'master' into inconsisteny 2021-07-03 11:58:09 +00:00
Maksim Kita
c584312c57
Merge pull request #25924 from ClickHouse/joins-idiotic
Partially fix idiotic code in JOINs
2021-07-03 14:55:26 +03:00
Maksim Kita
f238d98fd0
Merge pull request #25923 from ClickHouse/nested-chinese
Add support for Chinese components in `Nested` data types
2021-07-03 14:51:37 +03:00
kssenii
0ce4c565d1 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica 2021-07-03 11:48:15 +00:00
kssenii
a9a91a4f15 Setting move to prewhere if final 2021-07-03 11:37:50 +00:00
kssenii
02681019f8 Fix 2021-07-03 08:48:42 +00:00
kssenii
1776b06ef8 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into inconsisteny 2021-07-03 08:43:35 +00:00
alexey-milovidov
7e0433bf07
Merge pull request #25904 from xjewer/alex/add_index_first
CLICKHOUSE-1194: add skipping index to the beginning of the list
2021-07-03 04:55:00 +03:00
Alexey Milovidov
acd1342df8 Skip test for ANTLR #25904 2021-07-03 04:54:43 +03:00
alexey-milovidov
ca063c3a70
Merge pull request #25913 from vitlibar/fix-crash-on-dictget-with-bad-argument
Fix crash on call dictGet() with bad arguments.
2021-07-03 04:53:23 +03:00
Alexey Milovidov
b20c0e2674 Partially fix idiotic code in JOINs 2021-07-03 03:23:14 +03:00
Alexey Milovidov
b26feb2b19 Add support for Chinese components in Nested data types 2021-07-03 03:13:21 +03:00
mergify[bot]
02cb287dc9
Merge branch 'master' into fix-alter-ttl-column 2021-07-02 23:49:46 +00:00
mergify[bot]
7aaed42035
Merge branch 'master' into jsonextractrawstring 2021-07-02 23:13:00 +00:00
Alexey Milovidov
132edc9e22 Allow quantiles* functions to work with aggregate_functions_null_for_empty 2021-07-02 22:47:43 +03:00
zxc111
ace487278f refactory hex/unhex/bin/unbin 2021-07-03 02:08:17 +08:00
Maksim Kita
f16e8c3a4b
Merge pull request #25909 from ClickHouse/invalid-date
Correctly throw exception on attempt to parse invalid Date
2021-07-02 20:54:50 +03:00
zxc111
12aea188b0 add bin/unbin support 2021-07-02 23:13:47 +08:00
feng lv
b0dffa3f3e Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into merge 2021-07-02 13:19:38 +00:00
Maksim Kita
48e325502e
Merge pull request #25907 from ClickHouse/null-valid-identifier
Add support for queries with `null` quoted identifier and ON CLUSTER
2021-07-02 15:36:35 +03:00
Vitaly Baranov
8b4fabe60c Fix crash on call dictGet() with bad arguments. 2021-07-02 14:46:12 +03:00
Maksim Kita
e4a0e831f0
Update skip_list.json 2021-07-02 14:08:11 +03:00
Ilya Yatsishin
523155a020
Merge pull request #25908 from arenadata/ADQM-320 2021-07-02 13:25:22 +03:00
Maksim Kita
aec313cf4f
Merge branch 'master' into null-valid-identifier 2021-07-02 12:33:04 +03:00
Maksim Kita
9169a4cbb0
Merge pull request #25910 from ClickHouse/aggregate-function-constexpr-parameters
Allow constexpr parameters for aggregate functions
2021-07-02 12:32:24 +03:00
Maksim Kita
58f6c60904
Merge pull request #25602 from ClickHouse/fix-receive-time-metric
Make network receive time metric to correctly include the time spent waiting for data from the client to INSERT
2021-07-02 11:25:36 +03:00
Maksim Kita
55889eacf5 Add test to ANTLR skip list 2021-07-02 11:24:45 +03:00
Maksim Kita
3ae1278391 Fixed tests 2021-07-02 11:22:30 +03:00
feng lv
e25bf4de6d Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into merge 2021-07-02 03:19:39 +00:00
feng lv
3789e23dc9 fix
update

fix
2021-07-02 02:50:55 +00:00
alexey-milovidov
e4cb2b4a84
Merge pull request #25888 from azat/replxx-convert-history-file
Convert history file from readline format to replxx format
2021-07-02 04:30:05 +03:00
Alexey Milovidov
b8a0b4caf4 One more test 2021-07-02 03:57:46 +03:00
Alexey Milovidov
0e621788c7 Allow constexpr parameters for aggregate functions 2021-07-02 03:53:08 +03:00
Alexey Milovidov
b33d91412d Correctly throw exception on invalid dates 2021-07-02 03:07:23 +03:00
Ilya Golshtein
63c71a7b4b kerberized HDFS test fix if run in parallel 2021-07-02 02:12:31 +03:00
Alexey Milovidov
e6f0997924 Remove Arcadia 2021-07-02 02:01:52 +03:00
Alexey Milovidov
2866d45681 Add support for queries with null quoted identifier and ON CLUSTER 2021-07-02 02:01:13 +03:00
alexey-milovidov
919cc10a3c
Merge pull request #25823 from azat/integration-tests-fixes
tests/integration: use iptables --wait
2021-07-02 00:58:33 +03:00
mergify[bot]
892c67891a
Merge branch 'master' into fix-receive-time-metric 2021-07-01 21:40:09 +00:00
alexey-milovidov
531e48afa3
Update 01923_network_receive_time_metric_insert.sh 2021-07-02 00:39:41 +03:00
Maksim Kita
97e1ddbe94 Fix before merge 2021-07-01 22:56:36 +03:00
Maksim Kita
325b54f623 Aggregator compile only part of aggregate functions 2021-07-01 22:56:36 +03:00
Maksim Kita
92a36e38f1 AggregateFunctionAvgWeighted fix accuracy 2021-07-01 22:56:36 +03:00
Maksim Kita
22491c8adc Compile AggregateFunctionCount 2021-07-01 22:56:36 +03:00
Maksim Kita
fdf172a61e Fixed tests 2021-07-01 22:56:36 +03:00
Maksim Kita
246ba45082 Added hits_100m_single benchmark 2021-07-01 22:56:36 +03:00
Maksim Kita
61a5c4f493 Fix min, max aggregate functions merge 2021-07-01 22:56:36 +03:00
Maksim Kita
0c395bc1ef Added performance tests 2021-07-01 22:56:36 +03:00
Maksim Kita
e67198c144 Compile AggregateFunctionIfNull 2021-07-01 22:56:36 +03:00
Maksim Kita
507d9405e2 Compile AggregateFunctionAvgWeighted 2021-07-01 22:56:36 +03:00
Maksim Kita
56c1a4e447 Added tests 2021-07-01 22:56:36 +03:00
Aleksei Semiglazov
9a5365fc41
CLICKHOUSE-784: reset merge tree setting
Add an ability to reset custom setting to default and remove it from table's metadata.
This will allow to rollback the change without knowing the system/config's default.

Signed-off-by: Aleksei Semiglazov <asemiglazov@cloudflare.com>
2021-07-01 20:09:54 +01:00
Aleksei Semiglazov
f47e1ff102
CLICKHOUSE-1194: add skipping index to the beginning of the list
add the FIRST keyword to the ADD INDEX command to be able to add index in the beginning of the list.

Signed-off-by: Aleksei Semiglazov <asemiglazov@cloudflare.com>
2021-07-01 19:37:48 +01:00
Kruglov Pavel
e23cf79338
Merge pull request #25596 from ildus/map_add_for_maps
Support Map type in mapAdd and mapSubtract
2021-07-01 21:08:07 +03:00
kssenii
4d4ba4b5b1 More types for json functions 2021-07-01 16:46:34 +00:00
feng lv
9ad405cae8 update
update

fix test

fix test
2021-07-01 15:19:36 +00:00
feng lv
fe22563465 fix conflict 2021-07-01 13:09:33 +00:00
mergify[bot]
98fa9f7951
Merge branch 'master' into better_remove_empty_parts 2021-07-01 11:32:43 +00:00
Kruglov Pavel
0b032e852d
Merge pull request #25874 from Avogar/fix-arrow-test
Fix typo in the test 00900_orc_arrow_parquet_maps
2021-07-01 12:25:31 +03:00
kssenii
4ad0f45f0e Some more tests 2021-07-01 08:35:28 +00:00
kssenii
f01c8edbff Fix access to tables after restart 2021-07-01 07:33:58 +00:00
alexey-milovidov
cae19ca36e
Merge pull request #25559 from MyroTk/tfs_bigdatatypes_fix
Testflows - Extended Precision Data Type Tests - Minor syntax update.
2021-07-01 02:59:19 +03:00
Azat Khuzhin
626f47e044 Convert history file from readline format to replxx format
replxx requires each history line to prepended with time line:

    ### YYYY-MM-DD HH:MM:SS.SSS
    select 1

And w/o those service lines it will load all lines from history file as
one history line for suggestion. And if there are lots of lines in file it
will take lots of time (getline() + tons of reallocations).
2021-06-30 22:06:16 +03:00
Azat Khuzhin
1b513556cf Mark 01442_merge_detach_attach as long 2021-06-30 21:12:18 +03:00
Kseniia Sumarokova
360f772762
Merge pull request #25795 from sand6255/MySQL-column-comments-support
MySQL Engine column comments support
2021-06-30 20:18:47 +03:00
Kseniia Sumarokova
ed687f45a1
Merge branch 'master' into truncate 2021-06-30 20:08:42 +03:00
Pavel Kruglov
e7888bd707 Fix test 00900_orc_arrow_parquet_maps 2021-06-30 17:18:39 +03:00
Vitaly Baranov
27bc0caf53
Merge pull request #25861 from vitlibar/correct-messages-in-integration-tests
Correct messages in integration tests.
2021-06-30 14:45:02 +03:00
Vitaly Baranov
92ace627d2 Correct messages in integration tests. 2021-06-30 14:16:37 +03:00
alesapin
19aeb14dfd Small tuning in test 2021-06-30 12:39:09 +03:00
alesapin
b33391f4ec
Merge pull request #25816 from vitlibar/collect-stderr-in-integration-tests
Collect stderr.log and stdout.log in all integration tests by default.
2021-06-30 12:16:49 +03:00
mergify[bot]
1799804243
Merge branch 'master' into fix_aggregation_ttl 2021-06-30 09:15:46 +00:00
mergify[bot]
8182b6e890
Merge branch 'master' into better_remove_empty_parts 2021-06-30 08:42:26 +00:00
Maksim Kita
3ebe43583f
Merge pull request #25831 from ClickHouse/add-test-25611
Add a test for #25611
2021-06-30 11:04:17 +03:00
Maksim Kita
1e9e073b0a
Merge pull request #25618 from vdimir/slow-dict-join-fix
Fix unnecessary dictionary re-reads in KeyGetterForDict
2021-06-30 10:54:48 +03:00
Kseniia Sumarokova
2f38b25ba6
Merge pull request #25834 from kssenii/fix-test
Fix odbc test
2021-06-30 10:29:42 +03:00
Storozhuk Kostiantyn
a279cf721d
Update test.py 2021-06-30 10:03:03 +03:00
kssenii
da70f85d4e More tests 2021-06-29 23:11:46 +00:00
kssenii
9d5847a1a8 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica 2021-06-29 21:30:31 +00:00
alexey-milovidov
3a10c29319
Update 01923_network_receive_time_metric_insert.sh 2021-06-30 00:24:26 +03:00
kssenii
a8067fb3dd Update test 2021-06-29 20:29:21 +00:00
Alexey Milovidov
ccd2f915af Add a test for #25611 2021-06-29 23:15:03 +03:00
alexey-milovidov
3b5468d4a4
Merge pull request #25810 from ClickHouse/fix_version_update
Better test_version_update_after_mutation
2021-06-29 23:11:57 +03:00
kssenii
94a4c7ff85 Update ANTLR skip list 2021-06-29 19:56:05 +00:00
alesapin
a6834213a1 Add tests 2021-06-29 22:47:54 +03:00
Azat Khuzhin
283ec54cbe tests/integration: use iptables --wait
Since integration tests runs in parallel, this should fix:

  test_keeper_persistent_log_multinode/test.py::test_restart_multinode Another app is currently holding the xtables lock. Perhaps you want to use the -w option?

And similar errors.
2021-06-29 21:07:39 +03:00
Maksim Kita
4bb3fd53f7
Merge pull request #24129 from kitaisreal/date-time-timezone-fix
Date time timezone fix
2021-06-29 20:13:37 +03:00
kssenii
40c51889a7 Update test 2021-06-29 16:05:53 +00:00
MyroTk
4afb4f97dd Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into tfs_bigdatatypes_fix 2021-06-29 17:54:33 +02:00
kssenii
6816e8c5aa Revert change, fix injectiveness 2021-06-29 14:55:29 +00:00
Vitaly Baranov
3a3cbeb7aa Collect stderr.log and stdout.log in all integration tests by default. 2021-06-29 17:30:47 +03:00
Kostiantyn Storozhuk
a9fad56b7a Flaky test fixed 2021-06-29 18:07:18 +08:00
alesapin
cdc95fa98a
Merge pull request #25428 from ClickHouse/zookeeper_snapshots
Tool for conversion of ZooKeeper data into clickhouse-keeper snapshot
2021-06-29 12:58:45 +03:00
alesapin
44f1a96ad6 Better test_version_update_after_mutation 2021-06-29 12:49:40 +03:00
kssenii
e49930fde3 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into inconsisteny 2021-06-29 09:14:12 +00:00
Maksim Kita
41620a5661 Fixed tests 2021-06-29 11:05:07 +03:00
Kostiantyn Storozhuk
a9510f25f9 Style fix 2021-06-29 15:22:08 +08:00
alexey-milovidov
5b21ca72ac
Merge pull request #25801 from azat/storage-merge-no-col-fix
Fix "No available columns" for Merge() storage
2021-06-29 04:23:52 +03:00
alexey-milovidov
878a159538
Merge pull request #25773 from ClickHouse/system-query-log-map-type-merge
Merging #23934
2021-06-29 04:19:53 +03:00
alexey-milovidov
3f6fe26e9a
Merge pull request #25731 from azat/fix-test
Fix 01641_memory_tracking_insert_optimize
2021-06-29 02:12:49 +03:00
Maksim Kita
60530b4dae Fixed tests 2021-06-29 00:54:22 +03:00
Azat Khuzhin
15a14d6da2 Fix "No available columns" for Merge() storage 2021-06-29 00:39:38 +03:00
Kseniia Sumarokova
d9c46003cb
Merge pull request #25781 from sand6255/MaterializeMySQL-Engine-column-comments-improvement
MaterializeMySQL: Improved column comments support
2021-06-28 21:57:24 +03:00
Maksim Kita
764380f701 Updated tests 2021-06-28 19:56:15 +03:00
Kseniia Sumarokova
9d02af7d8b
Merge pull request #25676 from sand6255/MaterializeMySQL-Support-Enum-Data-Type
MaterializeMySQL: support ENUM data type
2021-06-28 19:15:00 +03:00
Kostiantyn Storozhuk
c2c78929cb Implemented MySQL column comments support 2021-06-28 22:44:38 +08:00
alesapin
f90cfae368
Merge pull request #25619 from vitlibar/new-tests-for-select-privilege
Add tests for checking access rights for SELECT.
2021-06-28 17:23:16 +03:00
mergify[bot]
04814114e7
Merge branch 'master' into zookeeper_snapshots 2021-06-28 14:17:32 +00:00
kssenii
48d21bb03b Fix inconsistency 2021-06-28 13:20:23 +00:00
Anton Popov
03507f548e
Merge branch 'master' into storage-merge-aliases 2021-06-28 16:03:10 +03:00
Maksim Kita
3f1bfb17ae Fix ANTRL merge_prewhere_table test 2021-06-28 14:44:59 +03:00
Maksim Kita
352e1f27ff Update using Map datatyle in system log tables before merge 2021-06-28 14:42:21 +03:00
alexey-milovidov
05f4bb45a5
Merge pull request #25756 from kssenii/rabbit-test
Try fix flacky rabbitmq test
2021-06-28 14:27:07 +03:00
alesapin
b11254d191
Merge branch 'master' into fix_aggregation_ttl 2021-06-28 13:31:29 +03:00
Zijie Lu
f20a1f708b Merge branch 'master' into support-distinct-on 2021-06-28 16:38:29 +08:00
alesapin
7e73762b48 Fix flaky test and wrong message 2021-06-28 11:28:45 +03:00
Maksim Kita
294b937a39
Merge branch 'system-query-log-map-type-merge' into system-querylog-map-continue 2021-06-28 11:27:59 +03:00
alesapin
1b56b0a020 Fix flaky test 2021-06-28 11:10:38 +03:00
Azat Khuzhin
11900c3238 Fix 01641_memory_tracking_insert_optimize
- Reverts #23617
- Apply changes from #23617
- Change repeat(10) to repeat(40) (memory tracking is different w/o
  jemalloc (w/o nallocx()) , i.e. sanitizers, so increase memory usage a
  little to make it fail under sanitizers)
- Unmark 01641_memory_tracking_insert_optimize_long as long
- Update skip list for 01641_memory_tracking_insert_optimize
2021-06-28 10:52:24 +03:00