Commit Graph

12790 Commits

Author SHA1 Message Date
zvonand
23357350d3 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-minmax 2022-08-25 15:32:04 +03:00
Frank Chen
8464d54fad Update test case 2022-08-25 19:20:39 +08: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
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
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
zvonand
a61fd73c88 fix test fails 2022-08-25 00:26:44 +03: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 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
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
fa320f65f6 Fix possible logical error in arrayElement function with Map 2022-08-24 11:01:39 +00: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
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
Alexey Milovidov
34b5d267f3
Merge pull request #40461 from ClickHouse/dashboard
Dashboard
2022-08-23 15:34:28 +03:00
avogar
581e569d04 Support reading Array(Record) into flatten nested table in Avro 2022-08-23 11:05:02 +00:00
Robert Schulze
60aa1d99f2
Merge pull request #38900 from Algunenano/avoid_printing_settings
Avoid printing SETTINGS twice when formatting a query
2022-08-23 09:28:01 +02:00
Alexey Milovidov
57e6224fde
Merge pull request #40455 from CheSema/fix-flaky-test
fix flaky 02293_part_log_has_merge_reason: wait merge explicitly
2022-08-23 00:42:35 +03:00
zvonand
1df3d607c2 fix tests 2022-08-22 21:45:34 +03:00
alesapin
e865959ccc Fix test 2022-08-22 16:53:57 +02:00
zvonand
eba4bd2a87 update test and chinese docs 2022-08-22 17:36:55 +03:00
zvonand
a7a1269e60 updated tests + improve logic 2022-08-22 17:36:55 +03:00
Raúl Marín
cda9138d88 Merge remote-tracking branch 'blessed/master' into avoid_printing_settings 2022-08-22 16:07:17 +02:00
Kruglov Pavel
ddaaf7b73d
Fix fasttest 2022-08-22 12:48:27 +02:00
Sema Checherinda
cfc691317a fix flaky 02293_part_log_has_merge_reason: wait merge explicitly 2022-08-22 12:34:03 +02:00
Alexey Milovidov
1aa289f80a Add a smoke test 2022-08-22 01:49:23 +02:00
Alexey Milovidov
75c0ed528d Fix test 2022-08-22 01:21:32 +02:00
Alexey Milovidov
2faa23112c Fix test 2022-08-22 00:39:06 +02:00
Alexey Milovidov
a028d22c0b Add a test 2022-08-22 00:26:52 +02:00
Alexey Milovidov
bddf1cc312 Allow to parse Date as DateTime and DateTime64 2022-08-21 23:12:41 +02:00
Alexey Milovidov
6fbff6d1f6
Revert "Avx enablement" 2022-08-21 15:47:02 +03:00
Alexey Milovidov
9e06ecd60a
Merge pull request #40440 from ClickHouse/remove-trash
Remove trash (disabled tests for LIVE VIEW)
2022-08-20 21:32:23 +03:00
alesapin
e4d486fbba
Merge pull request #40346 from ClickHouse/fix_ttl_vertical_merge_bug
Fix bug with multiple TTL merges on expired column
2022-08-20 17:09:32 +02:00
Alexey Milovidov
c2301f00e9 Remove trash 2022-08-20 13:24:13 +02:00
Sema Checherinda
1f8ce6d84e
Merge pull request #40292 from CheSema/fix-heap-overflow-httpchunkedreadbuffer
fix heap buffer overflow by limiting http chunk size
2022-08-20 01:01:29 +02:00
avogar
612ffaffde Make schema inference cache better, respect format settings that can change the schema 2022-08-19 16:39:13 +00:00
Duc Canh Le
24682556a4
Fix storage merge on view cannot use primary index (#40233)
* fix storage merge on view cannot use index

* minor fix code + tests

* fix view stage

* fix stage

* fix style

* fix tests
2022-08-19 14:24:22 +02:00
alesapin
9ec164fc07
Update 02403_ttl_column_multiple_times.sql 2022-08-19 11:36:33 +02:00
Alexander Tokmakov
4bffb76235
Update 02293_part_log_has_merge_reason.sql 2022-08-19 11:27:51 +03:00
Alexander Tokmakov
00a085fe30
Update 02382_filesystem_cache_persistent_files.sql 2022-08-19 11:24:08 +03:00
Robert Schulze
24615059fb
Merge pull request #40319 from ClickHouse/custom-error-code-in-throwif
Allow custom error code in throwIf
2022-08-19 09:49:35 +02:00
Kruglov Pavel
b67cb9e378
Merge pull request #40173 from Avogar/arrow-dict
Improve and fix dictionaries in Arrow format
2022-08-18 20:54:55 +02:00
Alexander Tokmakov
e311d06eaa
Merge pull request #40246 from ClickHouse/parallel_drop_ranges_execution
Allow parallel execution of disjoint drop ranges
2022-08-18 21:17:41 +03:00
Robert Schulze
e3266fe35a
test: extend tests for function throwIf() with edge cases 2022-08-18 15:24:53 +00:00
Robert Schulze
5037ce547f
Only allow 8/16/32-bit signed integers as custom error code data type
The internally used data type for error code is "int", and by
disallowing unsigned integers or integers >= 64 bit we avoid truncation
issues.
2022-08-18 15:16:08 +00:00
Sema Checherinda
c6f61e6d08 small fix of test 02403_big_http_chunk_size.python 2022-08-18 14:30:52 +02:00
Sema Checherinda
89bada927c fix heap buffer overflow by limiting http chunk size 2022-08-18 14:30:52 +02:00
alesapin
1751ba3e1e
Merge branch 'master' into fix_ttl_vertical_merge_bug 2022-08-18 14:24:05 +02:00
alesapin
20a2e786c9 Fix bug with multiple TTL merges on expired column 2022-08-18 14:21:20 +02:00
Kruglov Pavel
09a2ff8843
Merge pull request #40293 from joshuataylor/feature/arrow-large-binary-string
Add support for LARGE_BINARY/LARGE_STRING with Arrow
2022-08-18 14:01:58 +02:00
Nikolai Kochetov
5a85531ef7
Merge pull request #38286 from Avogar/schema-inference-cache
Add schema inference cache for s3/hdfs/file/url
2022-08-18 13:07:50 +02:00
Alexander Tokmakov
6e5e0689a3
Merge branch 'master' into parallel_drop_ranges_execution 2022-08-18 13:43:29 +03:00
Kseniia Sumarokova
d8fd1f9c37
Merge pull request #36171 from kssenii/make-cache-composable
Make cache composable, allow not to evict certain files (regarding .idx, .mrk, ..), delete old cache version
2022-08-18 12:37:34 +02:00
Kruglov Pavel
d7056376eb
Merge pull request #40068 from Avogar/schema-inference-hints
Allow to specify structure hints in schema inference
2022-08-18 12:19:45 +02:00
Alexey Milovidov
aaf6a3c862
Merge pull request #40184 from ClickHouse/update-cctz
Update cctz
2022-08-18 10:13:04 +03:00
Yakov Olkhovskiy
0c84cd068d
Update 00602_throw_if.reference 2022-08-17 23:27:03 -04:00
Robert Schulze
f121941916
feat: allow custom error code for SQL function throwIf() 2022-08-17 21:14:40 +00:00
Robert Schulze
164fc3d296
style: improve code aesthetics 2022-08-17 20:39:37 +00:00
Alexander Gololobov
ff87d3b8bf Update the test accoding to fixes for Asia/Tehran tz 2022-08-17 20:34:03 +02:00
kssenii
d63d34f7bb Merge master 2022-08-17 15:49:32 +02:00
kssenii
f9b60916ab Update .reference 2022-08-17 15:34:13 +02:00
Vladimir C
b876cc17c9
Merge pull request #39593 from quickhouse/fixexponentialdecaywindowfunctions
Fixed point of origin for exponential decay window functions to the last value in window
2022-08-17 14:19:59 +02:00
avogar
8dd54c043d Merge branch 'master' of github.com:ClickHouse/ClickHouse into schema-inference-cache 2022-08-17 11:47:40 +00:00
avogar
fd2220b7ce Update test reference 2022-08-17 11:29:53 +00:00
Igor Nikonov
46ed4f6cdf
Merge pull request #38719 from ClickHouse/skipping_sorting_step
SortingStep: deduce way to sort based on input stream sort description
2022-08-17 12:58:11 +02:00
Nikolai Kochetov
8ec3f0821c
Merge pull request #40249 from azat/fix-memory-account-on-error
Fix memory accounting in case of MEMORY_LIMIT_EXCEEDED errors
2022-08-17 12:51:40 +02:00
Nikolai Kochetov
8762b4e2ca
Update 02400_memory_accounting_on_error.sql 2022-08-17 12:50:37 +02:00
Yakov Olkhovskiy
216a6ce8a4 test is added 2022-08-17 07:52:34 +00:00
kssenii
d193eee887 Better test 2022-08-17 00:16:46 +02:00
Igor Nikonov
fdd699e8a3 Rename tests according to new setting name 2022-08-16 16:37:31 +00:00
Igor Nikonov
d4367de7bb Rename setting to optimize_sorting_by_input_stream_properties 2022-08-16 16:27:41 +00:00
Azat Khuzhin
ded70fbd53 Fix memory accounting in case of MEMORY_LIMIT_EXCEEDED errors
In case of memory allocation had been failed, it should not be take into
account anywhere, otherwise it will report incorrect memory usage for
query and in logs.

I found this while was digging into OOM in stress tests, and saw memory
allocations that had been significantly greater the memory limit (even
with overcommit).

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-16 18:08:56 +02:00
Alexander Tokmakov
832d7c6e7c Merge branch 'master' into replicated_database_improvements 2022-08-16 15:49:13 +02:00
Vladimir Chebotaryov
66f9bfca61 Fixed point of origin for exponential decay window functions to the last value in window. 2022-08-16 15:43:37 +02:00
avogar
99d8727335 Fix tests 2022-08-16 12:56:51 +00:00