Commit Graph

10792 Commits

Author SHA1 Message Date
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
Anton Popov
19d0f1bbfc Merge remote-tracking branch 'upstream/master' into HEAD 2021-07-13 16:12:08 +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
Zhichang Yu
a9028dbd7d try fix test_replicated_merge_tree_hdfs_zero_copy/test.py failures under tsan 2021-07-13 07:20:23 +00:00
Zhichang Yu
b4e6689bf9 fix test_hdfs_zero_copy_replication_move[tiered_copy-2] 2021-07-13 07:20:23 +00:00
Zhichang Yu
5047c758f4 fix per review 2021-07-13 07:20:20 +00:00
Zhichang Yu
fbd5eee8a1 hdfs zero copy 2021-07-13 07:19:12 +00:00
vdimir
c938a53e88
Fixes for FunctionConversion implementation for nulls 2021-07-13 09:48:05 +03:00
vdimir
7c4c2b29c2
Do not throw exception for unexpected values in enum during to string conversion 2021-07-13 09:48:04 +03:00
Kseniia Sumarokova
a24d2c1faf
Merge pull request #24194 from g-arslan/add-sqlite-support
SQLite integration
2021-07-13 09:28:13 +03:00
alexey-milovidov
cf95804c79
Merge pull request #26217 from amosbird/globalinfix
Proper GLOBAL IN function rewrite.
2021-07-13 04:57:54 +03:00
alexey-milovidov
4b1e38eed9
Merge branch 'master' into projection-fix11 2021-07-13 04:52:15 +03:00
alexey-milovidov
4183f3164a
Merge branch 'master' into fixrandomoneshardinsert 2021-07-13 04:46:40 +03:00
alexey-milovidov
f5f9e35331
Merge pull request #26241 from evillique/column_size
Add column sizes for `Log` and `TinyLog` tables
2021-07-13 03:54:03 +03:00
alexey-milovidov
d28b143c49
Merge pull request #26246 from FArthur-cmd/adding-system-warnings-26039
Adding system warnings 26039
2021-07-13 03:44:53 +03:00
alexey-milovidov
60b87a57c7
Merge pull request #26257 from ClickHouse/CurtizJ-patch-3
Fix output of TSV in integration tests
2021-07-13 02:53:10 +03:00
alexey-milovidov
5295f7ebb2
Merge pull request #26235 from ClickHouse/check-non-deterministic-functions-in-keys
Check for non-deterministic functions in keys, including constant expressions
2021-07-13 02:46:44 +03:00
kssenii
976f4dffda Add table function sqlite, fix type conversions 2021-07-12 21:09:23 +00:00
Nikolay Degterinsky
8d2da5933c Minor fixes 2021-07-12 19:04:53 +00:00
Kseniia Sumarokova
4a6b4d6c26
Merge pull request #25774 from liuneng1994/datatype-date32
Datatype Date32, support range 1925 to 2283
2021-07-12 20:33:39 +03:00
Anton Popov
313cd0077d
Fix output of TSV in integration tests 2021-07-12 20:23:19 +03:00
zxc111
e0261866a4 add settings && add test case 2021-07-13 01:15:35 +08:00
Artur
984db516b3 correcting input commands format 2021-07-12 16:17:39 +00:00
万康
60f556be2d add default_database to user 2021-07-12 22:35:07 +08:00
Nikolay Degterinsky
f0ddbb1ca5 Add functional test 2021-07-12 13:41:10 +00:00
Artur
14881c3b8a Improve tests 2021-07-12 13:00:23 +00:00
zvonand
4de07ff273 upd 2021-07-12 15:39:17 +03:00
Artur
278099e663 correct code style 2021-07-12 12:21:18 +00:00
Artur
66178b1db1 expect remark 2021-07-12 11:02:06 +00:00
Artur
1e90287e9a Adding tests for system.warnings 2021-07-12 10:57:39 +00:00
Yatsishin Ilya
a4a960328e Merge remote-tracking branch 'origin' into integration-6 2021-07-12 11:34:23 +03:00
Yatsishin Ilya
143368d8d6 wip 2021-07-12 11:32:20 +03:00
kssenii
aecb344baa Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into g-arslan-add-sqlite-support 2021-07-12 07:55:39 +00:00
kssenii
068d85aa8b Fix Nulls usage 2021-07-12 07:53:52 +00:00
Alexey Milovidov
48cbd93dcb Add a test 2021-07-12 09:48:52 +03:00
Alexey Milovidov
57b5c0e1e5 Adjust integration tests 2021-07-12 08:59:01 +03:00
Alexey Milovidov
028f075e14 Update tests 2021-07-12 03:18:22 +03:00
alexey-milovidov
e0c095397d
Update test_select_aggregate_alias_column.py 2021-07-12 00:36:27 +03:00
kssenii
bf7bd39bf2 Change file + dir permissions in test 2021-07-11 21:35:29 +00:00
kssenii
d6967dbd2b Update test 2021-07-11 19:10:52 +00:00
Maksim Kita
82650a878f
Merge pull request #26161 from kitaisreal/compile-aggregate-functions-bitwise
Compile AggregateFunctionBitwise
2021-07-11 20:06:47 +03:00
Amos Bird
bed76e88bc
Disable table functions for GLOBAL IN 2021-07-11 19:52:24 +08:00
Amos Bird
7c6c1234f8
Proper GLOBAL IN function rewrite. 2021-07-11 14:21:57 +08:00
Alexey Milovidov
9c0097cd9b Review fixes 2021-07-11 02:14:03 +03:00
Alexey Milovidov
78cde85ea8 Merge branch 'master' into estimates_for_select_query 2021-07-11 02:11:16 +03:00
zvonand
9ce1b349b1 updated xfails 2021-07-10 19:56:36 +03:00
alexey-milovidov
6f81482a94
Merge pull request #26179 from ClickHouse/untuple-transformers-msan
Added failing test #24404
2021-07-10 19:17:36 +03:00
alexey-milovidov
f95cd5b1e4
Merge pull request #26180 from ClickHouse/azat-subdomains
Merging #26041.
2021-07-10 19:16:01 +03:00
zvonand
75270b8a60 kerberos and example left 2021-07-10 17:14:51 +03:00
zvonand
b630376ba1 only kerberos left 2021-07-10 17:14:36 +03:00
Maksim Kita
36de61c6d0 Fixed performance test 2021-07-10 16:37:32 +03:00
kssenii
ded4556942 More tests 2021-07-10 12:47:44 +00:00
kssenii
18c2abaaf9 Fix database engine attach, more tests 2021-07-10 10:31:21 +00:00
alexey-milovidov
a958a8c6ff
Merge pull request #25824 from azat/remote-sharding-key-column-fix
Fix sharding_key from column w/o function for remote()
2021-07-10 11:33:02 +03:00
Alexey Milovidov
e09467fd5a Merge with #26041 2021-07-10 11:29:54 +03:00
Alexey Milovidov
e95d67b8e2 Update tests after removing harmful code 2021-07-10 10:29:30 +03:00
Alexey Milovidov
efbc308739 Remove harmful code and fix crash 2021-07-10 10:27:48 +03:00
Alexey Milovidov
4ed170a652 Added failing test #24404 2021-07-10 10:14:21 +03:00
alexey-milovidov
7a1a184c48
Merge pull request #24404 from nvartolomei/nv/config-in-place-include
Support for multiple includes in XML based configuration
2021-07-10 10:10:18 +03:00
kssenii
40281f9283 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into g-arslan-add-sqlite-support 2021-07-10 06:50:46 +00:00
alexey-milovidov
15069bf1ba
Merge pull request #21543 from hexiaoting/dev-map-bug
Add DataTypeMap support LowCardinality and FixedString type
2021-07-10 05:54:59 +03:00
Maksim Kita
dc81ae7c6e Compile AggregateFunctionBitwise 2021-07-10 01:51:34 +03:00
Alexander Tokmakov
ca45054de5 add enums 2021-07-10 00:18:20 +03:00
Maksim Kita
f48c5af90c
Merge pull request #26118 from vdimir/issue-25993-join-get-lc
Do not use default impl for low cardinality for joinGet
2021-07-09 23:45:55 +03:00
alexey-milovidov
806bf3d99c
Merge pull request #26130 from kitaisreal/dict-get-has-complex-key-dictionary-key-argument-tuple-fix
Functions dictGet, dictHas complex key dictionary key argument tuple fix
2021-07-09 21:45:55 +03:00
Peng Jian
24f0c738df test case 2021-07-09 22:26:08 +08:00
Maksim Kita
03c4853451 Functions dictGet, dictHas complex key dictionary key argument tuple fix 2021-07-09 17:20:02 +03:00
Alexander Tokmakov
4165ba2a01 add system.zookeeper_log 2021-07-09 17:05:35 +03:00
Maksim Kita
59d5cff1fe
Merge pull request #26113 from ClickHouse/point-in-polygon-nan
Fix possible crash in `pointInPolygon` if the setting `validate_polygons` is turned off.
2021-07-09 16:41:43 +03:00
Maksim Kita
c73d53dda4
Merge pull request #26094 from zxc111/issue-9390
hex/bin functions support AggregateFunction states.
2021-07-09 16:41:07 +03:00
BoloniniD
350f2c0455 Added first version for tests 2021-07-09 16:15:16 +03:00
kssenii
750f9b82fb Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into g-arslan-add-sqlite-support 2021-07-09 10:28:05 +00:00
vdimir
43880af722
Add test to join_get_low_card_fix 2021-07-09 12:23:24 +03:00
Vladimir Chebotarev
db0da1b144
Update 2021-07-09 10:40:01 +03:00
Vladimir
bf0695ff84
Merge pull request #25589 from TszKitLo40/support-distinct-on 2021-07-09 09:50:45 +03:00
alexey-milovidov
3190e70a3e
Merge pull request #26099 from nikitamikhaylov/suppress-copier-tests
Disabling annoying copier tests
2021-07-09 06:50:27 +03:00
Vitaly Baranov
3fb0567887
Merge pull request #26075 from vitlibar/pad-functions
Pad functions
2021-07-09 06:46:23 +03:00
alexey-milovidov
eafce775c9
Merge pull request #25452 from amosbird/jsonextractrawstring
JSONExtract String or Raw
2021-07-09 06:17:13 +03:00
Alexey Milovidov
9290d6f112 Fix UBSan report in pointInPolygon 2021-07-09 06:06:21 +03:00
alexey-milovidov
a777868ad3
Merge branch 'master' into kerberos_tests 2021-07-09 05:53:24 +03:00
mergify[bot]
bbde9e2efd
Merge branch 'master' into dev-map-bug 2021-07-09 02:52:53 +00:00
alexey-milovidov
7c17e2526d
Merge pull request #25634 from vdimir/join-materialized-columns
Support materialized and aliased columns in joins
2021-07-09 03:18:49 +03:00
alexey-milovidov
c98e131a81
Merge pull request #26072 from vdimir/fix-offset-check-in-window-frame
Fix logical error with signed and unsigned offset in WindowFrame::checkValid
2021-07-09 03:06:15 +03:00
Vitaly Baranov
3dfdcf4604 Improve implementation of leftPadString(), rename to leftPad(). Add new functions rightPad(), leftPadUTF8(), rightPadUTF8(). Add a test. 2021-07-08 23:39:29 +03:00
Vladimir Chebotarev
bbf8218e68 Fix test. 2021-07-08 23:39:03 +03:00
Nikita Mikhaylov
334d5439c8 done 2021-07-08 20:29:25 +00:00
zxc111
e4b1e0619c hex/bin functions support AggregateFunction states. 2021-07-09 00:41:44 +08:00
alexey-milovidov
9c2aad6c17
Merge pull request #25962 from ClickHouse/network-instrumentation
More instrumentation for network interaction: add counters for recv/send bytes; add gauges for recvs/sends.
2021-07-08 17:20:16 +03:00
alexey-milovidov
f068defdd8
Merge pull request #26052 from vdimir/fix-join-max-parallel-streams
Fix max parallel streams for joined pipelines
2021-07-08 17:18:12 +03:00
alexey-milovidov
2062ddec90
Merge pull request #26058 from azat/tests-fixes
Fix 01791_dist_INSERT_block_structure_mismatch flakiness
2021-07-08 17:16:07 +03:00
Vladimir Chebotarev
1474cc7d09 Fix test. 2021-07-08 17:00:58 +03:00
Vladimir
02977007dc
Remove queries with syntax error from 01917_distinct_on.sql 2021-07-08 15:45:23 +03:00
zvonand
b4ea12ae8d debug loop run 2021-07-08 14:52:22 +03:00
vdimir
5d7fc61bd5
Merge branch 'master' into join-materialized-columns 2021-07-08 12:30:00 +03:00
Vladimir Chebotarev
bb507794a1 Fix test. 2021-07-08 11:23:06 +03:00
vdimir
39de7f8a2a
Fix logical error with signed and unsinged offset in WindowFrame::checkValid 2021-07-08 11:16:57 +03:00
Vladimir Chebotarev
a695bf6068 Fix test. 2021-07-08 10:41:51 +03:00
Vitaliy Zakaznikov
201bdc4ff5 Disabling TestFlows LDAP module due to test fails. 2021-07-07 21:40:01 -04:00
Alexander Kuzmenkov
7a48f8ef4c
Merge pull request #25537 from nvartolomei/nv/fix-clickhouse-test-hang-and-status-code
Fix hang and incorrect exit code returned from clickhouse-test
2021-07-08 01:07:17 +03:00
Azat Khuzhin
20cbca87de Fix 01791_dist_INSERT_block_structure_mismatch flakiness
Add SYSTEM STOP DISTRIBUTED SENDS to force messages from SYSTEM FLUSH
DISTRIBUTED query context.
2021-07-08 00:48:15 +03:00
Anton Popov
e89f701c58
Merge pull request #26048 from CurtizJ/fix-map-type-json
Proper fix of serialization of type Map to JSON
2021-07-07 23:20:39 +03:00
alexey-milovidov
dfd9e1d737
Merge pull request #26011 from vzakaznikov/fix_and_enable_testflows_tests
Enabling all TestFlows modules and fixing some tests.
2021-07-07 22:46:25 +03:00
Maksim Kita
42e1844135
Merge pull request #26023 from vitlibar/replace-print-with-logging-in-integration-tests
Replace print() with logging.debug() in integration tests.
2021-07-07 21:00:15 +03:00
vdimir
bff1fa1c58
Add tests/performance/join_max_streams.xml 2021-07-07 20:51:07 +03:00
Andrey Z
7a2291436a upd 2021-07-07 20:11:54 +03:00
Alexander Tokmakov
1a470fb777 fix sequence_id in MySQL protocol 2021-07-07 20:03:28 +03:00
Nikolay Degterinsky
0c2eb15223 Added performance test 2021-07-07 15:54:21 +00:00
kssenii
ff56f1787c Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into g-arslan-add-sqlite-support 2021-07-07 15:19:12 +00:00
Vitaliy Zakaznikov
e361f3120f * Fixing race condition between starting tail -f command and the file removal that follows. 2021-07-07 08:34:46 -04:00
Anton Popov
a24686d300 fix serialization of type Map to JSON 2021-07-07 15:04:07 +03:00
alesapin
aa86fac4e7 Fix unbundled build 2021-07-07 14:07:20 +03:00
Andrey Z
66f1c4807c Merge branch 'master' of github.com:ClickHouse/ClickHouse into kerberos_tests 2021-07-07 13:22:53 +03:00
Andrey Z
b34cfa7c2f added TE 2021-07-07 13:22:03 +03:00
Anton Popov
1b4d2cbc6d
Merge pull request #26032 from CurtizJ/try-fix-flaky-tests
Try to fix some flaky tests
2021-07-07 12:47:00 +03:00
alesapin
f0fc12d0dd Merge branch 'master' into evillique-nlp 2021-07-07 12:14:49 +03:00
Andrey Z
aa64385944 enabling tests 2021-07-07 11:54:37 +03:00
alesapin
4c85dae572
Merge pull request #25743 from ClickHouse/fix_aggregation_ttl
Fix bug in execution of TTL GROUP BY
2021-07-07 10:49:16 +03:00
alesapin
0d8844c510
Merge pull request #25884 from ClickHouse/fix_drop_part_in_queue
Relax `DROP PART` guarantees and turn on checks in ReplicationQueue.
2021-07-07 10:48:48 +03:00
Vitaly Baranov
b0a3a7180f Replace print() with logging.debug() in integration tests 2021-07-07 10:35:11 +03:00
Andrey Z
c0264de45a change test1 2021-07-07 10:06:09 +03:00
mergify[bot]
d9195c6f4a
Merge branch 'master' into support-distinct-on 2021-07-07 06:42:33 +00:00
Vladimir
b46ac3dfd1
Merge pull request #25609 from zxc111/master 2021-07-07 09:36:55 +03:00
mergify[bot]
446474932b
Merge branch 'master' into projection-fix11 2021-07-07 05:02:44 +00:00
Amos Bird
55981cb0ae
Fix normal projection 2021-07-07 13:01:30 +08:00
Azat Khuzhin
42a8445462 Fix constness of custom TLDs
Before this patch the functions below returns incorrect type for consts,
and hence optimize_skip_unused_shards does not work:

- cutToFirstSignificantSubdomainCustom()
- cutToFirstSignificantSubdomainCustomWithWWW()
- firstSignificantSubdomainCustom()
2021-07-07 01:27:31 +03:00
Vitaliy Zakaznikov
ad4c069b4e Fixing syntax error. 2021-07-06 17:50:12 -04:00
Vitaliy Zakaznikov
e7a938f860 Updating map_type tests due to JSON changes.
Crossing out tests with (U)Int64 keys due to double quoting bug.
2021-07-06 17:31:20 -04:00
Azat Khuzhin
d5cb792e9e Add conversion of values from IN section for optimize_skip_unused_shards_rewrite_in 2021-07-07 00:18:24 +03:00
Azat Khuzhin
a3add4f85f Fix optimize_skip_unused_shards_rewrite_in for non-UInt64 types
The following should happens before:
- incorrect shards was selected
- "Cannot infer type of an empty tuple" exception for empty tuple() for localhost
- "Function tuple requires at least one argument" exception for empty tuple() for remote node
2021-07-07 00:18:24 +03:00
Azat Khuzhin
5938bf1b59 Skip 01756_optimize_skip_unused_shards_rewrite_in in arcadia
Why it hadn't been skipped before? And I guess this test passed in
arcadia?
2021-07-07 00:17:39 +03:00
Andrey Z
ac198f91f4 attempt number 666 2021-07-06 23:40:19 +03:00
Kseniia Sumarokova
7a7b774ba3
Merge pull request #25550 from kssenii/truncate
Allow truncate in storages s3/hdfs
2021-07-06 22:07:53 +03:00
Vitaliy Zakaznikov
89f89e33d1 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into fix_and_enable_testflows_tests 2021-07-06 14:42:46 -04:00
alesapin
1c39df068e Remove accident change 2021-07-06 19:52:54 +03:00
alesapin
a8fdc41193 Fix bug and add more trash to test 2021-07-06 19:51:23 +03:00
vdimir
b44bd174cc
Change error code for DISTINCT ON and LIMIT BY, finally 2021-07-06 19:14:22 +03:00
Andrey Z
0a4d07dd36 upd 2021-07-06 18:38:52 +03:00
Anton Popov
1f53404e66 better retries 2021-07-06 16:58:12 +03:00
Vladimir Chebotarev
26416a2177 Added tests. 2021-07-06 16:37:50 +03:00
Anton Popov
3a69d06fc9 try fix flaky tests 2021-07-06 16:36:18 +03:00
Anton Popov
5b0bc8a7fb
Update arcadia_skip_list.txt 2021-07-06 16:16:20 +03:00
Nicolae Vartolomei
3b5c41fc6d Test CTE with aggregation over distributed table 2021-07-06 14:04:49 +01:00
mergify[bot]
7aec53a842
Merge branch 'master' into improve_create_or_replace 2021-07-06 12:51:16 +00:00
Vladimir
96536a9cbe
Update tests/queries/0_stateless/01917_distinct_on.sql 2021-07-06 15:32:28 +03:00
Nicolae Vartolomei
a5c195fefd Add test case for aggregation w/ alias columns 2021-07-06 13:26:58 +01:00
vdimir
a50a98c595
Add copuple cases to test bin_unbin 2021-07-06 15:24:30 +03:00
vdimir
c6e13e6e2e
Add leading zeros in function bin 2021-07-06 15:19:42 +03:00
mergify[bot]
e9df8cc96c
Merge branch 'master' into support-distinct-on 2021-07-06 11:28:07 +00:00
Vitaliy Zakaznikov
8ab722a6af Small test fixes. 2021-07-06 07:06:22 -04:00
vdimir
9665d41092
Force parentheses for DISTINCT ON 2021-07-06 12:17:26 +03:00
Alexander Tokmakov
5e44fa32b4 Merge branch 'master' into improve_create_or_replace 2021-07-06 11:50:43 +03:00
Maksim Kita
2afdb744bb
Merge pull request #25989 from kitaisreal/compile-aggregate-functions-perf-tests-fix
Compile aggregate functions perf tests fix
2021-07-06 11:04:11 +03:00
Kseniia Sumarokova
d2141ff53b
Merge pull request #24148 from l1tsolaiki/jsonpath
Jsonpath
2021-07-06 10:43:29 +03:00
Vitaly Baranov
e7b1e9a2fb
Merge pull request #25986 from vitlibar/fix-flaky-test_dictionaries_all_layouts_separate_sources-test_https
Fix parallel execution of integration tests
2021-07-06 09:22:06 +03:00
Alexey Milovidov
0269e34f18 tests/queries/0_stateless$ wc -l *.sql | grep -P '^\s+0' | awk '{ print $2 }' | xargs sed -i 's/$/\n/' 2021-07-06 08:45:54 +03:00
Vitaly Baranov
cdcc735d83
Merge pull request #25899 from vitlibar/improve-logging-in-integration-tests
Improve logging in integration tests.
2021-07-06 08:22:21 +03:00
mergify[bot]
720660e9e9
Merge branch 'master' into network-instrumentation 2021-07-06 00:54:34 +00:00
alexey-milovidov
b724138541
Merge pull request #25786 from kssenii/inconsisteny
Fix inconsistent behaviour of GROUP BY constant on empty set
2021-07-06 03:36:50 +03:00
Vitaliy Zakaznikov
999ce1c867 Enabling all TestFlows modules and fixing some tests. 2021-07-05 19:18:57 -04:00
Vitaly Baranov
87f59ba670 Fix parallel execution of integration tests. 2021-07-05 23:50:04 +03:00
Alexander Tokmakov
0f377fc4d8 Merge branch 'master' into fix_no_column_materialized_mysql 2021-07-05 22:07:56 +03:00
Maksim Kita
f3d74c84fe
Merge pull request #25982 from CurtizJ/fix-map-json-format
Fix formatting of type `Map` with integer keys to `JSON`
2021-07-05 21:54:31 +03:00
alexey-milovidov
22f3de1ad7
Merge pull request #26002 from kssenii/fix-yanex-check
Fix arcadia
2021-07-05 21:34:37 +03:00
kssenii
754140c538 Update skip list 2021-07-05 21:32:00 +03:00
Kseniia Sumarokova
8b075e34e7
Merge pull request #25984 from kssenii/add-drops-in-tests
Correct test
2021-07-05 18:35:53 +03:00
vdimir
f5b5f601f4
Merge branch 'master' into support-distinct-on 2021-07-05 15:44:20 +03:00
Andrey Z
5514adc607 upd 2021-07-05 15:36:03 +03:00
vdimir
dd06866fa8
Fix unbin for corner cases 2021-07-05 14:56:39 +03:00
vdimir
231740f2d6
Function bin for uint uses writeBinByte, correct for single zero 2021-07-05 14:44:50 +03:00
Kseniia Sumarokova
c72a1be0be
Merge pull request #25064 from ucasfl/merge
Database argument for StorageMerge support regular expression.
2021-07-05 14:14:44 +03:00
Andrey Z
254dbb021e Fixed loop 2021-07-05 13:42:53 +03:00
Maksim Kita
cef9baf597
Merge pull request #25974 from zxc111/issue-3446
Add empty/notEmpty support UUID
2021-07-05 12:21:36 +03:00
Maksim Kita
577e69898a Compile aggregate functions perf tests fix 2021-07-05 12:17:01 +03:00
Vitaly Baranov
72d751dc32 Add process id to pytest logs. 2021-07-05 11:25:58 +03:00
kssenii
c713ebe9c1 Add drops in tests 2021-07-05 11:20:58 +03:00
Kseniia Sumarokova
250f495456
Merge pull request #25975 from kssenii/follow-up
Follow-up for #20470
2021-07-05 06:36:43 +03:00
feng lv
b293f701b7 fix test 2021-07-05 03:34:19 +00:00
NengLiu
8b88988618 Merge branch 'master' into datatype-date32
# Conflicts:
#	src/DataStreams/PostgreSQLBlockInputStream.cpp
2021-07-05 10:18:38 +08:00
NengLiu
dc0c65ef4f Merge remote-tracking branch 'origin/master' into datatype-date32 2021-07-05 10:15:08 +08:00
Anton Popov
139482b5c9 fix formatting to json of Map type with integer keys 2021-07-05 03:35:27 +03:00
alexey-milovidov
02abbb549b
Merge pull request #25605 from azat/drop-race
Fix logical race between DETACH and merges
2021-07-05 03:00:14 +03:00
alexey-milovidov
fef7c557f6
Merge pull request #24789 from kitaisreal/compile-aggregation-functions
Compile aggregate functions
2021-07-05 02:57:49 +03:00
l1tsolaiki
7d1c561a7b 😰 2021-07-04 22:57:16 +03:00
l1tsolaiki
57972410c7 😤 2021-07-04 22:54:43 +03:00
kssenii
32b7d7b750 More correct startup on create query 2021-07-04 19:53:05 +00:00
l1tsolaiki
fd07dbe1f7 Please just work 2021-07-04 22:46:45 +03:00
l1tsolaiki
7965c638d2 Another try 2021-07-04 22:44:18 +03:00
l1tsolaiki
a0b6281790 Final fix order 2021-07-04 22:38:43 +03:00
l1tsolaiki
3d1e2fe550 Fix order again 2021-07-04 22:37:44 +03:00
mergify[bot]
27d6a69f6a
Merge branch 'master' into truncate 2021-07-04 19:37:13 +00:00
l1tsolaiki
4ef27cfc2d Fix ans order 2021-07-04 22:36:35 +03:00
l1tsolaiki
3f8a22c35d Fix syntax 2021-07-04 22:34:34 +03:00
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
Alexander Tokmakov
aa3f0b2032 fix 2021-07-02 19:39:55 +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
Alexander Tokmakov
d9a77e3a1a improve CREATE OR REPLACE query 2021-07-01 16:21:38 +03: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
Alexander Tokmakov
fd914f3d97 fix 'Not found column' error in MaterializeMySQL 2021-06-29 20:47:41 +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
Andrey Z
fd598ee51a Merge 2021-06-29 12:25:01 +05:00
Andrey Z
e11ea82ee4 Merge 2021-06-29 12:22:30 +05:00
Kostiantyn Storozhuk
a9510f25f9 Style fix 2021-06-29 15:22:08 +08:00
Neng Liu
2f6aed73c0 run test reference in Europe/Moscow timezhone 2021-06-29 10:11:46 +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
Neng Liu
107616bce8 fix test error 2021-06-28 19:06:55 +08: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
neng.liu
ec7604b013 add parquet test and fix add interval error when type is date32 2021-06-28 16:36:54 +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
Maksim Kita
c22b7a38ee
Merge pull request #25758 from ClickHouse/add-test-13993
Add a test for #13993
2021-06-28 10:38:49 +03:00
Maksim Kita
3dacf93c9c
Merge pull request #25753 from kitaisreal/exchange-dictionaries-database-ordinary-fix-test
DatabaseAtomic EXCHANGE DICTIONARIES fix test
2021-06-28 10:22:53 +03:00
Zijie Lu
b408c7d7e6 Merge branch 'master' into support-distinct-on
Signed-off-by: Zijie Lu <wslzj40@gmail.com>
2021-06-28 14:53:55 +08:00
Maksim Kita
31ecef90c3 Fixed tests 2021-06-28 01:41:55 +03:00
alexey-milovidov
a2c23c91a1
Update 01925_merge_prewhere_table.sql 2021-06-28 00:31:18 +03:00
Alexey Milovidov
b3c1f70fc0 Add a test for #13993 2021-06-28 00:30:26 +03:00
alexey-milovidov
a11351a473
Merge pull request #25484 from vdimir/issue-19589
Fix assert with non uint8 in prewhere
2021-06-28 00:03:12 +03:00
alexey-milovidov
11d9c36be0
Merge pull request #25742 from ClickHouse/fix-performance-test-2
Fix slow performance test
2021-06-27 23:52:33 +03:00
alexey-milovidov
16f88fd985
Merge pull request #25693 from novikd/master
Introduce system.data_skipping_indices table
2021-06-27 23:24:53 +03:00
kssenii
aa7133c239 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica 2021-06-27 20:08:00 +00:00
kssenii
c115c25e9c Some change 2021-06-27 22:52:24 +03:00
kssenii
c3a2fc0584 Review fixes 2021-06-27 19:17:17 +00:00
Maksim Kita
2b46006774 DatabaseAtomic EXCHANGE DICTIONARIES fix test 2021-06-27 20:44:31 +03:00
alexey-milovidov
fb89505656
Merge pull request #25538 from kssenii/pg-dix
Fix postrges array conversion
2021-06-27 19:35:24 +03:00
alexey-milovidov
ec834fe213
Update 01917_prewhere_column_type.sql 2021-06-27 19:31:55 +03:00
alexey-milovidov
0a26687115
Merge pull request #23864 from azat/dist-split-batch-and-retry
Add ability to split distributed batch on failures (i.e. due to memory limits)
2021-06-27 19:28:26 +03:00
kssenii
db998c3f6c More robust 2021-06-27 16:28:10 +00:00
alesapin
c977c33d6d Fix bug in execution of TTL GROUP BY 2021-06-27 19:18:15 +03:00
Alexey Milovidov
f6fa720b4f Better test 2021-06-27 19:06:24 +03:00
Alexey Milovidov
b11f9223de Merge branch 'master' into fix-receive-time-metric 2021-06-27 19:00:39 +03:00
alexey-milovidov
8bcca162fc
Merge pull request #23311 from Avogar/uniq-theta-sketch
Add uniqTheta in performance test
2021-06-27 18:57:37 +03:00
Alexey Milovidov
887be640f9 Fix slow performance test 2021-06-27 18:54:21 +03:00
Anton Popov
2165ff679a
Merge branch 'master' into read-in-order-perf-2 2021-06-27 17:45:00 +03:00
Anton Popov
2828b4ed73 fix tests 2021-06-27 17:43:20 +03:00
feng lv
06242f85e6 fix 2021-06-27 06:09:23 +00:00
mergify[bot]
8ca52ea2df
Merge branch 'master' into master 2021-06-27 00:17:31 +00:00
Alexey Milovidov
686bf75f78 This performance test does not run in CI - remove 2021-06-27 03:11:59 +03:00
Alexey Milovidov
ba67097c0f Fix test in database Ordinary 2021-06-27 02:54:22 +03:00
Alexey Milovidov
930a67da13 Fix the annoying Arcadia 2021-06-27 02:49:25 +03:00
Alexey Milovidov
1e55b9376a Silent ANTLR parser test (non production) 2021-06-27 02:48:11 +03:00
kssenii
159de92197 Uncomment test 2021-06-26 22:05:20 +00:00
kssenii
3d90f0710c Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica 2021-06-26 22:04:47 +00:00
Maksim Kita
99689484aa Fixed ANTRL tests 2021-06-26 14:28:33 +03:00
Maksim Kita
3c9ae7b5ba Added more tests 2021-06-26 14:28:13 +03:00
Maksim Kita
008adabec2 Support REPLACE DICTIONARY, CREATE OR REPLACE DICTIONARY queries 2021-06-26 14:28:13 +03:00
alexey-milovidov
e766d2cb1f
Update 01917_system_data_skipping_indices.sql 2021-06-26 03:33:59 +03:00
alexey-milovidov
420839a4c0
Merge pull request #25697 from sundy-li/mysql-fix
[mysql] fix mysql select user() return empty
2021-06-26 03:31:46 +03:00
alexey-milovidov
1c5987ce71
Merge pull request #25720 from ClickHouse/add_test_for_working_code
Add working test
2021-06-26 03:29:36 +03:00
Anton Popov
fafae3ab8d fix tests 2021-06-25 20:00:23 +03:00
Anton Popov
fa8ad1a7c6 reduce memory usage in queries with 'ORDER BY primary_key' 2021-06-25 19:23:41 +03:00
alesapin
cec2399015 Add working test 2021-06-25 18:30:49 +03:00
Ivan
14e43cfafa
Add CI check for darwin-aarch64 (#25560)
* Add support for darwin-aarch64

* Fix PVS warnings

* Add build configuration

* Fix packager args
2021-06-25 18:21:56 +03:00
feng lv
a947565de7 fix 2021-06-25 15:05:45 +00:00
feng lv
61550f91f2 fix and update test 2021-06-25 15:01:57 +00:00
Kseniia Sumarokova
1eb005850c
Merge branch 'master' into storage-merge-aliases 2021-06-25 17:33:31 +03:00
Kostiantyn Storozhuk
ca04b077ef Improved column comments support 2021-06-25 22:30:11 +08:00
Nikita Mikhaylov
930a2aa0b7
Merge pull request #24095 from vdimir/view-join-settings
Use global settings for query to VIEW
2021-06-25 16:44:28 +03:00
Anton Popov
4a250dc14e
Merge pull request #25371 from CurtizJ/add-compatibility-setting
Add compatibility setting for name of tuple literals
2021-06-25 15:08:13 +03:00
vdimir
2949cd1e6f
Support ALIASed columns in JOIN ON expression 2021-06-25 14:50:02 +03:00
Storozhuk Kostiantyn
4a3145f586 Materialize my sql support enum data type
* Implemented Enum for MaterializeMySQL
2021-06-25 16:42:25 +08:00
feng lv
228e06628a fix conflict 2021-06-25 08:06:06 +00:00
alesapin
d138ba79c7
Merge pull request #25549 from ClickHouse/add_test_for_concurrent_merges
Fix bug in TTL merges assignment
2021-06-25 11:02:29 +03:00
feng lv
b54287c8da fix 2021-06-25 08:00:30 +00:00
kssenii
ded9007ca0 Fix 2021-06-25 07:49:38 +00:00
kssenii
ca1f336c46 Aliases for storageMerge fix 2021-06-25 05:28:44 +00:00
sundy-li
d423d07a87 [mysql] fix mysql select user() return empty 2021-06-25 10:20:22 +08:00
Dmitry Novik
960d0de73d Introduce system.data_skipping_indices table 2021-06-25 02:05:45 +03:00
tavplubix
a14724ca7b
Merge pull request #25667 from ClickHouse/fix_rename_distributed2
Fix rename Distributed table
2021-06-25 00:05:06 +03:00
tavplubix
b9437fa6f6
Update arcadia_skip_list.txt 2021-06-25 00:04:31 +03:00
Kseniia Sumarokova
a04605fee3
Merge pull request #25579 from azat/client-param-parse
clickhouse-client: fix NULL dereference for --param w/o value
2021-06-24 23:26:21 +03:00
vdimir
241b64d02c
Support ALIASed columns for right joined table 2021-06-24 17:57:21 +03:00
vdimir
84e02911cf
Materialized columns for joined table, don't add to asterisk select 2021-06-24 17:14:36 +03:00
alesapin
d6fc2dcd99 Ban test 2021-06-24 17:13:16 +03:00
alesapin
230286776d Merge branch 'master' into add_test_for_concurrent_merges 2021-06-24 16:37:25 +03:00
Ivan
e9e49a9085
Fix ANTLR parser and enable it back in CI (#25638)
* Fix

* Skip more tests
2021-06-24 14:45:29 +03:00
Alexander Tokmakov
3a25b05765 fix rename Distributed table 2021-06-24 13:00:33 +03:00
vdimir
6fae921d65
Smaller table in performance/dict_join.xml 2021-06-24 11:27:55 +03:00
alesapin
5c5b888ded Lightweight test 2021-06-24 11:11:46 +03:00
tavplubix
b1263c18ee
Fix pcg deserialization (#24538)
* fix pcg deserialization

* Update 01156_pcg_deserialization.sh

* Update 01156_pcg_deserialization.sh

* Update 01156_pcg_deserialization.sh

* fix another bug

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2021-06-24 10:40:00 +03:00
tavplubix
a6d289c750
Merge pull request #25564 from ClickHouse/improve_replicated_database_tests3
Fix some tests
2021-06-24 10:38:15 +03:00
alexey-milovidov
e477e2c827
Merge pull request #25565 from ClickHouse/fix-flaky-test-01249
Fix flaky test 01249_flush_interactive.sh
2021-06-24 00:40:51 +03:00
Azat Khuzhin
f9b3a8770c Add a test for clickhouse-client --param w/o value 2021-06-24 00:08:18 +03:00
alexey-milovidov
99f60a7c1d
Merge pull request #25513 from azat/use_compact_format_in_distributed_parts_names-2
Drop replicas from dirname for internal_replication=true
2021-06-23 22:51:07 +03:00
alesapin
d744136c0d Merge branch 'master' into add_test_for_concurrent_merges 2021-06-23 22:26:15 +03:00
alesapin
81c74435a3 Fix drop part bug 2021-06-23 22:25:30 +03:00
Alexey Milovidov
bda33cad79 Add a test for #22108 2021-06-23 22:25:30 +03:00
Nikolai Kochetov
8bfa26102b
Merge pull request #25631 from ClickHouse/fix-explain-ast-no-query-crash
Fix crash in EXPLAIN AST without query.
2021-06-23 19:56:59 +03:00
tavplubix
48fbc78d31
Update shell_config.sh 2021-06-23 19:37:57 +03:00
tavplubix
1077e1f347
Update shell_config.sh 2021-06-23 18:27:39 +03:00
Kruglov Pavel
4913b18532
Merge pull request #25531 from Avogar/fix-arrow-decimal
Fix segfault in Arrow format, add arrow Decimal256 support in Arrow and Parquet.
2021-06-23 17:28:16 +03:00
vdimir
e530a86d0f
Add query with USING to 01925_join_materialized_columns 2021-06-23 17:08:54 +03:00
vdimir
b00efaf3d1
Add materialized columns to joined columns 2021-06-23 17:03:39 +03:00
Alexey Milovidov
fdff177823 Remove TestFlows (these are unstable third-party tests) 2021-06-23 16:29:17 +03:00
vdimir
ce0c0c6d2d
Update 00109_shard_totals_after_having.sql 2021-06-23 15:34:38 +03:00
Nikolai Kochetov
c92c352d9a Fix crash in EXPLAIN AST without query. 2021-06-23 15:29:10 +03:00
Anton Popov
c5d041e9da fix testflows 2021-06-23 14:56:31 +03:00
vdimir
ea7f798de4
Add tests/performance/dict_join.xml 2021-06-23 14:15:32 +03:00
Neng Liu
4769edb619 add more test case 2021-06-23 18:56:08 +08:00
Anton Popov
a15ee72d0f Merge remote-tracking branch 'upstream/master' into HEAD 2021-06-23 13:53:01 +03:00
Anton Popov
93f15e443d
Merge pull request #25539 from CurtizJ/with-fill-totals
Fix usage of `WITH FILL` together with `WITH TOTALS`
2021-06-23 13:42:27 +03:00
Vitaly Baranov
c6d877d10b Add tests for checking access rights for SELECT. 2021-06-23 12:54:50 +03:00
Kseniia Sumarokova
2e422c0e5c
Merge pull request #25551 from kssenii/add-test
Add test for progress bar
2021-06-23 12:33:06 +03:00
Alexander Tokmakov
ee5b0c2c34 fix test 2021-06-23 12:28:18 +03:00
mergify[bot]
fddf47a900
Merge branch 'master' into zookeeper_snapshots 2021-06-23 08:36:14 +00:00
Azat Khuzhin
353a770a87 Extend test_insert_distributed_async_send for distributed_directory_monitor_split_batch_on_failure 2021-06-23 02:48:47 +03:00
Azat Khuzhin
a0209178cc Add ability to split distributed batch on failures
Add distributed_directory_monitor_split_batch_on_failure setting (OFF by
default), that will split the batch and send files one by one in case of
retriable errors.

v2: more error codes
2021-06-23 02:48:47 +03:00
Azat Khuzhin
e148ef739d Drop replicas from dirname for internal_replication=true
Under use_compact_format_in_distributed_parts_names=1 and
internal_replication=true the server encodes all replicas for the
directory name for async INSERT into Distributed, and the directory name
looks like:

    shard1_replica1,shard1_replica2,shard3_replica3

This is required for creating connections (to specific replicas only),
but in case of internal_replication=true, this can be avoided, since
this path will always includes all replicas.

This patch replaces all replicas with "_all_replicas" marker.

Note, that initial problem was that this path may overflow the NAME_MAX
if you will have more then 15 replicas, and the server will fail to
create the directory.

Also note, that changed directory name should not be a problem, since:
- empty directories will be removed since #16729
- and replicas encoded in the directory name is also supported anyway.
2021-06-23 02:47:38 +03:00
mergify[bot]
aa19af3bb1
Merge branch 'master' into fix-flaky-test-01249 2021-06-22 22:46:39 +00:00
Alexey Milovidov
e8200f5cef Add a test for #22108 2021-06-23 00:21:32 +03:00
alexey-milovidov
bb41ba6929
Update 01923_network_receive_time_metric_insert.sh 2021-06-22 23:24:13 +03:00
Alexey Milovidov
99e08b7406 Make network receive time metric to correctly include the time spent waiting for data from the client to INSERT #9958 2021-06-22 23:22:13 +03:00
Anton Popov
18fad6d322 Merge remote-tracking branch 'upstream/master' into HEAD 2021-06-22 19:20:59 +03:00
kssenii
e0f330331b Fix exception 2021-06-22 19:15:34 +03:00
mergify[bot]
c15493f0df
Merge branch 'master' into add_test_for_concurrent_merges 2021-06-22 15:49:35 +00:00
Pavel Kruglov
fb8374811a Add new line at the end of files 2021-06-22 18:03:08 +03:00
Ildus Kurbangaliev
0a937e7377 Support Map type in mapAdd and mapSubtract 2021-06-22 17:02:42 +02:00
vdimir
80a001ab0c
Use settings from global context in StorageView 2021-06-22 17:39:09 +03:00
alesapin
3f88bc604e
Merge pull request #25583 from azat/clickhouse-test-log_comment
clickhouse-test: use basename (instead of full path) for log_comment
2021-06-22 17:37:39 +03:00
vdimir
85bcf8a1dc
Merge branch 'master' into view-join-settings 2021-06-22 17:36:44 +03:00
mergify[bot]
f3512f15d5
Merge branch 'master' into zookeeper_snapshots 2021-06-22 14:29:36 +00:00
tavplubix
7b5f34cb55
Update 01149_zookeeper_mutation_stuck_after_replace_partition.sql 2021-06-22 17:28:12 +03:00
Pavel Kruglov
6147ad6432 Fix tests 2021-06-22 17:27:03 +03:00
tavplubix
a6a43ce3ee
Revert "Implement h3ToGeo function" 2021-06-22 17:25:21 +03:00
alesapin
47b29092b4 Fix bug in MergerMutator parts selector 2021-06-22 16:47:42 +03:00
Alexey Milovidov
668846012f Revert "Remove Testflows, because they are unstable"
This reverts commit eaf3f9c6e6.
2021-06-22 16:44:59 +03:00
Anton Popov
ac25b55e87
Merge pull request #25546 from CurtizJ/fix-index-array-join
Fix usage of index with array columns and ARRAY JOIN
2021-06-22 16:23:00 +03:00
Nikita Mikhaylov
2ec3bc2d96
Merge pull request #25520 from azat/not-parser-fix
Fix NOT parsing
2021-06-22 16:19:39 +03:00
Anton Popov
447fef702d fix fuzzer in query with 'WITH FILL' and 'WITH TOTALS' 2021-06-22 16:08:12 +03:00
Nikita Mikhaylov
19b3659517
Merge pull request #24867 from bharatnc/ncb/h3-indexing-funcs
Implement h3ToGeo function
2021-06-22 15:59:09 +03:00
alesapin
b8bdb17b8c Merge branch 'master' into add_test_for_concurrent_merges 2021-06-22 14:55:01 +03:00
Alexander Tokmakov
92ea82eac9 fix test 2021-06-22 14:50:09 +03:00
alesapin
788e61f80e Snapshots test 2021-06-22 14:43:26 +03:00
Zijie Lu
63db58710d Support for DISTINCT ON (columns)
Signed-off-by: Zijie Lu <wslzj40@gmail.com>
2021-06-22 19:25:14 +08:00
Neng Liu
aadc2af5cb add some functional test 2021-06-22 19:10:56 +08:00