Commit Graph

59875 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
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
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
Michael Kolupaev
d4a4e4ec2d Fix crash when adding empty tuple to query cache 2024-07-05 22:43:33 +00:00
Nikita Taranov
a502933f5e
Fix clang-tidy error in BufferWithOwnMemory.h 2024-07-05 20:09:08 +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
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
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
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
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
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
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
Antonio Andelic
d777a7a941
Reduce one more time 2024-07-05 08:38:09 +01:00
Pablo Marcos
6848c2e0ac
Merge pull request #65838 from pamarcos/bitshift-throw-error-for-negative-shift-positions
Throw an error in `bitShift*` if the shift position is out-of-bounds
2024-07-05 07:05:25 +00:00
Anton Popov
7fbe5a7915
Merge pull request #63636 from CurtizJ/azure-refactoring
Refactoring near azure blob storage
2024-07-05 00:27:14 +00:00
Nikita Taranov
6a40628bff
Merge pull request #65470 from ClickHouse/cgroup_mem_observer
Fix CgroupsMemoryUsageObserver
2024-07-04 23:10:20 +00:00
Nikolay Degterinsky
59607413a0
Merge pull request #65801 from ClickHouse/evillique-patch-1
Update StorageMaterializedView.cpp
2024-07-04 22:22:52 +00:00
Vitaly Baranov
e428542b2e Add prometheus protobufs. 2024-07-04 23:06:14 +02:00
pufit
0a5ee12f0b
Merge pull request #62103 from ClickHouse/pufit/fuzz-query
FuzzQuery table function
2024-07-04 20:46:47 +00:00
Nikita Mikhaylov
3a7c98399f
Merge pull request #65777 from ClickHouse/make_analyzer_important
Make `allow_experimental_analyzer` be controlled by the initiator for distributed queries
2024-07-04 20:38:40 +00:00
Antonio Andelic
ec6739120c
Merge pull request #66041 from ClickHouse/try-disabling-jemalloc-background-threads
Try disabling jemalloc background threads
2024-07-04 20:30:39 +00:00
Kruglov Pavel
eaf8475781
Merge pull request #66066 from Avogar/fix-memory-engine-dynamic
Fix reading dynamic subcolumns from altered Memory table
2024-07-04 18:32:35 +00:00
Nikita Taranov
ad23d211b9 impl 2024-07-04 18:56:26 +01:00
Anton Popov
7f2bfc5f14 Merge remote-tracking branch 'upstream/master' into HEAD 2024-07-04 16:13:30 +00:00
Anton Popov
14f54cb6e9 slightly better calculation of primary index 2024-07-04 15:44:16 +00:00
Robert Schulze
2c94218120
Random header fixes for libcxx 16 2024-07-04 15:39:50 +00:00
Pablo Marcos
13f4d0d7cf Merge branch 'master' into bitshift-throw-error-for-negative-shift-positions 2024-07-04 14:54:18 +00:00
Pablo Marcos
e7e2b0953c Prevent another possible buffer overflow 2024-07-04 14:50:51 +00:00
Vitaly Baranov
6bf1320870
Merge pull request #66061 from vitlibar/fix-shutdown-in-grpc-server
Fix shutdown in GRPCServer
2024-07-04 14:33:59 +00:00
jsc0218
6e181ab383
Merge pull request #65594 from jsc0218/DropProjInLWD
Add options in lightweight delete on table with projections
2024-07-04 14:03:29 +00:00
Sema Checherinda
19816401c4
Merge pull request #61601 from ClickHouse/chesema-dedup-matview
insertion deduplication on retries for materialised views
2024-07-04 13:52:52 +00:00
alesapin
9d10647544 Merge remote-tracking branch 'origin/master' into fix_prewhere_without_columns 2024-07-04 15:37:33 +02:00
Antonio Andelic
975e8ee14a
Merge pull request #65910 from ClickHouse/keeper-remove-standalone-build
Remove standalone Keeper build
2024-07-04 12:14:42 +00:00
Antonio Andelic
613ed1ebbf Merge branch 'master' into try-disabling-jemalloc-background-threads 2024-07-04 13:58:26 +02:00
Antonio Andelic
c93d8cbb66 Fixes 2024-07-04 13:57:47 +02:00
Nikita Mikhaylov
fe6a875c74 Make the setting back IMPORTANT + fix build 2024-07-04 11:12:27 +00:00
Nikita Mikhaylov
fcabefa8f3 Automatically disabling 2024-07-04 11:12:27 +00:00
Nikita Mikhaylov
d57375181d Better 2024-07-04 11:12:27 +00:00
Nikita Mikhaylov
dd3eb538f6 Better 2024-07-04 11:12:27 +00:00
Nikita Mikhaylov
6ea4c10121 Done 2024-07-04 11:12:26 +00:00
Kseniia Sumarokova
fc73c068ac
Merge pull request #66034 from azat/config-merge-from_env-replace-fix
Fix config merging for from_env with replace overrides
2024-07-04 10:01:07 +00:00
kssenii
7ae85fda3f Restore previous order 2024-07-04 11:46:17 +02:00
kssenii
4cf0625f70 Merge remote-tracking branch 'origin/master' into fix-s3queue-flaky-tests 2024-07-04 11:44:52 +02:00
kssenii
bfc755c000 Fix shutdown 2024-07-04 11:44:24 +02:00