Commit Graph

7230 Commits

Author SHA1 Message Date
kssenii
d0113743c9 Merge branch 'master' of github.com:ClickHouse/ClickHouse into materialized-postgresql 2021-09-05 01:07:31 +03:00
zhangxiao871
6d5605e1ee Better support FixedString type and add test case. 2021-09-05 00:41:52 +08:00
Maksim Kita
f076cc69b4
Merge pull request #28530 from kitaisreal/dict-get-default-implementation-for-nulls
Function dictGet default implementation for nulls
2021-09-04 13:29:22 +03:00
Anton Popov
66173d2cc0 fix debug assert in table asynchronous_inserts 2021-09-04 04:11:37 +03:00
Anton Popov
275118b0e8 fix data race in InsertQuery 2021-09-04 03:57:05 +03:00
Maksim Kita
c329f04b22 Fixed tests 2021-09-03 23:08:55 +03:00
Anton Popov
59128412ea Merge remote-tracking branch 'upstream/master' into HEAD 2021-09-03 22:17:11 +03:00
Anton Popov
f91f8c1e8f add more tests with async inserts 2021-09-03 20:31:29 +03:00
Kruglov Pavel
f559c34113
Merge pull request #28302 from amosbird/binaryconstantwrap
Always monotonic for non-zero division
2021-09-03 20:02:54 +03:00
Kseniia Sumarokova
67ffb59b72
Merge pull request #28531 from CurtizJ/fix-nested
Fix usage of nested columns with non-array columns with the same prefix
2021-09-03 18:06:27 +03:00
alesapin
dd7493d871
Merge pull request #27038 from excitoon-favorites/altermaterializecolumn
`ALTER TABLE ... MATERIALIZE COLUMN`
2021-09-03 15:50:52 +03:00
Amos Bird
bb87d01579
Fix wrong header of minmax_count projection 2021-09-03 18:49:01 +08:00
kssenii
f17d1bc7a5 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into materialized-postgresql 2021-09-03 09:03:48 +00:00
Azat Khuzhin
4909d3f2e0 Fix endless loop for truncated bzip2
Stress test (thread) found an issue [1]:

    elapsed:              2094.356407533
    query:                SELECT count(), max(x) FROM file
    thread_ids:           [2927,11494,7502]
    current_database:     test_19

Stacktrace for 7502:

    0  __syscall () at ../base/glibc-compatibility/musl/x86_64/syscall.s:14
    1  0x000000001ba033b8 in clock_nanosleep (clk=1, flags=1, req=0x7fbb8adaed68, rem=0x0) at ../base/glibc-compatibility/musl/clock_nanosleep.c:21
    2  0x0000000018e25b84 in sleepForNanoseconds (nanoseconds=<optimized out>) at ../base/common/sleep.cpp:48
    3  0x0000000009a47143 in DB::injection (yield_probability=0, migrate_probability=0, sleep_probability=0.10000000000000001, sleep_time_us=100000) at ../src/Common/ThreadFuzzer.cpp:193
    4  DB::ThreadFuzzer::signalHandler () at ../src/Common/ThreadFuzzer.cpp:204
    5  0x00000000098e1447 in __tsan::CallUserSignalHandler(__tsan::ThreadState*, bool, bool, bool, int, __sanitizer::__sanitizer_siginfo*, void*) ()
    6  0x00000000098d7f99 in __tsan::ProcessPendingSignals(__tsan::ThreadState*) ()
    7  0x00000000098e57de in pread ()
    8  0x00000000099fab84 in DB::ReadBufferFromFileDescriptor::nextImpl (this=0x7b38010ddb00) at ../src/IO/ReadBufferFromFileDescriptor.cpp:62
    9  0x0000000009ab0cf3 in DB::ReadBuffer::next (this=0x7b38010ddb00) at ../src/IO/ReadBuffer.h:62
    10 DB::ReadBuffer::nextIfAtEnd (this=0x7b38010ddb00) at ../src/IO/ReadBuffer.h:78
    11 DB::Bzip2ReadBuffer::nextImpl (this=0x7b20032f4800) at ../src/IO/Bzip2ReadBuffer.cpp:59

It looks like bz2 is not capable to read/fail partially written archive:

    2021.09.03 00:52:36.744818 [ 3553 ] {90419c0a-c410-42ea-ba76-7672ff5ae5ec} <Debug> executeQuery: (from [::1]:54714) (comment: '/usr/share/clickhouse-test/queries/0_stateless/01059_storage_file_compression.sh') CREATE TABLE file (x UInt64) ENGINE = File(TSV, 'test_19/bz2.tsv.bz2')
    2021.09.03 00:52:41.255409 [ 2927 ] {9c7b4e21-cc37-438d-9c13-f9dc01efd30c} <Debug> executeQuery: (from [::1]:54750) (comment: '/usr/share/clickhouse-test/queries/0_stateless/01059_storage_file_compression.sh') TRUNCATE TABLE file
    2021.09.03 00:52:43.762791 [ 2927 ] {82857e3d-f7cc-453d-82a4-e8b8fb82ae0e} <Debug> executeQuery: (from [::1]:54758) (comment: '/usr/share/clickhouse-test/queries/0_stateless/01059_storage_file_compression.sh') INSERT INTO file SELECT * FROM numbers(1000000)
    2021.09.03 00:52:54.939333 [ 2927 ] {82857e3d-f7cc-453d-82a4-e8b8fb82ae0e} <Error> executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 63.07 GiB (attempt to allocate chunk of 4194364 bytes), maximum: 62.94 GiB. (MEMORY_LIMIT_EXCEEDED) (version 21.10.1.7982) (from [::1]:54758) (comment: '/usr/share/clickhouse-test/queries/0_stateless/01059_storage_file_compression.sh') (in query: INSERT INTO file SELECT * FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below):
    2021.09.03 00:53:08.505015 [ 2927 ] {2bc7444e-c0d6-462e-9d6a-567f70b01697} <Debug> executeQuery: (from [::1]:54842) (comment: '/usr/share/clickhouse-test/queries/0_stateless/01059_storage_file_compression.sh') SELECT count(), max(x) FROM file

  [1]: https://clickhouse-test-reports.s3.yandex.net/28474/6d5f01a56bb1715c47de8444bfc85b39228f3081/stress_test_(thread).html#fail1
2021-09-03 10:49:17 +03:00
Azat Khuzhin
acf655de16 Fix insert_quorum_timeout in zookeeper_mutations_and_insert_quorum_long 2021-09-03 10:26:03 +03:00
alesapin
1894524438
Merge pull request #28528 from ClickHouse/fix_detach_attach_versioned_collapsing
Fix detach/attach for ReplicatedVersionedCollapsingMergeTree after alter
2021-09-03 10:13:52 +03:00
alesapin
d571c84a56 Better test for flaky check 2021-09-02 23:41:00 +03:00
Anton Popov
ee7f50396b fix nested and scalar columns with dot 2021-09-02 20:22:01 +03:00
alesapin
ba78a737dc Fix detach/attach for ReplicatedVersionedCollapsingMergeTree after alter 2021-09-02 17:47:00 +03:00
Nikolai Kochetov
af0da33147
Merge pull request #27827 from ClickHouse/more-checks-for-lv-and-native
Add more checks for LC in native protocol.
2021-09-02 17:27:42 +03:00
Alexander Tokmakov
1e2844f999 support function IN 2021-09-02 16:48:41 +03:00
Alexey Milovidov
03ae73a91a Drop arcadia_skip_list.txt 2021-09-02 16:19:36 +03:00
alesapin
b592400e54
Merge pull request #28404 from ClickHouse/remove_outdated_settings
Remove obsolete settings for replicated fetches.
2021-09-02 14:03:12 +03:00
Nikolai Kochetov
5f0b1bc4e3
Merge pull request #26286 from amosbird/projection-improve2
Virtual projection for min max indices.
2021-09-02 13:03:30 +03:00
Anton Popov
5e421ab272 Merge remote-tracking branch 'upstream/master' into HEAD 2021-09-02 02:42:50 +03:00
Anton Popov
7c42ce8370 improvements of async inserts 2021-09-02 02:18:09 +03:00
Nikolay Degterinsky
53b6d918eb
Merge pull request #25310 from bharatnc/ncb/import-export-lz4
LZ4 compression for import/export
2021-09-01 21:12:50 +03:00
mergify[bot]
5d299fbdee
Merge branch 'master' into remove_outdated_settings 2021-09-01 14:07:48 +00:00
vdimir
13bf141e1d
Fix storage_join type inference 2021-09-01 15:05:47 +03:00
vdimir
c4ffc2879f
Perform join type inference for USING at ExpressionAnalyzer instead of TreeRewriter 2021-09-01 15:05:47 +03:00
tavplubix
e55c0bc40a
Merging #27980 (#28413)
* fix: empty string convert to DecimalOrNumbeOrDateOrDateTime

* fix: ifnull convert to defaut value

* fix variable name

* fix cast args

* modify ifnull args

* use short circuit

Co-authored-by: liyang830 <liyang830@jd.com>
2021-09-01 12:12:23 +03:00
alesapin
383a84553e
Merge pull request #28396 from ClickHouse/add_test_for_our_friends
Add a test for a friend
2021-09-01 10:30:44 +03:00
Nikita Mikhaylov
f471ed4506
Merge pull request #28037 from nikitamikhaylov/settings-s3-engine
Support `SETTINGS` clause for `S3` engine
2021-08-31 21:08:53 +03:00
Nikita Mikhaylov
cc29130eba chmod -x 2021-08-31 18:08:02 +00:00
Vladimir C
94d5f3a87b
Merge pull request #28349 from vdimir/issue-27691-qf
Fix non joined rows from nullable column
2021-08-31 17:09:24 +03:00
alesapin
af3c528dcb Better test 2021-08-31 16:48:01 +03:00
alesapin
d6381ea68b Fix test 2021-08-31 16:19:32 +03:00
vdimir
bef0628522 Fix S3 stateless tests 2021-08-31 12:54:45 +00:00
Nikita Mikhaylov
5f7a1bab94 better 2021-08-31 12:54:45 +00:00
Nikita Mikhaylov
cc73ca17d3 Debug 2021-08-31 12:54:45 +00:00
Nikita Mikhaylov
92446b1b88 Better 2021-08-31 12:54:45 +00:00
Nikita Mikhaylov
4a88e5f281 Better 2021-08-31 12:54:45 +00:00
Nikita Mikhaylov
26efa7184d Added minio 2021-08-31 12:54:45 +00:00
Nikita Mikhaylov
fcfda4b983 Fix tests and update ya.make 2021-08-31 12:54:45 +00:00
Nikita Mikhaylov
ae241fc129 done 2021-08-31 12:54:06 +00:00
Alexander Tokmakov
c8d8f0a38c fix 2021-08-31 15:07:00 +03:00
Nikolay Degterinsky
e8713a7d7e Merge branch 'master' into ncb/import-export-lz4 2021-08-31 13:32:39 +03:00
alesapin
525999145e
Merge pull request #26791 from ClickHouse/async-reads
Experiment with asynchronous readers
2021-08-31 13:17:45 +03:00
alesapin
a7d5b46cd8 Add a test for a friend 2021-08-31 12:13:37 +03:00
Vladimir C
3c2cee392a
Merge pull request #28350 from vdimir/fuzz-j2-sed-typo 2021-08-31 11:04:07 +03:00
Alexey Milovidov
ca6f6306f3 Merge branch 'master' into async-reads 2021-08-31 02:52:58 +03:00
Alexander Tokmakov
b387f05d9c resolve table dependencies on metadata loading 2021-08-30 22:29:22 +03:00
Vasily Nemkov
c902afddde Added system.session_log table
Which logs all the info about LogIn, LogOut and LogIn Failure events.
Additional info that is logged:
- User name
- event type (LogIn, LogOut, LoginFailure)
- Event date\time\time with microseconds
- authentication type (same as for IDENTIFIED BY of CREATE USER statement)
- array of active settings profiles upon login
- array of active roles upon login
- array of changed settings with corresponding values
- client address and port
- interface (TCP\HTTP\MySQL\PostgreSQL, etc.)
- client info (name, version info)
- optional LoginFailure reason text message.

Added some tests to verify that events are properly saved with all necessary info via following interfaces:
- TCP
- HTTP
- MySQL

Known limitations
- Not tested against named HTTP sessions, PostgreSQL and gRPC, hence those are not guaranteed to work 100% properly.
2021-08-30 18:28:28 +03:00
vdimir
943b71e4ff
Fix non joined rows from nullable column 2021-08-30 16:33:01 +03:00
vdimir
887ac96a19
Whitespace in 0_stateless/01015_empty_in_inner_right_join.sql.j2 2021-08-30 14:27:01 +03:00
Nikita Mikhaylov
fb66ab75be
Merge pull request #25633 from Avogar/json-as-string
Allow data in square brackets in JSONAsString format
2021-08-30 14:06:28 +03:00
zhangxiao871
0cf6506156 reserve for newPoints. 2021-08-30 17:29:25 +08:00
Vladimir Chebotarev
1aa86ea999 Fixed test. 2021-08-30 11:50:28 +03:00
Vladimir Chebotarev
56e4bf6bd7 Added simple test. 2021-08-30 11:50:01 +03:00
Vladimir Chebotarev
22f6ea526e Fix test. 2021-08-30 11:49:26 +03:00
Vladimir Chebotarev
087262b485 Fix test. 2021-08-30 11:49:26 +03:00
zhangxiao871
a672c63225 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into yandex-master 2021-08-30 16:26:24 +08:00
zhangxiao871
7e58d7aad4 Add test and dealing with negative numbers. 2021-08-30 16:15:34 +08:00
Alexey Milovidov
e4f3d97b52 Merge branch 'master' of github.com:yandex/ClickHouse into async-reads 2021-08-29 21:42:14 +03:00
kssenii
378e1f74aa Fix tests 2021-08-28 19:51:04 +03:00
Amos Bird
4624bf70b0
Always monotonic for non-zero division 2021-08-28 23:33:18 +08:00
zhongyuankai
addce5c132 fix system views test 2021-08-28 12:33:35 +08:00
zhongyuankai
72e05cda1f Merge branch 'master' into add-system-of-table_views 2021-08-28 11:32:58 +08:00
Amos Bird
b68857d086
Simplify projection, add minmax_count projection. 2021-08-28 11:25:37 +08:00
tavplubix
e3b2586a02
Merge pull request #28274 from ClickHouse/revert-28054-mysql
Revert "Add test for #13398"
2021-08-28 04:04:10 +03:00
Alexey Milovidov
79e0433ba7 Merge branch 'master' of github.com:yandex/ClickHouse into async-reads 2021-08-28 01:19:16 +03:00
alexey-milovidov
4eef445df9
Merge pull request #28266 from CurtizJ/fix-order-by-merge
Fix order by for `Merge` tables with `optimize_read_in_order`
2021-08-28 01:15:40 +03:00
alexey-milovidov
37b66dc70a
Merge pull request #28234 from kssenii/fix-codes
Fix error codes
2021-08-28 00:00:10 +03:00
tavplubix
c36fe210b8
Revert "Add test for #13398" 2021-08-27 21:07:10 +03:00
Anton Popov
89e1d1f64a fix order by for StorageMerge with optimize_read_in_order 2021-08-27 16:55:55 +03:00
kssenii
3f7259f955 Check error codes in style-check, update test 2021-08-27 16:26:26 +03:00
tavplubix
481cc011c7
Merge pull request #28212 from azat/zookeeper_log-improvements
zookeeper_log improvements
2021-08-27 16:22:52 +03:00
tavplubix
703101fe4d
Merge pull request #27931 from ClickHouse/wait_for_all_replicas_timeouts
Avoid too long waiting for inactive replicas
2021-08-27 14:31:36 +03:00
Nikolai Kochetov
614e30e601
Merge pull request #28205 from ClickHouse/fix-lc-and-inifinite-fields
Fix insertion of fields with Infinity values in nullable low cardinality columns
2021-08-27 11:28:13 +03:00
zhongyuankai
a7ee7621dd optimize code 2021-08-27 15:44:50 +08:00
Azat Khuzhin
44db6e2998 Mark 01158_zookeeper_log as long
According to one of flaky check (address) runs [1] it is possible for
this test to run out of 60 seconds.

  [1]: https://clickhouse-test-reports.s3.yandex.net/28212/a63ef6b8eb9d259b0dbb655ae2a9cba525db87e8/functional_stateless_tests_flaky_check_(address).html#fail1
2021-08-27 09:41:19 +03:00
Azat Khuzhin
124e252681 Avoid 01158_zookeeper_log depends on cleanup_delay_period
Like in [1].

  [1]: https://clickhouse-test-reports.s3.yandex.net/28212/a63ef6b8eb9d259b0dbb655ae2a9cba525db87e8/functional_stateless_tests_flaky_check_(address).html#fail1
2021-08-27 09:40:54 +03:00
zhongyuankai
ac0f606013 fix system views test 2021-08-27 14:14:07 +08:00
zhongyuankai
af3a1c30f7 fix system views test 2021-08-27 13:21:40 +08:00
zhongyuankai
3c19cd729f fix system views test 2021-08-27 12:27:33 +08:00
zhongyuankai
b57dff7157 update system views test 2021-08-27 11:32:17 +08:00
zhongyuankai
306da6f414 update system views test 2021-08-27 10:41:15 +08:00
zhongyuankai
5976869451 update system views test 2021-08-27 10:06:12 +08:00
Alexey Milovidov
46732e781f Merge branch 'master' of github.com:yandex/ClickHouse into async-reads 2021-08-27 01:57:48 +03:00
Azat Khuzhin
91621cfcd2 Fix reading of custom TLD w/o new line at EOF
Fixes: #28177
2021-08-27 00:43:21 +03:00
Azat Khuzhin
5bb0a91f83 Fix system.zookeeper_log.address (Before it always contains "::") 2021-08-27 00:41:06 +03:00
Nikolai Kochetov
9c028be1e4 Fix insertion of fields with Infinity values in nullable low cardinality columns. 2021-08-26 21:19:12 +03:00
mergify[bot]
401b2f3b8f
Merge branch 'master' into json-as-string 2021-08-26 15:03:59 +00:00
Nikita Mikhaylov
fc37817ada
Merge pull request #28150 from FArthur-cmd/fix_compression_26149
Fix `Attempt to read after eof with enabled data compression`
2021-08-26 17:17:09 +03:00
Kruglov Pavel
5bc332c40c
Merge pull request #28054 from kssenii/mysql
Add test for #13398
2021-08-26 16:39:43 +03:00
Kruglov Pavel
3644f2a754
Merge pull request #28096 from CurtizJ/map-keys-conversion
Support implicit conversions between index in operator [] and key of Map
2021-08-26 16:31:12 +03:00
zhongyuankai
15cbd7470a StorageSystemViews bug fix 2021-08-26 20:54:04 +08:00
alesapin
bcaff65457
Merge pull request #28028 from ClickHouse/replicated-tree-attach-wip
Allow attaching parts with 'compatible' enum types
2021-08-26 13:50:29 +03:00
Artur
933b2e07c2 add database name in go test 2021-08-26 09:44:10 +00:00
tavplubix
774af49393
Merge pull request #27529 from ClickHouse/break_some_tests
Break some tests
2021-08-26 12:40:42 +03:00
Nikolai Kochetov
7636b6ae67
Update 2010_lc_native.python 2021-08-26 11:33:48 +03:00
Ilya Yatsishin
0a9feade3d
Merge pull request #28079 from vdimir/fuzz-j2
Use jinja template tests in fuzzer
2021-08-26 10:53:45 +03:00
Nikita Mikhaylov
b505a9bf8e
Update 02013_zlib_read_after_eof.sh 2021-08-26 02:19:34 +03:00
Alexey Milovidov
3cb9cf7242 Merge branch 'master' of github.com:yandex/ClickHouse into async-reads 2021-08-26 01:55:46 +03:00
Alexey Milovidov
ada4276662 Update two tests 2021-08-26 01:15:06 +03:00
Nikita Mikhaylov
4a12a5fe91 Better 2021-08-25 21:29:28 +00:00
mergify[bot]
69d2a6080b
Merge branch 'master' into fix_compression_26149 2021-08-25 19:01:08 +00:00
Artur
40dde28f9a improve test 2021-08-25 18:01:10 +00:00
Nikita Mikhaylov
fa95fa1517 Added a test 2021-08-25 17:42:57 +00:00
mergify[bot]
ccf07ff991
Merge branch 'master' into break_some_tests 2021-08-25 17:07:23 +00:00
alesapin
eaa49f56dd
Merge pull request #27019 from lthaooo/materialize_ttl_recalculate_only
Improvement of Materialize TTL
2021-08-25 19:10:20 +03:00
Artur Filatenkov
31c7e22bd6 correct style 2021-08-25 18:29:25 +03:00
Nikolay Degterinsky
f722132f23 Merge branch 'master' into ncb/import-export-lz4 2021-08-25 14:59:17 +03:00
Filatenkov Artur
884b51116d
Merge branch 'master' into master 2021-08-25 14:34:39 +03:00
zhongyuankai
4f81ff97b2 update system.views test 2021-08-25 19:22:02 +08:00
Maksim Kita
df1fe27791
Merge pull request #28105 from azat/enable-optimize_distributed_group_by_sharding_key
Enable optimize_distributed_group_by_sharding_key by default
2021-08-25 14:07:33 +03:00
zhongyuankai
64efa917d8 review system.views 2021-08-25 18:11:40 +08:00
alesapin
6e40cad785
Revert "Improve 01730_distributed_group_by_no_merge_order_by_long" 2021-08-25 12:37:55 +03:00
mergify[bot]
eedf9f0936
Merge branch 'master' into break_some_tests 2021-08-25 08:38:00 +00:00
hexiaoting
1fe012bdfa Support Alias and rewrite some code 2021-08-25 16:24:53 +08:00
vdimir
9ea6ee7fb2
Dummy change in 01720_join_implicit_cast.sql.j2 2021-08-25 11:18:31 +03:00
zhongyuankai
52570b1c80 Merge branch 'master' into add-system-of-table_views 2021-08-25 15:59:23 +08:00
Maksim Kita
dc852568c0
Merge pull request #27796 from ClickHouse/create-user-defined-lambda-function
Merging #23978
2021-08-25 10:08:20 +03:00
Azat Khuzhin
af0a4d93ba Improve 01730_distributed_group_by_no_merge_order_by_long
Add a negativ case to show the difference w/ and w/o
optimize_aggregation_in_order=1
2021-08-25 09:05:47 +03:00
Azat Khuzhin
c3096805ac Update 01213_optimize_skip_unused_shards_DISTINCT 2021-08-25 08:41:15 +03:00
terrylin
0094115426 improvement of materilize ttl 2021-08-25 10:57:17 +08:00
Anton Popov
47bb5eb330 support implicit conversions between index in operator [] and key of Map 2021-08-24 21:16:06 +03:00
Maksim Kita
82ba24cd10 Merge branch 'master' into create-user-defined-lambda-function 2021-08-24 19:12:32 +03:00
Alexander Tokmakov
4a86deaa7d fix 2021-08-24 18:56:32 +03:00
Alexander Tokmakov
c6120baf04 Merge branch 'master' into break_some_tests 2021-08-24 17:53:48 +03:00
kssenii
761f59c6b5 Fix test 2021-08-24 13:57:30 +00:00
Nikolai Kochetov
b445e4b9d5 Fix test. 2021-08-24 16:55:36 +03:00
OnePiece
17ba4c620e
Merge branch 'ClickHouse:master' into add-system-of-table_views 2021-08-24 20:20:24 +08:00
OnePiece
7f72e51a8f
Create 02013_add_system_table_views.sql 2021-08-24 20:14:01 +08:00
OnePiece
adefa73b73
Create 02013_add_system_table_views.reference 2021-08-24 20:13:04 +08:00
mergify[bot]
ae22bab2c4
Merge branch 'master' into materialize_ttl_recalculate_only 2021-08-24 08:49:19 +00:00
Nikolay Degterinsky
d60f128a9a Merge branch 'master' into ncb/import-export-lz4 2021-08-24 11:47:10 +03:00
Alexander Tokmakov
697f2bcedb fix 2021-08-24 11:35:45 +03:00
Vladimir C
5f4ca42d15
Merge pull request #23051 from excitoon-favorites/s3partitionedwrite 2021-08-24 10:58:43 +03:00
Vladimir C
0858fdf113
Merge pull request #27036 from nickitat/nickitat_select_filter 2021-08-24 10:18:55 +03:00
Vladimir C
98acccbdcc
Merge branch 'master' into s3partitionedwrite 2021-08-24 10:03:57 +03:00
Nikolay Degterinsky
3134cd3668 Fix test 2021-08-24 02:01:14 +03:00
Dmitry Novik
d5b116b2da update tests 2021-08-24 01:00:41 +03:00
Vitaly Baranov
63e8bc1f20 Added new commands BACKUP and RESTORE. 2021-08-23 23:41:45 +03:00
Anton Popov
0db8b524f0
Merge pull request #27984 from BraulioVM/optimize/has-all-bloom-filter
Make `hasAll` filter condition leverage bloom filters
2021-08-23 22:19:50 +03:00
Nikolay Degterinsky
4c89ee1c34 Fix test to work in parallel 2021-08-23 20:12:24 +03:00
Dmitry Novik
6dad70a1fb Add check whether enums have the same underlying type or not 2021-08-23 17:55:21 +03:00
Maksim Kita
010d72593f Fixed integration tests 2021-08-23 17:31:58 +03:00
Dmitry Novik
ac2e9a27e6 Fixes #26672. Lower restrictions in StorageInMemoryMetadata::check. 2021-08-23 16:08:23 +03:00
Alexander Tokmakov
cc9c2fd63b make code better 2021-08-23 15:57:50 +03:00
Maksim Kita
2a6aa50d49 Merge branch 'master' into create-user-defined-lambda-function 2021-08-23 11:08:49 +03:00
vdimir
6fe63a80bc Fix validateKey/Bucket for S3 2021-08-23 09:22:15 +03:00
vdimir
6ba6577978 Do not allow slashes in bucket formatted from PARTITION BY 2021-08-23 09:22:15 +03:00
vdimir
c4c42b61c4 Validate uft8 in partition key from PARTITION BY for s3 2021-08-23 09:22:15 +03:00
Vladimir Chebotarev
6b75863dd4 Test fix. 2021-08-23 09:22:13 +03:00
vdimir
f02ceedd92 Add 01944_insert_partition_by to arcadia and fasttest skip list 2021-08-23 09:22:13 +03:00
vdimir
eb31b194b9 Add validation to insert partition by key to s3 2021-08-23 09:22:13 +03:00
vdimir
d13b98d1c0 Add test for unsupported INSERT PARTITION BY 2021-08-23 09:22:13 +03:00
RedClusive
1b7fe54f45 Merge branch 'master' of github.com:ClickHouse/ClickHouse into feature-quantileBfloat16 2021-08-22 12:41:11 +00:00
RedClusive
a68a7c3c36 add test 2021-08-22 12:15:20 +00:00
Braulio Valdivielso
12e57b4e24 rename hasAll tests 2021-08-22 10:12:00 +01:00
alexey-milovidov
e620ea15bd
Merge pull request #27900 from amosbird/newf
getServerPort function
2021-08-21 22:40:25 +03:00
alexey-milovidov
40a4a6663e
Merge pull request #27830 from zhanglistar/master
Add sha512 hash functions
2021-08-21 22:38:06 +03:00
alexey-milovidov
fef442ba34
Merge pull request #27939 from amosbird/jsonextractstring
Fix JSONExtract String with null value.
2021-08-21 22:37:28 +03:00
Alexey Boykov
e49d0c4533
Merge pull request #27563 from achimbab/bugfix_wf_strict
Bugfix for windowFunnel's "strict" mode.
2021-08-21 22:37:21 +03:00
Braulio Valdivielso
fbe42e4366 add tests checking hasAll uses bloom filter indices
these tests are an exact copy of those in PR #24900, only replacing
'hasAny' with 'hasAll'. Not sure yet if this is all we will want to test
2021-08-21 20:14:56 +01:00
Amos Bird
997acdc39e
getPort function 2021-08-21 20:33:36 +08:00
Amos Bird
4d3db821bb
Fix JSONExtract String with null value. 2021-08-21 17:03:16 +08:00
alexey-milovidov
5ac6a99542
Merge pull request #27927 from ClickHouse/fix_27832
Сheck cluster name before creating Distributed
2021-08-21 10:40:23 +03:00
alexey-milovidov
adc63ce279
Merge pull request #27918 from vitlibar/fix-low-cardinality-uuid-with-extremes
Fix selecting with extremes from LowCardinality(UUID)
2021-08-21 10:34:33 +03:00
Kseniia Sumarokova
19afb22b4d
Merge pull request #27932 from amosbird/constkeys
Add a setting to bring back the old behavior of grouping by constant keys on empty set.
2021-08-21 08:02:30 +03:00
bharatnc
5de6d19da8 Merge remote-tracking branch 'upstream/master' into ncb/import-export-lz4 2021-08-20 17:19:36 -07:00
Kseniia Sumarokova
f3f44ec8fb
Merge pull request #27901 from amosbird/applylambda
APPLY with lambda.
2021-08-21 00:26:03 +03:00
bharatnc
45572ed656 Update arcadia skip list 2021-08-20 13:03:18 -07:00
Kseniia Sumarokova
38a35c1d9e
Merge pull request #27530 from kssenii/col-identifier-as-col-number
Allow positional arguments for group by, order by, limit by
2021-08-20 21:08:58 +03:00
Nikolay Degterinsky
67fa80da92 Fix test 2021-08-20 19:40:38 +03:00
Ilya Yatsishin
e146afec79
Merge pull request #27905 from kitaisreal/dictionary-empty-attribute-list
Dictionary empty attribute list
2021-08-20 19:28:06 +03:00
achimbab
a516b8e843
Merge branch 'master' into bugfix_wf_strict 2021-08-21 00:00:13 +09:00
achimbab
f371151e18 Fix docs and comments for windowFunnel and remove strict option 2021-08-20 23:56:28 +09:00
Amos Bird
5708ed42ec
Add setting.
empty_result_for_aggregation_by_constant_keys_on_empty_set
2021-08-20 22:34:32 +08:00
Alexander Tokmakov
42378b5913 fix 2021-08-20 17:05:53 +03:00
mergify[bot]
02b4e56e6a
Merge branch 'master' into break_some_tests 2021-08-20 13:24:17 +00:00
Amos Bird
452602dadb
APPLY with lambda. 2021-08-20 20:38:09 +08:00
zhangxiao871
9aadba98cf Better newPoints data struct and rename test. 2021-08-20 18:27:14 +08:00
Vitaly Baranov
cbc1b2e72d Fix selecting with extremes from LowCardinality(UUID) 2021-08-20 13:10:41 +03:00
zhangxiao871
2d47804af3 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into yandex-master 2021-08-20 17:25:52 +08:00
Maksim Kita
9831995fd8 Dictionary empty attribute list 2021-08-20 12:09:05 +03:00
Maksim Kita
e0c25a1503 Fixed tests 2021-08-20 11:54:10 +03:00
Maksim Kita
5f2b28639f Merge branch 'master' into create-user-defined-lambda-function 2021-08-20 11:53:08 +03:00
Kseniia Sumarokova
74ebc5c75c
Merge pull request #27876 from CurtizJ/cast-with-minus
Fix postgres-like cast with negative numbers
2021-08-20 10:55:42 +03:00
Kseniia Sumarokova
273b8b9bc1
Merge pull request #27704 from jasine/master
feat: add conversions  between snowflake id and  dateTime(dateTime64)
2021-08-20 10:48:40 +03:00
tavplubix
64bfe21a1b
Fix test 00443_preferred_block_size_bytes.sh (#27846)
* Update 00443_preferred_block_size_bytes.sh

* Update clickhouse-test

* Update clickhouse-test

* Update database_replicated.xml
2021-08-20 00:25:14 +03:00
bharatnc
a73db91472 Compression - rename test file to suit all compressions 2021-08-19 11:17:48 -07:00
bharatnc
7b26a71625 LZ4 - add storage file compression tests 2021-08-19 11:15:29 -07:00
Kruglov Pavel
db5e24cee4
Merge pull request #27878 from Avogar/remove-tmp-folders
Remove tmp folders from tests
2021-08-19 18:51:27 +03:00
Pavel Kruglov
f3ff3aee0e Remove tmp folders from tests 2021-08-19 18:49:39 +03:00
kssenii
512d66a088 Fix 2021-08-19 15:19:11 +00:00
Anton Popov
a9d83c1eec fix postgres like cast with negative numbers 2021-08-19 18:16:57 +03:00
Nikolay Degterinsky
e12f5827cb Fix test 2021-08-19 17:52:23 +03:00
Alexander Tokmakov
0afb293b4f Merge branch 'master' into break_some_tests 2021-08-19 15:05:02 +03:00
Nikolai Kochetov
1e812e5295 Fix test. 2021-08-19 14:44:51 +03:00
Nikolai Kochetov
fd2d07944f Fix port and set timeout to socket. 2021-08-19 13:14:26 +03:00
Nikolai Kochetov
c3ee3fde0d Fix some tests. 2021-08-19 11:41:58 +03:00
alexey-milovidov
415bb6e1e1
Merge pull request #27793 from Algunenano/cleanup_leftovers
Stateless test: Cleanup leftovers
2021-08-19 11:21:03 +03:00
Nikolai Kochetov
3e44ef437e
Merge pull request #26639 from ClickHouse/fix-bad-cast
Fix bad cast
2021-08-19 11:17:26 +03:00
alexey-milovidov
190ea327e9
Merge pull request #27826 from Avogar/fix-short-circuit-fuzz
Fix bug in short-circuit found by fuzzer
2021-08-19 11:06:22 +03:00
listar
fae6ae1c7b 1. add tests and fix a length bug. 2021-08-19 07:56:47 +00:00
Nikolay Degterinsky
6ee6fb2ef2 Add test 2021-08-19 10:51:43 +03:00
Vitaly Baranov
65ee9a1272
Merge pull request #26864 from vitlibar/refactor-sessions
Introduce sessions
2021-08-19 01:38:51 +03:00
Nickita Taranov
f45573715e rename test files 2021-08-19 01:24:49 +03:00
Maksim Kita
01682a86b3 Updated user defined functions implementation 2021-08-19 00:54:55 +03:00
alexey-milovidov
c6bcd48bee
Merge pull request #27810 from Algunenano/01766fix
01766_todatetime64_no_timezone_arg: Use a date without timezone changes
2021-08-19 00:18:53 +03:00
Nikolai Kochetov
108137a67e Add more checks for LC in native protocol. 2021-08-18 19:15:57 +03:00
Pavel Kruglov
240398d58c Fix bug in expand() method 2021-08-18 19:13:07 +03:00
Kruglov Pavel
cd07cabada
Merge pull request #27788 from Avogar/nullable-decimal
Set function divide as suitable for short-circuit in case of Nullable(Decimal)
2021-08-18 19:01:44 +03:00
Kruglov Pavel
c71cac2af3
Fix test 2021-08-18 16:55:13 +03:00
tavplubix
9b45b26dd6
Merge pull request #27655 from FArthur-cmd/import_from_infile_syntax
Import `FROM INFILE`
2021-08-18 15:36:32 +03:00
Vitaly Baranov
fabd7193bd Code cleanups and improvements. 2021-08-18 14:24:52 +03:00
Kruglov Pavel
9532e2f962
Merge branch 'master' into nullable-decimal 2021-08-18 14:03:20 +03:00
Raúl Marín
d9e3adf3d5 01766: Use a date without timezone changes 2021-08-18 12:14:00 +02:00
mergify[bot]
f3199f6070
Merge branch 'master' into break_some_tests 2021-08-18 09:53:43 +00:00
Azat Khuzhin
6c566a46b6 Update 01822_short_circuit.reference (after merging #27680) 2021-08-18 10:21:41 +03:00
alexey-milovidov
eb3bbdfab5
Merge pull request #27680 from ClickHouse/decimal-no-trailing-zeros
Remove trailing zeros from Decimal serialization #15794
2021-08-18 05:24:13 +03:00
Kseniia Sumarokova
78105ecba7
Merge pull request #27757 from kssenii/fix-intersect-cast
Fix intersect/except with limit
2021-08-17 21:37:37 +03:00
Kseniia Sumarokova
f04cdf58c0
Merge pull request #27762 from evillique/tests
Add HTTP string parsing test
2021-08-17 21:36:45 +03:00
Maksim Kita
8403f381da
Merge pull request #23978 from Realist007/feature/create-simple-lambda-function
Feature/create simple lambda function
2021-08-17 21:22:31 +03:00
tavplubix
2fcc0874a8
Merge pull request #27785 from ClickHouse/fix_some_tests
Fix some tests
2021-08-17 21:13:58 +03:00
Alexander Tokmakov
1f283aeb1f fix 2021-08-17 21:10:08 +03:00
Raúl Marín
ac5ac0a106 01280_ssd_complex_key_dictionary: Delete database at end 2021-08-17 18:48:32 +02:00
Alexander Tokmakov
2945a826ab Merge branch 'master' into break_some_tests 2021-08-17 19:43:20 +03:00
Raúl Marín
f7ed6c4fb8 01516_drop_table_stress: Tag as long 2021-08-17 18:42:31 +02:00
Raúl Marín
b80ddd4bd1 01516_drop_table_stress: Parallelizable and cleanup 2021-08-17 18:41:31 +02:00
Raúl Marín
19f087cece 01114_mysql_database_engine_segfault: Cleanup beforehand 2021-08-17 18:31:40 +02:00
Raúl Marín
0e5cfdbb9d 01054_cache_dictionary_overflow_cell: Drop database at the end 2021-08-17 18:29:31 +02:00
Raúl Marín
90294e6dd8 01889_sqlite_read_write: Made parallelizable and cleanup properly 2021-08-17 18:22:41 +02:00
Pavel Kruglov
a0caa26615 Remove unnecessary files 2021-08-17 16:29:49 +03:00
Pavel Kruglov
bc853d250f Set function divide as suitable for short-circuit in case of Nullable(Decimal) 2021-08-17 16:24:28 +03:00
Maksim Kita
ad53ffc807
Merge pull request #27629 from kitaisreal/complex-key-range-hashed-dictionary
Added ComplexKeyRangeHashed dictionary
2021-08-17 16:14:18 +03:00
Alexander Tokmakov
67e7cc1dd5 fix some tests 2021-08-17 15:21:42 +03:00
Artur
e8e650b16b correct infile form local 2021-08-17 12:01:31 +00:00
Nikolai Kochetov
98eb619b4b
Merge pull request #23367 from Avogar/short-circuit
Implement short circuit function evaluation
2021-08-17 12:36:07 +03:00
小路
78d01f4b88
Update 02011_aggregation_spark_bar.sql 2021-08-17 17:35:19 +08:00
zhangxiao871
644a268963 sparkbar map instead of HashMap and some optimize. 2021-08-17 17:28:54 +08:00
Filatenkov Artur
bc5b6af8fa
Merge branch 'ClickHouse:master' into master 2021-08-17 12:22:34 +03:00
alexey-milovidov
c7dc42e30b
Update 00597_push_down_predicate_long.sql 2021-08-17 11:11:28 +03:00
Alexey Milovidov
1a3b72fa09 Update test 2021-08-17 10:15:17 +03:00
Nikolay Degterinsky
af92616cdc Add test 2021-08-17 10:00:24 +03:00
Kseniia Sumarokova
8ec6e6f209
Merge pull request #27706 from hllustosa/master
Enables query parameters in request body
2021-08-17 09:58:11 +03:00
Vladimir C
baa54d2a3b
Merge pull request #27652 from vdimir/aliased_column_distributed_bug 2021-08-17 09:39:33 +03:00
Alexey Milovidov
6ea1bd1e8c More tests 2021-08-17 09:02:37 +03:00