Commit Graph

9967 Commits

Author SHA1 Message Date
Maksim Kita
18fabccff2 Functions dictGetHierarchy, dictIsIn, dictGetChildren, dictGetDescendants support implicit key cast and constant arguments 2022-03-03 16:13:05 +00:00
vdimir
939a15d29a
Upd FunctionArrayMapped for Map 2022-03-03 13:22:48 +00:00
hexiaoting
aeec4a62e7
fix bug 2022-03-03 13:22:47 +00:00
hexiaoting
71aa411746
Fix bug 2022-03-03 13:22:46 +00:00
hexiaoting
a435c3a1e8
Fix mapFilter bug 2022-03-03 13:22:46 +00:00
hexiaoting
d6d943f4d4
Rectify test case 2022-03-03 13:22:45 +00:00
hexiaoting
e953e482ec
Implement more functions for Map data type 2022-03-03 13:22:44 +00:00
mergify[bot]
c90d24e10b
Merge branch 'master' into random-settings 2022-03-03 13:07:12 +00:00
Vladimir C
eb68c21152
Merge pull request #34995 from vdimir/fix-aarch64 2022-03-03 12:18:28 +01:00
kssenii
5a8606e10b Mark test as long 2022-03-03 00:10:15 +01:00
Vladimir C
38cafb549b
add no-cpu-aarch64 to 01092_memory_profiler 2022-03-02 23:15:01 +01:00
Nikolai Kochetov
5fa7cc6e18 Fix test. 2022-03-02 19:10:33 +00:00
Kruglov Pavel
3b92b9037f
Merge branch 'master' into random-settings 2022-03-02 21:09:48 +03:00
kssenii
d5952109fb Merge master 2022-03-02 18:15:25 +01:00
Kruglov Pavel
3e17f6dd4a
Merge pull request #34961 from Avogar/fix-schema-inference
Fix wrong schema inference for unquoted dates in CSV
2022-03-02 18:06:52 +03:00
vdimir
fc5e941f79
Add option to clickhouse-test to skip aarch64 build 2022-03-02 14:18:24 +00:00
alesapin
b1f5805647
Merge pull request #34609 from ClickHouse/unrestricted-zk-reads
allow unrestricted reads from zookeeper
2022-03-02 14:53:12 +01:00
alesapin
8c533b2382
Merge pull request #34964 from ClickHouse/disable_test_for_memory_with_tsan
Disable memory checking test with thread sanitizer
2022-03-02 13:17:13 +01:00
Vladimir C
2c32614e0a
Merge pull request #34951 from vdimir/fix-aarch64 2022-03-02 13:01:56 +01:00
alesapin
9249c5d50e Use tryget instead of get 2022-03-02 13:09:12 +03:00
alesapin
1863abe7c5 disable also for asan 2022-03-02 12:43:40 +03:00
Kseniia Sumarokova
a9ab149b31
Merge pull request #34859 from Vxider/windowview-multi-column-groupby
Fix bugs for multiple columns group by in WindowView
2022-03-02 10:09:47 +01:00
HaiBo Li
2ea18b3085
Fix the bug that the toDatetime function overflows (#32898)
* Fixed overflow bug of the function toDatetime/toDate/toDate32/parseDateTimeBestEffort
2022-03-02 10:06:38 +03:00
Vxider
1f89632f89 Merge branch 'windowview-multi-column-groupby' of https://github.com/Vxider/ClickHouse 2022-03-02 03:19:50 +00:00
Vxider
6354ce41c1 fix flaky test 2022-03-02 11:12:42 +08:00
alesapin
ec3e4251e1 Fix style 2022-03-01 20:34:25 +01:00
alesapin
673ddd98de Fix tests 2022-03-01 20:02:43 +01:00
kssenii
a594f388a4 Merge master 2022-03-01 19:43:45 +01:00
Anton Popov
c1fdcf7a64 Merge remote-tracking branch 'upstream/master' into HEAD 2022-03-01 20:21:39 +03:00
alesapin
cba5fe44a9 Merge branch 'master' into unrestricted-zk-reads 2022-03-01 18:09:21 +01:00
Anton Popov
82d24f06eb
Merge pull request #34866 from CurtizJ/async-insert-table-function
Fix async inserts to table functions
2022-03-01 19:45:22 +03:00
alesapin
932fa19ecd Disable memory checking test with thread sanitizer 2022-03-01 13:17:34 +01:00
avogar
2b77416bf1 Fix tests 2022-03-01 11:35:17 +00:00
avogar
a7c6d11532 Fix schema inference for unquoted dates in CSV 2022-03-01 11:03:26 +00:00
kssenii
7dcf15067c Fix test 2022-03-01 11:57:14 +01:00
Kruglov Pavel
97d634d1cc
Merge pull request #34732 from Avogar/insert-select-schema
Support schema inference for INSERT INTO FUNCTION
2022-03-01 13:38:16 +03:00
HeenaBansal2009
c14c60f1d3 Merge branch 'master' into Issue-33953 2022-02-28 11:12:54 -08:00
HeenaBansal2009
aa8494a808 Fix: System Reload Config Failure 2022-02-28 10:51:49 -08:00
vdimir
96390a9263
Fix 01016_simhash_minhash 2022-02-28 16:38:39 +00:00
vdimir
1560bb0e3d
Fix 01492_format_readable_quantity 2022-02-28 16:06:39 +00:00
vdimir
39407dc17b
Skip 01103_check_cpu_instructions_at_startupfor aarch64 2022-02-28 16:05:57 +00:00
vdimir
399c9c2902
Add order by to 01854_HTTP_dict_decompression 2022-02-28 15:09:54 +00:00
vdimir
685de7166d
Fix 02207_s3_content_type 2022-02-28 14:58:56 +00:00
Kseniia Sumarokova
3881f6a806
Merge pull request #34923 from azat/client-stop-multiquery-on-SIGINT
Stop processing multiqueries in clickhouse-client/local on SIGINT
2022-02-28 15:57:44 +01:00
kssenii
9983a5d802 Add test for profile events 2022-02-28 15:47:12 +01:00
mergify[bot]
8014cdf9d3
Merge branch 'master' into random-settings 2022-02-28 14:06:22 +00:00
Kruglov Pavel
011813957d
Merge pull request #34938 from azat/create-as-ignore-ttl
Ignore per-column TTL in CREATE TABLE AS if new table engine does not support it
2022-02-28 16:58:15 +03:00
avogar
dbb29dd394 Fix tests 2022-02-28 12:17:44 +00:00
Vladimir C
9bceba5aa8
Merge pull request #34907 from kssenii/sqlite-db-allow-no-existing-db 2022-02-28 12:21:43 +01:00
Azat Khuzhin
f66ad2ee48 Stop processing multiqueries in clickhouse-client/local on SIGINT
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-28 12:19:13 +03:00
Azat Khuzhin
644f9168fa Ignore per-column TTL in CREATE TABLE AS if new table engine does not support it
Follow-up for: #6968
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-28 10:29:26 +03:00
bharatnc
fb2a9a26df Merge remote-tracking branch 'upstream/master' into ncb/h3-misc-funcs-3 2022-02-25 20:36:31 -08:00
mergify[bot]
8d84d22618
Merge branch 'master' into windowview-multi-column-groupby 2022-02-26 00:50:49 +00:00
Anton Popov
7df8b38f6a fix deducing of nested types 2022-02-25 18:07:30 +03:00
Lars Eidnes
2629614dfe Allow LowCardinality strings for ngrambf_v1/tokenbf_v1 indexes. Fixes #21865 2022-02-25 15:36:36 +01:00
kssenii
40075d4c6b Fix 2022-02-25 15:04:14 +01:00
mergify[bot]
cd6f1d8fa4
Merge branch 'master' into groupSortedArray 2022-02-25 11:45:48 +00:00
Anton Popov
fcdebea925 Merge remote-tracking branch 'upstream/master' into HEAD 2022-02-25 13:41:30 +03:00
Vladimir C
9ba0cb547a
Merge pull request #34836 from vdimir/issue-34810 2022-02-25 09:58:28 +01:00
Pablo Alegre
74f99f7365 fixup! fixup! Add groupSortedArray() function 2022-02-24 16:16:56 +01:00
Anton Popov
97d57e22ea fix async inserts to table functions 2022-02-24 14:26:47 +03:00
Sergei Trifonov
24058c3327 add test for system.zookeeper table unrestricted read with WHERE path LIKE pattern clause 2022-02-24 14:14:46 +03:00
vdimir
8c42d16c95
Add test in_untuple_issue_34810 2022-02-24 10:41:21 +00:00
Vxider
43475f79bf windowview_multi_column_groupby 2022-02-24 14:06:37 +08:00
Anton Popov
9b5e702f6c fix deducing Array(Nested(...)) and Nested(Array(...)) 2022-02-23 04:28:11 +03:00
Sergei Trifonov
7fe3bef866 add test for unrestricted zk reads 2022-02-22 16:51:30 +03:00
kssenii
c637385dd0 Merge master 2022-02-22 13:17:51 +01:00
kssenii
26f58274b6 Fix stateful test 2022-02-22 12:05:43 +01:00
Vladimir C
fac232842a
Merge pull request #34791 from vdimir/issue-34776 2022-02-22 09:46:09 +01:00
bharatnc
57e17c607a fix - convert const cols to full cols 2022-02-21 12:15:14 -08:00
bharatnc
8e19415992 generalize implementation for h3PointDist{M,Km,Rads} 2022-02-21 11:41:21 -08:00
Anton Popov
065305ab65
Merge pull request #34764 from ucasfl/hints-index
Add name hints for data skipping indices
2022-02-21 16:50:59 +03:00
vdimir
0156c20ee3
Add test: client reads host and port from config 2022-02-21 12:53:16 +00:00
vdimir
e546721f67
Fix message checks in 02100_multiple_hosts_command_line_set 2022-02-21 12:50:12 +00:00
Alexandre Snarskii
7d87a446d1 make arrayCompact behave as other higher-order functions 2022-02-21 15:40:03 +03:00
Maksim Kita
57ef720f2a
Merge pull request #34743 from bharatnc/ncb/fixes-to-h3-funcs
fix h3 failing queries having const columns
2022-02-21 11:54:16 +01:00
Mikhail f. Shiryaev
f690aba441
Merge pull request #34078 from godliness/fix-distributed-max-query-size
Fix distributed subquery max_query_size limitation inconsistency
2022-02-21 11:01:02 +01:00
mergify[bot]
ed61487082
Merge branch 'master' into dwarf-4 2022-02-21 09:58:06 +00:00
Vitaly Baranov
aee67a6693
Merge pull request #31484 from eungenue/Implement-SSL-X509-certificate-authentication
Implement ssl x509 certificate authentication
2022-02-21 11:30:52 +03:00
Vitaly Baranov
0d377de5f0 Support syntax CREATE USER IDENTIFIED WITH ssl_certificate CN ... 2022-02-21 07:01:00 +03:00
Vitaly Baranov
7b97c986cb
Revert "Allow restrictive row policies without permissive" 2022-02-21 06:54:28 +03:00
Alexey Milovidov
0a56fb9941 Add a test 2022-02-20 21:50:03 +01:00
feng lv
07280e0ab1 Add name hints for data skipping indices
fix test
2022-02-20 11:48:22 +00:00
alexey-milovidov
26d0e5438c
Merge pull request #33057 from azat/jemalloc-dev-branch
[RFC] Update jemalloc to 5.3RC
2022-02-20 14:19:41 +03:00
Vladimir C
5284083647
Merge pull request #34683 from vdimir/fix_aarch64/position_utf_8
Fix `positionUTF8` on aarch64
2022-02-20 11:35:40 +01:00
achimbab
7b9c6e6cba Merge branch 'minSampleSize' of https://github.com/achimbab/ClickHouse into minSampleSize 2022-02-20 16:43:34 +09:00
achimbab
4794ea236c Some fixes for minSampleSize functions.
- use getData
- add fomulas
- move distribution constructor out of the hot loop
- fix test cases
- use fixed const values for function arguments
2022-02-20 16:40:23 +09:00
Chao Ma
895396e61a Fix distributed subquery max_query_size limitation inconsistency 2022-02-20 10:07:57 +08:00
bharatnc
a4cf3303f9 fix fuzzer segfault 2022-02-19 08:41:21 -08:00
Vitaly Baranov
874b2c8dcb
Merge pull request #34596 from vitlibar/allow-restrictive-without-permissive
Allow restrictive row policies without permissive
2022-02-19 21:45:28 +07:00
Maksim Kita
0bfac173f9
Merge pull request #34745 from bharatnc/ncb/fixes-to-s2
fix s2 functions having const columns
2022-02-19 12:20:25 +01:00
bharatnc
233b4486ed add tests 2022-02-18 22:42:39 -08:00
Azat Khuzhin
fef5f146e7 Fix ENOENT with fsync_part_directory and Vertical merge
fsync of the temporary part directory is superfluous anyway, and besides
that directory is not exists at that time, that will lead to ENOENT
error:

    2022.02.18 17:02:51.634565 [ 35639 ] {} <Error> void DB::MergeTreeBackgroundExecutor<DB::MergeMutateRuntimeQueue>::routine(DB::TaskRuntimeDataPtr) [Queue = DB::MergeMutateRuntimeQueue]: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/data/system/text_log/tmp_merge_202202_1864_3192_14/, errno: 2, strerror: No such file or directory. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below):

    0. DB::Exception::Exception() @ 0xb26ecfa in /usr/lib/debug/.build-id/01/8c328bd4858d67.debug
    1. DB::throwFromErrnoWithPath() @ 0xb2700ea in /usr/lib/debug/.build-id/01/8c328bd4858d67.debug
    2. DB::LocalDirectorySyncGuard::LocalDirectorySyncGuard() @ 0x14905531 in /usr/lib/debug/.build-id/01/8c328bd4858d67.debug
    3. DB::DiskLocal::getDirectorySyncGuard() const @ 0x148af3e3 in /usr/lib/debug/.build-id/01/8c328bd4858d67.debug
    4. DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x157bef13 in /usr/lib/debug/.build-id/01/8c328bd4858d67.debug

Note, that IMergeTreeDataPart::renameTo() anyway will have fsync for the
directory.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-19 07:50:59 +03:00
bharatnc
d9acbf480c fix - skip fast tests 2022-02-18 18:45:15 -08:00
bharatnc
8076dd8cf5 add tests 2022-02-18 16:35:07 -08:00
HeenaBansal2009
1b263f0c15 Added FT testcase 2022-02-18 12:58:46 -08:00
Vladimir C
fcec52f49c
Merge pull request #34612 from vdimir/fix_aarch64/01681_arg_min_max_if_fix
Adjust 01681_arg_min_max_if_fix
2022-02-18 18:35:52 +01:00
Vladimir C
9b7d011ee7
Merge pull request #34529 from vdimir/join-nullable-on-pipeline
Apply join_use_nulls on types before join
2022-02-18 18:34:44 +01:00
avogar
653d769d34 Support schema inference for INSERT INTO FUNCTION 2022-02-18 16:19:42 +00:00
vdimir
963e859f92
Ignore result in 01681_arg_min_max_if_fix 2022-02-18 14:10:06 +00:00
avogar
89f4110232 Fix more tests 2022-02-18 12:05:44 +00:00
Maksim Kita
652980eec3
Merge pull request #34714 from azat/fix-custom_partitioning_local
Fix flaky 00502_custom_partitioning_local
2022-02-18 11:27:08 +01:00
Kruglov Pavel
1b4c5990eb
Update 01780_column_sparse_alter.sql 2022-02-18 13:14:10 +03:00
Kruglov Pavel
9d0e1e3014
Update 00626_replace_partition_from_table_zookeeper.sh 2022-02-18 12:57:31 +03:00
Nikolay Degterinsky
c09275f0da
Merge pull request #34368 from usurai/sw
Add startsWith & endsWith function for arrays
2022-02-18 08:34:48 +03:00
Azat Khuzhin
8576195d05 Fix flaky 00502_custom_partitioning_local
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 22:17:11 +03:00
kssenii
353ffacca3 Add test 2022-02-17 19:57:04 +01:00
Azat Khuzhin
de6547976b tests: update 01502_jemalloc_percpu_arena after jemalloc update
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Azat Khuzhin
ed5a3772a2 tests: make 01505_pipeline_executor_UAF compatible with sanitizers builds
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Azat Khuzhin
77ce66a90c tests: update 01505_pipeline_executor_UAF after jemalloc update
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Kruglov Pavel
e77319bf01
Merge branch 'master' into stress-test 2022-02-17 20:28:46 +03:00
Maksim Kita
562f1ec01a
Merge pull request #34607 from zzsmdfj/issue/#31092_add_encodeURLComponent_function
add encode url component function
2022-02-17 17:57:23 +01:00
Kruglov Pavel
5e8b2228e0
Merge pull request #34561 from bigo-sg/arrow_type_timestamp
Implement transformation between CH DateTime64 and arrow timestamp column
2022-02-17 16:55:17 +03:00
avogar
26f808bd46 Fix next batch of tests 2022-02-17 13:46:51 +00:00
avogar
03ff3691ed Merge branch 'master' of github.com:ClickHouse/ClickHouse into random-settings 2022-02-17 13:41:22 +00:00
Kruglov Pavel
07098fc597
Merge pull request #34619 from vdimir/fix_aarch64/01662_date_ubsan
Check overflow in addSeconds/Minues/etc functions
2022-02-17 15:55:55 +03:00
vdimir
7f20d29396
add order by to 01670_dictionary_create_key_expression 2022-02-17 12:39:59 +00:00
vdimir
1bdcf7a215
add use-hyperscan for multimatch tests 2022-02-17 12:39:33 +00:00
avogar
48d036d3f9 Fix next batch of tests 2022-02-17 11:10:38 +00:00
alesapin
6df2c9c2d8
Merge pull request #34433 from ClickHouse/s3-fix-content-type
Workaround for bug when AWS mistakenly set Content-Type to XML
2022-02-17 13:11:14 +03:00
Vitaly Baranov
a4ef274aa1 Improve restrictive policies without permissive ones: in this case the result filter won't be calculated as False always anymore. 2022-02-17 14:18:15 +07:00
Vitaly Baranov
4b9db33ad7 The command "SHOW CREATE ROW POLICY" now shows "AS permissive" or "AS restrictive" before "TO" clause. 2022-02-17 14:18:15 +07:00
Vitaly Baranov
f4da321dbb SHOW CREATE ROW POLICY now always outputs "AS permissive" or "AS restrictive". 2022-02-17 14:18:15 +07:00
Vitaly Baranov
2de6e8e575 Change type of RowPolicyKind: bool -> enum. 2022-02-17 14:18:10 +07:00
Azat Khuzhin
774744a86d Fix allow_experimental_projection_optimization with enable_global_with_statement
allow_experimental_projection_optimization requires one more
InterpreterSelectQuery, which with enable_global_with_statement will
apply ApplyWithAliasVisitor if the query is not subquery.

But this should not be done for queries from
MergeTreeData::getQueryProcessingStage()/getQueryProcessingStageWithAggregateProjections()
since this will duplicate WITH statements over and over.

This will also fix scalar.xml perf tests, that leads to the following
error now:

    scalar.query0.prewarm0: DB::Exception: Stack size too large.

And since it has very long query in the log, this leads to the following
perf test error:

    _csv.Error: field larger than field limit (131072)

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-16 19:14:47 +03:00
Vladimir C
67a8b55066
rollback 00809_add_days_segfault 2022-02-16 16:38:18 +01:00
avogar
1e797c1a8f Fix some tests 2022-02-16 15:10:02 +00:00
vdimir
65452ac089
Fix checkOverflow in FunctionDateOrDateTimeAddInterval 2022-02-16 14:30:37 +00:00
kssenii
47f94120da Merge master 2022-02-16 14:43:28 +01:00
kssenii
f9622d44f0 Try add stateful tests 2022-02-16 14:18:55 +01:00
Nikolai Kochetov
f9d2dae88e
Merge pull request #34424 from yakov-olkhovskiy/ephemeral-column
Ephemeral column issue #9436
2022-02-16 12:04:57 +01:00
Kruglov Pavel
33e4c703a1
Merge branch 'master' into random-settings 2022-02-16 13:38:15 +03:00
avogar
be5efc33d4 Fix more settings, add random settings for .sh tests 2022-02-16 10:35:46 +00:00
Kruglov Pavel
adf58ea1ce
Merge pull request #34490 from Avogar/fix-client
Refactor client fault tolerant connection
2022-02-16 12:39:46 +03:00
zzsmdfj
4dcb411f4f to #31092_add_encodeURLComponent_function 2022-02-16 10:19:20 +08:00
Maksim Kita
22821ccac9
Merge pull request #34613 from nikitamikhaylov/parallel-replicas-bugs-1
Fixed the assertion in case of using `allow_experimental_parallel_reading_from_replicas` with `max_parallel_replicas` equals to 1
2022-02-15 21:29:41 +01:00
Anton Popov
72e75fdaf5
Merge pull request #34601 from CurtizJ/filtering-by-sparse-columns
Support filtering by sparse columns without conversion to full
2022-02-15 23:26:13 +03:00
Maksim Kita
100389b92f
Merge pull request #34615 from Algunenano/test_19222
Add test for #19222
2022-02-15 20:42:51 +01:00
vdimir
a5c34fafd4
Check overflow in addSeconds/Minues/etc functions 2022-02-15 19:04:59 +00:00
Raúl Marín
3bac81e4f3 Add test for #19222 2022-02-15 17:35:01 +01:00
alesapin
bc2d0ee7c7
Merge pull request #34215 from ClickHouse/revert-34211-revert-34153-add_func_tests_over_s3
Add func tests run with s3 and fix several bugs
2022-02-15 19:07:11 +03:00
Nikita Mikhaylov
e1b0c715fa Done 2022-02-15 15:39:59 +00:00
avogar
8f6ca035d9 Fix next batch of tests 2022-02-15 14:36:31 +00:00
Maksim Kita
37f7e6a216
Merge pull request #34562 from bigo-sg/fix_round
Fix round bug
2022-02-15 13:01:57 +01:00
Anton Popov
5c316ffabe support filtering by sparse columns without convertion to full 2022-02-15 14:30:54 +03:00
Kruglov Pavel
cf454a6539
Merge pull request #34532 from CurtizJ/fix-aggregation-in-order-3
Fix aggregation in order with distributed_aggregation_memory_efficient=0
2022-02-15 14:26:15 +03:00
alesapin
e1fb220bb7 Fix test 2022-02-15 13:31:41 +03:00
Nikolai Kochetov
ab288642f6 Merge branch 'master' into ephemeral-column 2022-02-15 10:03:34 +00:00
alesapin
36b1944cb0 Merge branch 'master' into s3-fix-content-type 2022-02-15 12:39:49 +03:00
taiyang-li
28ff342c4b fix fasttest 2022-02-15 11:38:00 +08:00
alexey-milovidov
bc206ec423
Merge pull request #31182 from ClickHouse/memory-overcommit
Memory overcommit
2022-02-14 23:55:02 +03:00
Anton Popov
8e26cfbbea add test with github events for type JSON 2022-02-14 22:20:52 +03:00
Maksim Kita
70ffcb8e33
Merge pull request #34393 from kitaisreal/sort-added-equal-items-randomization
Sort added equal items ranges randomization
2022-02-14 16:41:19 +01:00
Maksim Kita
b73d1f4b64
Merge pull request #34578 from azat/ARRAY-JOIN-fix-format
Fix indentation in ARRAY JOIN formatting
2022-02-14 16:40:55 +01:00
Anton Popov
2399f3e3bb
Merge pull request #34495 from Avogar/improve-local
Improve schema inference in clickhouse-local
2022-02-14 17:27:24 +03:00
Anton Popov
79144f8b91
Update 02211_shcema_inference_from_stdin.sh 2022-02-14 17:26:48 +03:00
vdimir
99ca89c0ca
Fix StorageJoin and Asof or join_use_nulls in pipeline 2022-02-14 14:14:27 +00:00
Maksim Kita
c469fb36ae Fixed tests 2022-02-14 12:59:53 +00:00
Azat Khuzhin
edc35f1254 Fix indentation in ARRAY JOIN formatting
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-14 15:58:58 +03:00
mergify[bot]
aab54f4c83
Merge branch 'master' into groupSortedArray 2022-02-14 12:47:48 +00:00
alesapin
bb69455395
Merge pull request #34504 from CurtizJ/ttl-move-if-exists
Support `TTL TO [DISK|VOLUME] [IF EXISTS]`
2022-02-14 14:56:18 +03:00
Kruglov Pavel
2bf15d6b5b
Merge pull request #34352 from bigo-sg/clickhouse_local_format
Default input and output formats that can be overriden by --input-format and --output-format.
2022-02-14 14:09:59 +03:00
alesapin
b2886a429b Fix lock during fetch 2022-02-14 12:20:27 +03:00
achimbab
054d691685
Merge branch 'ClickHouse:master' into minSampleSize 2022-02-14 09:32:15 +09:00
bharatnc
c29e16fb74 add tests for h3GetPentagonIndexes 2022-02-13 12:56:43 -08:00
bharatnc
d3aa98570b add tests for h3GetRs0Indexes func 2022-02-13 12:56:43 -08:00
bharatnc
b02f3beb86 add tests for h3PointDistRads func 2022-02-13 12:56:43 -08:00
bharatnc
7d691b649e fix file names 2022-02-13 12:56:42 -08:00
bharatnc
4bcbb30172 add tests for h3PointDistKm func 2022-02-13 12:56:42 -08:00
bharatnc
4218cbca20 add tests for h3PointDistM func 2022-02-13 12:56:42 -08:00
alesapin
89373155fc Merge branch 'master' into revert-34211-revert-34153-add_func_tests_over_s3 2022-02-13 21:07:54 +03:00
Yakov Olkhovskiy
579fe6c97a major rework, transform added to the insert pipe 2022-02-13 17:42:59 +00:00
Maksim Kita
1d69737395 Fixed tests 2022-02-13 15:10:44 +00:00
Maksim Kita
7cbf18ef59 Fixed tests 2022-02-13 15:10:44 +00:00
Maksim Kita
3bc70250ae Fixed tests 2022-02-13 15:10:44 +00:00
Maksim Kita
05a6d8e118 Fixed tests 2022-02-13 15:10:44 +00:00
Maksim Kita
478ad91b7d Fixed tests 2022-02-13 15:10:44 +00:00
achimbab
c5c2e83435 Remove some codes 2022-02-13 23:27:06 +09:00
Maksim Kita
340614e5ec
Merge pull request #34489 from vitlibar/make-create-row-policy-privilege-table-level
Privileges CREATE/ALTER/DROP ROW POLICY are table-level now
2022-02-13 15:15:49 +01:00
Maksim Kita
9ae2271922
Merge pull request #34506 from freedomDR/fix_lowcardinality_group_by
fix lowcardinality on group by of any model
2022-02-13 15:07:49 +01:00
Maksim Kita
380d9afb2c
Merge pull request #34557 from bharatnc/ncb/geoToH3-update
check and get columns in geoToH3 func
2022-02-13 14:29:45 +01:00
taiyang-li
de057fc619 add tests 2022-02-13 18:58:24 +08:00
freedomDR
8e5ba9e778 Avoid crash in case of GROUP BY LowCardinality(Nullable(String)) column and group_by_overflow_mode='any' 2022-02-13 10:19:58 +00:00
taiyang-li
aabf2aac69 finish all tests 2022-02-13 17:06:58 +08:00
bharatnc
5f661fde48 fix tests 2022-02-12 23:04:09 -08:00
achimbab
674032afb9 An integer type can be used for the baseline and sigma. 2022-02-13 14:43:12 +09:00
Saad Ur Rahman
03f81c8685
[CH-34239] HTTP User-Agent header (#34330)
* [IO] HTTP User-Agent header

Added HTTP User-Agent Header to HTTP requests.

User-Agent: ClickHouse/VERSION_STRING
Input header vectors could potentially contain User-Agent. If so, do not set another.

* [Tests] HTTP User Agent

Added stateless functional test 02205_HTTP_user_agent.

Co-authored-by: Filatenkov Artur <58165623+FArthur-cmd@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-02-13 00:40:11 +03:00
alexey-milovidov
4a2c69c073
Merge pull request #34067 from Algunenano/mv_fixes
Fix  `parallel_view_processing=0` and `view_duration_ms` in views log
2022-02-12 22:36:41 +03:00
taiyang-li
8e20cf9fac chmod bash shell 2022-02-12 19:30:02 +08:00
alexey-milovidov
747b6b2058
Merge pull request #34528 from CurtizJ/key-condition-float
Fix comparison between integers and floats in index analysis
2022-02-12 10:19:09 +03:00
alexey-milovidov
9bb2eba281
Merge pull request #34429 from ClickHouse/filimonov-SystemAsynchronousInserts
asynchronous_inserts engine AsynchronousInserts -> SystemAsynchronousInserts
2022-02-12 10:08:04 +03:00
tavplubix
6d1fae834a
Merge pull request #34187 from qoega/default-table-engine
Default table engine
2022-02-11 18:14:29 +03:00
Anton Popov
357bdd69c4 fix aggregation in order with distributed_aggregation_memory_efficient=0 2022-02-11 18:09:13 +03:00
Vladimir C
a2b1900333
Merge pull request #34496 from Avogar/jsonl
Support .jsonl extension for JSONEachRow format
2022-02-11 15:44:31 +01:00
avogar
880780c7a8 Fix some tests 2022-02-11 17:15:56 +03:00
Anton Popov
2fcd69baf7 fix comparison with integers and floats in index analysis 2022-02-11 17:15:27 +03:00
taiyang-li
bcd077fdc3 add stateless test 2022-02-11 21:20:57 +08:00
avogar
f423c035d9 Fix test 2022-02-11 14:10:39 +03:00
Vitaly Baranov
e148b43a29 Privileges CREATE/ALTER/DROP ROW POLICY now can be granted on a table or on database.* as well as globally *.* 2022-02-11 12:35:52 +07:00
Maksim Kita
10439c9d3f
Merge pull request #34404 from kitaisreal/sql-user-defined-functions-access-type-fix
For SQLUserDefinedFunctions change privilege level from DATABASE to GLOBAL
2022-02-11 00:21:28 +01:00
Alexander Tokmakov
9e893dfda7 fixes 2022-02-10 23:35:03 +03:00
Anton Popov
70986a70a1 support TTL TO [DISK|VOLUME] [IF EXISTS] 2022-02-10 19:26:23 +03:00
Pablo Alegre
1e4b504ae2 fixup! Add groupSortedArray() function 2022-02-10 16:49:28 +01:00
avogar
a1759d1aa0 Fix test 2022-02-10 18:38:28 +03:00
avogar
a69905d378 Fix 2022-02-10 18:23:52 +03:00
avogar
9bbbbdcdd6 Improve schema inference in clickhouse-local 2022-02-10 18:23:52 +03:00
Kruglov Pavel
13cf8f87e1
Fix test 2022-02-10 18:14:46 +03:00
avogar
9e58ae7577 Support jsonl extension for JSONEachRow format 2022-02-10 16:00:37 +03:00
Kruglov Pavel
bf8c028533
Merge pull request #34479 from Avogar/fix-filesystem-error
Fix possible error 'file_size: Operation not supported'
2022-02-10 14:17:05 +03:00
mergify[bot]
cb3e5f8538
Merge branch 'master' into memory-overcommit 2022-02-10 11:01:43 +00:00
Maksim Kita
f7b70877c8 Fixed tests 2022-02-10 10:27:11 +00:00
avogar
75c56163a0 Refactor client fault tolerant connection 2022-02-10 12:43:08 +03:00
Kruglov Pavel
8385dc27c2
Fix test 2022-02-10 12:19:01 +03:00
avogar
bfa96463ca Fix possible error 'file_size: Operation not supported' 2022-02-10 09:23:27 +03:00
Anton Popov
dcd7312d75 cache common type on objects in MergeTree 2022-02-09 23:47:53 +03:00
Anton Popov
18940b8637 Merge remote-tracking branch 'upstream/master' into HEAD 2022-02-09 23:38:38 +03:00
Denny Crane
ca0d78295a test for #13907 toColumnTypeName_toLowCardinality_const 2022-02-09 14:19:50 -04:00
mergify[bot]
d55eadc3c9
Merge branch 'master' into default-table-engine 2022-02-09 17:08:31 +00:00
Yakov Olkhovskiy
eaf660fd61 test is added 2022-02-09 17:04:06 +00:00
Maksim Kita
e0dfc9cd38
Merge pull request #34454 from kitaisreal/dictionary-get-http-json-test
Added test 33734
2022-02-09 17:21:03 +01:00
Nikolai Kochetov
38fb50f736
Merge pull request #33958 from Algunenano/mv_cacheable_scalars
Scalar cache improvements
2022-02-09 16:46:53 +03:00
Maksim Kita
0658fb3256 Added test 33734 2022-02-09 12:06:17 +00:00
Kruglov Pavel
4ec0f6f091
Merge pull request #33824 from ManagedDatabases/client-fault-tolerant-connection
Client fault tolerant connection
2022-02-09 14:26:11 +03:00
alesapin
10c3e6e546 Merge branch 'master' into revert-34211-revert-34153-add_func_tests_over_s3 2022-02-09 14:14:58 +03:00
mergify[bot]
fd5caa3196
Merge branch 'master' into short-circuit-bug 2022-02-09 11:04:19 +00:00
filimonov
5bef470615
Fix test 2022-02-09 07:48:50 +01:00
Alexey Milovidov
b95f2b5c99 Multipart upload 2022-02-09 05:59:23 +03:00
Alexey Milovidov
cb2718c897 Add a test 2022-02-09 05:56:32 +03:00
Anton Popov
587d7399ba support dynamic subcolumns for Memory engine 2022-02-09 03:18:53 +03:00
alesapin
36909a986f Fix bug with files remove 2022-02-08 22:21:16 +03:00
DF5HSE
cfefa57485 Merge branch 'master' of github.com:ClickHouse/ClickHouse into client-fault-tolerant-connection 2022-02-08 19:53:55 +03:00
alesapin
02a93cb852 Merge branch 'master' into revert-34211-revert-34153-add_func_tests_over_s3 2022-02-08 19:42:27 +03:00
avogar
08c009ab50 Fix possible error 'Cannot convert column Function to mask' 2022-02-08 18:23:43 +03:00
Nikolai Kochetov
0f7c0c72bd
Merge pull request #34305 from amosbird/projection-fix27
Fix various issues when projection is enabled by default
2022-02-08 17:19:56 +03:00
Anton Popov
496d77c3c3
Merge pull request #33467 from cmsxbc/addressToLineWithInlines
add function addressToLineWithInlines
2022-02-08 17:03:46 +03:00
alesapin
b47b0eb1dc Revert accident change 2022-02-08 14:05:01 +03:00
Yatsishin Ilya
bcf4303286 Merge remote-tracking branch 'origin' into default-table-engine 2022-02-08 10:35:29 +00:00
Kruglov Pavel
b4fec2af7c
Merge pull request #34065 from Avogar/msgpack
Support UUID in MsgPack format
2022-02-08 11:42:17 +03:00
DF5HSE
c08bc7ad65 Merge branch 'master' of github.com:ClickHouse/ClickHouse into client-fault-tolerant-connection 2022-02-08 11:37:31 +03:00
cmsxbc
1d13c68c9c
use max instead of not any to check all rows 2022-02-08 08:58:01 +08:00
cmsxbc
a33bd4c623
Merge branch 'master' into addressToLineWithInlines 2022-02-08 08:54:15 +08:00
Anton Popov
b21adb8e11
Merge pull request #34229 from evillique/parser
Add composability to casting and index operators
2022-02-08 03:17:00 +03:00
alexey-milovidov
755c8084b1
Merge pull request #34125 from Avogar/table-from-literal
Add table function format(format_name, data)
2022-02-08 02:48:56 +03:00
alexey-milovidov
51c767d107
Merge pull request #34345 from ClickHouse/fix-wrong-engine-database-memory
Fix wrong engine in SHOW CREATE DATABASE with engine Memory #34225
2022-02-08 02:45:46 +03:00
DF5HSE
c1df291b18 Fix error with IPv6 in host param 2022-02-08 02:03:41 +03:00
DF5HSE
69e535fcb2 Merge branch 'master' of github.com:ClickHouse/ClickHouse into client-fault-tolerant-connection 2022-02-08 02:03:36 +03:00
DF5HSE
e780c1292d Add tests, remove saving host in config 2022-02-08 02:03:35 +03:00
Amos Bird
1995894eef
Fix tests 2022-02-08 02:32:23 +08:00
Kruglov Pavel
4b5221a6aa
Merge pull request #34017 from Avogar/values-func
Add schema inference for values() table function.
2022-02-07 20:31:40 +03:00
Anton Popov
b633a916af
Merge pull request #34228 from CurtizJ/fix-subcolumns-with-dots
Fix reading of subcolumns with dots in their names
2022-02-07 19:01:33 +03:00