Commit Graph

304 Commits

Author SHA1 Message Date
robot-clickhouse
38239b7130 Backport #69560 to 24.8: Keep original order of conditions during move to prewhere 2024-09-17 19:08:00 +00:00
robot-clickhouse
75ae21f63e Backport #68897 to 24.8: Revert "Fix prewhere without columns and without adaptive index granularity (almost w/o anything)" 2024-08-27 11:09:56 +00:00
Nikita Mikhaylov
4e9c3baa25 Move analyzer to Beta stage 2024-08-05 15:29:14 +00:00
Yakov Olkhovskiy
0f4274ac96
increase filesystem_cache_reserve_space_wait_lock_timeout_milliseconds to 2000 2024-07-26 18:39:38 -04:00
Raúl Marín
9f86b22d30 Speed up stateful tests table setup 2024-07-22 14:42:30 +02:00
alesapin
706dd14367 Merge branch 'master' into fix_prewhere_without_columns 2024-07-03 11:25:58 +02:00
Amos Bird
9419a25231
Trivial count optimization with primary key 2024-06-06 23:21:38 +08:00
Robert Schulze
46b3266377
Tests: Convert error numbers to symbolic error codes 2024-05-31 09:53:53 +00:00
Raúl Marín
54cb4f2ac7 Rename allow_deprecated_functions to allow_deprecated_error_prone_window_functions 2024-05-24 12:54:06 +02:00
Alexey Milovidov
d8c48bf0c4
Merge branch 'master' into cross_join_compression 2024-05-04 23:24:26 +02:00
Nikita Taranov
5e3db5b503 fix tests 5 2024-05-01 12:24:05 +01:00
Maxim Alexeev
ff2598e8b5 fixed test 2024-04-29 00:13:21 +03:00
p1rattttt
cde04df8af
Merge branch 'ClickHouse:master' into cross_join_compression 2024-04-28 23:10:43 +03:00
Maxim Alexeev
8c8d30c255 Make test deterministic 2024-04-28 15:55:51 +03:00
Nikita Taranov
c5eda19575 impl 2024-04-09 15:47:37 +00:00
p1rattttt
5a9d1ac2f3
Merge branch 'master' into cross_join_compression 2024-03-28 10:13:18 +03:00
Maxim Alexeev
64c3c0bffc Added test 2024-03-28 01:09:02 +03:00
Dmitry Novik
d43a1a1984 Merge remote-tracking branch 'origin/master' into enable-analyzer 2024-03-22 14:15:57 +01:00
Dmitry Novik
6a00296c2f Fix stateful test 2024-03-22 13:28:35 +01:00
Kruglov Pavel
06d28eebe5
Fix test reference 2024-03-20 13:58:21 +01:00
avogar
514faa851c Make test 00159_parallel_formatting_tsv_and_friends.sh faster 2024-03-18 15:26:01 +00:00
avogar
679bf92cd1 Split test 00159_parallel_formatting_json_and_friends to avoid timeouts 2024-03-18 15:08:46 +00:00
Raúl Marín
b12245fdc5 Decrease logging level for http retriable errors to Info 2024-02-28 19:47:42 +01:00
Alexey Milovidov
20b9e519ff Add a test 2024-02-17 04:59:32 +01:00
Alexey Milovidov
1bc3dc632c Inhibit randomization in some tests 2024-02-15 04:56:14 +01:00
Azat Khuzhin
f62405b234 tests: suppress http retriable errors in 00157_cache_dictionary
CI reports [1]:

    2024-02-12 21:25:24 [5c66f008cd40] 2024.02.12 14:25:01.596769 [ 2530 ] {e71fcb6d-356d-4962-95bd-ef8b8c504e11} <Error> ReadWriteBufferFromHTTP: HTTP request to `https://clickhouse-datasets-web.s3.us-east-1.amazonaws.com/store/78e/78ebf6a1-d987-4579-b3ec-00c1a087b1f3/201403_1_1_2/UserAgent.bin` failed at try 1/10 with bytes read: 311149/378695. Error: DB::HTTPException: Received error from remote server /store/78e/78ebf6a1-d987-4579-b3ec-00c1a087b1f3/201403_1_1_2/UserAgent.bin. HTTP status code: 500 Internal Server Error, body: <?xml version="1.0" encoding="UTF-8"?>
    2024-02-12 21:25:24 <Error><Code>InternalError</Code><Message>We encountered an internal error. Please try again.</Message><RequestId>NSG3VKK6GWDFXMFJ</RequestId><HostId>9WhFfHfE6XtL2+InOZMJWv5ZCUY25Z3P+2EjoMx3I7UxACzLzFSHOUTT4v3EJ+ZTSAklw6Ech7E=</HostId></Error>. (Current backoff wait is 100/10000 ms)
    2024-02-12 21:25:24 [5c66f008cd40] 2024.02.12 14:25:02.527290 [ 2530 ] {e71fcb6d-356d-4962-95bd-ef8b8c504e11} <Error> ReadWriteBufferFromHTTP: HTTP request to `https://clickhouse-datasets-web.s3.us-east-1.amazonaws.com/store/78e/78ebf6a1-d987-4579-b3ec-00c1a087b1f3/201403_1_1_2/RefererCategories.size0.bin` failed at try 1/10 with bytes read: 1110527/1246029. Error: DB::HTTPException: Received error from remote server /store/78e/78ebf6a1-d987-4579-b3ec-00c1a087b1f3/201403_1_1_2/RefererCategories.size0.bin. HTTP status code: 500 Internal Server Error, body: <?xml version="1.0" encoding="UTF-8"?>
    2024-02-12 21:25:24 <Error><Code>InternalError</Code><Message>We encountered an internal error. Please try again.</Message><RequestId>GRRAYKKM9E73JG6A</RequestId><HostId>Ej/aHS4E6GujLjeZugLqgRhpQYLQrZtn4ZwTTz01Z0J3DJmbGQ5Ch6qzXB0NeNLmsSP6BeTy3O8=</HostId></Error>. (Current backoff wait is 100/10000 ms)
    2024-02-12 21:25:24 [5c66f008cd40] 2024.02.12 14:25:04.415182 [ 2530 ] {e71fcb6d-356d-4962-95bd-ef8b8c504e11} <Error> ReadWriteBufferFromHTTP: HTTP request to `https://clickhouse-datasets-web.s3.us-east-1.amazonaws.com/store/78e/78ebf6a1-d987-4579-b3ec-00c1a087b1f3/201403_1_1_2/SearchPhrase.bin` failed at try 1/10 with bytes read: 1615554/1843636. Error: DB::HTTPException: Received error from remote server /store/78e/78ebf6a1-d987-4579-b3ec-00c1a087b1f3/201403_1_1_2/SearchPhrase.bin. HTTP status code: 500 Internal Server Error, body: <?xml version="1.0" encoding="UTF-8"?>
    2024-02-12 21:25:24 <Error><Code>InternalError</Code><Message>We encountered an internal error. Please try again.</Message><RequestId>WP6PWQCNPK22CH2S</RequestId><HostId>gwYgmcnihSvFDXK3mhDfmXpDIebs39EJGCNcsghxwqqWIkvgsWOu5rSqv837589yB7Mmf+2qTcM=</HostId></Error>. (Current backoff wait is 100/10000 ms)
    2024-02-12 21:25:24 [5c66f008cd40] 2024.02.12 14:25:06.228120 [ 2530 ] {e71fcb6d-356d-4962-95bd-ef8b8c504e11} <Error> ReadWriteBufferFromHTTP: HTTP request to `https://clickhouse-datasets-web.s3.us-east-1.amazonaws.com/store/78e/78ebf6a1-d987-4579-b3ec-00c1a087b1f3/201403_1_1_2/HistoryLength.bin` failed at try 1/10 with bytes read: 373045/430913. Error: DB::HTTPException: Received error from remote server /store/78e/78ebf6a1-d987-4579-b3ec-00c1a087b1f3/201403_1_1_2/HistoryLength.bin. HTTP status code: 500 Internal Server Error, body: <?xml version="1.0" encoding="UTF-8"?>
    2024-02-12 21:25:24 <Error><Code>InternalError</Code><Message>We encountered an internal error. Please try again.</Message><RequestId>YMA18Y2A0Z9GKD1H</RequestId><HostId>RzI1ju46ixNRgjffHJNW8fndeSAARUKjyYh1T8a73ehCuyWqES/HpsEQNsc728dUL10cI0A6viU=</HostId></Error>. (Current backoff wait is 100/10000 ms)
    2024-02-12 21:25:24 [5c66f008cd40] 2024.02.12 14:25:07.742813 [ 2530 ] {e71fcb6d-356d-4962-95bd-ef8b8c504e11} <Error> ReadWriteBufferFromHTTP: HTTP request to `https://clickhouse-datasets-web.s3.us-east-1.amazonaws.com/store/78e/78ebf6a1-d987-4579-b3ec-00c1a087b1f3/201403_1_1_2/OpenstatCampaignID.bin` failed at try 1/10 with bytes read: 16494/20267. Error: DB::HTTPException: Received error from remote server /store/78e/78ebf6a1-d987-4579-b3ec-00c1a087b1f3/201403_1_1_2/OpenstatCampaignID.bin. HTTP status code: 500 Internal Server Error, body: <?

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/59895/c7c05c9881362079fa6a02430fc5cd63dfa65bb7/stateful_tests__debug_.html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-02-13 08:34:17 +01:00
Alexey Milovidov
798f655276 Rename quantileDDSketch to quantileDD 2024-01-30 11:49:56 +01:00
Alexey Milovidov
ff473d4f0b
Merge pull request #59312 from nickitat/upd_00165_jit_aggregate_functions
Speed up `00165_jit_aggregate_functions`
2024-01-28 23:57:04 +01:00
Nikita Taranov
f57edeb7dd impl 2024-01-28 18:32:02 +01:00
Alexander Gololobov
ca2bfdb9ae Update according to last mark smaller size 2024-01-25 13:41:49 +01:00
Nikita Taranov
fddfc7e9c4
Merge pull request #57700 from nickitat/debug_in_ci
Bring test back
2024-01-24 20:25:57 +01:00
Raúl Marín
74e012049b Adapt 00082_quantiles too 2024-01-22 18:03:59 +01:00
Raúl Marín
9069477871 Increase max_bytes_before_external_group_by for 00165_jit_aggregate_functions 2024-01-22 17:57:13 +01:00
Srikanth Chekuri
c23c7e0b6f
feat: add DDSketch quantile (#56342)
* feat: add DDSketch quantile

* Fix StyleCheck

* Move quantileddsketch.md under right dir

* Update stateless test number and add stateful test

* Throw exception when relative accuracy is too low

* Update test number

* Fix undefined behaviour for empty store

* Fix quantileGK test

* Update test numbers

* Update src/AggregateFunctions/

* Throw exception on out of range values

* Update relative accuracy docs and add encoding details

* Address review comments and suggestions

* Remove unused function

* Address alexey review comments

* Remove unused function isFloat64FieldType

* Throw error on invalid relative accuracy

* Simplify mapping

* Address remaining review comments

* Add effective memory usage suggestions

* Fix Stylecheck

* Fix fast test

* Incorporate bins capacity suggestion

* Fix fuzzer

* Remove inheritance in Mapping, Store and DDSketch

* Add checks for bin resizing

* Add note about the binary compatible implementation
2024-01-17 19:51:32 -08:00
Nikita Taranov
e6c699cf77 Revert "Merge pull request #57640 from ClickHouse/remove-bad-test-7"
This reverts commit 9c4a1ff63e, reversing
changes made to c97d33abf9.
2024-01-16 21:14:47 +01:00
Alexey Milovidov
e980c6c1f6 Fix tests 2024-01-14 07:50:35 +01:00
Alexey Milovidov
e9e6070899 Fix tests 2024-01-14 07:18:06 +01:00
Alexey Milovidov
3151b5fd0f Fix tests 2024-01-14 06:35:26 +01:00
vdimir
e20cb2d052
Disable max_bytes_before_external* in 00172_hits_joins 2023-12-28 13:35:34 +00:00
Alexander Tokmakov
026ba566e3
Update 00165_jit_aggregate_functions.sql 2023-12-22 19:35:05 +01:00
Igor Nikonov
c165be76ab
Parallel replicas: friendly settings (#57542) 2023-12-13 14:42:06 +01:00
Alexey Milovidov
57c79ecd6a Remove bad test (4) 2023-12-07 22:25:29 +01:00
Nikita Taranov
52f644c0df Merge branch 'master' into optimize_reading3 2023-11-28 16:36:38 +01:00
Alexey Milovidov
7ac931c29d Merge branch 'master' into concurrency 2023-11-13 02:56:56 +01:00
Nikita Taranov
cf98e2648a fix test 2023-11-06 14:45:28 +01:00
Nikita Taranov
6548ce2eb5 fix style 2023-11-03 23:15:38 +01:00
Nikita Taranov
036af7f103 add test 2023-11-03 15:14:37 +01:00
Alexey Milovidov
e1dc80b5ab
Revert "Support SAMPLE BY for VIEW" 2023-10-09 00:08:46 +03:00
Azat Khuzhin
5535c7462d Support SAMPLE BY for VIEW
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-09-10 08:24:46 +02:00
Anton Popov
b7438e9910 fix test 2023-08-30 15:53:27 +00:00