Commit Graph

20563 Commits

Author SHA1 Message Date
Alexey Milovidov
7831200fc8 All new table functions must be documented 2022-08-28 02:05:58 +02:00
Alexey Milovidov
b0e5174e78 Update test 2022-08-28 02:01:17 +02:00
Alexey Milovidov
0309a2ca76 Fix test 2022-08-28 01:37:23 +02:00
Alexey Milovidov
d583f29a00 Fix test 2022-08-28 01:36:32 +02:00
Alexey Milovidov
63fc3a2c3f Update test 2022-08-28 00:27:37 +02:00
Alexey Milovidov
89daf3db8f Fix test 2022-08-28 00:18:00 +02:00
Alexey Milovidov
6ac9eabbd4 Register more aliases correctly 2022-08-28 00:17:13 +02:00
Alexey Milovidov
a6d99e795e Register more aliases correctly 2022-08-28 00:14:38 +02:00
Alexey Milovidov
a7f4c90f0c Update test 2022-08-27 23:59:32 +02:00
Alexander Gololobov
f90033d174 Make 02242_system_filesystem_cache_log_table output stable 2022-08-27 23:33:06 +02:00
Yakov Olkhovskiy
31a7ed09a1 disable default ENABLE_CLICKHOUSE_SELF_EXTRACTING and add to env 2022-08-27 21:08:01 +00:00
Alexey Milovidov
7bd1142f63
Merge pull request #40647 from ClickHouse/high-level-coverage
Report high-level function and data types test coverage
2022-08-27 23:13:10 +03:00
Alexey Milovidov
6139cc8f7a Add Documentation to FunctionFactory 2022-08-27 22:06:57 +02:00
Alexey Milovidov
f86242c17e
Merge pull request #40699 from ClickHouse/remove-unbundled
Remove the remaining parts of "unbundled" build
2022-08-27 21:54:42 +03:00
Alexey Milovidov
e7054debc1
Merge pull request #40649 from ClickHouse/embedded-documentation
A prototype for embedded documentation
2022-08-27 21:28:11 +03:00
Alexey Milovidov
ef191efdc8 Merge branch 'nlp-functional-test' of github.com:ClickHouse/ClickHouse into nlp-functional-test 2022-08-27 20:23:31 +02:00
Alexey Milovidov
b70373d429 Fix error 2022-08-27 20:23:15 +02:00
Alexey Milovidov
00afbadb53
Merge branch 'master' into high-level-coverage 2022-08-27 19:34:26 +03:00
Diego Nieto (lesandie)
9a07489151 Added integration test for s3 table function 2022-08-27 18:33:04 +02:00
Alexey Milovidov
a6387ac0f7
Merge branch 'master' into force-documentation-3 2022-08-27 19:31:44 +03:00
Alexey Milovidov
6e564b18bf
Merge pull request #40600 from FrankChen021/check_url_arg
Validate the CompressionMethod parameter of URL table engine
2022-08-27 19:29:55 +03:00
Alexey Milovidov
7569cbb381
Merge pull request #40643 from ClickHouse/fix-recursive-buffer
Fix stack overflow in recursive Buffer tables.
2022-08-27 19:27:24 +03:00
Alexey Milovidov
e358d57184 Check for coverage 2022-08-27 18:11:16 +02:00
Alexey Milovidov
abfddf17e2
Merge pull request #40658 from ClickHouse/vdimir/perf-test-report-env
Fix env variable forwaring in performance_comparison_check.py
2022-08-27 17:01:57 +03:00
Alexey Milovidov
b4cf54e3ef
Merge pull request #40683 from ClickHouse/test-to-decimal-or-default
Add a test for toDecimal*OrDefault functions
2022-08-27 16:53:55 +03:00
Alexey Milovidov
36ca126a26
Merge pull request #40679 from ClickHouse/fix-typo
Fix typo
2022-08-27 16:52:21 +03:00
Alexey Milovidov
fef269d0b8
Merge pull request #40686 from ClickHouse/model-evaluate-smoke-test
Add a smoke (fake) test for `modelEvaluate` function
2022-08-27 16:52:09 +03:00
Azat Khuzhin
c801469e9e Fix LOGICAL_ERROR with max_read_buffer_size=0 during reading marks
The problem is that the buffer size validated after marks reading in
MergeTreeReaderStream::init(), since it requires to read marks first.

And later it is passed to AsynchronousReadBufferFromFileDescriptor,
which throws LOGICAL_ERROR because buffer_size < alignment.

Fix this my simply disallow such values for max_read_buffer_size (I
thougt about modifying createReadBufferFromFileBase(), but it is not
used for remote reads -- remote_fs_buffer_size).

Fixes: #40669
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-27 14:12:07 +02:00
Alexander Gololobov
6fc8f1e9e0
Merge pull request #40645 from ClickHouse/force-documentation-2
Every current metric must have documentation
2022-08-27 10:44:47 +02:00
Duc Canh Le
1691db9ce6
Merge branch 'master' into ch_canh_fix_json 2022-08-27 09:23:04 +08:00
Alexey Milovidov
fc3514ca1a Maybe better 2022-08-27 03:13:53 +02:00
Alexey Milovidov
91ed3ebe9a Remove the remaining parts of "unbundled" build 2022-08-27 02:18:47 +02:00
Alexey Milovidov
66bee79d8b
Update install.sh 2022-08-27 02:56:56 +03:00
Alexey Milovidov
04dc970cb8 Even more reports 2022-08-26 23:57:14 +02:00
Alexey Milovidov
2a7d9f0778 Merge branch 'master' into high-level-coverage 2022-08-26 23:44:52 +02:00
Alexey Milovidov
86fc10af66 Add missing file 2022-08-26 23:42:36 +02:00
Alexey Milovidov
8000e9ec92 Fix test 2022-08-26 23:09:01 +02:00
Alexey Milovidov
2e16e2e9ee Fix fasttest 2022-08-26 22:43:15 +02:00
Alexey Milovidov
3f0ac45389 Add a smoke (fake) test for modelEvaluate function 2022-08-26 22:40:06 +02:00
Alexey Milovidov
6414a01987 Rewrite NLP tests from integration to functional 2022-08-26 22:36:34 +02:00
Alexey Milovidov
2eeedb345e Add a test for toDecimal*OrDefault functions 2022-08-26 21:42:43 +02:00
Alexander Gololobov
4fef408104
Merge branch 'master' into force-documentation-3 2022-08-26 20:29:06 +02:00
Alexey Milovidov
6940bdab3b
Merge branch 'master' into fix-recursive-buffer 2022-08-26 21:25:11 +03:00
Alexander Tokmakov
91ec3793db
Merge pull request #40665 from ClickHouse/vdimir/02177_issue_31009_release_only
Disable 02177_issue_31009 for non-release builds
2022-08-26 21:19:37 +03:00
Alexander Tokmakov
3868a029f7
Merge pull request #40674 from ClickHouse/tavplubix-patch-4
Make 01111_create_drop_replicated_db_stress less flaky
2022-08-26 21:15:06 +03:00
Alexey Milovidov
1ad44acce8
Merge pull request #40644 from ClickHouse/force-documentation
Every setting must have documentation
2022-08-26 21:06:57 +03:00
zvonand
b9b8f7a05d explicit timezone in test 2022-08-26 18:43:31 +03:00
Kruglov Pavel
d4d0ec1c95
Fix style 2022-08-26 16:44:54 +02:00
Alexander Tokmakov
407bfdb568
Update 01111_create_drop_replicated_db_stress.sh 2022-08-26 16:59:40 +03:00
FArthur-cmd
f3d0083e57 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into annoy-2 2022-08-26 13:53:53 +00:00
Vladimir C
cc74e3dd19
Fix performance_comparison_check.py 2022-08-26 15:49:40 +02:00
Alexander Tokmakov
7fa0cc02f2 fix tests 2022-08-26 15:33:04 +02:00
Alexey Milovidov
b5a60fb588 Update test 2022-08-26 15:24:24 +02:00
Alexey Milovidov
cedf1c0454 Fix output 2022-08-26 15:14:27 +02:00
Alexey Milovidov
c2dffebe26
Merge branch 'master' into force-documentation-2 2022-08-26 16:10:58 +03:00
Alexey Milovidov
03ed472964
Update 02391_recursive_buffer.sql 2022-08-26 16:08:05 +03:00
avogar
b8061532ac Add setting to disable limit on kafka_num_consumers 2022-08-26 12:49:39 +00:00
Alexander Gololobov
a313ec65cf
Merge pull request #40648 from ClickHouse/force-documentation-4
Every MergeTree setting must have documentation
2022-08-26 14:47:56 +02:00
Kseniia Sumarokova
fcb53aacdb
Merge pull request #40642 from barumrho/barumrho/sqlite-int8-conversion
Convert SQLite int8 column to ClickHouse int64
2022-08-26 14:33:20 +02:00
vdimir
58050bfd3d
Disable 02177_issue_31009 for non-release builds 2022-08-26 11:52:14 +00:00
Kseniia Sumarokova
47d48a7b5c
Merge pull request #40579 from kssenii/add-test
Add test for drop fs cache on cluster
2022-08-26 12:55:13 +02:00
Vladimir C
f76325c439
Fix style in performance_comparison_check.py 2022-08-26 12:45:40 +02:00
Kruglov Pavel
e2e1ca26e9
Merge pull request #40628 from Avogar/fix-to-fixed-string
Fix short circuit execution of toFixedString function
2022-08-26 12:26:16 +02:00
Kruglov Pavel
58538d3f90
Merge pull request #40636 from Avogar/fix-url-format-detection
Better format detection for url table function/engine
2022-08-26 12:25:55 +02:00
Vladimir C
e067629e0d
Merge pull request #40239 from vdimir/vdimir/tmp-file-metrics
More metrics for on-disk temporary data
2022-08-26 11:28:01 +02:00
FArthur-cmd
c36e8686f8 skip ubsan for annoy test 2022-08-26 09:27:10 +00:00
vdimir
d82cab7f65
Fix env variable forwaring in performance_comparison_check.py 2022-08-26 09:21:42 +00:00
Robert Schulze
1c8c83ccf3
Merge pull request #40620 from zvonand/zvonand-b58
Base58 fix handling leading 0 / '1'
2022-08-26 10:18:26 +02:00
Barum Rho
ba90704e24 Fix sqlite integer column conversino test case 2022-08-25 22:44:04 -04:00
Alexey Milovidov
f63fa3b04b Fix error 2022-08-26 03:49:51 +02:00
Alexey Milovidov
829f9f6183 Fix test 2022-08-26 02:53:56 +02:00
Alexey Milovidov
8ee6e87188 Every MergeTree setting must have documentation 2022-08-26 02:51:30 +02:00
Alexey Milovidov
440d10370a Report high-level function test coverage 2022-08-26 01:59:14 +02:00
Alexey Milovidov
91bd6f1d46 Write the documentation for all ProfileEvents. Enforce that documentation exists. 2022-08-26 01:35:03 +02:00
Alexey Milovidov
b232d8e94a Update test 2022-08-26 00:34:52 +02:00
Alexey Milovidov
6659438d87 Every current metric must have documentation 2022-08-26 00:33:25 +02:00
Alexey Milovidov
06cf18c585 Every setting must have documentation 2022-08-25 23:50:14 +02:00
Kseniia Sumarokova
e2014c9872
Update test.py 2022-08-25 23:01:31 +02:00
Alexey Milovidov
c2deed222a Add a test 2022-08-25 22:40:24 +02:00
Alexander Gololobov
6a69e08799
Merge pull request #40559 from ClickHouse/lwd_vertical_merge_fix
Fix vertical merge of parts with lightweight deleted rows
2022-08-25 20:47:44 +02:00
avogar
cef2972af4 Better format detection for url table function/engine 2022-08-25 18:31:06 +00:00
Alexey Milovidov
fcba079baa
Merge pull request #40572 from Avogar/fix-map-bug
Fix possible logical error in arrayElement function with Map
2022-08-25 20:17:22 +03:00
Alexander Tokmakov
eae2667a1c
Merge pull request #40148 from ClickHouse/replicate-tables-readonly
`ReplicatedMergeTree` tables as readonly until attach is finished
2022-08-25 19:39:19 +03:00
Kseniia Sumarokova
e46d34c722
Update test.py 2022-08-25 18:37:25 +02:00
Alexander Tokmakov
a6f55b1430 fix 2022-08-25 16:27:12 +02:00
avogar
1844873dbc Fix short circuit execution of toFixedString function 2022-08-25 16:15:22 +02:00
Vladimir C
ddde5096ef
Merge branch 'master' into vdimir/tmp-file-metrics 2022-08-25 15:23:35 +02:00
Vladimir C
13de3d0665
Merge pull request #40610 from ClickHouse/nickitat-patch-2
Update 02405_pmj_issue_40335.sql
2022-08-25 15:18:23 +02:00
zvonand
b3360c169d Fix handling zeros/'1's at the beginning of input 2022-08-25 15:35:39 +03:00
zvonand
23357350d3 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-minmax 2022-08-25 15:32:04 +03:00
robot-clickhouse
6e538f04c4 Automatic style fix 2022-08-25 12:30:57 +00:00
Alexander Tokmakov
0aea4c7184 fix 2022-08-25 14:22:27 +02:00
Frank Chen
8464d54fad Update test case 2022-08-25 19:20:39 +08:00
alesapin
7d1e3ecfa3
Merge pull request #40506 from ClickHouse/fix_bad_exception
Fix lost errors in AWS CPP SDK
2022-08-25 13:07:35 +02:00
Nikita Taranov
75d5698029
Update 02405_pmj_issue_40335.sql 2022-08-25 12:51:01 +02:00
Alexander Tokmakov
f7ce63c754
Merge pull request #40584 from ClickHouse/fix_flaky_replication_check
Adjust timeouts for replication consistency check
2022-08-25 13:43:17 +03:00
alesapin
c4f8811701
Merge pull request #40395 from ClickHouse/data_source_description
Add copy shortcut for backups if dest and source support it
2022-08-25 12:36:30 +02:00
Kseniia Sumarokova
73bb5a6b9e
Update test.py 2022-08-25 12:10:46 +02:00
Kruglov Pavel
66e677b307
Merge pull request #40546 from Avogar/fix-inferring-datetimes
Fix possible error 'Decimal math overflow' while parsing DateTime64
2022-08-25 11:18:30 +02:00
robot-clickhouse
669ae365c1 Automatic style fix 2022-08-25 11:00:01 +02:00
vdimir
8bc29abdfa Test warning_supress_regexp in test_log_levels_update 2022-08-25 11:00:01 +02:00
vdimir
d5d69e03b6 rm 02404_suppress_system_warning 2022-08-25 11:00:01 +02:00
vdimir
19cb068f64 Add config option warning_supress_regex 2022-08-25 11:00:01 +02:00
Vladimir C
512a09049d
Merge pull request #40582 from ClickHouse/vdimir/add-test-helper
Small script to create empty test file with new number assigned
2022-08-25 10:58:20 +02:00
zvonand
bd3383cd27 update test 2022-08-25 11:10:01 +03:00
Frank Chen
c6d798148a Add test cases
Signed-off-by: Frank Chen <frank.chen021@outlook.com>
2022-08-25 14:49:27 +08:00
zvonand
d319e8274d fix parquet test 2022-08-25 02:34:16 +03:00
zvonand
3797e7cfbe Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-minmax 2022-08-25 01:57:49 +03:00
Kseniia Sumarokova
bfc3180c9e
Update test.py 2022-08-25 00:20:50 +02:00
Alexey Milovidov
aaafb797c0
Merge pull request #40541 from ClickHouse/paranoid_check_for_s3_uploads
Add paranoid option to check blobs to S3 after upload
2022-08-24 23:51:22 +02:00
zvonand
a61fd73c88 fix test fails 2022-08-25 00:26:44 +03:00
Alexander Tokmakov
3cd26aafe4 remove wrong code for skipping mutations in MergeTree 2022-08-24 20:58:59 +02:00
Antonio Andelic
da0d6056f4 Merge branch 'master' into replicate-tables-readonly 2022-08-24 17:29:33 +00:00
zvonand
5c00428940 updated as was before 2022-08-24 19:46:17 +03:00
vdimir
56e8e247e4
Rename add_test.sh -> add-test 2022-08-24 16:28:58 +00:00
vdimir
b42fcfd37f
shellcheck tests/queries/0_stateless/add_test.sh 2022-08-24 16:27:58 +00:00
vdimir
51c44424cc
More metrics for temp files 2022-08-24 16:14:09 +00:00
vdimir
7e871dd540
Add test 02402_external_disk_mertrics 2022-08-24 16:14:08 +00:00
Vladimir C
e703dd72bf
Merge pull request #40581 from ClickHouse/vdimir/test_issue_40335
Add test for PR #40335
2022-08-24 18:11:23 +02:00
Alexander Gololobov
c9177d2cb3
Merge pull request #40475 from ClickHouse/allow-conversion-from-string-datetime64-to-date-date32
Allow conversion from String with DateTime64 to Date and Date32
2022-08-24 17:33:20 +02:00
Alexander Tokmakov
054f610c50 adjust timeouts for replication consistency check 2022-08-24 17:27:56 +02:00
Alexander Tokmakov
f68db41c1c
Merge pull request #40575 from Avogar/try-fix-s3-test
Fix flaky schema inference cache tests
2022-08-24 18:24:05 +03:00
Alexander Gololobov
6c256cbe4a
Merge pull request #40474 from ClickHouse/allow-to-parse-date-as-datetime
Allow parsing Date as DateTime and DateTime64
2022-08-24 17:23:44 +02:00
vdimir
52604e0168
Add test for PR #40335 2022-08-24 14:09:19 +00:00
Kruglov Pavel
e6e7f5db93
Merge pull request #40491 from mini4/fix-settings-input_format_tsv_skip_first_lines
Fix bug in settings input_format_tsv_skip_first_lines of format TSV
2022-08-24 15:57:45 +02:00
vdimir
0fa8ae5f1a
Small script to create empty test file with new number assigned 2022-08-24 13:29:06 +00:00
alesapin
eeb0a3584e Merge branch 'master' into data_source_description 2022-08-24 15:26:18 +02:00
Alexander Gololobov
1c2dd50ca5 Fix vertical merge of parts with lightweight deleted rows 2022-08-24 15:18:33 +02:00
Kseniia Sumarokova
6ac35dabcf
Update test.py 2022-08-24 15:03:02 +02:00
kssenii
1033c14859 Add test 2022-08-24 15:01:21 +02:00
alesapin
f0b733313f Merge branch 'master' into fix_bad_exception 2022-08-24 14:44:40 +02:00
alesapin
cac3005f4d Merge branch 'master' into paranoid_check_for_s3_uploads 2022-08-24 14:43:11 +02:00
Alexander Tokmakov
f9f85a0e8b Revert "Parallel distributed insert select from *Cluster table functions (#39107)"
This reverts commit d3cc234986.
2022-08-24 15:17:15 +03:00
Kruglov Pavel
074e0f06e5
Update test 2022-08-24 13:42:29 +02:00
Kruglov Pavel
0781e8b4f7
Merge pull request #40534 from Avogar/nested-in-avro
Support reading Array(Record) into flatten nested table in Avro
2022-08-24 13:33:12 +02:00
avogar
93d0113b14 Fix flacky schema inference cache tests 2022-08-24 11:28:56 +00:00
avogar
fa320f65f6 Fix possible logical error in arrayElement function with Map 2022-08-24 11:01:39 +00:00
Alexander Tokmakov
c1d933b746
Update test.py 2022-08-24 13:39:45 +03:00
kgurjev
f62c2c3221 Fix bug in settings input_format_tsv_skip_first_lines of format TSV 2022-08-24 10:02:57 +03:00
zvonand
6ad02fd687 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-minmax 2022-08-24 01:12:38 +03:00
zvonand
e257f9d0cd update docs, tests + small fixes 2022-08-24 01:09:14 +03:00
Amos Bird
a8d8293466
Fix unused columns introduced by with stmt 2022-08-24 00:40:01 +08:00
zvonand
42f86442ab updated tests + toStartOfWeek 2022-08-23 18:33:09 +03:00
Kruglov Pavel
72f02bd6eb
Merge pull request #40414 from Avogar/improve-schema-inference-cache
Improve schema inference cache, respect format settings that can change the schema
2022-08-23 17:04:58 +02:00
avogar
de489ba1f7 Fix possible error 'Decimal math overflow' while parsing DateTime64 2022-08-23 14:42:23 +00:00
Kruglov Pavel
4054183fc4
Fix test 2022-08-23 16:23:31 +02:00
Andrey Zvonov
52159b77d0
Merge branch 'master' into zvonand-minmax 2022-08-23 17:18:57 +03:00
zvonand
6dd9f7fd23 fix identation 2022-08-23 17:15:20 +03:00
zvonand
6abe09a725 updated tests + teStartOfWeek 2022-08-23 17:13:39 +03:00
Duc Canh Le
e42e78436e
Merge branch 'master' into ch_canh_fix_json 2022-08-23 21:53:12 +08:00