Commit Graph

10267 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Maksim Kita
03c4853451 Functions dictGet, dictHas complex key dictionary key argument tuple fix 2021-07-09 17:20:02 +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
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
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
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
Alexander Tokmakov
1a470fb777 fix sequence_id in MySQL protocol 2021-07-07 20:03:28 +03: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
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
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
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
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
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
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