Commit Graph

7230 Commits

Author SHA1 Message Date
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
Kseniia Sumarokova
9292869c4f
Merge pull request #27689 from kssenii/fix-union-distinct-subquery
Fix union distinct
2021-08-17 08:48:51 +03:00
kssenii
1ad4b6ed60 Fix 2021-08-16 23:34:39 +03:00
Maksim Kita
2d24b443f5 Fixed tests 2021-08-16 20:40:57 +03:00
Artur
4c1f06258f correct test 2021-08-16 17:27:03 +00:00
Nikolai Kochetov
e25694e78d Fix test. 2021-08-16 19:51:04 +03:00
Artur
ca65b819d3 correct error type 2021-08-16 16:09:12 +00:00
tavplubix
974acb615a
Merge pull request #27734 from ClickHouse/fix_test_01014
Fix test 01014_lazy_database_concurrent_recreate_reattach_and_show_tables
2021-08-16 18:56:17 +03:00
vdimir
910787c5b6
Improve aliased_column_distributed_bug, fix check 2021-08-16 18:04:20 +03:00
kssenii
7be06f894e Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into col-identifier-as-col-number 2021-08-16 14:50:37 +00:00
vdimir
887d6b0867
Add 02008_aliased_column_distributed_bug.sql 2021-08-16 17:26:13 +03:00
Realist007
63dfa8559f
Merge branch 'master' into feature/create-simple-lambda-function 2021-08-16 16:56:49 +03:00
Artur
3591c3c8f4 correct code according to comments 2021-08-16 13:28:39 +00:00
Alexander Tokmakov
3c8611a522 fix 2021-08-16 15:54:56 +03:00
Alexander Tokmakov
b8d9bc862d fix 2021-08-16 15:36:12 +03:00
kssenii
844e04e341 Fix 2021-08-16 15:32:44 +03:00
Pavel Kruglov
7c98fc11b9 Fix performance, make only one setting 2021-08-16 14:30:56 +03:00
Alexander Tokmakov
ba2684079c fix test 2021-08-16 13:56:03 +03:00
jasine
1f21131db6 fix: doc and test 2021-08-16 18:52:10 +08:00
Vladimir C
4135d67d42
Merge pull request #27430 from azat/client-test-hint-str 2021-08-16 13:43:28 +03:00
jasine
c414a3aebf feat: add docs and tests 2021-08-16 17:24:51 +08:00
Alexander Tokmakov
d9bd467537 fix 2021-08-16 12:18:52 +03:00
Nickita Taranov
3b13b79d65 throw in AggregateFunctionCombinatorIf instead 2021-08-16 12:10:51 +03:00
Alexey Milovidov
fabdcf7e71 Update tests 2021-08-16 11:08:53 +03:00
kssenii
c01be0354b Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-union-distinct-subquery 2021-08-16 09:09:10 +03:00
hermano
9993b9a038 Adds tests 2021-08-15 21:17:33 -03:00
alexey-milovidov
4a36366925
Merge pull request #27648 from Algunenano/i27620
Disable arrayJoin on partition expressions
2021-08-16 02:53:36 +03:00
Maksim Kita
88f75375de
Merge pull request #27692 from ClickHouse/map-data-type-parsing-tests
Map data type parsing tests
2021-08-16 00:58:56 +03:00
Azat Khuzhin
c5d9676779 Accept error code by error name in client test hints 2021-08-16 00:16:48 +03:00
kssenii
9bbaa7e64a Update test 2021-08-15 23:13:42 +03:00
Alexander Tokmakov
21f2da6d33 Merge branch 'master' into break_some_tests 2021-08-15 22:02:36 +03:00
Kseniia Sumarokova
b024c215af
Merge pull request #24757 from zdikov/subquery-operators
Subquery operators
2021-08-15 21:33:59 +03:00
zhangxiao871
babe95aeec Add tests. 2021-08-15 19:59:42 +08:00
zhangxiao871
c7dbd0c297 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into yandex-master 2021-08-15 19:53:09 +08:00
zhangxiao871
72ba479b26 Add tests. 2021-08-15 19:50:32 +08:00
Maksim Kita
404eac1986 Fixed tests 2021-08-15 13:52:44 +03:00
Maksim Kita
e9fe03df14
Merge pull request #27146 from CurtizJ/fix-parsing-of-maps
Add test for parsing maps with integer keys
2021-08-15 13:37:22 +03:00
kssenii
9b6646d4db Update test 2021-08-15 13:28:44 +03:00
alexey-milovidov
71082b8656
Update 00597_push_down_predicate_long.sql 2021-08-15 13:28:13 +03:00
kssenii
053cb22380 Fix for union distinct 2021-08-15 12:56:19 +03:00
Maksim Kita
e12820ecb2 Added ComplexKeyRangeHashed dictionary 2021-08-15 12:18:11 +03:00
Alexey Milovidov
e24087526b Update test 2021-08-15 11:59:53 +03:00
kssenii
f66e8464f9 Some final fixes 2021-08-15 11:40:30 +03:00
alexey-milovidov
8fe3aa6cef
Update 01236_graphite_mt.sql 2021-08-15 11:28:08 +03:00
Alexey Milovidov
a8fd52017d Update more tests 2021-08-15 10:54:30 +03:00
Alexey Milovidov
f5397c4430 Update tests 2021-08-15 10:53:46 +03:00
Alexey Milovidov
15eb68d117 Fix bad cast in arrayIndex #26330 2021-08-15 09:33:08 +03:00
Alexey Milovidov
e2a17c08b7 Temporary disable one test case 2021-08-15 09:09:40 +03:00
alexey-milovidov
d88cf81d71
Merge branch 'master' into fix-bad-cast 2021-08-15 09:06:42 +03:00
Alexey Milovidov
60dccce818 Remove trailing zeros from Decimal serialization #15794 2021-08-15 08:29:31 +03:00
alexey-milovidov
78df167760
Merge pull request #27677 from ClickHouse/add-test-10735
Add a test for #10735
2021-08-15 06:57:56 +03:00
alexey-milovidov
5ebde7f5f1
Merge pull request #27525 from Algunenano/fix_01236
Fix 01236_graphite_mt for random timezones
2021-08-15 06:55:34 +03:00
mergify[bot]
353a324887
Merge branch 'master' into i27620 2021-08-15 02:32:26 +00:00
alexey-milovidov
dafb75c604
Update 02009_mysql_client_empty_result.sh 2021-08-15 03:31:39 +03:00
Alexey Milovidov
e64c973308 Add a test for #10735 2021-08-14 23:34:47 +03:00
kssenii
f125fb3fef Some fixes around any/all 2021-08-14 20:33:03 +03:00
kssenii
18ab53488f Better 2021-08-14 16:09:53 +03:00
Artur
58b8e8f230 correct commits 2021-08-13 16:55:03 +00:00
Artur
0010b772e9 Merge branch 'master' of https://github.com/FArthur-cmd/ClickHouse into import_from_infile 2021-08-13 16:51:31 +00:00
Artur
49e211bead add from infile syntax 2021-08-13 16:30:28 +00:00
Raúl Marín
73cb7d55ec Disable arrayJoin on partition expressions 2021-08-13 16:18:46 +02:00
mergify[bot]
319e5af6eb
Merge branch 'master' into short-circuit 2021-08-13 13:01:46 +00:00
Nikolai Kochetov
66fdb859f3
Merge pull request #27528 from amosbird/projection-fix12
Fix projection materialization with missing columns
2021-08-13 15:20:51 +03:00
kssenii
47fb923975 Some fixes, more tests 2021-08-13 15:07:44 +03:00
Pavel Kruglov
aa8b52fe58 Update tests 2021-08-13 14:55:33 +03:00
Alexander Tokmakov
285a5848b5 fix 2021-08-13 14:27:55 +03:00
Kseniia Sumarokova
0917488cec
Merge pull request #27382 from kssenii/cast-internal
add Cast internal function
2021-08-13 13:13:51 +03:00
kssenii
55650b1e67 Change behaviour of except, some fixes 2021-08-13 12:57:15 +03:00
Pavel Kruglov
fc59c98676 Clean up 2021-08-13 11:18:34 +03:00
kssenii
37554014aa Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into col-identifier-as-col-number 2021-08-13 05:28:22 +00:00
alexey-milovidov
36ab47769b
Merge pull request #27609 from Algunenano/refactor_mysql_format
Refactor mysql format check
2021-08-13 03:02:49 +03:00
Maksim Kita
a020fe3b1b
Merge pull request #27531 from abel-cheng/with-constants
Enable using constants from with and select in aggregate function parameters.
2021-08-12 21:27:21 +03:00
mergify[bot]
38d97ec52a
Merge branch 'master' into json-as-string 2021-08-12 17:18:38 +00:00
Nikita Mikhaylov
8c06abee73
Merge pull request #25902 from Avogar/arrow-nested
Refactor ArrowColumnToCHColumn, support inserting Nested as Array(Struct) in Arrow/ORC/Parquet
2021-08-12 20:02:01 +03:00
Alexander Tokmakov
95eeeb53d6 fix 2021-08-12 18:58:49 +03:00
Raúl Marín
27cb83f5a7 Get today datetime in UTC 2021-08-12 17:08:39 +02:00
Nikita Mikhaylov
287262d500
Merge pull request #25714 from Algunenano/materialization_log
Better views logging
2021-08-12 17:13:33 +03:00
kssenii
a549e29bd4 Better 2021-08-12 16:35:46 +03:00
Maksim Kita
36498f67cf
Merge pull request #27505 from BraulioVM/add-function/tupleItems
Add function to turn named tuples into array of pairs
2021-08-12 16:32:11 +03:00
Raúl Marín
9b81c075c6 Use today() to ensure the rollup is tested properly 2021-08-12 12:53:57 +02:00
Alexander Tokmakov
9dd742cc29 more debug info 2021-08-12 13:39:06 +03:00
Maksim Kita
34682c98c7
Merge pull request #27605 from Enmk/fix_27193_toDateTime64_conversion
Fixed parsing DateTime64 value from string.
2021-08-12 13:32:59 +03:00
Maksim Kita
ab3fdfa00e
Update 02006_todatetime64_from_string.sql 2021-08-12 13:27:36 +03:00
Raúl Marín
f6788fc660 Mysql handler: Move format check to the handler 2021-08-12 11:29:50 +02:00
Pavel Kruglov
dc8e1be96b Fix time zone in test 2021-08-12 11:58:47 +03:00
mergify[bot]
21cbd50ae1
Merge branch 'master' into materialization_log 2021-08-12 08:53:34 +00:00
mergify[bot]
af845690dd
Merge branch 'master' into fix_01236 2021-08-12 08:52:50 +00:00
mergify[bot]
80eaea1c51
Merge branch 'master' into short-circuit 2021-08-12 08:38:45 +00:00
Vasily Nemkov
bdc4d9fe75 Fixed parsing DateTime64 value from string.
The time offset undeflowed on positive values.
2021-08-12 10:37:46 +03:00
alexey-milovidov
8fe123e9c4
Merge pull request #27561 from Algunenano/odd_tests
Improve the experience of running stateless tests locally
2021-08-12 00:54:08 +03:00
Alexander Tokmakov
0256e313b3 fix 2021-08-12 00:29:37 +03:00
alexey-milovidov
1239a91aca
Merge pull request #27080 from Algunenano/timezone_00719
Improve compatibility with non-whole-minute timezone offsets
2021-08-11 22:34:55 +03:00
alexey-milovidov
494ef840be
Merge pull request #27326 from Algunenano/fix_01176
Fix Mysql protocol when using parallel formats (CSV / TSV)
2021-08-11 22:28:48 +03:00
Alexander Tokmakov
a2b2e8cb3f fix 2021-08-11 21:02:35 +03:00
Braulio Valdivielso
94babf1c8b rename tests 2021-08-11 18:38:27 +01:00
Braulio Valdivielso
4e103b94f0 Merge branch 'master' into add-function/tupleToNameValuePairs 2021-08-11 18:35:44 +01:00
mergify[bot]
68a52fc065
Merge branch 'master' into projection-fix12 2021-08-11 17:08:04 +00:00
Alexander Tokmakov
35f1caddcb kill mutations before syncing 2021-08-11 18:24:47 +03:00
mergify[bot]
f590cc9ef4
Merge branch 'master' into materialization_log 2021-08-11 13:34:00 +00:00
Raúl Marín
4ebdb5917a clickhouse-test: Implement @@SKIP@@ directive in tests 2021-08-11 15:22:31 +02:00
achimbab
9a7cce83b3 Bugfix for windowFunnel's "strict" mode. 2021-08-11 21:08:09 +09:00