Ivan
be831d09f7
Update Pytest check ( #18972 )
...
* [WIP]
* Update skip-list
* Update ci_config.json
* Do not sync inserts for test
* Fix more tests
* Fix another test
* Enable one more test
* More fixed tests
* More test fixes
* Do not absolutize server path for now
* More test fixes
* Unset CLICKHOUSE_LOG_COMMENT where necessary
* Remove debugging set -e
* Fix more tests
* Fix test reference
* Fix style check
2021-02-10 21:09:13 +03:00
Anton Popov
ece7e87cfb
Merge pull request #20079 from ClickHouse/vdimir/fix-join-used-flag
...
Split use flags and RowRef in HashJoin
2021-02-10 20:34:22 +03:00
Alexander Kuzmenkov
5bd9c8b122
update reference
2021-02-10 17:42:45 +03:00
Nikita Mikhailov
30d648dc3c
better
2021-02-10 17:22:46 +03:00
Nikita Mikhailov
2e95dad834
better
2021-02-10 17:20:28 +03:00
Nikita Mikhailov
6c9f5e4991
try
2021-02-10 17:16:27 +03:00
Alexander Kuzmenkov
ba0cd9677c
update reference
2021-02-10 16:44:00 +03:00
Alexander Kuzmenkov
e557d60cdb
fixes for sort order
2021-02-10 16:27:22 +03:00
alesapin
a63d73db58
Don't allow TTL in old syntax
2021-02-10 15:09:12 +03:00
alesapin
1227ca3d7a
Fix min bytes for wide parts
2021-02-10 14:49:41 +03:00
alesapin
420f2958e2
Merge pull request #19991 from ClickHouse/constant-propagation-fix
...
Do not use inputs which values are known constants in ActionsDAG.
2021-02-10 14:13:52 +03:00
alesapin
21faea1f68
Relax check in data writer for non adaptive tables
2021-02-10 13:43:31 +03:00
Maksim Kita
85396fc82e
Merge pull request #20057 from rf/rf/add-deltasum
...
Add `deltaSum` aggregate function, docs & test
2021-02-10 13:28:48 +03:00
Amos Bird
fc6c57f8e0
Fix
2021-02-10 12:48:41 +08:00
Amos Bird
565a148da9
Normalize count() variants
2021-02-10 12:48:41 +08:00
alexey-milovidov
4ff3a28a9f
Merge pull request #20211 from amosbird/fixcte2
...
Fix CTE in INSERT-SELECT
2021-02-10 02:12:05 +03:00
alexey-milovidov
21b1a3fc6d
Merge pull request #20246 from ucasFL/avg-optimize
...
fix a problem in ArithmeticOperationsInAgrFuncOptimize
2021-02-10 02:10:15 +03:00
Vladimir Ch
a8acaafd56
Merge pull request #20223 from vdimir/fix-array-join-missing-arg
...
Handle syntax error for ARRAY JOIN with no args
2021-02-09 20:13:09 +03:00
Maksim Kita
a2560cecf4
Merge branch 'master' into fuse
2021-02-09 18:30:18 +03:00
Alexander Kuzmenkov
c18749a704
fix a bug and add some tests
2021-02-09 17:44:04 +03:00
feng lv
5e0095c70b
fix a problem in ArithmeticOperationsInAgrFuncOptimize
2021-02-09 14:17:48 +00:00
alexey-milovidov
faf28eeff3
Merge pull request #20183 from ucasFL/avg-optimize
...
rewrite avg for algebraic optimization
2021-02-09 16:36:13 +03:00
Alexander Kuzmenkov
6e40b9fb6c
fix for the DESC frame
2021-02-09 14:56:58 +03:00
alesapin
34cc9d5430
Update 01711_cte_subquery_fix.sql
2021-02-09 14:54:13 +03:00
Alexander Tokmakov
4859657c42
fix int field to decimal conversion
2021-02-09 13:21:54 +03:00
hexiaoting
28b981a76b
Fix style error and test cases error
2021-02-09 18:08:55 +08:00
vdimir
241769ee7c
Handle syntax error for ARRAY JOIN with no args
2021-02-09 11:21:26 +03:00
vdimir
79214897de
Run queries in storage join twice (issue #16991 )
2021-02-09 10:33:17 +03:00
Russ Frank
b297e0ef36
feedback: use references, dont support decimal, rearrange struct members
2021-02-08 22:51:03 -05:00
Russ Frank
746dc1ddae
Merge remote-tracking branch 'origin/master' into rf/add-deltasum
2021-02-08 15:35:16 -05:00
Alexander Tokmakov
5e0cbfe972
Merge branch 'master' into database_replicated
2021-02-08 23:01:12 +03:00
Alexander Tokmakov
78c1d69b8c
better code
2021-02-08 22:36:17 +03:00
Amos Bird
46f2b4063f
Fix CTE in INSERT-SELECT
2021-02-09 00:25:24 +08:00
bharatnc
ddbcfa8b4d
Tests - add to arcadia skip list
2021-02-08 07:48:50 -08:00
bharatnc
14fe627d32
Tests - accept review suggestion
2021-02-08 07:39:34 -08:00
bharatnc
6aa86fb533
PartLog - add tests for event_time_microseconds field
2021-02-08 07:29:36 -08:00
Alexey Milovidov
dc01464764
Merge branch 'master' into no-excessive-squash-memory
2021-02-08 15:39:22 +03:00
alexey-milovidov
e192676238
Merge pull request #19603 from JackyWoo/add_quota_type
...
add quota type QUERY_SELECTS and QUERY_INSERTS
2021-02-08 15:31:54 +03:00
tavplubix
b31891ce2b
Merge pull request #20105 from nicelulu/zookeeper_table_in_query
...
Supports system.zookeeper path IN query.
2021-02-08 15:01:56 +03:00
Kruglov Pavel
b256bd455c
Merge pull request #19961 from ucasFL/shard-id
...
add setting insert_shard_id
2021-02-08 14:28:13 +03:00
Alexander Tokmakov
7ce0ef2561
show clusters for replicated db
2021-02-08 12:14:17 +03:00
Maksim Kita
041c50c6eb
Update arcadia_skip_list.txt
2021-02-08 11:36:08 +03:00
hexiaoting
2c278f1e02
Restrict move JOINON to WHERE optimizer only to inner join
2021-02-08 13:44:50 +08:00
Alexey Milovidov
869bca74a7
Fix some tests
2021-02-07 23:37:55 +03:00
feng lv
6a5a539e98
rewrite avg for algebraic optimization
2021-02-07 14:41:41 +00:00
alexey-milovidov
3b43b0a1be
Merge pull request #20131 from azat/DateTime64-fix
...
DateTime64 fixes
2021-02-07 16:55:28 +03:00
Amos Bird
ab5c7b75a4
Delay or throw insertion when too many inactive parts
2021-02-07 19:03:55 +08:00
JackyWoo
c2f893c2e2
add 01297_create_quota to parallel skip list
2021-02-07 13:04:57 +08:00
Amos Bird
1b32292dd0
bitmap function for all native integers
2021-02-07 11:32:54 +08:00
JackyWoo
77c0f0a0e7
add quota type QUERY_SELECTS and QUERY_INSERTS
2021-02-07 10:57:18 +08:00
Alexey Milovidov
5b62b89752
Fix test
2021-02-07 05:49:07 +03:00
Azat Khuzhin
46ff7d2ab0
Fix DateTime64 overflows
2021-02-07 02:24:31 +03:00
Alexey Milovidov
1209c02869
Fix overflow in mapPopulateSeries
2021-02-06 23:18:42 +03:00
Kruglov Pavel
d94e8624d7
Merge branch 'master' into shard-id
2021-02-06 16:48:17 +03:00
Azat Khuzhin
c4b5eed4ff
Fix DateTime64 initialization (to match DateTime behaviour)
...
There was no specializations for toDateTime64(<numeric>), and because of
this default decimal conversion was used, however this is not enough for
DateTime/DateTime64 types, since the date may overflow and the proper
check is required (like DateTime has), and this what UBsan found [1]:
../src/IO/WriteHelpers.h:812:33: runtime error: index 508 out of bounds for type 'const char [201]' Received signal -3 Received signal Unknown signal (-3)
Backtrace:
(gdb) bt
0 LocalDateTime::LocalDateTime (this=0x7fffffff8418, year_=1970, month_=1 '\001', day_=1 '\001', hour_=2 '\002', minute_=0 '\000', second_=254 '\376') at LocalDateTime.h:83
1 0x00000000138a5edb in DB::writeDateTimeText<(char)45, (char)58, (char)32, (char)46> (datetime64=..., scale=7, buf=..., date_lut=...) at WriteHelpers.h:852
2 0x0000000019c379b4 in DB::DataTypeDateTime64::serializeText (this=0x7ffff5c4b0d8, column=..., row_num=0, ostr=..., settings=...) at DataTypeDateTime64.cpp:66
3 0x0000000019d297e4 in DB::IDataType::serializeAsText (this=0x7ffff5c4b0d8, column=..., row_num=0, ostr=..., settings=...) at IDataType.cpp:387
[1]: https://clickhouse-test-reports.s3.yandex.net/19527/cea8ae162ffbf92e5ed29304ab010704c5d611c8/fuzzer_ubsan/report.html#fail1
Also fix CAST for DateTime64
2021-02-06 13:04:53 +03:00
Azat Khuzhin
0627ba0e36
Fix timezone argument for DateTime64
...
It should be marked with always const, otherwise it will bail:
Code: 44, e.displayText() = DB::Exception: Illegal column String of time zone argument of function, must be constant string: While processing toDateTime(-1, 1, 'GMT'), Stack trace (when copying this message, always include the lines below):
2021-02-06 13:04:53 +03:00
Azat Khuzhin
f4c2048bf2
Fix toDateTime64(toDate()/toDateTime()) for DateTime64
...
Maybe this is even does not worth it, but at least there was code that
assume that this should work - ToDateTime64Transform in
FunctionsConversion.h.
2021-02-06 13:04:53 +03:00
alexey-milovidov
5c281bd2f1
Merge pull request #20133 from ClickHouse/fix_if_tuple
...
Fix if with tuple then/else arguments
2021-02-06 09:52:54 +03:00
alesapin
f81a407cdd
Fix if with tuple then/else arguments
2021-02-05 22:39:26 +03:00
Alexey Milovidov
60f2e89cfb
Fix the case when DataType parser may have exponential complexity
2021-02-05 22:21:30 +03:00
Alexander Kuzmenkov
4bb38f333b
some simple cases
2021-02-05 18:34:03 +03:00
alexey-milovidov
20a3b9782f
Merge pull request #20063 from hexiaoting/dev_mod
...
Add more tests for modulo of division of negative number
2021-02-05 17:26:24 +03:00
alesapin
65d7b39cd6
Merge pull request #20073 from ClickHouse/fix-split-filter-remove-column
...
Fix removing of filter column when split filter actions.
2021-02-05 13:31:02 +03:00
hexiaoting
a379779f87
Merge remote-tracking branch 'origin/master' into dev_mod and add more test cases
2021-02-05 17:09:14 +08:00
zhangxiao871
e00e7ae56e
add test.
2021-02-05 17:08:13 +08:00
zhangxiao871
7738f86ec8
add test.
2021-02-05 17:02:27 +08:00
Alexander Kuzmenkov
7bca563e5a
Merge pull request #20068 from ClickHouse/aku/long-flaky
...
detect unmarked long tests in flaky check
2021-02-05 10:07:19 +03:00
Alexander Kuzmenkov
cb791dbc7f
Update 01443_merge_truncate_long.sh
2021-02-05 10:06:53 +03:00
Alexander Kuzmenkov
a1bcd4b128
Update 01232_preparing_sets_race_condition_long.sh
2021-02-05 10:06:39 +03:00
Alexander Kuzmenkov
52b52ede22
Update 00840_long_concurrent_select_and_drop_deadlock.sh
2021-02-05 10:06:17 +03:00
alexey-milovidov
34151eea2c
Merge pull request #20067 from ClickHouse/mod-negative-type-promotion
...
Add type promotion for modulo of division of negative number
2021-02-05 09:31:46 +03:00
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