hexiaoting
b892fff406
Add alexey's fix: using another logic and more comments
2021-02-05 10:31:16 +08:00
Alexander Tokmakov
18f6b5bbad
add timeouts
2021-02-04 22:41:44 +03:00
Alexander Kuzmenkov
26020daca5
Merge remote-tracking branch 'origin/master' into HEAD
2021-02-04 20:58:25 +03:00
Alexander Kuzmenkov
3796a183ba
Merge remote-tracking branch 'origin/master' into HEAD
2021-02-04 20:54:36 +03:00
Alexander Kuzmenkov
b0fba3dece
mark as long
2021-02-04 20:51:32 +03:00
Russ Frank
43f9bfd1fe
merge tests
2021-02-04 11:55:37 -05:00
Nikolai Kochetov
4d66bc413c
Update test.
2021-02-04 16:19:20 +03:00
Alexander Kuzmenkov
858043cd53
detect unmarked long tests in flaky check
2021-02-04 15:06:48 +03:00
alexey-milovidov
c12f2d460e
Merge pull request #19972 from ClickHouse/fix-rocksdb
...
Fix missing type check in EmbeddedRocksDB
2021-02-04 15:06:12 +03:00
Alexey Milovidov
a3ac276741
Add type promotion for modulo of division of negative number
2021-02-04 14:56:04 +03:00
Alexander Kuzmenkov
02ca7386b1
Merge pull request #19951 from ClickHouse/aku/window-prototype-3
...
CURRENT ROW and offset for start of ROWS frame
2021-02-04 14:33:13 +03:00
alexey-milovidov
298a29ef52
Merge pull request #20049 from ClickHouse/point-in-polygon-ubsan
...
Avoid UBSan report in pointInPolygon
2021-02-04 13:51:30 +03:00
hexiaoting
81b0cc381d
enlarge signed type for modulo function
2021-02-04 17:36:09 +08:00
Nikolai Kochetov
aead46c146
Update test.
2021-02-04 12:20:57 +03:00
Nikolai Kochetov
d6d7365cdd
Update test
2021-02-04 12:19:02 +03:00
Alexander Kuzmenkov
c1c71fc8e9
ROWS OFFSET frame end
2021-02-04 10:41:09 +03:00
Alexey Milovidov
55c7fdbbe4
Merge branch 'master' into fix-rocksdb
2021-02-04 08:30:02 +03:00
Alexey Milovidov
f467104919
Merge branch 'point-in-polygon-ubsan' of github.com:yandex/ClickHouse into point-in-polygon-ubsan
2021-02-04 08:27:15 +03:00
Alexey Milovidov
47a56b9d1d
Merge branch 'master' into point-in-polygon-ubsan
2021-02-04 08:26:41 +03:00
Russ Frank
8a931799be
fix tests
2021-02-04 00:14:15 -05:00
Russ Frank
3913f39211
Add deltaSum
aggregate function, docs & test
2021-02-03 22:49:28 -05:00
hexiaoting
1795735950
Remove create-db sql in test case
2021-02-04 10:23:03 +08:00
Azat Khuzhin
984445b44b
Fix UBsan reports in quantileTiming
...
UBsan reports [1]:
../src/AggregateFunctions/QuantileTiming.h:442:27: runtime error: 1.84467e+19 is outside the range of representable values of type 'unsigned long' Received signal -3 Received signal Unknown signal (-3)
[1]: https://clickhouse-test-reports.s3.yandex.net/19971/e15f5d9cb5b36482d1ae9ca069074fb200f2ab37/fuzzer_ubsan/report.html#fail1
Follow-up for: #19394
2021-02-04 02:01:48 +03:00
Alexander Tokmakov
066fb4c82b
fix
2021-02-03 23:02:37 +03:00
Azat Khuzhin
cc43f92719
Fix tests *.reference files
...
Using:
sed -i 's/MergeTree with order/MergeTree with order/g' tests/queries/0_stateless/*.reference
Fixes: dc2afc4795
("Fix double whitespace #18383 ")
2021-02-03 22:45:54 +03:00
alexey-milovidov
ca06d3b317
Merge branch 'master' into fix-rocksdb
2021-02-03 21:28:50 +03:00
alexey-milovidov
402c018d1e
Merge pull request #19947 from azat/dist-INSERT-block-structure-mismatch
...
Fix "Block structure mismatch" for INSERT into Distributed
2021-02-03 21:27:45 +03:00
alexey-milovidov
0aca4a740c
Update 01700_point_in_polygon_ubsan.sql
2021-02-03 21:26:03 +03:00
Alexey Milovidov
eb8b2e883a
Add a test
2021-02-03 21:25:04 +03:00
Nikolai Kochetov
c39c965612
Merge pull request #19962 from keen-wolf/timezoneOffset
...
Implement the timezoneOffset function
2021-02-03 20:37:34 +03:00
Alexey Milovidov
82ab793731
Fix missing type check in StorageEmbeddedRocksDB
2021-02-03 20:35:23 +03:00
Alexander Kuzmenkov
ec382d8812
BETWEEN CURRENT ROW AND CURRENT ROW
2021-02-03 17:55:40 +03:00
Alexander Kuzmenkov
35754abb4a
CURRENT ROW frame start for RANGE frame
2021-02-03 17:22:37 +03:00
Alexander Kuzmenkov
7c55ecf67d
cleanup
2021-02-03 16:41:59 +03:00
Alexander Kuzmenkov
f31d2206a7
more fuzzing and less bugs
2021-02-03 15:50:25 +03:00
hexiaoting
45aee71fff
Modified some implementation
2021-02-03 18:52:20 +08:00
hexiaoting
56de38ea6a
Merge remote-tracking branch 'origin/master' into dev_joinon
2021-02-03 17:20:24 +08:00
Alexander Kuzmenkov
bb45c5a8ff
Merge remote-tracking branch 'origin/master' into HEAD
2021-02-03 12:13:23 +03:00
Maksim Kita
ba45cf32ab
Merge pull request #19858 from kitaisreal/reinterpret-as-updated-to-big-integers
...
Function reinterpretAs updated to support big integers
2021-02-03 12:12:13 +03:00
Alexander Kuzmenkov
a164abf23e
add frame fuzzing and one query that fails under msan
2021-02-03 09:42:54 +03:00
PHO
09c49d3842
Add function runningConcurrency()
...
Given a series of beginning time and ending time of events, this function calculates concurrency of the events at each of the data point, that is, the beginning time.
2021-02-03 14:34:44 +09:00
keenwolf
b7e4f7bd1e
modify file attribute
2021-02-03 00:41:11 +08:00
Alexander Kuzmenkov
264aea20be
Merge remote-tracking branch 'origin/master' into HEAD
2021-02-02 19:12:46 +03:00
keenwolf
9beb7689cc
add comments and update test cases.
2021-02-02 23:35:45 +08:00
Vitaly Baranov
9427d5d94b
Merge pull request #19805 from vitlibar/allow-getting-return-type-of-dictget-without-loading-dictionary
...
Fix starting the server with tables having default expressions containing dictGet()
2021-02-02 18:19:55 +03:00
Alexander Kuzmenkov
d2a0e44a3a
Merge pull request #19299 from ClickHouse/aku/window-prototype
...
[wip] support RANGE frame for window functions
2021-02-02 17:59:16 +03:00
alexey-milovidov
695e28079d
Merge pull request #19960 from ClickHouse/json-extract-inaccurate-conversion-from-double-to-float
...
Allow inaccurate conversion from double to float in function JSONExtract beacuse the users want that
2021-02-02 15:15:37 +03:00
alexey-milovidov
4d0973cf25
Merge pull request #19959 from depressed-pho/fix-segv-fromModifiedJulianDay
...
Fix a segfault in fromModifiedJulianDay()
2021-02-02 13:50:14 +03:00
alexey-milovidov
05b8164133
Merge pull request #19956 from ClickHouse/geohash-ubsan
...
Fix UBSan report in geoHashesInBox
2021-02-02 12:52:01 +03:00
feng lv
0edf65c094
fix test
...
fix
update
fix spell
2021-02-02 09:22:30 +00:00
Kruglov Pavel
fd5adf1ff6
Merge pull request #19925 from ClickHouse/fix_insert_values_with_semicolon
...
Fix logical error in INSERT VALUES
2021-02-02 12:05:19 +03:00
tavplubix
befee42ab0
Merge pull request #19684 from yiguolei/master
...
Should fail ddl query as soon as possible if table is shutdown
2021-02-02 11:46:58 +03:00
alexey-milovidov
f5dc38a33c
Merge pull request #19584 from azat/client-complete-error-codes
...
client: more suggestions
2021-02-02 11:05:17 +03:00
feng lv
4279c7da41
add setting insert_shard_id
...
add test
fix style
fix
2021-02-02 04:26:59 +00:00
keenwolf
f21e22ae2c
add test for function timezoneOffset
2021-02-02 12:22:45 +08:00
Alexey Milovidov
078011ef2d
Allow conversion from double to float in function JSONExtract beacuse the users want that
2021-02-02 07:16:47 +03:00
PHO
5f7a852b92
Fix a segfault in fromModifiedJulianDay()
...
It was crashing when the argument type was Nullable(T) where T was any integral type other than Int32.
2021-02-02 12:43:36 +09:00
Alexey Milovidov
9930bb0bf6
Fix UBSan report in geoHashesInBox
2021-02-02 06:37:24 +03:00
Alexey Milovidov
b9fff3676b
Add exception for ANTLR tests
2021-02-02 06:03:10 +03:00
Alexander Kuzmenkov
d084625436
cleanup
2021-02-02 03:51:35 +03:00
Alexander Kuzmenkov
78a9624fc5
CURRENT ROW frame start for ROWS frame
2021-02-02 02:27:23 +03:00
Alexander Kuzmenkov
ef46c36317
start offset for ROWS frame
2021-02-02 02:27:17 +03:00
Azat Khuzhin
37797fdf5b
Merge remote-tracking branch 'upstream/master' into client-complete-error-codes
2021-02-02 00:14:53 +03:00
alexey-milovidov
6b2f0435c8
Merge pull request #19375 from Avogar/select-final
...
Improve do_not_merge_across_partitions_select_final optimization.
2021-02-01 20:31:08 +03:00
alexey-milovidov
1f0a91e0ab
Merge pull request #19677 from kitaisreal/executable-dictionary-implicit-key-option
...
ExecutableDictionarySource added implicit_key option
2021-02-01 20:13:25 +03:00
alexey-milovidov
2901591f81
Merge pull request #19876 from ClickHouse/intdiv-ubsan
...
Fix UBSan report in intDiv
2021-02-01 20:12:30 +03:00
alesapin
2aa8a6304b
Merge pull request #15450 from CurtizJ/fix-ttl-group-by
...
Fix some cases of TTL expressions
2021-02-01 16:48:07 +03:00
Nikolai Kochetov
19e4a33f9d
Merge pull request #19544 from amosbird/limitconcurrency
...
Per MergeTree table query limit
2021-02-01 16:09:12 +03:00
alexey-milovidov
f09158de0c
Merge pull request #19884 from kitaisreal/bloom-filter-index-crash-fix
...
BloomFilter index crash fix
2021-02-01 15:42:56 +03:00
alexey-milovidov
9161a5f570
Merge pull request #19875 from ClickHouse/text-log-fix-deadlock
...
Fix deadlock in system.text_log
2021-02-01 15:42:16 +03:00
Alexander Tokmakov
accf4d262e
fix logical error
2021-02-01 15:40:57 +03:00
tavplubix
2a20f20f21
Merge pull request #19790 from taiyang-li/fix_client_select
...
fix client bug while executing select
2021-02-01 13:17:14 +03:00
tavplubix
1e44e3f341
Update 01671_ddl_hang_timeout.sh
2021-02-01 12:53:13 +03:00
Maksim Kita
beee7a4f02
Added test to arcadia_skip_list
2021-02-01 12:35:47 +03:00
Maksim Kita
d3f299269f
Fixed code review issues
2021-02-01 12:35:47 +03:00
Maksim Kita
d194294d0b
Fixed tests
2021-02-01 12:35:47 +03:00
Maksim Kita
dafb0ef4e9
ExecutableDictionarySource added implicit_key option
2021-02-01 12:35:47 +03:00
alexey-milovidov
ef72ba7349
Merge pull request #19861 from amosbird/fixcte
...
Fix crash when pushing down predicates to union distinct subquery
2021-02-01 10:28:41 +03:00
alesapin
d9598c47b4
Merge pull request #19702 from ClickHouse/fix_rare_bug_after_part_corruption
...
Fix incorrect virtual_parts after part corruption
2021-02-01 10:09:48 +03:00
yiguolei
fa03fbdc5b
fix functional test
2021-02-01 13:16:54 +08:00
alexey-milovidov
2459777f57
Update 01681_bloom_filter_nullable_column.sql
2021-02-01 07:55:58 +03:00
Alexey Milovidov
1c0c3b3aab
Merge branch 'master' into intdiv-ubsan
2021-02-01 07:46:40 +03:00
yiguolei
bef5af3f57
fix functional test
2021-02-01 11:35:02 +08:00
alexey-milovidov
08f713f177
Merge pull request #14822 from vzakaznikov/live_view_periodic_refresh
...
Adding support for periodically refreshed LIVE VIEW tables
2021-02-01 06:11:30 +03:00
yiguolei
768e461d28
add functional test
2021-02-01 10:40:48 +08:00
Alexey Milovidov
efb9293587
Adjust test scale
2021-02-01 05:28:18 +03:00
alexey-milovidov
7567bb2e31
Merge pull request #19860 from ClickHouse/hyperscan-assert
...
Fix debug assertion in Hyperscan
2021-02-01 03:45:08 +03:00
alexey-milovidov
a6b0fdd3eb
Merge pull request #19862 from ClickHouse/ubsan-gather-utils
...
Fix UBSan report in GatherUtils
2021-02-01 03:43:43 +03:00
alexey-milovidov
9407c5baf4
Merge pull request #19868 from amosbird/fixif
...
Fix argMinMaxIf crash
2021-02-01 03:42:48 +03:00
Alexander Tokmakov
84d3d6e728
fix 'Unmatched parentheses', add test
2021-02-01 02:10:41 +03:00
Maksim Kita
65183f1fea
Fixed tests
2021-01-31 23:54:52 +03:00
Maksim Kita
1aa8d7fdfb
BloomFilter index crash fix
2021-01-31 21:49:27 +03:00
Maksim Kita
a4812aa97b
Updated tests
2021-01-31 18:32:47 +03:00
alexey-milovidov
342baa4223
Merge pull request #19720 from ClickHouse/unicode-asan
...
Fix unsufficient args check (trash code) in StringSearcher
2021-01-31 15:43:05 +03:00
alexey-milovidov
b80ad9f9bc
Merge pull request #19859 from ClickHouse/date-time-add-ubsan
...
Fix UBSan report in DateTimeAddInterval
2021-01-31 14:09:04 +03:00
vdimir
000b51f95a
Merge pull request #19518 from bharatnc/ncb/toIPv6-parses-IPv4
...
toIPv6 function parses IPv4 addresses
2021-01-31 13:56:45 +03:00
Alexey Milovidov
4eb21ca396
Add a test
2021-01-31 13:25:31 +03:00
Alexey Milovidov
051e4832b9
Add a test
2021-01-31 13:05:00 +03:00
Amos Bird
18f3df31d5
Fix crash when pushing down predicates to union distinct subquery
2021-01-31 16:29:29 +08:00
Amos Bird
c39ee3f58c
Fix argMinMaxIf crash
2021-01-31 16:27:46 +08:00
Alexey Milovidov
246ed24801
Update test
2021-01-31 11:23:55 +03:00
alexey-milovidov
842c2c840c
Merge pull request #19773 from ClickHouse/tavplubix-patch-3
...
Fix stack overflow in FieldVisitorAccurateEquals
2021-01-31 11:09:41 +03:00
alexey-milovidov
dceb0be9ed
Merge pull request #19774 from ClickHouse/clickhouse-test-log-comment
...
Add log comment when running .sh tests
2021-01-31 10:14:21 +03:00
Alexey Milovidov
248540e58f
Fix UBSan report in GatherUtils
2021-01-31 10:10:37 +03:00
Alexey Milovidov
e5736c4c8d
Fix debug assertion in Hyperscan
2021-01-31 07:23:07 +03:00
Alexey Milovidov
ae65219525
More tests
2021-01-31 06:56:39 +03:00
Alexey Milovidov
0128d185ea
Fix UBSan report in DateTimeAddInterval
2021-01-31 06:49:33 +03:00
Alexey Milovidov
921ee52ebc
More tests
2021-01-31 05:47:59 +03:00
Vitaly Baranov
cbd4bace6f
Mark that test 01676_dictget_in_default_expression should not be run in parallel.
2021-01-31 05:25:29 +03:00
Alexey Milovidov
5c718c8754
Merge branch 'master' into unicode-asan
2021-01-31 02:40:24 +03:00
Alexey Milovidov
895be295a1
Fix test
2021-01-31 02:22:55 +03:00
Alexey Milovidov
a923b94bdb
Merge branch 'master' into clickhouse-test-log-comment
2021-01-31 01:38:27 +03:00
alexey-milovidov
8ac39e7f56
Merge pull request #19791 from ClickHouse/format-readable-time-delta-ubsan
...
formatReadableTimeDelta: correctly output infinite values
2021-01-31 01:37:59 +03:00
Alexey Milovidov
30e1db7f47
Merge branch 'master' into azat-client-complete-error-codes
2021-01-31 00:01:47 +03:00
vdimir
5cb99ae699
Use offsets in FunctionIPv6StringToNum for copying ipv4 to buffer
2021-01-30 20:20:11 +03:00
Vitaly Baranov
7c8deae0e1
Fix starting the server with tables having columns' default expressions containing dictGet().
...
Allow getting return type of dictGet() without loading dictionary.
2021-01-30 19:06:48 +03:00
Vitaliy Zakaznikov
124bd1ea19
Fixing live view refresh test.
...
Adding live view refresh with dictionary test.
2021-01-30 10:56:02 -05:00
Vitaliy Zakaznikov
dc9c3c8514
Fixing styling errors.
...
Adding simple tests.
2021-01-30 09:00:42 -05:00
Azat Khuzhin
502d981ab4
Use BinaryArithmeticOverloadResolver::valid_on_float_arguments for lcm/gcd
2021-01-30 09:12:31 +03:00
Azat Khuzhin
7da4083237
Forbid bit functions for floats
...
This will fix the following UB report [1]:
"../src/Functions/bitAnd.cpp:24:61: runtime error: nan is outside the
range of representable values of type 'long' Received signal -3 Received
signal Unknown signal (-3)"
[1]: https://clickhouse-test-reports.s3.yandex.net/19824/89c4055202b9d08459f90ee5791d4e3017b82fbf/fuzzer_ubsan/report.html#fail1
2021-01-30 09:12:31 +03:00
Alexey Milovidov
d44ce00391
Merge branch 'master' into format-readable-time-delta-ubsan
2021-01-30 07:28:38 +03:00
Alexander Kuzmenkov
5519e4c134
unbounded following frame end
2021-01-30 04:16:44 +03:00
Pavel Kruglov
c53c414b99
Add test for incorrect data on insert into CollapsingMegeTree
2021-01-30 01:21:17 +03:00
Pavel Kruglov
2a3aaed562
Update test
2021-01-30 00:41:44 +03:00
Pavel Kruglov
d3fe53a44f
Update reference
2021-01-29 23:17:10 +03:00
alexey-milovidov
276e972166
Merge pull request #19789 from ClickHouse/fix-great-circle-angle
...
Fix mistake in greatCircleAngle
2021-01-29 21:35:26 +03:00
alexey-milovidov
d19feb724b
Merge pull request #19799 from CurtizJ/fix-uint8-filtering
...
Fix filtering by Uint8 greater than 127
2021-01-29 21:34:42 +03:00
Pavel Kruglov
78371e15dc
Update test, reduce num_threads_for_lonely_parts if data is small
2021-01-29 21:00:08 +03:00
Pavel Kruglov
71f4acd48b
Use one pool for lonely parts, update tests
2021-01-29 17:30:14 +03:00
alesapin
0943ecb37b
More sequential tests
2021-01-29 15:46:14 +03:00
alexey-milovidov
4cfcc18a7f
Merge pull request #19786 from ClickHouse/int-round-ubsan
...
Fix UBSan report in "round"
2021-01-29 14:59:12 +03:00
Pavel Kruglov
a437ee4e31
Merge branch 'master' of github.com:ClickHouse/ClickHouse into select-final
2021-01-29 14:25:47 +03:00
Alexander Tokmakov
b1a02481db
add test
2021-01-29 12:51:47 +03:00
alesapin
c4c9ab5d7d
Fix bad test
2021-01-29 12:27:35 +03:00
Anton Popov
031132038b
fix filtering by uint8 greater than 127
2021-01-29 10:39:18 +03:00
Azat Khuzhin
585874bf46
tests: add a test for clickhouse-client autocompletion
...
v2: Increase timeout for 01676_clickhouse_client_autocomplete
https://github.com/ClickHouse/ClickHouse/pull/19584#discussion_r565727175
v3: Disable 01676_clickhouse_client_autocomplete in unbundled build (arcadia)
autocomplete does not have to work fully unbundled build (since it lack
of replxx).
Similar to bd523a0aff
v4: set expect timeout back to 1 and increase total timeout to 20 sec
v4: set expect timeout back to 3 and increase total timeout to 22 (3*X+1) sec
2021-01-29 07:50:08 +03:00
Alexey Milovidov
b7f1a953d5
Fix test
2021-01-29 06:24:59 +03:00
Alexey Milovidov
f06bb78c5d
Merge branch 'master' into unicode-asan
2021-01-29 05:18:29 +03:00
Alexey Milovidov
eee84eec79
formatReadableTimeDelta: correctly output infinite values
2021-01-29 05:14:15 +03:00
keenwolf
643b1da999
just restart the CI test
2021-01-29 10:14:10 +08:00
Alexey Milovidov
f4a05bd773
Fix mistake in greatCircleAngle
2021-01-29 05:05:46 +03:00
Alexey Milovidov
b3944006cb
Fix trivial bug in arrayEnumerateUniq
2021-01-29 04:41:55 +03:00
alexey-milovidov
10160e5adf
Merge pull request #19767 from kitaisreal/low-cardinality-uuid-fix
...
LowCardinality UUID fix
2021-01-29 04:06:28 +03:00
Alexey Milovidov
eb0473c3f9
Fix UBSan report in "round"
2021-01-29 04:03:38 +03:00
Alexey Milovidov
9c111a7bdb
Translate comment in test
2021-01-29 03:53:54 +03:00
alexey-milovidov
9dfe451c35
Merge pull request #19762 from kitaisreal/clickhouse-client-query-param-cte-test
...
Clickhouse client query param CTE added test
2021-01-29 03:39:37 +03:00
Maksim Kita
5e3fce1509
Added test to ANTLR skip_list.json
2021-01-29 00:29:51 +03:00
Alexander Kuzmenkov
1b891e042d
fix a bug
2021-01-28 21:18:16 +03:00
Alexey Milovidov
a121a5250b
Add log comment when running .sh tests
2021-01-28 20:31:34 +03:00
alexey-milovidov
8dbafc90ca
Merge pull request #19763 from ClickHouse/fix-crash-with-array-filter
...
Fix crash when nested column name was used in `WHERE` or `PREWHERE`
2021-01-28 20:19:04 +03:00
Alexander Kuzmenkov
3ace39fbf7
simplify a loop and make RANGE frame the default
2021-01-28 20:05:01 +03:00
Alexander Kuzmenkov
348bbe85b2
Merge pull request #19715 from ClickHouse/aku/flaky-parallel
...
Run tests in parallel in flaky check
2021-01-28 19:16:28 +03:00
Alexander Kuzmenkov
e9b570acee
Update 01014_lazy_database_basic.sh
2021-01-28 19:15:56 +03:00
Alexander Kuzmenkov
8b3e0e5493
Update 00459_group_array_insert_at.sql
2021-01-28 19:15:39 +03:00
keenwolf
c0ac1444cb
adapting to mawk
2021-01-28 23:33:17 +08:00
alexey-milovidov
386bcb07da
Merge pull request #19736 from ClickHouse/stack-overflow-coroutine
...
Fix stack overflow in coroutine
2021-01-28 18:20:44 +03:00
Anton Popov
7db0766192
fix flaky checks
2021-01-28 17:40:50 +03:00
kssenii
65c061de49
FFix
2021-01-28 13:28:11 +00:00
keenwolf
d3763e735b
replace mawk with gawk
2021-01-28 21:18:31 +08:00
keenwolf
5d774c0cd9
find method to get user_files_path
2021-01-28 19:13:32 +08:00
Maksim Kita
105ecef628
LowCardinality UUID fix
2021-01-28 14:11:34 +03:00
kssenii
9c7881f4c9
Fix
2021-01-28 10:30:54 +00:00
Nikolai Kochetov
3d0f878535
Added test.
2021-01-28 12:44:12 +03:00
Maksim Kita
b5d2611aea
Clickhouse client query param CTE added test
2021-01-28 12:36:17 +03:00
alexey-milovidov
6c5302969b
Merge pull request #19704 from ClickHouse/fix-crash-after-actions-dag-merge
...
Fix crash after merging ActionsDAG.
2021-01-28 11:16:39 +03:00
Maksim Kita
03eec39719
Merge pull request #19712 from kitaisreal/added-functions-parse-date-time-best-effort-us-or-zero-or-null
...
Added functions parseDateTimeBestEffortUSOrZero, parseDateTimeBestEffortUSOrNull
2021-01-28 11:13:45 +03:00
Alexey Milovidov
d42afe703c
Merge branch 'master' into unicode-asan
2021-01-28 10:45:46 +03:00
alexey-milovidov
342326978f
Merge branch 'master' into stack-overflow-coroutine
2021-01-28 10:45:20 +03:00
Alexey Milovidov
d37ca628df
Arcadia does not have bitmaps
2021-01-28 10:44:29 +03:00
Alexey Milovidov
68c542aec6
Update test
2021-01-28 07:43:59 +03:00
Alexey Milovidov
2acff24aaf
The test most likely would not work in Arcadia
2021-01-28 06:42:20 +03:00
Alexey Milovidov
708e68b983
Fix stack overflow in coroutine
2021-01-28 04:28:19 +03:00
Alexey Milovidov
b0b4ccbc6c
Merge branch 'master' into unicode-asan
2021-01-28 03:37:17 +03:00
alexey-milovidov
fa48545b87
Merge pull request #19617 from ClickHouse/fix-lc-neighbour
...
Fix function neighbor for LowCardinality argument.
2021-01-28 03:06:56 +03:00
alexey-milovidov
a35c79f093
Merge pull request #19711 from ClickHouse/fix-flaky-test-14
...
Fix flaky test concat_nary_const_with_nonconst_segfault
2021-01-28 03:02:34 +03:00
alexey-milovidov
fa419cead2
Merge pull request #19713 from kitaisreal/roaring-bitmap-with-small-set-rbandnot-fix
...
RoaringBitmapWithSmallSet rb_andnot fix
2021-01-28 03:02:20 +03:00
Alexander Kuzmenkov
0cb8a8070e
Update skip_list.json
2021-01-27 22:50:18 +03:00
Alexander Kuzmenkov
54f47c468c
mark all create database tests as sequential-only
2021-01-27 21:34:48 +03:00
Azat Khuzhin
a727fc4755
Fix 01115_join_with_dictionary flakiness
2021-01-27 21:15:18 +03:00
Alexey Milovidov
80dfa40feb
Add a test
2021-01-27 20:42:04 +03:00
Maksim Kita
83b9677f1c
Added test
2021-01-27 20:35:50 +03:00
Anton Popov
a8f3078ce9
Merge remote-tracking branch 'upstream/master' into HEAD
2021-01-27 19:48:55 +03:00
Alexander Kuzmenkov
0db606084a
change some tests to see the effect
2021-01-27 18:30:09 +03:00
vdimir
36963e0eba
Minor fix
2021-01-27 18:17:42 +03:00
Alexander Kuzmenkov
331e8211db
Merge pull request #19675 from azat/tests-query_log-current_database
...
Require current_database filter for tests with query_log/query_thread_log
2021-01-27 18:00:33 +03:00
Maksim Kita
9db9ce11dc
Added functions parseDateTimeBestEffortUSOrZero, parseDateTimeBestEffortUSOrNull
2021-01-27 17:10:06 +03:00
Alexey Milovidov
3b943cd00b
Fix flaky test concat_nary_const_with_nonconst_segfault
2021-01-27 16:59:44 +03:00
Nikolai Kochetov
fc614d03c1
Update 01666_merge_tree_max_query_limit.reference
2021-01-27 14:37:13 +03:00
Nikolai Kochetov
99a0401c82
Update 01666_merge_tree_max_query_limit.sh
2021-01-27 14:36:55 +03:00
Nikolai Kochetov
2a626f63e6
Fix reference file
2021-01-27 14:24:46 +03:00
Nikolai Kochetov
2e2f4066b3
Update test.
2021-01-27 14:12:21 +03:00
Nikolai Kochetov
d13ec0d909
Fix crash after mergine ActionsDAG.
2021-01-27 14:10:09 +03:00
alexey-milovidov
5e54c9742f
Merge pull request #19683 from ClickHouse/mysql-compatibility
...
Merging #19387
2021-01-27 13:48:26 +03:00
Nikolai Kochetov
e3ac2639d2
Merge pull request #19648 from ClickHouse/fix-merge-join-constants
...
Fix merge join constants
2021-01-27 12:49:27 +03:00
Azat Khuzhin
0a1fd29ee6
Add current_database = currentDatabase() filter for tests with query_log/query_thread_log
2021-01-27 08:06:15 +03:00
hexiaoting
9fa3e09bb1
Add more test cases
2021-01-27 11:36:15 +08:00
hexiaoting
4a17f5c73a
Move condistions from JOIN ON to WHERE
2021-01-27 11:24:17 +08:00
Alexey Milovidov
fe2e38bf8c
Skip two tests in Arcadia because it builds without base64
2021-01-27 05:09:30 +03:00
Alexey Milovidov
16b7a0e8ad
Merge branch 'master' into mysql-compatibility
2021-01-27 05:07:30 +03:00
alexey-milovidov
2028228f4b
Merge pull request #18684 from amosbird/betterwith
...
better CTE and with global
2021-01-27 04:33:17 +03:00
Alexander Kuzmenkov
0d69249c56
typo
2021-01-27 03:27:40 +03:00
Alexander Kuzmenkov
83cfdde6d9
RANGE frame works in some cases
2021-01-27 03:08:15 +03:00
Maksim Kita
81548e051e
Merge pull request #19527 from ucasFL/sign
...
add sign math function
2021-01-26 23:57:31 +03:00
alexey-milovidov
e8dedbf210
Merge pull request #19532 from azat/UBsan-report-fixes-v2
...
Forbid lcm/gcd for floats (and few UBsan reports fixes)
2021-01-26 23:16:54 +03:00
Amos Bird
d6c0479cf9
add normalizeQueryKeepNames and normalizedQueryHashKeepNames ( #18910 )
2021-01-26 17:51:30 +03:00
alexey-milovidov
985805fd01
Merge pull request #19583 from ClickHouse/merge-log-comment
...
Merging #18549
2021-01-26 17:11:07 +03:00
Nikolai Kochetov
578f36e4f3
Update test.Fix ya.make.
2021-01-26 16:58:49 +03:00
vdimir
bcae07128a
Merge pull request #19530 from taiyang-li/length_for_map
...
enable length for map, which returns keys number in map
2021-01-26 16:21:21 +03:00
vdimir
a4643bcff2
Whitespace fixes
2021-01-26 16:19:13 +03:00
feng lv
cea8ae162f
fix test
2021-01-26 12:37:44 +00:00
Nikolai Kochetov
87246ea91b
Fix header for MergeJoin with constants.
2021-01-26 15:37:42 +03:00
Nikolai Kochetov
d821cf11f8
Fix function neighbor for LowCardinality argument.
2021-01-26 13:31:29 +03:00
tavplubix
b8d6655131
Merge pull request #19572 from ClickHouse/fix_19568
...
Fix DROP TABLE ON CLUSTER SYNC hang with Atomic database
2021-01-26 12:51:07 +03:00
Maksim Kita
463a48dfe3
Merge pull request #19533 from kitaisreal/multi-if-constant-result-support
...
Function multiIf constant result support
2021-01-26 12:44:23 +03:00
Maksim Kita
16eb7b01b6
Merge pull request #19571 from kitaisreal/create-simple-dictionary-id-expression-fix
...
Query CREATE DICTIONARY id expression fix
2021-01-26 12:43:49 +03:00
tavplubix
16561753e8
Update arcadia_skip_list.txt
2021-01-26 11:21:18 +03:00
Amos Bird
66fe97d8bd
Per MergeTree table query limit
2021-01-26 14:03:31 +08:00
Azat Khuzhin
27a5794795
Fix UBsan report in lcm()/gcd()
...
Changelog:
- Check against INT64_MIN/INT64_MAX
- Check against std::numeric_limits<>::min/max
- Move common code into separate header - GCDLCMImpl.h
- Forbid floats
UBsan report [1].
[1]: https://clickhouse-test-reports.s3.yandex.net/19466/cb30a02540a0f223df6668c5f88ff84aa666ff54/fuzzer_ubsan/report.html#fail1
2021-01-26 08:33:49 +03:00
Amos Bird
3afcccaad2
Fix global with after union refactoring
2021-01-26 10:29:12 +08:00
Amos Bird
824aee4020
better cte and with global
2021-01-26 10:29:11 +08:00
bharatnc
a102c78328
tests for toIPv6 and IPv6StringToNum
2021-01-25 17:38:55 -08:00
Azat Khuzhin
f4a4d33c2d
Suppress UBsan reports in addYears()
...
https://clickhouse-test-reports.s3.yandex.net/19528/1c364b6ee3a44487529954cf2792e615f7de0f82/fuzzer_ubsan/report.html#fail1
2021-01-26 01:12:40 +03:00
alexey-milovidov
8084e4d614
Merge pull request #19414 from ClickHouse/fix-15889-continuation
...
Continue fix for Block structure mismatch in PipelineExecuting stream
2021-01-26 00:05:35 +03:00
alexey-milovidov
7197552535
Merge pull request #19430 from ClickHouse/fix-14100
...
Fix error Extremes transform was already added to pipeline
2021-01-26 00:04:14 +03:00
Alexey Milovidov
a47b0190fd
Add a test
2021-01-25 22:25:49 +03:00
Maksim Kita
ce9a6d32eb
Updated tests with always false condition
2021-01-25 21:53:47 +03:00
Maksim Kita
f70a704e2c
Added test
2021-01-25 21:22:27 +03:00
Anton Popov
658f24dcff
Merge pull request #19358 from CurtizJ/fix-subcolumns
...
Fix several cases, while reading subcolumns
2021-01-25 20:26:07 +03:00
Nikolai Kochetov
a6f787faea
Merge pull request #19253 from ClickHouse/split-actions-dag
...
Split actions dag
2021-01-25 18:13:42 +03:00
alesapin
7d4bf6d56c
Merge pull request #19551 from ClickHouse/fix_01459_test
...
Fix 01459_manual_write_to_replicas flaky test
2021-01-25 18:05:20 +03:00
Anton Popov
f203a33a8f
Merge pull request #19515 from hexiaoting/map_functions_fix
...
Bug fix : support const column processing in mapContains, mapKeys, mapValues functions
2021-01-25 17:30:59 +03:00
dankondr
fb268ec339
Add toMinute MySQL compatibility alias
2021-01-25 16:35:58 +03:00
dankondr
23e86a57d8
Add toSecond MySQL compatibility alias
2021-01-25 16:26:38 +03:00
dankondr
8ca52f9894
Add toQuarter MySQL compatibility alias
2021-01-25 16:24:06 +03:00
dankondr
f49c8779a8
Add repeat MySQL compatibility alias
2021-01-25 16:20:40 +03:00
dankondr
d7c5dd3767
Add toYear MySQL compatibility alias
2021-01-25 16:00:11 +03:00
dankondr
8f115f2923
Add toMonth MySQL compatibility alias
2021-01-25 15:59:49 +03:00
Alexander Tokmakov
769257acf4
fix drop table on cluster hang
2021-01-25 15:44:10 +03:00
taiyang-li
586def7fa3
enable empty/notEmpty for map data type
2021-01-25 18:31:39 +08:00
alesapin
94f6a5533e
Fix 01459_manual_write_to_replicas flaky test
2021-01-25 10:43:20 +03:00
alesapin
fe133580ee
Merge pull request #19346 from azat/system.parts-_state-fix
...
Fix system.parts _state column
2021-01-25 10:11:19 +03:00
alexey-milovidov
ba3e064a63
Merge pull request #19371 from kssenii/test-coverage-with-factories
...
test coverage with factories
2021-01-25 07:11:09 +03:00
keenwolf
a671ebf3e9
skip the client test for being unable to get the correct user_files_path
2021-01-25 11:21:09 +08:00
Maksim Kita
dac6cceac1
Function multiIf constant result support
2021-01-25 00:35:49 +03:00
alexey-milovidov
73501102f3
Merge pull request #19528 from azat/merge_tree_min_for_concurrent_read-SIGSEGV
...
Fix SIGSEGV with merge_tree_min_rows_for_concurrent_read/merge_tree_min_bytes_for_concurrent_read=0/UINT64_MAX
2021-01-25 00:18:42 +03:00
alexey-milovidov
77af612bc5
Merge pull request #19466 from azat/UBsan-report-fixes
...
UBsan report fixes (arraySlice, addMinutes/addHours/addWeeks/addDays, sumWithOverflow(Decimal))
2021-01-24 22:27:15 +03:00
dankondr
3746f6cbd7
Add tests
2021-01-24 15:16:34 +00:00
taiyang-li
f51c3ee9a3
enable length for map, which returns keys number in map
2021-01-24 22:54:08 +08:00
Azat Khuzhin
1c364b6ee3
Fix SIGSEGV with merge_tree_min_rows_for_concurrent_read/merge_tree_min_bytes_for_concurrent_read=0/UINT64_MAX
...
In case of 0 or too huge value it will try to read not existing marks
and got:
Logical error: 'Trying to get non existing mark 11936128518282651045, while size is 2'.
2021-01-24 14:39:57 +03:00
Azat Khuzhin
cb30a02540
Fix UBsan report in addDays(INT64_MAX)
...
https://clickhouse-test-reports.s3.yandex.net/19466/df53438a66ee95de790b60d35f36eca986590027/fuzzer_ubsan/report.html#fail1
2021-01-24 13:51:05 +03:00
Azat Khuzhin
df53438a66
Fix UBsan report in sumWithOverflow(Decimal)
...
https://clickhouse-test-reports.s3.yandex.net/19450/3fffa16aab8f5342926b3a6b1e3c6a14208e3322/fuzzer_ubsan/report.html#fail1
2021-01-24 09:26:07 +03:00
feng lv
667119918e
add sign math function
2021-01-24 05:18:59 +00:00
alexey-milovidov
ab6343ff1f
Merge pull request #19474 from ClickHouse/aes-fix-strange-code
...
Fix insufficient args check in AES functions
2021-01-23 22:05:01 +03:00
alexey-milovidov
9df296b55e
Merge pull request #19480 from ClickHouse/blns
...
Integrate with "Big List of Naughty Strings"
2021-01-23 21:52:41 +03:00
keenwolf
6d23dd2590
fix test: to get user_files_path from config
2021-01-23 23:57:08 +08:00
hexiaoting
0f05b0ac9a
Add Const column test cases for mapContains/Keys/Values
2021-01-23 22:53:08 +08:00
hexiaoting
143b84240e
Add const column test case for mapKeys and mapValues
2021-01-23 22:48:14 +08:00
Alexey Milovidov
2b85007af9
Update test
2021-01-23 15:15:03 +03:00
kssenii
0d940c6137
Add AggregateFunctionCombinatorFactory, better names
2021-01-23 12:07:37 +00:00
Alexey Milovidov
598952c243
Remove flawed variants of "encrypt" from tests
2021-01-23 12:32:30 +03:00
alexey-milovidov
c3fc1d83dc
Merge branch 'master' into aes-fix-strange-code
2021-01-23 12:14:17 +03:00
alexey-milovidov
1e42caa888
Merge pull request #19475 from ClickHouse/avg-weighted-ubsan
...
Fix UBSan report in avgWeighted
2021-01-23 12:13:28 +03:00
Alexey Milovidov
9983beed83
Remove Arcadia
2021-01-23 12:08:54 +03:00
Alexey Milovidov
d1bd4ef793
Merge branch 'master' of github.com:yandex/ClickHouse into blns
2021-01-23 12:08:38 +03:00
alexey-milovidov
7a10fbc9c3
Merge pull request #19479 from ClickHouse/columns-description-idiotic
...
Fix wrong serde of ColumnsDescription
2021-01-23 12:08:15 +03:00
Alexey Milovidov
ba7438a893
Remove Arcadia
2021-01-23 12:07:58 +03:00
alexey-milovidov
9baac1204e
Merge pull request #19472 from ClickHouse/date-lut-buffer-overflow
...
Fix buffer overflow in DateLUT
2021-01-23 12:05:10 +03:00
alexey-milovidov
40c9b0ae1b
Merge pull request #19461 from ClickHouse/great-circle-distance-ubsan
...
Avoid UBSan report in greatCircleDistance
2021-01-23 12:03:02 +03:00
alexey-milovidov
bbaa0786d9
Merge pull request #19460 from ClickHouse/running-difference-ubsan
...
Fix UBSan report in runningDifference
2021-01-23 12:02:48 +03:00
alexey-milovidov
474ff29ded
Merge pull request #19459 from ClickHouse/array-slice-ubsan
...
Fix UBSan report in arraySlice and substring
2021-01-23 12:02:34 +03:00
keenwolf
140bcc4dc3
Just to restart the CI test being suspended unexpectedly
2021-01-23 16:45:05 +08:00
Maksim Kita
f5deb6d523
Merge pull request #19354 from kitaisreal/accurate-cast-or-null-fixed-unitialized-values
...
Function accurateCastOrNull fixed unitialized values for numeric cast
2021-01-23 10:58:52 +03:00
Azat Khuzhin
86ead0f0a9
Suppress UBsan for addMinutes/addHours/addWeeks with inf
...
https://clickhouse-test-reports.s3.yandex.net/19466/bb6f775b89da564cff9892a2443332a758e884c0/fuzzer_ubsan/report.html#fail1
2021-01-23 08:31:20 +03:00
alexey-milovidov
feebf64cb1
Merge pull request #19397 from ClickHouse/aes-msan
...
Fix MSan report in AES functions
2021-01-23 04:47:36 +03:00
Alexey Milovidov
b326a4b7f9
Integrate with Big List of Naughty Strings for better fuzzing
2021-01-23 04:42:04 +03:00
Alexey Milovidov
1b6ee55c6a
More tests
2021-01-23 04:26:03 +03:00
Alexey Milovidov
7005e3a826
Fix wrong serde of ColumnsDescription
2021-01-23 04:11:18 +03:00
Alexey Milovidov
02d28c1f9b
Fix UBSan report in avgWeighted
2021-01-23 03:17:58 +03:00
Alexey Milovidov
f7db6e10d3
Fix very strange code in AES functions
2021-01-23 02:35:40 +03:00
Alexey Milovidov
505898747e
Fix buffer overflow in DateLUT
2021-01-23 01:58:41 +03:00
Alexey Milovidov
bbe3c54f34
Merge branch 'aes-msan' into aes-remove-complications
2021-01-23 00:48:45 +03:00
Azat Khuzhin
bb6f775b89
Fix UBsan report in arraySlice (with INT64_MIN as offset)
...
- arraySlice([], INT64_MIN) -- FunctionArraySlice::executeImpl
Found with fuzzer [1].
[1]: https://clickhouse-test-reports.s3.yandex.net/19378/2c42600cf9bd8e9962b5b5a0ebb4bf11a10887ea/fuzzer_ubsan/report.html#fail1
v2: removed fixes that is already included into #19459
- arraySlice(groupArray([]), INT64_MIN) -- sliceDynamicOffsetUnbounded
2021-01-23 00:25:50 +03:00
Azat Khuzhin
f2910deec2
Fix UBsan report in date functions
...
Found with fuzzer [1]:
[1]: https://clickhouse-test-reports.s3.yandex.net/19381/95c9e57ec13e450ec6535cf723f504a2e68e3e2c/fuzzer_ubsan/report.html#fail1
2021-01-23 00:25:49 +03:00
Alexey Milovidov
0528ca60d6
Avoid UBSan report in greatCircleDistance
2021-01-23 00:03:59 +03:00
alexey-milovidov
25ea281297
Merge pull request #19360 from vdimir/issue-18197
...
Fix default value in join types with non-zero default (close #18197 )
2021-01-22 23:51:56 +03:00
Alexey Milovidov
4047542b61
Fix UBSan report in runningDifference
2021-01-22 23:46:51 +03:00
Alexey Milovidov
4afcb94a8a
Fix Style check
2021-01-22 23:41:26 +03:00
Alexey Milovidov
ae8de8259f
Fix UBSan report in substring
2021-01-22 23:40:04 +03:00
alexey-milovidov
a04360e6b2
Update 01664_array_slice_ubsan.sql
2021-01-22 23:36:10 +03:00
Alexey Milovidov
fb71a0704e
Fix UBSan report in arraySlice
2021-01-22 23:35:16 +03:00
tavplubix
49e1321df4
Merge pull request #19072 from ClickHouse/fix_19021
...
Fix checkpoint in PeekableReadBuffer over ConcatReadBuffer
2021-01-22 21:00:04 +03:00
Nikolai Kochetov
290eadc121
Merge branch 'master' into split-actions-dag
2021-01-22 18:09:34 +03:00
tavplubix
9801bfc0ee
Merge branch 'master' into fix_18063
2021-01-22 17:28:05 +03:00
alexey-milovidov
f44f169aaa
Merge pull request #19385 from ClickHouse/sum-ubsan
...
Avoid UBSan report in aggregate function sum
2021-01-22 17:25:55 +03:00
alexey-milovidov
6e1d660e36
Merge pull request #19390 from ClickHouse/http_referer
...
Add http_referer to client info
2021-01-22 17:25:09 +03:00
alexey-milovidov
9818bd319a
Merge pull request #19381 from azat/parts-types-metrics
...
Add metrics for MergeTree parts (Wide/Compact/InMemory) types
2021-01-22 17:24:50 +03:00
alexey-milovidov
3431e39587
Merge pull request #19393 from ClickHouse/extract-all-groups-fail-fast
...
Fail fast in incorrect usage of extractAllGroups
2021-01-22 17:24:13 +03:00
alexey-milovidov
9add38f47b
Merge pull request #19394 from ClickHouse/quantile-weighted-overflow
...
Fix UBSan report in quantileExactWeighted
2021-01-22 17:18:01 +03:00
alexey-milovidov
7b62871765
Merge pull request #19383 from ClickHouse/h3-fix-buffer-overflow
...
Fix buffer overflow in Uber H3
2021-01-22 17:14:29 +03:00
Kruglov Pavel
b2d5370b36
Merge pull request #17359 from ildus/tuple_arg_for_argMinMax
...
Add tuple argument support for argMin and argMax
2021-01-22 17:11:01 +03:00
Nikolai Kochetov
d683bf42ce
Review fixes.
2021-01-22 16:46:56 +03:00
Nikolai Kochetov
70b4199869
Add test.
2021-01-22 16:30:01 +03:00
Maksim Kita
d712748304
Function accurateCastOrNull fixed unitialized values for numeric cast
2021-01-22 16:24:51 +03:00
tavplubix
2d988f6791
Update arcadia_skip_list.txt
2021-01-22 16:01:04 +03:00
keenwolf
67f1dcd9d3
adjust the testcases due to the CI test environment change
2021-01-22 20:37:34 +08:00
kssenii
6dc32ae4cb
More correct for functions and aggr. functions
2021-01-22 11:58:29 +00:00
Alexander Kuzmenkov
6296cc6b09
Merge pull request #19361 from ClickHouse/aku/reconnect
...
Reconnect after client errors
2021-01-22 13:32:56 +03:00
Alexander Kuzmenkov
8b9105bf39
Merge pull request #18446 from azat/constant-folding
...
Fix constant folding when the result is unknown
2021-01-22 13:26:24 +03:00
Nikolai Kochetov
2e95000d64
Update tests.
2021-01-22 13:25:59 +03:00
Nikolai Kochetov
b19316a2af
Fix test.
2021-01-22 13:06:59 +03:00
Nikolai Kochetov
42d46e2a26
Update tests.
2021-01-22 12:39:33 +03:00
keenwolf
b3c0baa967
fix mkdir with -p
2021-01-22 15:29:39 +08:00
keenwolf
8461e89645
Remove getArgumentsThatAreAlwaysConstant, also add 2 testcases
2021-01-22 11:43:31 +08:00
Alexey Milovidov
56d09886e2
Fix MSan report in AES functions
2021-01-22 04:08:10 +03:00
alexey-milovidov
4e11e7cfa9
Merge pull request #18772 from azat/optimize-memory-tracking-fix
...
[RFC] Fix memory tracking for OPTIMIZE TABLE/merges
2021-01-22 03:48:06 +03:00
Alexey Milovidov
14adc2d5f0
Fix UBSan report in quantileExactWeighted
2021-01-22 03:05:45 +03:00
Alexey Milovidov
e38ff3517d
Fail fast in incorrect usage of extractAllGroups
2021-01-22 02:48:26 +03:00
Alexey Milovidov
79229ef25a
Skip Arcadia
2021-01-22 02:01:17 +03:00
Alexey Milovidov
117708abc6
Skip Arcadia
2021-01-22 01:59:56 +03:00
Alexey Milovidov
afc6f2fd8e
Add http_referer to client info
2021-01-22 01:55:45 +03:00
Alexey Milovidov
056b44b64f
Add a test
2021-01-22 01:49:37 +03:00
kssenii
daab2c91bb
Better
2021-01-21 21:15:11 +00:00
alexey-milovidov
1883bc546a
Merge pull request #19357 from ClickHouse/values-ubsan
...
Fix potential nullptr dereference in table function VALUES
2021-01-21 23:34:41 +03:00
alexey-milovidov
37c345f55e
Merge pull request #19347 from ClickHouse/array-element-ubsan
...
Avoid UBSan report in arrayElement
2021-01-21 23:34:19 +03:00
kssenii
1ec463b61f
Fast test fix
2021-01-21 20:02:44 +00:00
Alexander Kuzmenkov
71e663701d
update the tests
2021-01-21 22:56:28 +03:00
Alexey Milovidov
d9cb1c1bdd
Avoid UBSan report in aggregate function sum
2021-01-21 22:52:00 +03:00
Pavel Kruglov
7706eb4f36
update test reference
2021-01-21 22:06:49 +03:00
Alexey Milovidov
cc160813ce
Add a test
2021-01-21 21:44:48 +03:00
Azat Khuzhin
82e7e7d9cb
Fix constant folding for expressions depends from subqueries result
...
Do not use subquery result, when value is unknown, for constant folding.
v2: fix simple subqueries, fixes 00597_push_down_predicate.
v3:
- use identity over introducing yet another cast analog (as suggested by @akuzm)
- simpler suitable_for_const_folding check
v4: use identity(cast()) since only cast() can provide corrent type (for
data types that does not have it's own type, i.e. DateTime)
v5: do not optimize consts if only_analyze isset, regardless the block
content
2021-01-21 21:26:50 +03:00
Azat Khuzhin
44011061b5
Add missing DROP TABLE at the beginning of 01268_mv_scalars test
2021-01-21 21:22:23 +03:00
Azat Khuzhin
95c9e57ec1
Add 01600_parts_types_metrics
2021-01-21 21:17:01 +03:00
Azat Khuzhin
974f0daeb9
Add set database_atomic_wait_for_drop_and_detach_synchronously=1 for 01600_parts_states_metrics
...
Without this setting the test will pass only when the table will be
actually removed by the background worker of the Atomic engine.
In CI this is not required since
database_atomic_wait_for_drop_and_detach_synchronously is set explicitly
in via tests/users.d.
2021-01-21 21:17:01 +03:00
Azat Khuzhin
926b0ddc59
Rename 01600_count_of_parts_metrics to 01600_parts_states_metrics
2021-01-21 21:17:00 +03:00
Nikita Mikhaylov
b93732e441
Merge pull request #18788 from hexiaoting/map_functions
...
Introduce mapContains, mapKeys, mapValues functions for Map data type
2021-01-21 21:02:03 +03:00
Alexander Kuzmenkov
eb7b87ee8d
update tests
2021-01-21 21:01:32 +03:00
Pavel Kruglov
900580af02
Add parallel select when there is one part with level>0 in select final
2021-01-21 20:34:50 +03:00
kssenii
c1702f34ee
Add factories info into system.query_log
2021-01-21 15:46:37 +00:00
Alexander Kuzmenkov
36a42a1f96
update tests
2021-01-21 18:30:51 +03:00
Alexander Kuzmenkov
ec8ff21526
Reconnect after client errors
2021-01-21 17:28:46 +03:00
vdimir
2f11fdf4df
Fix default value in join types with non-zero default ( close #18197 )
2021-01-21 16:49:44 +03:00
Alexey Milovidov
375db8ce7e
Update reference
2021-01-21 16:42:47 +03:00
Anton Popov
ac3de63a71
fix several cases, while reading subcolumns
2021-01-21 15:34:11 +03:00
alexey-milovidov
7370335f87
Merge pull request #19339 from ClickHouse/fix-ipv4-formatting
...
Fix bad formatting of IPv4 addresses
2021-01-21 15:20:24 +03:00
Alexey Milovidov
56012402e2
Fix potential nullptr dereference in table function VALUES
2021-01-21 15:19:00 +03:00
alexey-milovidov
08dc5ebfa7
Merge pull request #19343 from ucasFL/sleep
...
fix sleep with infinite input
2021-01-21 15:04:30 +03:00
Ildus Kurbangaliev
47a0f4e162
Add tuple argument support for argMin and argMax
2021-01-21 16:47:51 +05:00
Alexey Milovidov
2cd04e8923
Fix UBSan report in arraySum
2021-01-21 14:43:33 +03:00
flynn
e75b116466
Rewrite sum(if())
and sumIf
to countIf
in special cases ( #17041 )
...
Co-authored-by: vdimir <vdimir@yandex-team.ru>
2021-01-21 12:01:35 +03:00
Alexey Milovidov
110089086b
Fix UBSan report in GatherUtils #19287
2021-01-21 11:41:19 +03:00