Commit Graph

146304 Commits

Author SHA1 Message Date
Haydn
5826f1f073 [ClickHouse-66010] Add machine_id parameter to generateSnowflakeID function and update tests 2024-07-13 15:39:48 -07:00
Haydn
08cce45258 Fix handling of machine_id in generateSnowflakeID to read conditionally and assign efficiently 2024-07-13 14:25:42 -07:00
Haydn
0925830f2e Refactored generateSnowflakeID function implementation and added comprehensive SQL tests 2024-07-13 14:01:03 -07:00
Zawa-II
404840bf2c [ClickHouse-66010] Add-machine_id-to-generateSnowflakeID
Extend existing tests and retain expr argument in generateSnowflakeID

Commit expected output file

Add argument validation in generateSnowflakeID function

Style Check

Style Check by changing error type

Style Check by removing error check

Add new test cases for  function including  parameter

Add new test cases for generateSnowflakeID function with machine_id parameter and update reference file

Add new test cases for generateSnowflakeID function with machine_id parameter and update reference file to match expected output

Fix generateSnowflakeID function to correctly handle optional machine_id parameter, update documentation and examples, and clean up tests.

Fix typo in generateSnowflakeID function and correctly handle optional machine_id parameter.
2024-07-13 11:30:45 -07:00
Kruglov Pavel
a0cadc2e7f
Merge pull request #66176 from Blargian/docs_makeDate
[Docs] add missing `makeDate32`, `makeDateTime64`
2024-07-06 22:20:01 +00:00
Shaun Struwig
aea4734edd
Update aspell-dict.txt 2024-07-06 21:28:16 +02:00
Shaun Struwig
458d4ca862
Update aspell-dict.txt 2024-07-06 20:56:47 +02:00
Shaun Struwig
912218d9fc
Update aspell-dict.txt 2024-07-06 20:46:18 +02:00
Shaun Struwig
d70d93f362
Update aspell-dict.txt 2024-07-06 20:45:57 +02:00
Blargian
bbe72326ba update aspell-dict.txt 2024-07-06 20:14:23 +02:00
Blargian
262972c0ee add makeDate32 and makeDateTime64 2024-07-06 20:13:37 +02:00
Alexey Milovidov
4eeb59ec3f
Merge pull request #66164 from Blargian/docs_aggThrow
[Docs] add `aggThrow` function
2024-07-06 14:38:49 +00:00
Alexey Milovidov
1d37952a95
Merge pull request #66168 from ClickHouse/cachemeifyoucan
Fix crash when adding empty tuple to query cache
2024-07-06 14:38:36 +00:00
Nikita Mikhaylov
ed70bc863e
Merge pull request #66171 from azat/tests/01563_distributed_query_finish
tests: fix 01563_distributed_query_finish flakiness (due to system.*_log_sender)
2024-07-06 14:36:49 +00:00
Kruglov Pavel
8108d51ee5
Merge pull request #62774 from Avogar/variant-new-serialization
Add compact mode in Variant discriminators binary serialization
2024-07-06 13:27:23 +00:00
Shaun Struwig
d6bf7ca155
remove space from aspell-dict.txt 2024-07-06 12:58:21 +02:00
Shaun Struwig
ce785c38d6
Update aspell-dict.txt 2024-07-06 12:46:23 +02:00
alesapin
bb92716d3c
Merge pull request #66070 from ClickHouse/pin_python_packages
Pin all python packages in CI images and do some dirty job with clang version
2024-07-06 10:13:32 +00:00
Azat Khuzhin
ffd6bf28b1 tests: fix 01563_distributed_query_finish flakiness (due to system.*_log_sender)
From CI logs [1], during this test was executing on server:

    2024.07.05 19:29:45.856853 [ 1328 ] {} <Error> system.zookeeper_log_sender.DistributedInsertQueue.default: Code: 210. DB::NetException: Connection reset by peer, while writing to socket (172.17.0.2:38546 -> 3.16.142.177:9440): While sending /var/lib/clickhouse/store/aa8/aa8f6e66-486b-4dc3-85a1-4941e69cb99f/shard1_replica1/447.bin. (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below):

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/66162/daae5d4d4661c780b6368950ec484415ca3a0492/stateless_tests__aarch64_.html

So let's add retries

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-06 07:43:05 +02:00
Alexey Milovidov
77e7850d3c
Merge pull request #66127 from ClickHouse/auto/v24.6.2.17-stable
Update version_date.tsv and changelogs after v24.6.2.17-stable
2024-07-05 22:46:50 +00:00
Michael Kolupaev
d4a4e4ec2d Fix crash when adding empty tuple to query cache 2024-07-05 22:43:33 +00:00
Nikita Taranov
e80a489a40
Merge pull request #66161 from ClickHouse/nickitat-patch-25
Fix clang-tidy error in BufferWithOwnMemory.h
2024-07-05 20:43:39 +00:00
alesapin
f94076ce8f Fix clang tidy 2024-07-05 22:20:46 +02:00
alesapin
e2ff0c6809 Merge remote-tracking branch 'origin/master' into pin_python_packages 2024-07-05 22:16:08 +02:00
Blargian
937ce8f780 add aggThrow function to docs 2024-07-05 21:50:56 +02:00
Yarik Briukhovetskyi
b96154e760
Merge pull request #66160 from Blargian/docs_fullHostName
[Docs] add missing alias `fullHostName`
2024-07-05 19:17:36 +00:00
Nikita Taranov
a502933f5e
Fix clang-tidy error in BufferWithOwnMemory.h 2024-07-05 20:09:08 +02:00
Blargian
c327f49f0c add fullHostName which is an alias 2024-07-05 20:04:43 +02:00
Nikita Taranov
76119a4567
Merge pull request #66106 from ClickHouse/fix_unbin
Fix buffer overflow in `unbin`
2024-07-05 15:59:16 +00:00
Anton Popov
c9601cc283
Merge pull request #66099 from CurtizJ/better-index-calc
Slightly better calculation of primary index
2024-07-05 14:47:02 +00:00
alesapin
964047bf8c Yarrrr 2024-07-05 16:31:00 +02:00
Alexander Tokmakov
922095d7e6
Merge pull request #66134 from ClickHouse/revert-61601-chesema-dedup-matview
Revert "insertion deduplication on retries for materialised views"
2024-07-05 14:18:04 +00:00
Anton Popov
907a365926
Merge pull request #66098 from CurtizJ/better-sanitizer-message
More precise warning message about sanitizers
2024-07-05 14:15:28 +00:00
Robert Schulze
72b3ebd180
Merge pull request #66136 from rschu1ze/bump-s2
Bump s2geometry again
2024-07-05 14:05:31 +00:00
Vitaly Baranov
532eb28a7d
Merge pull request #62747 from bigo-sg/percent_rank
New window function `percent_rank`
2024-07-05 13:53:37 +00:00
Kseniia Sumarokova
6113df4a57
Merge pull request #66135 from ClickHouse/add_use_same_s3_credentials_for_base_backup_to_docs
Add `use_same_s3_credentials_for_base_backup` to docs
2024-07-05 13:44:49 +00:00
Robert Schulze
d3f23c2753
Bump s2geometry again 2024-07-05 13:29:34 +00:00
János Benjamin Antal
7180ae0346 Add use_same_s3_credentials_for_base_backup to docs 2024-07-05 13:18:48 +00:00
Sema Checherinda
77e60543fd
Revert "insertion deduplication on retries for materialised views" 2024-07-05 14:58:17 +02:00
Antonio Andelic
1258ec38c4
Merge pull request #65701 from ClickHouse/gwp-asan-disable-stacktrace-by-default
Disable stacktrace collection in GWPAsan by default
2024-07-05 11:56:35 +00:00
robot-clickhouse
b189902a36 Update version_date.tsv and changelogs after v24.6.2.17-stable 2024-07-05 10:50:22 +00:00
Vitaly Baranov
f315b36323
Merge pull request #66069 from vitlibar/add-prometheus-protocols-protobufs
Add protobufs for Prometheus remote-write/remote-read protocols
2024-07-05 10:41:04 +00:00
Robert Schulze
3621b35591
Merge pull request #66094 from rschu1ze/bump-s2geometry
Bump s2geometry to latest master
2024-07-05 10:30:20 +00:00
alesapin
8de9141012
Merge pull request #59173 from ClickHouse/fix_prewhere_without_columns
Fix prewhere without columns and without adaptive index granularity (almost w/o anything)
2024-07-05 10:29:58 +00:00
alesapin
1f07f33bd2 Less dirty still hack 2024-07-05 12:18:18 +02:00
Sema Checherinda
b59b47a956
Merge pull request #66093 from ClickHouse/chesema-fix-flaky-test
fix flaky 03172_error_log_table_not_empty
2024-07-05 10:16:31 +00:00
Kseniia Sumarokova
baa6e60cfd
Merge pull request #66009 from ClickHouse/fix-s3queue-flaky-tests
Fix flaky test_storage_s3_queue tests
2024-07-05 09:59:52 +00:00
Robert Schulze
4dca031e9d
Merge pull request #66100 from rschu1ze/bump-azure
Bump Azure to 1.12
2024-07-05 09:11:00 +00:00
Max K
1641eac819
Merge pull request #66105 from ClickHouse/multiple_sync_pr_fix
CI: Fix sync pr merge
2024-07-05 09:03:31 +00:00
Antonio Andelic
d777a7a941
Reduce one more time 2024-07-05 08:38:09 +01:00