Alexey Milovidov
e9bfc7456d
Merge branch 'master' into virtualutil
2021-03-31 08:19:43 +03:00
Alexey Milovidov
7b1890f0b3
Fix some OOMs in stress tests
2021-03-31 06:19:34 +03:00
alexey-milovidov
59c158300a
Merge pull request #22365 from ClickHouse/aku/processes-database
...
add current database to system.processes
2021-03-31 04:14:17 +03:00
Alexey Milovidov
a59c66c266
Fix UBSan report in mapOp
2021-03-31 04:07:18 +03:00
Alexey Milovidov
27b2362f30
Add a test
2021-03-31 03:55:41 +03:00
tavplubix
a712b34eed
Update 01593_concurrent_alter_mutations_kill_many_replicas_long.reference
2021-03-31 00:06:43 +03:00
alexey-milovidov
5c15b8a896
Merge branch 'master' into virtualutil
2021-03-30 23:59:44 +03:00
Alexander Tokmakov
4f896d2b07
fix tests
2021-03-30 19:46:23 +03:00
Ivan
fe06752727
Update 01753_max_uri_size.sh
2021-03-30 16:53:15 +03:00
Amos Bird
69204e1d21
Add prefer_column_name_to_alias settings ( #22044 )
2021-03-30 16:51:45 +03:00
Alexander Kuzmenkov
0252f60c23
add current database to system.processes
2021-03-30 16:36:08 +03:00
Alexander Tokmakov
500a20f30d
Merge branch 'master' into test_multiple_nodes
2021-03-30 16:23:33 +03:00
Ivan Lezhankin
873a98b33b
Add test
2021-03-30 16:19:05 +03:00
Alexander Kuzmenkov
0696ed390d
Merge pull request #22181 from ClickHouse/aku/flaky-stateless
...
less flaky functional tests
2021-03-30 14:40:07 +03:00
Alexander Kuzmenkov
f2325b62f4
Merge remote-tracking branch 'origin/aku/flaky-stateless' into HEAD
2021-03-30 14:04:02 +03:00
Alexander Kuzmenkov
bd5ddf0524
fixes
2021-03-30 13:49:43 +03:00
Vladimir
5ae9f2c5bb
Merge pull request #21329 from depressed-pho/isIPAddressContainedIn
2021-03-30 13:26:49 +03:00
Alexander Tokmakov
24fc120076
Merge branch 'master' into test_multiple_nodes
2021-03-30 10:40:38 +03:00
Nikolai Kochetov
78e27dc1b6
Merge pull request #22270 from liuneng1994/fix-query-failed
...
fix constant condition conflict with column name and add stateless test
2021-03-30 09:37:43 +03:00
alexey-milovidov
a6959584d5
Merge pull request #22235 from ClickHouse/quantile-deterministic-msan
...
Fix MSan report in `quantileDeterministic`
2021-03-30 03:48:58 +03:00
Anton Popov
5ada14082f
Merge pull request #22025 from vdimir/window-funncel-strict-increase
...
Add option strict_increase to windowFunnel
2021-03-30 01:20:17 +03:00
Alexey Milovidov
230b2930b7
Merge branch 'master' into virtualutil
2021-03-30 00:43:00 +03:00
flynn
858d1fe593
Fix table function clusterAllReplicas return wrong _shard_num ( #21498 )
...
* Fix deadlock in delete mutations when predicate contains table itself
* Fix table function clusterAllReplicas return wrong _shard_num
fix build on gcc-10
better
update test
fix
fix
fix
fix
fix
fix cluster config
Co-authored-by: alesapin <alesapin@gmail.com>
2021-03-29 23:21:08 +03:00
Alexander Kuzmenkov
750ff0c724
Merge branch 'master' into trying_parallel_func_tests
2021-03-29 22:53:09 +03:00
alesapin
88113ccb99
Merge pull request #21832 from MaxWk/fix-no-attribute-decode-with-python3
...
Fix no attribute decode with python3
2021-03-29 22:50:21 +03:00
Alexander Tokmakov
a5b07f2f03
Merge branch 'master' into test_multiple_nodes
2021-03-29 22:43:25 +03:00
tavplubix
3c0f5a57ec
Merge pull request #21535 from ClickHouse/distributed_ddl_improvements
...
Distributed DDL improvements
2021-03-29 22:40:11 +03:00
Alexander Kuzmenkov
c711a6c5fa
make it faster
2021-03-29 22:12:20 +03:00
Alexander Kuzmenkov
7813ac7d2b
fix
2021-03-29 22:12:20 +03:00
Alexander Kuzmenkov
605ce6d5fd
fix
2021-03-29 22:12:20 +03:00
Alexander Kuzmenkov
19d4be7c01
fixes
2021-03-29 22:12:20 +03:00
Alexander Kuzmenkov
2b7d2fab82
less flaky functional tests
2021-03-29 22:12:20 +03:00
alexey-milovidov
9d84f3113a
Merge pull request #21512 from azat/optimize_skip_unused_shards_limit
...
Add optimize_skip_unused_shards_limit
2021-03-29 21:13:18 +03:00
alexey-milovidov
bb925e16bf
Merge pull request #22042 from Slach/fix_issue_22028
...
case insensitive aliases for CONNECTION_ID() and VERSION()
2021-03-29 21:02:24 +03:00
Alexander Kuzmenkov
274e1ad045
Merge remote-tracking branch 'origin/trying_parallel_func_tests' into HEAD
2021-03-29 20:54:24 +03:00
Alexander Kuzmenkov
7f469b6c31
blns test zk path
2021-03-29 20:53:48 +03:00
Alexey Milovidov
c374be3ead
Merge branch 'master' into quantile-deterministic-msan
2021-03-29 19:28:32 +03:00
Alexander Kuzmenkov
4f2627f385
make it faster
2021-03-29 19:25:13 +03:00
alexey-milovidov
9fd1577cd4
Merge pull request #22060 from ClickHouse/to-start-of-interval-hour-align
...
Change behaviour of `toStartOfInterval` in backward incompatible way
2021-03-29 17:52:41 +03:00
alesapin
a423540452
Merge remote-tracking branch 'origin/aku/flaky-stateless' into trying_parallel_func_tests
2021-03-29 17:25:23 +03:00
alesapin
3f73e29965
Remove unused file
2021-03-29 16:59:05 +03:00
Alexander Kuzmenkov
1e4ddae457
fix
2021-03-29 16:11:21 +03:00
Alexander Kuzmenkov
053b28ff7f
fix
2021-03-29 14:39:27 +03:00
Alexander Kuzmenkov
92c3db8f22
Merge pull request #22133 from ClickHouse/aku/negate-stable
...
stable formatting for negate()
2021-03-29 14:16:12 +03:00
vdimir
7969bb0fe7
Rename test file isIPAddressContainedIn to ip_address_in_range
2021-03-29 13:27:27 +03:00
vdimir
b4c2980bf5
Add test cases for isIPAddressInRange
2021-03-29 13:24:52 +03:00
vdimir
ae4b8e3181
Rename isIPAddressContainedIn -> isIPAddressInRange
2021-03-29 12:56:11 +03:00
vdimir
81ff4f4791
Remove Nummable support from isIPAddressContainedIn, do not use OverloadResolver
2021-03-29 12:54:35 +03:00
Neng Liu
0d78427fbf
fix query failed and add stateless test
2021-03-29 16:12:02 +08:00
Alexey Milovidov
07d93a0a20
Mark test as long
2021-03-29 05:42:55 +03:00
Alexey Milovidov
7fcae60466
Merge branch 'master' into to-start-of-interval-hour-align
2021-03-29 05:42:00 +03:00
alexey-milovidov
c762fa2f75
Merge pull request #22129 from vdimir/issue-19303
...
Shrink totals block to 1 row for JOIN with TOTALS and arrayJoin
2021-03-29 05:26:17 +03:00
alexey-milovidov
7ab2890c4d
Merge pull request #22206 from ClickHouse/mmap-cache
...
Add cache for mmap IO
2021-03-29 05:17:55 +03:00
alexey-milovidov
cff6586b6d
Merge pull request #22219 from den-crane/tests/bug_10489
...
test for #10489
2021-03-29 05:16:13 +03:00
Alexey Milovidov
922265d28d
Fix MSan report; add a test
2021-03-29 04:03:11 +03:00
alexey-milovidov
c08289517a
Merge pull request #21766 from amosbird/indexfix
...
Fix scalar subquery index analysis
2021-03-29 02:03:27 +03:00
Alexey Milovidov
cb252de4d3
Just in case
2021-03-28 22:34:23 +03:00
Alexey Milovidov
d800e2b1cd
Add a test
2021-03-28 22:29:32 +03:00
Slach
9761db7efb
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix_issue_22028
2021-03-28 18:41:22 +01:00
Alexey Milovidov
7cc6eeff0d
Update test
2021-03-28 05:55:41 +03:00
alexey-milovidov
d07a40c675
Merge pull request #22145 from ClickHouse/speedup-none
...
Speedup codec NONE
2021-03-28 01:56:00 +03:00
Denis Zhuravlev
e0ab461636
test for #10489
2021-03-27 19:43:26 -03:00
alesapin
3b119355d2
Merge pull request #22118 from ClickHouse/try_to_fix992
...
Trying to fix my favorite test
2021-03-27 10:17:14 +03:00
Maksim Kita
0faab7ae35
Fixed PODArray insertFromItself
2021-03-27 00:49:16 +03:00
Alexander Kuzmenkov
75e1d657dc
fixes
2021-03-26 22:30:30 +03:00
Alexey Milovidov
e32beab913
Add a test for mmap IO
2021-03-26 22:08:53 +03:00
Alexander Kuzmenkov
3dea1c8c01
Merge pull request #21946 from azat/tld-fixes
...
Fix cutToFirstSignificantSubdomainCustom()/firstSignificantSubdomainCustom() for 3+level domains
2021-03-26 21:19:09 +03:00
Maksim Kita
3f273ef983
Updated hash dictionary nullable attribute implementation
2021-03-26 21:01:56 +03:00
Alexander Kuzmenkov
cc93055e9e
ignore UB as in negate()
2021-03-26 20:29:41 +03:00
Alexander Kuzmenkov
0dfd091011
less flaky functional tests
2021-03-26 19:40:26 +03:00
Maksim Kita
2cac8d13cc
Updated tests and documentation
2021-03-26 18:42:32 +03:00
Maksim Kita
57d9939aee
Fixed tests
2021-03-26 18:42:32 +03:00
Maksim Kita
9f2f0d1095
Refactored hierarchy dictionaries interface
2021-03-26 18:42:32 +03:00
alesapin
b0e401088a
Make this test sequential
2021-03-26 15:20:49 +03:00
PHO
26dc629366
Add a function isIPAddressContainedIn()
...
This function takes an IP address and a CIDR network prefix, and determines if the address is contained in the network. It supports both IPv4 and IPv6 addresses, and expects arguments to be strings.
ClickHouse doesn't support union types. We cannot use the native IPv4 and IPv6 types for this reason.
2021-03-26 12:11:35 +09:00
alexey-milovidov
f1efa33571
Merge branch 'master' into client-fix-highlight-multiline-comment
2021-03-26 02:40:11 +03:00
alexey-milovidov
fe71d628a1
Update 01774_case_sensitive_connection_id.sql
2021-03-26 02:39:07 +03:00
alexey-milovidov
21ec42d7d2
Update 01773_case_sensitive_version.sql
2021-03-26 02:39:00 +03:00
alexey-milovidov
0e42060523
Merge pull request #22114 from ucasFL/bar
...
Fix bar with invalid float value
2021-03-26 02:36:02 +03:00
Azat Khuzhin
b68517f69e
Fix cutToFirstSignificantSubdomainCustom()/firstSignificantSubdomainCustom() for 3+level domains
...
Custom TLD lists (added in #17748 ), may contain domain of the 3-d level,
however builtin TLD lists does not have such records, so it is not
affected.
Note that this will significantly increase hashtable lookups.
Fixes : #17748
2021-03-26 00:00:16 +03:00
Alexander Kuzmenkov
0675f9403c
Merge pull request #21895 from ClickHouse/aku/laglead
...
float RANGE OFFSET and lag/lead_in_frame
2021-03-25 23:00:22 +03:00
Maksim Kita
bbe1960eea
Merge pull request #21573 from kitaisreal/updated-cache-dictionary-storage
...
Added specialized CacheDictionaryStorage
2021-03-25 21:29:01 +03:00
Nikolai Kochetov
e9f7213858
Filter push down for LEFT/INNER JOIN, CreatingSets, Union.
2021-03-25 21:11:54 +03:00
Alexander Kuzmenkov
8ea697b7df
use camelCase
2021-03-25 18:49:45 +03:00
Alexander Kuzmenkov
48af3f5851
stable formatting for negate()
2021-03-25 18:38:43 +03:00
vdimir
8f5c8f32df
Shrink totals block to 1 row for JOIN with TOTALS and arrayJoin
2021-03-25 17:32:36 +03:00
feng lv
55ba4ec15e
Fix bar with invalid float value
...
fix
2021-03-25 13:28:07 +00:00
alexey-milovidov
9a9581f928
Merge pull request #22006 from ClickHouse/fix-ubsan-add-month
...
Fix UBSan report in addMonths
2021-03-25 16:03:25 +03:00
alexey-milovidov
f895bc895c
Merge pull request #22011 from ClickHouse/min_max_time_system_parts_datetime64
...
Expose DateTime64 minmax part index in system.parts and system.parts_columns
2021-03-25 16:02:33 +03:00
alexey-milovidov
52396acba1
Merge pull request #22064 from ClickHouse/fix-overflow-aes
...
Fix missing check in decrypt for AEAD mode
2021-03-25 16:01:44 +03:00
alexey-milovidov
cb6926629e
Merge pull request #22099 from ClickHouse/map-populate-series-ubsan
...
Fix UBSan report in mapPopulateSeries.
2021-03-25 16:00:21 +03:00
alexey-milovidov
37a4f3ab3a
Merge pull request #22063 from ClickHouse/tuple-null-in
...
Allow to search tuple of NULLs in a set
2021-03-25 15:59:41 +03:00
Anton Popov
f58d470dd6
Merge pull request #21830 from foolchi/optimize_select_with_final
...
optimize select final with prewhere primary key
2021-03-25 15:32:13 +03:00
alesapin
3d92cb46f7
Trying to fix my favorite test
2021-03-25 14:22:19 +03:00
Vitaly Baranov
86a293d6c8
Merge pull request #22057 from vitlibar/update-simdjson
...
Update simdjson
2021-03-25 13:27:05 +03:00
alexey-milovidov
94dabbac60
Merge pull request #22001 from ClickHouse/timezone-of
...
Add function `timezoneOf` and fix inconsistencies
2021-03-24 23:15:22 +03:00
Alexey Milovidov
2d8e82f3d9
Add a test #22094
2021-03-24 23:12:58 +03:00
Alexey Milovidov
26881116ca
New behaviour is correct
2021-03-24 23:08:58 +03:00
Alexey Milovidov
67395aad69
Merge branch 'master' into to-start-of-interval-hour-align
2021-03-24 22:46:06 +03:00
Alexey Milovidov
f9b93e968b
Merge branch 'master' into fix-ubsan-add-month
2021-03-24 22:37:06 +03:00
alexey-milovidov
087be05dfd
Merge pull request #22062 from ClickHouse/datetime64-ubsan
...
Fix UBSan report in TransformDateTime64
2021-03-24 22:36:20 +03:00
Maksim Kita
725c4f2544
Update 01774_tuple_null_in.sql
2021-03-24 22:20:50 +03:00
Anton Popov
f967fa574c
Merge pull request #22036 from CurtizJ/merge_21760
...
Add test for #21760
2021-03-24 16:31:14 +03:00
vdimir
bc1b0aed85
Correctly handle table alias in PredicateRewriteVisitor
2021-03-24 15:48:29 +03:00
fuqi
57c6ebc844
fix test case
2021-03-24 19:38:14 +08:00
Nikolai Kochetov
6ca8a66da2
Merge pull request #21550 from amosbird/shardpruningliteral
...
Shard pruning via literals
2021-03-24 13:59:34 +03:00
fuqi
d76edc33d5
rename test case name
2021-03-24 18:35:03 +08:00
Vitaly Baranov
fb3af77098
Add test.
2021-03-24 12:25:40 +03:00
Slach
419e1555d6
rename statleless tests after merge with master
2021-03-24 13:38:16 +05:00
fuqi
487d6bdcd9
add test case
...
fix order key check
2021-03-24 16:36:45 +08:00
Slach
7c580d8a01
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix_issue_22028
2021-03-24 09:35:05 +01:00
Slach
2762b6d2cf
add stateless tests after https://github.com/ClickHouse/ClickHouse/pull/22042#issuecomment-805091599
2021-03-24 13:26:56 +05:00
Alexey Milovidov
a6c1b30b3c
Merge branch 'master' into timezone-of
2021-03-24 04:12:05 +03:00
Alexey Milovidov
3e74f56261
Fix missing check in decrypt for AEAD mode
2021-03-24 03:34:30 +03:00
Alexey Milovidov
eae268f2f0
Allow to search tuple of NULLs in a set
2021-03-24 03:15:48 +03:00
Alexey Milovidov
47b00ad11b
Fix UBSan report in TransformDateTime64
2021-03-24 02:49:17 +03:00
Alexey Milovidov
5a2f2e0cc8
Change behaviour of toStartOfInterval
in backward incompatible way
2021-03-24 01:53:19 +03:00
alexey-milovidov
18c9167ba1
Merge pull request #22009 from ClickHouse/intdiv-ubsan-3
...
Fix UBSan report in intDiv #21769
2021-03-23 23:53:24 +03:00
alexey-milovidov
150a2df9df
Merge pull request #22026 from kitaisreal/cast-to-enum-nullable-fix
...
Cast to enum nullable fix
2021-03-23 23:51:19 +03:00
alexey-milovidov
b7bce01abd
Merge pull request #22007 from ClickHouse/add-test-7963
...
Add a test for #7963
2021-03-23 20:05:41 +03:00
alexey-milovidov
072d4bf199
Merge pull request #22002 from ClickHouse/add-test-15784
...
Add a test for #15784
2021-03-23 20:04:44 +03:00
alexey-milovidov
7c0dba1b0c
Merge pull request #21995 from ClickHouse/tehran-dst
...
Add a test for #21991
2021-03-23 20:04:13 +03:00
alexey-milovidov
7a48ce6b79
Merge pull request #21997 from ClickHouse/add-test-11720
...
Add a test for #11720
2021-03-23 20:03:45 +03:00
Alexander Kuzmenkov
c9facd631c
Merge remote-tracking branch 'origin/master' into HEAD
2021-03-23 17:40:13 +03:00
Anton Popov
9079dd2027
add test
2021-03-23 17:05:59 +03:00
Anton Popov
2e1f293bd5
Merge pull request #21699 from CurtizJ/fix-map-field-conversion
...
Fix conversions for fields in function 'arrayElement' for type Map
2021-03-23 15:30:44 +03:00
Maksim Kita
82660d008d
Added test reference
2021-03-23 15:00:38 +03:00
Maksim Kita
75f5679bf0
Cast to enum nullable fix
2021-03-23 14:58:00 +03:00
vdimir
38a6dba3e3
Add option strict_increase to windowFunnel
2021-03-23 14:23:48 +03:00
alesapin
36898bdc4a
Merge pull request #21142 from Jokser/unfreeze-partitions
...
Add ALTER TABLE UNFREEZE command.
2021-03-23 14:05:38 +03:00
alesapin
166054291e
Less flaky test
2021-03-23 10:37:22 +03:00
Alexey Milovidov
8d0210b510
Expose DateTime64 minmax part index in system.parts and system.parts_columns #18244
2021-03-23 01:16:41 +03:00
Alexey Milovidov
c94841bca5
Fix UBSan report in intDiv #21769
2021-03-23 00:38:25 +03:00
Anton Popov
90f9150829
fix test
2021-03-23 00:10:46 +03:00
Alexey Milovidov
e6c85df04b
Add a test for #7963
2021-03-22 23:50:04 +03:00
Alexey Milovidov
3952a8e976
Fix UBSan report in addMonths
2021-03-22 23:42:09 +03:00
Alexey Milovidov
81e91734f6
Add a test for #17080
2021-03-22 23:14:05 +03:00
Alexey Milovidov
855d36be45
Add a test for #16924
2021-03-22 23:12:01 +03:00
Alexey Milovidov
8f87914bae
Add a test for #16222
2021-03-22 23:07:15 +03:00
Alexey Milovidov
43c36462f0
Add a test for #15784
2021-03-22 23:04:07 +03:00
Alexey Milovidov
a9c25579ce
More tests
2021-03-22 22:53:39 +03:00
Alexey Milovidov
84be58453b
Add function timezoneOf and fix inconsistencies
2021-03-22 22:50:04 +03:00
Alexey Milovidov
fb08bc46bf
Add a test for #11720
2021-03-22 22:15:57 +03:00
Alexey Milovidov
5d8b74e02e
Also fix #13845
2021-03-22 21:49:12 +03:00
Alexey Milovidov
b88f67ed12
Add a test for #21991
2021-03-22 21:46:22 +03:00
Alexander Kuzmenkov
b0284f20c3
Merge branch 'master' into aku/laglead
2021-03-22 21:16:27 +03:00
Nikolai Kochetov
761c2321b6
Update test.
2021-03-22 19:48:03 +03:00
tavplubix
5dfd0045a6
Merge branch 'master' into distributed_ddl_improvements
2021-03-22 18:13:19 +03:00
Nikolai Kochetov
35ff8925df
Fix crash.
2021-03-22 17:43:45 +03:00
Alexander Tokmakov
d03b1312eb
update skip_list
2021-03-22 17:31:43 +03:00
Alexander Kuzmenkov
ac5fdda999
Merge pull request #21915 from ClickHouse/aku/window-mt-order
...
disable optimize_read_in_order for window functions
2021-03-22 17:21:00 +03:00
alesapin
cf83bbd98a
Add crashing test
2021-03-22 16:51:44 +03:00
Maksim Kita
8be263062d
Merge pull request #21910 from kitaisreal/table-function-dictionary
...
Added table function dictionary
2021-03-22 16:08:56 +03:00
Nikita Mikhaylov
330e74b665
Merge pull request #21890 from kitaisreal/polygon-dictionary-added-nullable-support
...
PolygonDictionary added nullable support
2021-03-22 14:49:28 +03:00
Maksim Kita
868766ac47
Merge pull request #21848 from den-crane/tests/issue_17302
...
test for #17302
2021-03-21 22:20:25 +03:00
Maksim Kita
d248e6bd56
Update 01763_long_ttl_group_by.sql
2021-03-21 20:42:02 +03:00
Maksim Kita
257e0455dd
Fixed tests
2021-03-21 18:10:12 +03:00
Maksim Kita
249d4a1843
Fixed tests
2021-03-21 18:10:12 +03:00
Maksim Kita
df9223e13b
PolygonDictionary added nullable support
2021-03-21 18:09:47 +03:00
Alexander Kuzmenkov
590259a7a5
disable optimize_read_in_order for window functions
2021-03-19 17:29:09 +03:00
Maksim Kita
32831e37ba
Added table function dictionary
2021-03-19 15:47:27 +03:00
Maksim Kita
a53c90e509
Upated system.dictionaries table
2021-03-19 12:43:57 +03:00
Maksim Kita
f340e71913
Merge pull request #21859 from kitaisreal/ddl-dictionary-current-database-name
...
DDL dictionary use current database name
2021-03-19 11:39:51 +03:00
tavplubix
60ef7147bc
trigger CI
2021-03-19 07:24:43 +03:00
Alexander Kuzmenkov
1beba597ca
Merge remote-tracking branch 'origin/master' into HEAD
2021-03-19 02:11:08 +03:00
Alexander Kuzmenkov
6aa9039f7d
float frames and lag/lead_in_frame
2021-03-19 02:05:43 +03:00
Alexander Tokmakov
ce31d4608b
fix tests
2021-03-18 22:13:21 +03:00
Maksim Kita
85a9ab7d87
Fixed test
2021-03-18 19:32:04 +03:00
Maksim Kita
140fa855c4
Update 01760_ddl_dictionary_use_current_database_name.sql
2021-03-18 18:11:21 +03:00
Alexander Kuzmenkov
c821c0c27a
Merge pull request #21761 from ClickHouse/aku/chunk-no-columns
...
fix incorrect number of rows for Chunks with no columns in PartialSor…
2021-03-18 17:58:09 +03:00
tavplubix
10696fed4d
Update 00953_zookeeper_suetin_deduplication_bug.sh
2021-03-18 17:21:39 +03:00
Maksim Kita
5324d75505
Fixed tests
2021-03-18 17:12:25 +03:00
Alexander Tokmakov
343b8c906d
Merge branch 'master' into test_multiple_nodes
2021-03-18 16:01:04 +03:00
Alexander Tokmakov
fdae70df6c
fix tests
2021-03-18 15:50:03 +03:00
Maksim Kita
0f95bcac0b
DDL dictionary use current database name
2021-03-18 14:30:12 +03:00
Maksim Kita
cf985a86c4
test
2021-03-18 14:25:13 +03:00
Nikolai Kochetov
03cb0299a9
Merge pull request #21841 from ClickHouse/fix-21773
...
Fix wrong column order after filter push down.
2021-03-18 13:30:22 +03:00
Maksim Kita
18ed9c5c67
SSDCacheDictionary remove max_stored_keys option
2021-03-18 12:55:17 +03:00
Denis Zhuravlev
597370e9bc
mark the test long
2021-03-17 23:27:36 -03:00
Denis Zhuravlev
ff9e74bf2a
test for #17302
2021-03-17 20:29:24 -03:00
alexey-milovidov
04c957962f
Merge pull request #21724 from azat/tests-replicated-merge-tree-zk-path
...
Do not overlap zookeeper path for ReplicatedMergeTree in stateless *.sh tests
2021-03-17 22:11:14 +03:00
Maksim Kita
bc22f4f6eb
Updated implementation
2021-03-17 20:14:36 +03:00
Nikolai Kochetov
6397099d3c
Added test.
2021-03-17 20:08:49 +03:00
kevin wan
accc3d0d38
fix 'str' object has no attribute 'decode' in python3
2021-03-17 20:08:30 +08:00
Nikolai Kochetov
05a9f8a793
Update 01755_shard_pruning_with_literal.sql
2021-03-17 12:34:59 +03:00
Nikolai Kochetov
3a3f800f6e
Merge pull request #21579 from azat/dist-query-zero-shards-fix
...
Fix optimize_skip_unused_shards for zero shards case
2021-03-17 11:54:08 +03:00
Nikolai Kochetov
4f1f344d4d
Merge pull request #21529 from azat/system.errors-improvements
...
Add last_error_time/last_error_message/last_error_stacktrace/remote columns for system.errors
2021-03-17 11:51:29 +03:00
alexey-milovidov
d02726bcac
Merge pull request #9404 from Enmk/DateTime64_extended_range
...
Date time64 extended range
2021-03-17 11:06:03 +03:00
Azat Khuzhin
9921e7ca28
Add 01545_system_errors into skip_list.parallel
...
https://clickhouse-test-reports.s3.yandex.net/21529/2ce2772d35eb3d81628f4d294d5799e9f05333fd/functional_stateless_tests_flaky_check_(address).html#fail1
2021-03-16 22:31:49 +03:00
Azat Khuzhin
cc87bcfb63
Fix errorCodeToName() for signed integers
...
- https://clickhouse-test-reports.s3.yandex.net/21529/2ce2772d35eb3d81628f4d294d5799e9f05333fd/functional_stateless_tests_(address).html#fail1
- https://clickhouse-test-reports.s3.yandex.net/21529/2ce2772d35eb3d81628f4d294d5799e9f05333fd/functional_stateless_tests_(ubsan).html#fail1
- https://clickhouse-test-reports.s3.yandex.net/21529/2ce2772d35eb3d81628f4d294d5799e9f05333fd/stress_test_(address).html#fail1
2021-03-16 22:31:49 +03:00
Azat Khuzhin
259e5ba88e
Separate accounting of remote exceptions in system.errors
2021-03-16 22:31:46 +03:00
Alexander Tokmakov
2d34bbb4b2
Merge branch 'master' into test_multiple_nodes
2021-03-16 21:29:26 +03:00
tavplubix
848bb59175
Merge pull request #21728 from ClickHouse/fix_alter_decimal
...
Fix alter modify for decimal columns when type size doesn't change
2021-03-16 20:01:35 +03:00
Alexander Tokmakov
735acf27d8
try run stateful tests
2021-03-16 19:39:31 +03:00
Pavel Kovalenko
a43c85b105
Add test for freeze/unfreeze partition with old MergeTree syntax
2021-03-16 16:36:05 +03:00
Nikita Mikhaylov
2e13c767a0
Merge pull request #21149 from nikitamikhaylov/pp-for-csv-with-names
...
Support parallel parsing for *WithNames types
2021-03-16 14:38:03 +03:00
Nikita Mikhaylov
7d7a2bc724
Merge pull request #21630 from nikitamikhaylov/pf-local
...
Parallel formatting for clickhouse-local
2021-03-16 14:37:40 +03:00
Nikolai Kochetov
e8d7349c79
Merge branch 'master' into dist-query-zero-shards-fix
2021-03-16 12:00:08 +03:00
Pavel Kovalenko
39f3b17041
Merge remote-tracking branch 'origin/master' into unfreeze-partitions
2021-03-16 10:56:24 +03:00
alesapin
23a7c00ba4
Merge branch 'master' into fix_alter_decimal
2021-03-16 10:24:46 +03:00
alesapin
8fd3fbc5b3
Merge pull request #20387 from Avogar/optimize-on-insert
...
Don't create empty parts on INSERT
2021-03-16 10:20:34 +03:00
Azat Khuzhin
a03a9051e1
Mark some tests as long
...
From [1] and [2]:
[1]: https://clickhouse-test-reports.s3.yandex.net/21724/dacb6066237b78511ad5f07cc65045b8cf4e5e7b/functional_stateless_tests_flaky_check_(address).html#fail1
[2]: https://clickhouse-test-reports.s3.yandex.net/21724/ee8ece157987f3cd8b68ca4a5b7df709f4688208/functional_stateless_tests_flaky_check_(address)/test_run.txt.out.log
[3]: https://clickhouse-test-reports.s3.yandex.net/21724/e4485ce0b1d1b21c4360bbdecacd2485d1634a91/functional_stateless_tests_flaky_check_(address)/test_run.txt.out.log
2021-03-16 09:52:31 +03:00
Amos Bird
f00e108410
Fix scalar subquery index analysis
2021-03-16 14:07:30 +08:00
Azat Khuzhin
05a8c73eb9
Do not overlap zookeeper path for ReplicatedMergeTree in stateless *.sh tests
...
Found with stress tests for 00626_replace_partition_from_table_zookeeper [1]:
2021.03.15 00:59:48.200106 [ 27417 ] {0f47dbeb-938a-4560-8408-a7cc7b3bafb8} <Trace> ContextAccess (default): Access granted: CREATE TABLE ON test_31.dst_r1
...
2021.03.15 00:59:48.403227 [ 27417 ] {0f47dbeb-938a-4560-8408-a7cc7b3bafb8} <Debug> test_31.dst_r1: This table /clickhouse/test_00626/dst_1 is already created, will add new replica
2021.03.15 00:59:48.736450 [ 83006 ] {b2db1355-3ec3-4e3a-9c79-f93f27c6e658} <Trace> ContextAccess (default): Access granted: CREATE TABLE ON test_31.dst_r2
...
2021.03.15 00:59:48.851768 [ 83006 ] {b2db1355-3ec3-4e3a-9c79-f93f27c6e658} <Debug> test_31.dst_r2: This table /clickhouse/test_00626/dst_1 is already created, will add new replica
...
2021.03.15 00:59:48.919059 [ 366 ] {} <Debug> test_31.dst_r2 (ReplicatedMergeTreeQueue): Loading queue from /clickhouse/test_00626/dst_1/replicas/2/queue
2021.03.15 00:59:48.919948 [ 366 ] {} <Debug> test_31.dst_r2 (ReplicatedMergeTreeQueue): Having 3 queue entries to load, 0 entries already loaded.
2021.03.15 00:59:48.921833 [ 366 ] {} <Trace> test_31.dst_r2 (ReplicatedMergeTreeQueue): Loaded queue
...
2021.03.15 00:59:51.904230 [ 246952 ] {59753eea-3896-45ca-8625-fdaa094ee9ef} <Trace> ContextAccess (default): Access granted: SYSTEM SYNC REPLICA ON test_31.dst_r2
...
2021.03.15 01:04:51.913683 [ 246952 ] {59753eea-3896-45ca-8625-fdaa094ee9ef} <Error> InterpreterSystemQuery: SYNC REPLICA test_31.dst_r2: Timed out!
[1]: https://clickhouse-test-reports.s3.yandex.net/21716/402bf77783cbda48a9ee1b748bfce3c52ef8fe11/stress_test_(memory)/test_run.txt.out.log
But the problem is more generic, so fix all tests.
2021-03-16 07:22:32 +03:00
Azat Khuzhin
e6b9740a69
Add $CLICKHOUSE_TEST_ZOOKEEPER_PREFIX (for *.sh stateless tests)
2021-03-16 07:22:32 +03:00
Azat Khuzhin
54f124aae4
Cleanup 00626_replace_partition_from_table_zookeeper
2021-03-16 07:22:32 +03:00
Anton Popov
ecd9220c77
minor fixes
2021-03-16 02:28:11 +03:00
Alexander Kuzmenkov
3c16ea0bc8
fix incorrect number of rows for Chunks with no columns in PartialSortingTransform
2021-03-16 01:59:12 +03:00
Alexey Milovidov
f48bf2aaba
Fix issue
2021-03-15 23:29:35 +03:00
Alexey Milovidov
845f4afbf4
Fix parsing of pre-epoch time
2021-03-15 21:09:05 +03:00
Alexey Milovidov
badd5165da
Fix UBSan report in rounding to years intervals
2021-03-15 20:36:49 +03:00
Alexey Milovidov
eaeb4a3bf0
Merge branch 'master' into DateTime64_extended_range
2021-03-15 16:59:32 +03:00
alesapin
31ec24255e
Fix skip list
2021-03-15 14:24:52 +03:00
alesapin
307b89f6b0
fix skip list
2021-03-15 14:20:11 +03:00
tavplubix
984050e0d1
Merge pull request #21661 from Avogar/path-param
...
Add test for path as a query parameter in system.zookeeper
2021-03-15 13:13:36 +03:00
alesapin
caccc6da37
Add missing tests
2021-03-15 12:01:26 +03:00
alesapin
d502a217e5
Merge branch 'master' into Avogar-optimize-on-insert
2021-03-15 11:38:25 +03:00
tavplubix
6a265f468e
Merge branch 'master' into distributed_ddl_improvements
2021-03-15 11:24:14 +03:00
alesapin
69b8ded578
Fix alter modify for decimal columns when type size doesn't change
2021-03-15 11:22:15 +03:00
alexey-milovidov
adbf032235
Merge pull request #21713 from ClickHouse/modulo-ubsan
...
Fix UBSan report in modulo by constant
2021-03-14 23:19:12 +03:00
Alexey Milovidov
b3d2948081
Fix UBSan report in modulo by constant
2021-03-14 17:31:07 +03:00
Maksim Kita
c94ee3151d
Merge pull request #21182 from ikarishinjieva/fix_#21170
...
fix #21170
2021-03-14 17:24:39 +03:00
Maksim Kita
40d2ec7924
Merge pull request #19816 from kitaisreal/range-hashed-dictionary-support-has-keys
...
RangeHashed dictionary support dictHas function
2021-03-14 13:44:06 +03:00
alexey-milovidov
edbaf756a0
Merge pull request #21696 from azat/stress-tests-fixes
...
Tests fixes (that was found by stress tests)
2021-03-14 12:31:57 +03:00
alexey-milovidov
53e21443eb
Merge branch 'master' into DateTime64_extended_range
2021-03-14 12:27:17 +03:00
Pavel Kruglov
e116e75d2c
Fix style
2021-03-14 02:36:40 +03:00
Maksim Kita
98192f1234
Update 01280_ssd_complex_key_dictionary.sql
2021-03-14 01:28:53 +03:00
Pavel Kruglov
d83b4d3ab6
Try fix flacky test
2021-03-13 23:44:06 +03:00
Maksim Kita
b1398e6ffa
Updated test
2021-03-13 23:26:01 +03:00
Maksim Kita
084bd03672
Merge pull request #21692 from azat/dict-ip_trie-access_to_key_from_attributes
...
Fix SIGSEGV on not existing attributes from ip_trie with access_to_key_from_attributes
2021-03-13 23:13:26 +03:00
Anton Popov
68b3cbbfe9
fix conversions for fields in function 'arrayElement' for type Map
2021-03-13 17:49:43 +03:00
alexey-milovidov
36935a335f
Merge pull request #21102 from Enmk/governance/query_log
...
Added Grant, Revoke and System query_kind for system.query_log
2021-03-13 15:16:32 +03:00
Maksim Kita
ee8c51f65e
Fixed tests
2021-03-13 14:58:31 +03:00
Maksim Kita
add444f71c
Fixed broken test
2021-03-13 14:58:31 +03:00
Maksim Kita
854bfaf366
RangeHashed dictionary support has function
2021-03-13 14:57:56 +03:00
Azat Khuzhin
833dbf1225
Mark 01294_lazy_database_concurrent_recreate_reattach_and_show_tables as long
2021-03-13 13:43:17 +03:00
Maksim Kita
79b061ac3c
Merge pull request #21668 from kitaisreal/dictionary-attributes-unique-names
...
DictionaryStructure fix non unique attribute names
2021-03-13 12:31:33 +03:00
Azat Khuzhin
2d66a5c393
Fix hang check for 00966_live_view_watch_events_http
...
If INSERT was failed then WATCH EVENTS will hang:
2021.03.12 23:45:33.666223 [ 1901 ] {} <Trace> DynamicQueryHandler: Request URI: /?allow_experimental_live_view=1&query=WATCH%20test.lv%20EVENTS
...
2021.03.12 23:45:34.119465 [ 35492 ] {55f2c8ec-df9f-4e97-9acc-385ed5b5fde2} <Error> executeQuery: Code: 241, e.displayText() = DB::Exception: Memory limit (for user) exceeded: would use 153.99 MiB (attempt to allocate chunk of 4194729 bytes), maximum: 150.00 MiB (version 21.4.1.6239) (from [::1]:43910) (in query: INSERT INTO test.mt VALUES ), Stack trace (when copying this message, always include the lines below):
...
Hung check:
elapsed: 597.835824299
is_cancelled: 0
query: WATCH test.lv EVENTS
thread_ids: [1901]
gdb:
Thread 133 (Thread 0x7f26ac95b700 (LWP 1901)):
0 0x00007f2793d447b1 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
1 0x0000000008cbd5c5 in __tsan::call_pthread_cancel_with_cleanup(int (*)(void*, void*, void*), void*, void*, void*, void (*)(void*), void*) ()
2 0x0000000008c4f134 in cond_wait(__tsan::ThreadState*, unsigned long, __tsan::ScopedInterceptor*, int (*)(void*, void*, void*), void*, void*, void*) ()
3 0x0000000008c4f339 in pthread_cond_timedwait ()
4 0x000000001831c8b6 in std::__1::__libcpp_condvar_timedwait (__cv=0x7b5801053520, __m=0x189, __ts=0x7f26ac9132b8) at ../contrib/libcxx/include/__threading_support:442
5 std::__1::condition_variable::__do_timed_wait (this=0x7b5801053520, lk=..., tp=...) at ../contrib/libcxx/src/condition_variable.cpp:74
6 0x00000000134fe7f2 in std::__1::condition_variable::wait_for<long long, std::__1::ratio<1l, 1000000l> > (this=this@entry=0x7b5801053520, __lk=..., __d=...) at ../contrib/libcxx/include/__mutex_base:462
7 0x00000000134fe2c9 in DB::LiveViewEventsBlockInputStream::tryReadImpl (this=this@entry=0x7b5c0070ff98, blocking=false) at ../src/Storages/LiveView/LiveViewEventsBlockInputStream.h:180
8 0x00000000134fd6e4 in DB::LiveViewEventsBlockInputStream::readImpl (this=0x189) at ../src/Storages/LiveView/LiveViewEventsBlockInputStream.h:115
9 0x0000000012285593 in DB::IBlockInputStream::read (this=0x7b5c0070ff98) at ../src/DataStreams/IBlockInputStream.cpp:58
10 0x00000000122afc7e in DB::copyDataImpl<std::__1::function<bool ()> const&, std::__1::function<void (DB::Block const&)> const&>(DB::IBlockInputStream&, DB::IBlockOutputStream&, std::__1::function<bool ()> const&, std::__1::function<void (DB::Block const&)> const&) (from=..., to=..., is_cancelled=..., progress=...) at ../src/DataStreams/copyData.cpp:26
11 0x00000000122af8e1 in DB::copyData(DB::IBlockInputStream&, DB::IBlockOutputStream&, std::__1::function<bool ()> const&, std::__1::function<void (DB::Block const&)> const&) (from=..., to=..., is_cancelled=..., progress=...) at ../src/DataStreams/copyData.cpp:73
12 0x0000000012cfc5e2 in DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, DB::Context&, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>) (istr=..., ostr=..., allow_into_outfile=false, context=..., set_result_details=...) at ../src/Interpreters/executeQuery.cpp:1033
13 0x000000001357941d in DB::HTTPHandler::processQuery (this=this@entry=0x7b1c006f41b0, context=..., request=..., params=..., response=..., used_output=..., query_scope=...) at ../src/Server/HTTPHandler.cpp:772
14 0x000000001357c507 in DB::HTTPHandler::handleRequest (this=<optimized out>, request=..., response=...) at ../src/Server/HTTPHandler.cpp:910
15 0x00000000135f3081 in DB::HTTPServerConnection::run (this=<optimized out>) at ../src/Server/HTTP/HTTPServerConnection.cpp:48
16 0x00000000161f9e73 in Poco::Net::TCPServerConnection::start (this=0x7b8c01554000) at ../contrib/poco/Net/src/TCPServerConnection.cpp:43
17 0x00000000161fa59f in Poco::Net::TCPServerDispatcher::run (this=<optimized out>) at ../contrib/poco/Net/src/TCPServerDispatcher.cpp:113
18 0x0000000016361732 in Poco::PooledThread::run (this=<optimized out>) at ../contrib/poco/Foundation/src/ThreadPool.cpp:199
19 0x000000001635fcd0 in Poco::(anonymous namespace)::RunnableHolder::run (this=<optimized out>) at ../contrib/poco/Foundation/src/Thread.cpp:55
20 0x000000001635e4d8 in Poco::ThreadImpl::runnableEntry (pThread=0x7b5400082538) at ../contrib/poco/Foundation/src/Thread_POSIX.cpp:345
21 0x0000000008c4e36d in __tsan_thread_start_func ()
22 0x00007f2793d3d609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
23 0x00007f2793c64293 in clone () from /lib/x86_64-linux-gnu/libc.so.6
Cc: @vzakaznikov
2021-03-13 11:32:55 +03:00
Azat Khuzhin
68dff2d954
Mark 01018_ip_dictionary as long
...
https://clickhouse-test-reports.s3.yandex.net/21692/481d897cadb6b1a309478f24a46efe506b7108d6/functional_stateless_tests_flaky_check_(address).html#fail1
2021-03-13 11:06:49 +03:00
Azat Khuzhin
a301aa64da
Do not use system-wide SYSTEM STOP TTL MERGES, use per-table instead
...
Fixes 01294_lazy_database_concurrent_recreate_reattach_and_show_tables
2021-03-13 10:37:26 +03:00
Azat Khuzhin
1ce9293e97
Fix 01035_lc_empty_part_bug under stress tests
...
Found in [1]:
2021.03.12 23:32:58.897190 [ 436606 ] {97a08a8f-4630-44f8-ba18-a94c6fabbded} <Information> test_13.lc_empty_part_bug: Waiting mutation: mutation_3.txt
...
2021.03.12 23:32:58.900444 [ 374 ] {} <Debug> test_13.lc_empty_part_bug: Current max source part size for mutation is 0 but part size 1. Will not mutate part all_1_1_0_2. Max size depends not only on available space, but also on settings 'number_of_free_entries_in_pool_to_execute_mutation' and 'background_pool_size'
...
Hang check:
query: alter table lc_empty_part_bug modify column s LowCardinality(String);
elapsed: 2156.396613506
[1]: https://clickhouse-test-reports.s3.yandex.net/21511/d7d9638ceb6bd702f34a88ee54f8f83197e90af5/stress_test_(address).html#fail1
2021-03-13 10:31:19 +03:00
Azat Khuzhin
481d897cad
Fix SIGSEGV on not existing attributes from ip_trie with access_to_key_from_attributes
...
Found with fuzzer [1]:
[1]: https://clickhouse-test-reports.s3.yandex.net/21674/2e99dad56213413a72969d47650050b42cbcc073/fuzzer_asan/report.html#fail1
2021-03-13 09:08:45 +03:00
alexey-milovidov
f6bedf55e9
Merge pull request #21642 from azat/fsync_part_directory-horizontal-merge-fix
...
Fix fsync_part_directory for horizontal merge
2021-03-12 21:22:55 +03:00
Vasily Nemkov
f4246e7be5
Merge branch 'master' into governance/query_log
2021-03-12 18:31:08 +03:00
Pavel Kruglov
7f2d03b128
Change test
2021-03-12 18:24:59 +03:00
Nikita Mikhaylov
e234990cf6
Merge pull request #19257 from nikitamikhaylov/geometry_functions
...
Merging geometry functions
2021-03-12 17:05:24 +03:00
Maksim Kita
97a58777b8
DictionaryStructure fix non unique attribute names
2021-03-12 16:36:42 +03:00
Alexander Kuzmenkov
122790efd1
Merge pull request #21629 from ucasFL/errorcode
...
redefine some errorcode
2021-03-12 16:25:13 +03:00
tavplubix
e3141124fd
Merge pull request #20946 from ClickHouse/stress_test_results
...
Move some CI-related scripts to github
2021-03-12 15:54:15 +03:00
Pavel Kruglov
b83564bdad
Add test for path as a query parameter in system.zookeeper
2021-03-12 15:08:00 +03:00