Nikita Taranov
97de19d7ea
fix tests
2022-09-05 12:34:14 +02:00
Azat Khuzhin
4e05c08360
tests: remove 01594_too_low_memory_limits
...
Since after memory limits ignored in logging it is not possible to test
it.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-09-05 12:20:15 +02:00
Igor Nikonov
025c7a1ae0
Merge pull request #40305 from ClickHouse/sort_mode_rename
...
Sorting mode renaming
2022-09-05 11:59:35 +02:00
Antonio Andelic
e07539d1b9
Merge branch 'master' into keeper-storage
2022-09-05 09:54:13 +00:00
Antonio Andelic
3a0581e990
Merge pull request #40543 from Lloyd-Pottiger/feat/support-read-only-for-embeddedrocksdb
...
Add read-only support for EmbeddedRocksDB
2022-09-05 09:31:07 +02:00
Antonio Andelic
dc17a125f8
No parallel for heavy KeeperMap test
2022-09-05 07:00:52 +00:00
Alexey Milovidov
1364685eff
Merge branch 'master' into s3-sharding-2
2022-09-05 08:39:19 +03:00
Alexey Milovidov
3f341427f6
Merge pull request #40917 from ClickHouse/test-repeat-last-command
...
Add test for '.' and '/' repeat commands in client interactive mode
2022-09-05 05:26:26 +03:00
Alexey Milovidov
a819f2c75b
Merge branch 'master' into add-more-s3-tests
2022-09-05 05:23:17 +03:00
Alexey Milovidov
cda8052df0
Fix trash
2022-09-05 03:46:10 +02:00
Alexey Milovidov
e70d526896
Fix trash
2022-09-05 03:35:43 +02:00
Alexey Milovidov
bff96b0af6
Merge branch 'master' into fix-access-rights-for-describe
2022-09-05 04:34:57 +03:00
Alexey Milovidov
cc50aa39a2
Merge branch 's3-sharding-2' of github.com:ClickHouse/ClickHouse into s3-sharding-2
2022-09-05 02:25:01 +02:00
Alexey Milovidov
79e3723272
Merge branch 'master' into s3-sharding-2
2022-09-05 02:24:35 +02:00
robot-clickhouse
89d40b6f70
Automatic style fix
2022-09-05 00:23:36 +00:00
Alexey Milovidov
a0b5567d3e
Move strange test
2022-09-05 02:16:48 +02:00
Alexey Milovidov
007680d93f
Preparation
2022-09-05 02:13:51 +02:00
alesapin
45b1f9dc41
Merge branch 'master' into stress_s3
2022-09-04 23:17:10 +02:00
Azat Khuzhin
25e3bebd9d
Rework core collecting on CI (eliminate gcore usage)
...
gcore is a gdb command, that internally uses gdb to dump the core.
However with proper configuration of limits (core_dump.size_limit) it
should not be required, althought some issues is possible:
- non standard kernel.core_pattern
- sanitizers
So yes, gcore is more "universal" (you don't need to configure any
`kernel_pattern`), but it is ad-hoc, and it has drawbacks -
**it does not work when gdb fails**. For example gdb may fail with
`Dwarf Error: DW_FORM_strx1 found in non-DWO CU` in case of DWARF-5 [1].
[1]: https://github.com/ClickHouse/ClickHouse/pull/40772#issuecomment-1236331323 .
Let's try to switch to more native way.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-09-04 22:07:16 +02:00
Igor Nikonov
8fece1e2d2
Merge branch 'master' into sort_mode_rename
2022-09-04 21:44:33 +02:00
Alexey Milovidov
fc59e557a8
Merge branch 'master' into test-repeat-last-command
2022-09-04 21:41:30 +03:00
kssenii
48dc32faf8
Better test
2022-09-04 19:54:34 +02:00
Alexey Milovidov
124a7856f0
Merge branch 'master' into remove-trash-2
2022-09-04 20:18:01 +03:00
Vitaly Baranov
6c164905ca
Add test.
2022-09-04 18:57:51 +02:00
Nikita Taranov
16af4aebc8
impl ( #40952 )
2022-09-04 16:26:31 +02:00
Azat Khuzhin
2e85f9f0ad
Remove completely processed WAL files
...
Previously all WAL files had been stored, though with the time of use
this can take too much space on disk, and also the startup time will be
increased.
But it is pretty easy to prune old WAL files (the one parts from which
had been completely written to disk already).
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-09-04 14:18:14 +02:00
alesapin
1527202fdf
Merge pull request #40966 from ClickHouse/fix-bad-test-2
...
Fix bad test
2022-09-04 13:22:43 +02:00
alesapin
a67703b76b
Merge branch 'master' into stress_s3
2022-09-04 13:00:28 +02:00
Alexey Milovidov
c4adc9ed8f
Remove trash
2022-09-04 04:28:08 +02:00
Alexey Milovidov
193cd1b3b2
Merge pull request #39138 from nickitat/control_block_size_in_aggregator
...
Control block size in aggregator
2022-09-04 04:51:00 +03:00
Alexey Milovidov
13a129bee7
Merge branch 'master' into remove-useless-line
2022-09-04 03:24:40 +02:00
Alexey Milovidov
097221a3af
Merge pull request #40726 from amosbird/projection-fix-1
...
Disable projection when grouping set is used.
2022-09-04 04:23:30 +03:00
Alexey Milovidov
68bf3b7077
Fix bad test
2022-09-04 02:53:14 +02:00
Lloyd-Pottiger
ec68ed8a93
fix test
...
Signed-off-by: Lloyd-Pottiger <yan1579196623@gamil.com>
2022-09-03 10:44:07 +08:00
Azat Khuzhin
c6cbd981b6
tests: disable 02161_addressToLineWithInlines
...
addressToLineWithInlines() may lead to the following error:
Code: 465. DB::Exception: Received from localhost:9000. DB::Exception: could not find abbreviation code: while executing 'FUNCTION addressToLineWithInlines(arrayJoin(trace) :: 1) -> addressToLineWithInlines(arrayJoin(trace)) Array(String) : 0'. (CANNOT_PARSE_DWARF)
CI: https://s3.amazonaws.com/clickhouse-test-reports/40873/45fd2bcb218ace3231a026eb91d688f0093c6407/stateless_tests__release_.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-09-02 23:23:05 +02:00
Azat Khuzhin
2d3fb36a62
Fix debug symbols (Add a quirk to force clang emit .debug_aranges with ThinLTO)
...
Wrap a linker into a script that will add some settings (`-mllvm
-generate-arange-section`) in case of ThinLTO to emit `.debug_aranges`
symbols.
Dicussion in the LLVM can be found here [1].
[1]: https://discourse.llvm.org/t/clang-does-not-produce-full-debug-aranges-section-with-thinlto/64898
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-09-02 23:22:25 +02:00
Igor Nikonov
5d7fa55f36
Merge branch 'master' into sort_mode_rename
2022-09-02 23:19:04 +02:00
Yakov Olkhovskiy
fdcced8962
Merge pull request #40850 from canhld94/ch_canh_fix_set
...
Fix tryGetPreparedSet crash when same set expression built from different column(s)
2022-09-02 14:40:35 -04:00
Kseniia Sumarokova
7dea71c83f
Merge pull request #40884 from TKaxe/fix_removeUnneededColumn
...
fix bug when remove unneeded columns in subquery
2022-09-02 18:51:18 +02:00
Lloyd-Pottiger
5db220c7fb
Merge branch 'master' of github.com:ClickHouse/ClickHouse into feat/support-read-only-for-embeddedrocksdb
2022-09-02 22:40:28 +08:00
Antonio Andelic
a326450ddf
Install enable_keeper_map config
2022-09-02 13:12:02 +00:00
Robert Schulze
7bd2fea1ea
Merge branch 'master' into test-repeat-last-command
2022-09-02 15:08:01 +02:00
Anton Popov
9dda9658a8
Merge remote-tracking branch 'upstream/master' into HEAD
2022-09-02 12:48:27 +00:00
Vladimir C
963c0111bf
Merge pull request #39418 from vdimir/join_and_sets
...
Filter joined streams for `full_sorting_join` by each other before sorting
2022-09-02 13:57:06 +02:00
Lloyd-Pottiger
b76af9284e
style check
...
Signed-off-by: Lloyd-Pottiger <yan1579196623@gamil.com>
2022-09-02 19:29:57 +08:00
alesapin
521e2cc22e
Merge branch 'master' into stress_s3
2022-09-02 12:57:29 +02:00
Lloyd-Pottiger
f499381f57
move functional test to integration test
...
Signed-off-by: Lloyd-Pottiger <yan1579196623@gamil.com>
2022-09-02 18:45:37 +08:00
Antonio Andelic
9ca20b97c2
Merge branch 'master' into keeper-storage
2022-09-02 12:13:07 +02:00
Lloyd-Pottiger
5a6b2106b5
Merge branch 'master' of github.com:ClickHouse/ClickHouse into feat/support-read-only-for-embeddedrocksdb
2022-09-02 18:10:00 +08:00
Alexander Tokmakov
71dc70bdff
Merge pull request #40876 from ClickHouse/tavplubix-patch-3
...
"Fix" database names collision in functional tests
2022-09-02 12:24:23 +03:00
Robert Schulze
a0544b2a01
test: Add test for '.' and '/' repeat commands in client interactive mode
2022-09-02 08:01:45 +00:00
robot-clickhouse
46f74fcbaf
Automatic style fix
2022-09-02 07:49:09 +00:00
Antonio Andelic
41b431c8b4
Enable keeper_map in tests
2022-09-02 07:41:25 +00:00
Antonio Andelic
b02bf49939
Use path prefix
2022-09-02 07:34:26 +00:00
Antonio Andelic
c91369ec5a
Use database in path to support parallel
2022-09-02 07:24:46 +00:00
Robert Schulze
319d8b00a7
Merge pull request #39010 from FrankChen021/tracing_context_propagation
...
Improve the opentelemetry tracing context propagation across threads
2022-09-02 07:56:43 +02:00
Robert Schulze
c7c00f9002
Merge pull request #40739 from ClickHouse/clang-tidy-for-headers
...
Enable clang-tidy for headers
2022-09-02 07:54:50 +02:00
Duc Canh Le
763328ef53
Merge branch 'master' into ch_canh_fix_set
2022-09-02 11:45:13 +08:00
Lloyd-Pottiger
59dccd6e49
fix test
...
Signed-off-by: Lloyd-Pottiger <yan1579196623@gamil.com>
2022-09-02 11:14:49 +08:00
Kruglov Pavel
5a9d2460dd
Merge pull request #40851 from Avogar/fix-json-object-inference
...
Fix nested JSON Objects schema inference
2022-09-01 21:07:21 +02:00
kssenii
8ba9d8857c
Add test
2022-09-01 19:27:45 +02:00
Mikhail f. Shiryaev
9e4f5d5006
Merge pull request #40845 from ClickHouse/cherry-pick-assignees
...
Assign new cherry-pick and backport PRs
2022-09-01 18:32:46 +02:00
Dmitry Novik
ddadb362cf
Merge pull request #39762 from quickhouse/betterorderbyoptimization
...
Fixed `Unknown identifier (aggregate-function)` exception which appears when a user tries to calculate WINDOW ORDER BY/PARTITION BY expressions over aggregate functions
2022-09-01 18:08:06 +02:00
Dmitry Novik
2ca619d40f
Merge pull request #40320 from azat/memory-tracker-fix-peak-race
...
Fix rare race in updating peak of memory tracker
2022-09-01 18:07:33 +02:00
Dmitry Novik
f71a7e0286
Add test for compatibility
2022-09-01 17:19:29 +02:00
Frank Chen
9d63cbe811
Merge 'origin/master' into tracing_context_propagation to resolve conflicts
2022-09-01 23:18:59 +08:00
alesapin
ad69bfcd6f
Merge branch 'stress_s3' of github.com:ClickHouse/ClickHouse into stress_s3
2022-09-01 17:05:55 +02:00
Dmitry Novik
94b74d46a6
Update tests
2022-09-01 17:05:04 +02:00
alesapin
89930c315b
Merge branch 'master' into stress_s3
2022-09-01 17:03:55 +02:00
Robert Schulze
f1c0501631
Merge pull request #40847 from ClickHouse/sanitizer-naming
...
Consistent sanitizer naming in CI
2022-09-01 16:42:55 +02:00
Antonio Andelic
a0c1ce5eb7
Merge branch 'master' into embeddedrocksdb-delete-update-support
2022-09-01 14:40:24 +00:00
Nikolay Degterinsky
5a611e272a
Merge remote-tracking branch 'upstream/master' into obfuscator-schema-inference
2022-09-01 13:07:28 +00:00
Vladimir C
12e6fc4182
Merge branch 'master' into join_and_sets
2022-09-01 14:56:14 +02:00
Vladimir C
f2cf7d7762
Merge pull request #40334 from ClickHouse/vdimir/analyze-stuck-limit
...
Limit number of analyze for one query, att. 2
2022-09-01 14:40:20 +02:00
Kseniia Sumarokova
c6c67a248d
Merge pull request #40792 from canhld94/ch_canh_intersect_distinct
...
Implement intersect + except distinct
2022-09-01 14:35:26 +02:00
Fangyuan Deng
bc7d661668
Merge branch 'master' into UniqSketch
2022-09-01 19:31:53 +08:00
Alexander Tokmakov
ecdea62cd5
Update clickhouse-test
2022-09-01 14:26:50 +03:00
alesapin
4058db5cba
Merge branch 'master' into stress_s3
2022-09-01 13:22:55 +02:00
Vitaly Baranov
6dcca686cb
Merge pull request #40827 from vitlibar/fix-incremental-backups-for-log-family
...
Fix incremental backups for Log family.
2022-09-01 13:13:32 +02:00
kssenii
82879543d3
Merge remote-tracking branch 'upstream/master' into improve-marks-cache-loading
2022-09-01 13:13:01 +02:00
Mikhail f. Shiryaev
ca837e6755
Add a doc-string for ReleaseBranch._assign_new_pr
2022-09-01 13:06:14 +02:00
Anton Popov
f7bdf07adc
Merge pull request #38715 from CurtizJ/fix-read-in-order-fixed-prefix
...
Better support of `optimize_read_in_order` in case of fixed prefix of sorting key
2022-09-01 12:59:18 +02:00
Anton Popov
cc49198204
Merge pull request #40754 from CurtizJ/fix-fuzzer-with-object
...
Avoid logical errors in some common operations with `ColumnObject`
2022-09-01 12:57:32 +02:00
Mikhail f. Shiryaev
1da02adc8d
Assign PRs to an original merged_by too
2022-09-01 12:38:30 +02:00
Sema Checherinda
7b59fdc042
Merge pull request #40779 from CheSema/detached-parts-metric
...
Metric for the number of detached parts
2022-09-01 12:24:42 +02:00
Duc Canh Le
018f4118bb
Fix view with merge table function ( #40734 )
2022-09-01 12:20:00 +02:00
luocongkai
56e4179cad
fix bug when remove unneeded columns in subquery
2022-09-01 17:10:32 +08:00
Antonio Andelic
e10acfb1fa
Fix stateless tests
2022-09-01 08:43:14 +00:00
Robert Schulze
de64c6b103
Merge branch 'master' into clang-tidy-for-headers
2022-09-01 10:24:56 +02:00
Robert Schulze
d311482391
More renamings for consistency
...
AST Fuzzer (ASan) --> AST Fuzzer (asan)
AST Fuzzer (TSan) --> AST Fuzzer (tsan)
AST Fuzzer (MSan) --> AST Fuzzer (msan)
AST Fuzzer (UBSan) --> AST Fuzzer (ubsan)
2022-09-01 07:59:01 +00:00
Robert Schulze
56eece40ec
Merge pull request #40736 from LevyCory/add-offset-to-formatDateTime
...
Add timezone offset support to `formatDateTime`
2022-09-01 09:50:17 +02:00
Nikolay Degterinsky
e98ceb2575
Merge pull request #40251 from ClibMouse/Structured-logging-custom-keys
...
Feature Improvement: Custom Key Names for Structured Logging Support
2022-09-01 00:36:23 +02:00
Robert Schulze
912663b719
Revert "Move CatBoost evaluation into clickhouse-library-bridge"
2022-08-31 20:54:43 +02:00
Alexander Tokmakov
e659b4553d
Update clickhouse-test
2022-08-31 21:53:57 +03:00
Kruglov Pavel
86516d3bb4
Merge pull request #40740 from amosbird/row-policy-index-fix-1
...
Use index when row_policy_filter is always false
2022-08-31 18:46:14 +02:00
Kruglov Pavel
b7ea529307
Merge pull request #40746 from Avogar/fix-csv-schema-inference
...
Fix possible error Attempt to read after eof in CSV schema inference
2022-08-31 18:29:01 +02:00
Antonio Andelic
f043790e6d
Add support for update
2022-08-31 14:33:53 +00:00
Robert Schulze
ca01286028
Merge pull request #39629 from ClickHouse/catboost-bridge
...
Move CatBoost evaluation into clickhouse-library-bridge
2022-08-31 16:16:11 +02:00
avogar
53ebe8a0bd
Add test
2022-08-31 14:11:00 +00:00
Anton Popov
5a3e24c4e4
Merge pull request #40483 from canhld94/ch_canh_fix_json
...
Fix columnObject crash with array of variadic dimension elems
2022-08-31 16:07:58 +02:00
Duc Canh Le
55e675a407
fix test again
2022-08-31 21:57:07 +08:00
Duc Canh Le
5f1827a316
fix style test
2022-08-31 21:52:57 +08:00
Duc Canh Le
55c20ce45b
fix tryGetPreparedSet crash when same set expression built from different columns
2022-08-31 21:43:08 +08:00
Antonio Andelic
0e6b3b870a
Add support for delete in RocksDB
2022-08-31 13:08:27 +00:00
alesapin
b8895bb01b
Merge branch 'fix_incorrect_remove_in_zero_copy' into stress_s3
2022-08-31 14:55:07 +02:00
Robert Schulze
48164b039a
Consistent sanitizer naming in CI
...
Sanitizer build/test jobs were sometimes named with full form
('undefined') - which could be confusing - and sometimes named with
abbreviated form ('ubsan'). Now always using the short form.
2022-08-31 12:45:05 +00:00
Mikhail f. Shiryaev
187b10dec5
Assign to all at once, improve logging
2022-08-31 14:09:17 +02:00
Vitaly Baranov
007ae0e6cc
Fix incremental backups for Log family.
2022-08-31 12:57:28 +02:00
Robert Schulze
cedf75ed5e
Enable clang-tidy for headers
...
clang-tidy now also checks code in header files. Because the analyzer
finds tons of issues, activate the check only for directory "base/" (see
file ".clang-tidy"). All other directories, in particular "src/" are
left to future work.
While many findings were fixed, some were not (and suppressed instead).
Reasons for this include: a) the file is 1:1 copypaste of a 3rd-party
lib (e.g. pcg_extras.h) and fixing stuff would make upgrades/fixes more
difficult b) a fix would have broken lots of using code
2022-08-31 10:48:15 +00:00
kssenii
ebcc022782
Fix fast test
2022-08-31 12:48:12 +02:00
Antonio Andelic
9dd1a9859d
Merge branch 'master' into keeper-storage
2022-08-31 10:12:11 +00:00
vdimir
7d8e0250d9
Mark 02337_join_analyze_stuck long
2022-08-31 11:57:41 +02:00
vdimir
33508507bf
Upd 02337_join_analyze_stuck
2022-08-31 11:57:41 +02:00
vdimir
f38f39ed6f
Use max_analyze_depth
2022-08-31 11:57:41 +02:00
vdimir
928adb2b38
[WIP] Limit number of analyze for one query
2022-08-31 11:57:41 +02:00
Antonio Andelic
c73f41868b
Add tests for keys_limit
2022-08-31 08:14:50 +00:00
Antonio Andelic
e97640e2f0
Fix reference for keeper test
2022-08-31 07:21:20 +00:00
Duc Canh Le
aebd1cb7de
Merge branch 'master' into ch_canh_intersect_distinct
2022-08-31 12:08:20 +08:00
Fangyuan Deng
5c2f35c302
Merge branch 'master' into UniqSketch
2022-08-31 10:23:46 +08:00
root
ea517de61a
style check correction
2022-08-30 23:20:19 -03:00
root
f02f7ce99c
addressed minor change requests
2022-08-30 23:20:19 -03:00
root
84a617675d
style check correction in test.py
2022-08-30 23:20:19 -03:00
root
3ced3c9933
style check correction in test.py
2022-08-30 23:20:19 -03:00
root
1d29a494db
Modified test code to cover various scenarios for custom keys
2022-08-30 23:20:19 -03:00
root
d5db88fa27
Structured-logging-custom-keys PR init
2022-08-30 23:20:19 -03:00
Anton Popov
3504781529
Merge branch 'master' into fix-read-in-order-fixed-prefix
2022-08-30 23:32:43 +02:00
Dmitry Novik
003483b616
Add compatibility setting
2022-08-30 20:49:40 +02:00
Sema Checherinda
9bb4f556c3
work on remarks on the review
2022-08-30 20:18:35 +02:00
Cory Levy
4a9ccc6496
Fix timezone offset tests
2022-08-30 13:42:12 -04:00
alesapin
216773fc47
Merge branch 'stress_s3' of github.com:ClickHouse/ClickHouse into stress_s3
2022-08-30 18:45:12 +02:00
alesapin
5a0c5f0542
Merge branch 'kssenii-fix-write-through-cache-logical-error' into stress_s3
2022-08-30 18:44:14 +02:00
Antonio Andelic
3c098bd0cb
Add integration test for KeeperMap
2022-08-30 13:41:57 +00:00
Alexander Tokmakov
6a50c20734
Merge branch 'master' into zookeeper_client_fault_injection
2022-08-30 15:43:30 +03:00
Dmitry Novik
0a8378d9cd
Merge branch 'master' into betterorderbyoptimization
2022-08-30 14:23:22 +02:00
Alexander Tokmakov
6fdfb964d0
Revert "Add Annoy index"
2022-08-30 15:10:10 +03:00
vdimir
0f6f3c73b0
Minor fix
2022-08-30 11:57:28 +00:00
Vladimir C
7266c007b7
Merge pull request #39131 from amosbird/cte-global-with-fix1
...
Fix unused unknown columns introduced by WITH statement
2022-08-30 13:52:19 +02:00
Anton Popov
745a068959
Update 01825_type_json_order_by.sql
2022-08-30 13:41:48 +02:00
Alexander Tokmakov
022f440ad0
Merge pull request #40769 from arthurpassos/caresptrresolver-hosts-patch
...
Fix CaresPTRResolver not reading hosts file
2022-08-30 14:35:10 +03:00
alesapin
2588901bc9
Merge pull request #40780 from ClickHouse/add_cache_to_zero_copy_test
...
Add cache to zero copy replication test
2022-08-30 12:42:05 +02:00
Antonio Andelic
30429d75b3
Add basic tests for KeeperMap
2022-08-30 10:25:00 +00:00
Antonio Andelic
53da469147
Merge branch 'master' into keeper-storage
2022-08-30 10:22:04 +00:00
Duc Canh Le
626b3e4147
Merge branch 'master' into ch_canh_intersect_distinct
2022-08-30 18:14:07 +08:00
Duc Canh Le
8590cc46c4
implement intersect + except distinct
2022-08-30 18:09:01 +08:00
Kseniia Sumarokova
c88db2ef97
Merge pull request #40751 from kssenii/fix-mysql-timeouts
...
Fix issue with mysql db / table function timeouts
2022-08-30 11:59:01 +02:00
Robert Schulze
cc4225109f
Merge pull request #37215 from Vector-Similarity-Search-for-ClickHouse/annoy-2
...
Test failures are unrelated, merging.
2022-08-30 09:25:57 +02:00
Robert Schulze
8ba9f6dd5d
fix: delete obsolete test 02413_model_evaluate_smoke
2022-08-30 07:21:05 +00:00
Frank Chen
f17d56b528
Merge branch 'master' into tracing_context_propagation
2022-08-30 14:24:36 +08:00
Cory Levy
cd371110ad
Fix timezone offset formatting
2022-08-29 21:01:27 -04:00
Sema Checherinda
e436b4f4cc
Metric for the number of detached parts
2022-08-30 02:12:57 +02:00
alesapin
ac41de73df
Add cache to zero copy replication test
2022-08-30 00:17:01 +02:00
Kseniia Sumarokova
8001560082
Fix test
2022-08-30 00:14:00 +02:00
Cory Levy
fe24bd9a7f
Add tests
2022-08-29 16:47:33 -04:00
Robert Schulze
4ae7586a2d
fix: test 02415_all_new_functions_must_be_documented
...
I am happy to move the documentation into the source code but currently
we'd need to maintain it twice (source code + traditional markdown docs)
because we don't render the docs from the source code.
2022-08-29 20:27:06 +00:00
Robert Schulze
35a37c91f8
chore: incorporate review feedback
2022-08-29 20:27:06 +00:00
Robert Schulze
3aec76d281
fix: test 02117_show_create_table_system
2022-08-29 20:27:06 +00:00
robot-clickhouse
64fa077148
style: fix style
2022-08-29 20:27:06 +00:00
Robert Schulze
4d511332c4
chore: delete obsolete modelEvaluate() function
...
- superseded by catboostEvaluate() which no longer uses the internal
repository for external models
- also removed was statement SYSTEM RELOAD MODELS and the monitoring view
SYSTEM.SYSTEMMODELS
2022-08-29 20:27:06 +00:00
Robert Schulze
6b2b3c1eb3
feat: implement catboost in library-bridge
...
This commit moves the catboost model evaluation out of the server
process into the library-bridge binary. This serves two goals: On the
one hand, crashes / memory corruptions of the catboost library no longer
affect the server. On the other hand, we can forbid loading dynamic
libraries in the server (catboost was the last consumer of this
functionality), thus improving security.
SQL syntax:
SELECT
catboostEvaluate('/path/to/model.bin', FEAT_1, ..., FEAT_N) > 0 AS prediction,
ACTION AS target
FROM amazon_train
LIMIT 10
Required configuration:
<catboost_lib_path>/path/to/libcatboostmodel.so</catboost_lib_path>
*** Implementation Details ***
The internal protocol between the server and the library-bridge is
simple:
- HTTP GET on path "/extdict_ping":
A ping, used during the handshake to check if the library-bridge runs.
- HTTP POST on path "extdict_request"
(1) Send a "catboost_GetTreeCount" request from the server to the
bridge, containing a library path (e.g /home/user/libcatboost.so) and
a model path (e.g. /home/user/model.bin). Rirst, this unloads the
catboost library handler associated to the model path (if it was
loaded), then loads the catboost library handler associated to the
model path, then executes GetTreeCount() on the library handler and
finally sends the result back to the server. Step (1) is called once
by the server from FunctionCatBoostEvaluate::getReturnTypeImpl(). The
library path handler is unloaded in the beginning because it contains
state which may no longer be valid if the user runs
catboost("/path/to/model.bin", ...) more than once and if "model.bin"
was updated in between.
(2) Send "catboost_Evaluate" from the server to the bridge, containing
the model path and the features to run the interference on. Step (2)
is called multiple times (once per chunk) by the server from function
FunctionCatBoostEvaluate::executeImpl(). The library handler for the
given model path is expected to be already loaded by Step (1).
Fixes #27870
2022-08-29 20:26:45 +00:00
Vitaly Baranov
33f72fb011
Merge pull request #40060 from ClickHouse/vitlibar-increase-timeout-for-test_concurrent_backups
...
Increase timeout for test_concurrent_backups
2022-08-29 22:25:56 +02:00
Arthur Passos
dd49b44abb
Fix host_regexp hosts file tst
2022-08-29 15:58:18 -03:00
Arthur Passos
961365c7a4
Fix CaresPTRResolver not reading hosts file
2022-08-29 15:11:39 -03:00
Kseniia Sumarokova
c5c48e44ea
Merge branch 'master' into fix-mysql-timeouts
2022-08-29 19:33:29 +02:00
Dmitry Novik
d32492ce8a
Fix GROUPING function SQL compatibility
2022-08-29 18:26:56 +02:00
Filatenkov Artur
d73f661732
Merge branch 'master' into annoy-2
2022-08-29 17:33:13 +03:00
Anton Popov
506bee1e2f
avoid logical errors at some common operation with ColumnObject
2022-08-29 14:31:09 +00:00
kssenii
0a6c4b9265
Fix
2022-08-29 16:20:53 +02:00
Vladimir C
5cbe7e0846
Merge pull request #40548 from ClickHouse/vdimir/warn-suppress-40330
...
Add config option warning_supress_regexp
2022-08-29 14:02:00 +02:00
Alexander Tokmakov
8bdb589c2b
Merge branch 'master' into zookeeper_client_fault_injection
2022-08-29 13:34:57 +02:00
Alexander Tokmakov
8d90d30d37
Merge pull request #40589 from ClickHouse/remove_wrong_code_from_mutations
...
Remove wrong code for skipping mutations in MergeTree
2022-08-29 14:18:59 +03:00
avogar
85fa372ad7
Fix possible error Attempt to read after eof in CSV schema inference
2022-08-29 11:18:53 +00:00
Anton Popov
2a3e012931
Merge branch 'master' into fix-read-in-order-fixed-prefix
2022-08-29 13:17:26 +02:00
Alexander Tokmakov
eda0582ec0
Merge pull request #40641 from ClickHouse/fix_startup_of_dropped_replica
...
Do not try to strartup dropped replica
2022-08-29 14:15:15 +03:00
Vitaly Baranov
2bec3d3a7c
Increase timeout for test_concurrent_backups
2022-08-29 13:13:43 +02:00
vdimir
afb6b7d9cf
Test plan and pipeline for filtering step for join
2022-08-29 09:49:15 +00:00
vdimir
2deb28d56e
Add 02382_join_and_filtering_set
2022-08-29 09:49:14 +00:00
vdimir
e21763e759
remove new setting from join_set_filter.xml
2022-08-29 09:49:13 +00:00
vdimir
470dcff89c
Add tests/performance/join_set_filter.xml
2022-08-29 09:49:11 +00:00
alesapin
e0fab1fa11
Merge branch 'master' into stress_s3
2022-08-29 11:37:29 +02:00
alesapin
40fb163e8c
Update s3_cache.xml
2022-08-29 11:37:19 +02:00
alesapin
133ca01447
Merge branch 'master' into stress_s3
2022-08-29 11:25:28 +02:00
alesapin
7ce0afc0df
Merge pull request #40670 from Avogar/kafka
...
Add setting to disable limit on kafka_num_consumers
2022-08-29 10:53:35 +02:00
Amos Bird
15a69bce84
Use index when row_policy_filter is always false
2022-08-29 16:44:32 +08:00
Amos Bird
6493fb4cbb
Add more test cases
2022-08-29 14:35:49 +08:00
Amos Bird
abf51bccfd
Disable projection when grouping set is used.
2022-08-29 14:35:48 +08:00
Alexey Milovidov
b72fceb441
Merge pull request #40708 from lesandie/test_s3_table_functions
...
Added integration test for s3 table function
2022-08-29 03:49:53 +03:00
Alexey Milovidov
18eaf7d0dc
Merge pull request #40721 from ClickHouse/enable_zero_copy_replication_in_ci
...
Enable zero-copy replication in CI
2022-08-29 03:49:23 +03:00
Alexey Milovidov
71f6c52c2d
Merge pull request #40727 from amosbird/column-transformer-fix1
...
Correct format of APPLY transformer param
2022-08-29 03:48:04 +03:00
Alexey Milovidov
82ef85e713
Merge pull request #40722 from kssenii/fix-test-02382
...
Fix flaky test
2022-08-28 23:34:10 +03:00
Alexey Milovidov
f462160bd1
Merge remote-tracking branch 'origin/master' into remove-useless-line
2022-08-28 21:00:29 +02:00
Diego Nieto (lesandie)
3d50dbea34
Black reformatting
2022-08-28 20:05:39 +02:00
Alexey Milovidov
a82723b5d9
Merge pull request #40719 from ClickHouse/kssenii-patch-4
...
Update 02313_filesystem_cache_seeks.queries
2022-08-28 21:04:48 +03:00
Amos Bird
d1fbe51b81
Correct format of APPLY transformer param
2022-08-29 01:21:12 +08:00
alesapin
cdc7f63f4f
Merge branch 'master' into stress_s3
2022-08-28 17:07:28 +02:00
alesapin
bcc8106182
Merge branch 'master' into enable_zero_copy_replication_in_ci
2022-08-28 17:04:08 +02:00
alesapin
98d84402e6
Fix test
2022-08-28 17:03:04 +02:00
Alexey Milovidov
ddff5e9145
Merge pull request #40712 from ClickHouse/ci-cmake-self-extractable
...
cmake: Disable default ENABLE_CLICKHOUSE_SELF_EXTRACTING
2022-08-28 17:12:19 +03:00
Alexey Milovidov
fc29303ff3
Merge pull request #40685 from ClickHouse/nlp-functional-test
...
Rewrite NLP tests from integration to functional
2022-08-28 17:05:42 +03:00
Alexey Milovidov
f518844f06
Merge pull request #40709 from ClickHouse/all_new_table_functions_must_be_documented
...
All new table functions must be documented
2022-08-28 17:05:20 +03:00
Alexey Milovidov
00074a5e14
Merge pull request #40711 from ClickHouse/all_new_functions_must_be_documented
...
All new functions must be documented
2022-08-28 17:05:05 +03:00