Azat Khuzhin
784f7d988c
Fix -Wshorten-64-to-32 in examples
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:43 +02:00
Azat Khuzhin
b8ab686561
tests/gtest_compressionCodec: fix for darwin
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:43 +02:00
Azat Khuzhin
0625a866f0
Add a note about incorrect wide_integer with Decimal
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:43 +02:00
Azat Khuzhin
4412f66709
tests/gtest_DecimalFunctions: fix due to incorrect cast in wide_integer
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:43 +02:00
Azat Khuzhin
f14645a94f
tests/gtest_DecimalFunctions: fix operator<<
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:43 +02:00
Azat Khuzhin
7b28a80ad7
Fix -Wshorten-64-to-32 for amd64sse2 build
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:42 +02:00
Azat Khuzhin
15bcd6250a
Fix -Wshorten-64-to-32 for darwin builds
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:42 +02:00
Azat Khuzhin
8414ea0691
Fix -Wshorten-64-to-32 in self extracting executable
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:42 +02:00
Azat Khuzhin
3ccd5e8a18
Fix -Wshorten-64-to-32 with USE_BLAKE3
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:42 +02:00
Azat Khuzhin
089bf39132
Fix -Wshorten-64-to-32 for musl
...
On musl uint_fast32_t is uint32_t, while for glibc it is unsigned long
long.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:42 +02:00
Azat Khuzhin
4e76629aaf
Fixes for -Wshorten-64-to-32
...
- lots of static_cast
- add safe_cast
- types adjustments
- config
- IStorage::read/watch
- ...
- some TODO's (to convert types in future)
P.S. That was quite a journey...
v2: fixes after rebase
v3: fix conflicts after #42308 merged
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:19 +02:00
Azat Khuzhin
19715f1542
Enable -Wshorten-64-to-32
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:22:39 +02:00
Robert Schulze
2d448c139c
Merge pull request #42308 from arenadata/ADQM-584
...
Add support of Date32 arguments for date_diff function
2022-10-21 13:18:44 +02:00
Nikita Taranov
abd585a38a
Increase threshold for using physical cores ( #42503 )
2022-10-21 12:52:46 +02:00
Sema Checherinda
21ce9ce4c7
Merge pull request #42459 from ClickHouse/fix-flaky-test
...
Fix flaky test
2022-10-21 12:06:41 +02:00
Alexey Milovidov
45dadd7c5b
Merge pull request #42516 from ClickHouse/settings-docs
...
Correct documentation for settings
2022-10-21 02:29:20 +02:00
Alexey Milovidov
6290aeaf64
Merge branch 'master' into fix-flaky-test
2022-10-21 01:57:51 +02:00
Alexey Milovidov
27133c92e4
Merge pull request #42547 from ClickHouse/remove-outdated-documentation
...
Remove outdated documentation
2022-10-21 01:21:19 +02:00
Alexey Milovidov
6c31bcad0a
Merge pull request #42417 from amosbird/issue_42408
...
Correct implementation of AggregateState comparison
2022-10-21 01:20:50 +02:00
Alexey Milovidov
b720030ac6
Remove outdated documentation
2022-10-21 00:13:30 +02:00
Alexey Milovidov
8c5e6a8d6c
Merge pull request #42512 from ClickHouse/has-any-tuple
...
Add a test for #13653
2022-10-21 00:03:36 +02:00
Alexey Milovidov
bd80e6a10b
Merge pull request #42511 from ClickHouse/add-test-16827
...
Add a test for #16827
2022-10-21 00:03:04 +02:00
Nikolai Kochetov
151137d6d5
Merge pull request #42545 from ClickHouse/revert-42496-parallel-parsing-abort-fix
...
Revert "Attempt to fix abort from parallel parsing"
2022-10-20 21:47:32 +02:00
Nikolai Kochetov
d09a5e8fd7
Revert "Attempt to fix abort from parallel parsing ( #42496 )"
...
This reverts commit 4d703b792c
.
2022-10-20 21:46:26 +02:00
Alexey Milovidov
58f238007a
Merge pull request #42508 from ClickHouse/remove-database-macro-from-server-prompt
...
Remove support for the `{database}` macro from the client's prompt
2022-10-20 21:14:06 +02:00
Alexander Tokmakov
46559d659b
Merge pull request #42522 from azat/tests/00705_drop_create_merge_tree
...
tests: fix 00705_drop_create_merge_tree flakiness
2022-10-20 21:34:46 +03:00
Alexander Tokmakov
5fef8bdc8e
Merge branch 'master' into tests/00705_drop_create_merge_tree
2022-10-20 21:33:36 +03:00
Nikita Mikhaylov
9a73eb2fbb
Add functions to generate random values according to the distribution ( #42411 )
2022-10-20 17:25:28 +02:00
Alexander Tokmakov
0d8a814d80
Merge pull request #42254 from xinhuitian/optimize-selectPartsToMutate
...
Early return of corner cases in selectPartsToMutate function
2022-10-20 18:13:37 +03:00
Nikita Mikhaylov
4d703b792c
Attempt to fix abort from parallel parsing ( #42496 )
2022-10-20 17:13:18 +02:00
Alexander Tokmakov
905a4ded42
Merge pull request #42535 from ClickHouse/tavplubix-patch-7
...
Disable `test_storage_nats`, because it's permanently broken
2022-10-20 16:58:46 +03:00
Alexander Tokmakov
5b03bbce2e
Merge pull request #41981 from ClickHouse/fixes_for_replicated_merge_tree2
...
Some fixes for ReplicatedMergeTree
2022-10-20 16:57:51 +03:00
Alexander Tokmakov
89ff3d4731
Update test.py
2022-10-20 16:54:52 +03:00
alesapin
24d02b5516
Merge pull request #42441 from ClickHouse/check_readonly_in_background_tasks
...
Deactivate tasks in ReplicatedMergeTree until startup
2022-10-20 15:36:20 +02:00
Robert Schulze
469d6ad624
Merge pull request #42485 from ClickHouse/fix-bad_cast-in-annoy
...
Fix bad_cast in Annoy index
2022-10-20 15:27:58 +02:00
Alexander Tokmakov
f33ae3cb87
Merge pull request #42134 from ClickHouse/improve_replica_recovery
...
Improve lost replica recovery (ReplicatedMergeTree)
2022-10-20 15:55:37 +03:00
Alexander Tokmakov
f814a17fa2
Merge branch 'master' into improve_replica_recovery
2022-10-20 15:52:48 +03:00
Alexander Tokmakov
68c18abfbb
Merge pull request #42406 from ClickHouse/template_format_better_error
...
Better error message for unsupported delimiters in custom formats
2022-10-20 15:52:08 +03:00
Alexander Tokmakov
d668a82829
Merge branch 'master' into improve_replica_recovery
2022-10-20 14:25:09 +03:00
Nikita Mikhaylov
0d07aeec2f
Fix logical error from welchTTest ( #42487 )
2022-10-20 13:09:02 +02:00
Kseniia Sumarokova
4f374f64f3
Merge pull request #42472 from KinderRiven/rename_test
...
rename filesystem_query_cache
2022-10-20 11:27:45 +02:00
Sema Checherinda
87db1b534b
Update 00463_long_sessions_in_http_interface.sh
...
no -c option in grep in busy loop.
2022-10-20 10:50:32 +02:00
Roman Vasin
885f71d5f5
Replace is_extended_result by ResultPrecision
2022-10-20 08:18:22 +00:00
Azat Khuzhin
e2417eb518
tests: fix 00705_drop_create_merge_tree flakiness
...
CI caught tiemout for this test [1]:
2022.10.19 16:43:46.238264 [ 24048 ] {aea0ff2a-f8de-498a-bd9f-0b8069a49f48} <Error> executeQuery: Code: 60. DB::Exception: Table test_orfkwn0y.table doesn't exist. (UNKNOWN_TABLE) (version 22.10.1.1) (from [::1]:60028) (comment: 00705_drop_create_merge_tree.sh) (in query: DROP TABLE table), Stack trace (when copying this message, always include the lines below):
...
2022.10.19 16:53:34.484777 [ 24042 ] {aec5a80a-4492-429b-87fb-7dbf5ffb5d67} <Debug> executeQuery: (from [::1]:57944) (comment: 00705_drop_create_merge_tree.sh) DROP DATABASE test_orfkwn0y (stage: Complete)
But as you can see there is huge delay between last query from the test
and final DROP DATABASE.
[1]: https://s3.amazonaws.com/clickhouse-test-reports/42457/65cd040d1565bb7b2a9ba515041c3a139d31a4f9/stateless_tests__tsan__[1/3]/runlog.log
Apparently it is the same issue in bash [1].
[1]: https://gist.github.com/azat/affbda3f8c6b5c38648d4ab105777d88
Anyway it is easier to simply invoke clickhouse-client only two times,
since each invocation is very slow (~1-2 sec) in debug build.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-20 09:35:56 +02:00
Antonio Andelic
9d7e44409a
Merge pull request #41342 from ClickHouse/keeper-upload-snapshot-to-s3
...
Upload Keeper snapshots to S3
2022-10-20 09:14:59 +02:00
Antonio Andelic
3c931a3711
Merge pull request #42473 from ClickHouse/fix-quantile-type-deduction
...
Use correct type for `UInt128` in `AggregateFunctionQuantile`
2022-10-20 09:13:05 +02:00
Antonio Andelic
77eb353839
Merge pull request #42243 from ClickHouse/use-multiread-more
...
Use MultiRead where possible
2022-10-20 09:04:54 +02:00
Alexey Milovidov
00f9ae9924
Correct documentation for settings
2022-10-20 04:42:35 +02:00
Alexey Milovidov
61ed0a5364
Merge pull request #42457 from azat/build/better-lld-wrapper
...
Better workaround for emitting .debug_aranges section
2022-10-20 03:36:03 +02:00
Alexey Milovidov
b4d241b54d
Add a test for #13653
2022-10-20 01:39:08 +02:00