Haydn
1c868356b8
Fix generateSnowflakeID function to handle invalid inputs gracefully and update test queries
2024-07-14 11:38:11 -07:00
Haydn
5ea81366a7
Fix generateSnowflakeID function to handle invalid inputs gracefully and avoid output for invalid cases
2024-07-14 10:55:57 -07:00
Haydn
92b2a7d33d
Updated generateSnowflakeID tests and reference outputs
2024-07-14 10:34:39 -07:00
Haydn
27273be84f
Removed Duplicte args specifications
2024-07-14 09:51:13 -07:00
Haydn
ace4aa36bf
Fixed generateSnowflakeID function and tests according
...
Update uuid-functions.md
Adjust comments in unit tests
2024-07-14 09:48:32 -07:00
Robert Schulze
ab2509fdd3
Merge remote-tracking branch 'ClickHouse/master' into 66010-add-machine-id-to-snowflakeid-clean
2024-07-14 10:05:17 +00:00
Haydn
6ed138b1a4
Fix syntax error in generateSnowflakeID.cpp
2024-07-13 16:06:31 -07:00
Haydn
5826f1f073
[ClickHouse-66010] Add machine_id parameter to generateSnowflakeID function and update tests
2024-07-13 15:39:48 -07:00
Alexey Milovidov
e71f0fe385
Merge pull request #66375 from azat/dist-fix-log
...
Fix "Sending a batch of X files to Y (0.00 rows, 0.00 B bytes)." in case of batch restoring
2024-07-13 21:32:21 +00: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
Alexey Milovidov
f037e01620
Merge pull request #66461 from yariks5s/fix_logical_error_npy
...
Fix logical error in npy data format
2024-07-13 20:49:26 +00:00
Alexey Milovidov
11647c2382
Merge pull request #65973 from ClickHouse/named-collections-in-clickhouse-local
...
Named collections in clickhouse-local
2024-07-13 20:22:27 +00: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
Yakov Olkhovskiy
d9ce8d73e8
Merge pull request #61268 from Enmk/patch-5
...
Minor: replaced expression with LEGACY_MAX_LEVEL
2024-07-13 03:17:00 +00:00
Alexey Milovidov
c458a504bf
Merge branch 'master' into named-collections-in-clickhouse-local
2024-07-12 23:18:27 +02:00
Yarik Briukhovetskyi
0bb3d07e8e
fix
2024-07-12 20:12:39 +02:00
Alexander Tokmakov
3ffadf04c1
Merge pull request #66140 from ClickHouse/tavplubix-patch-10
...
Finalize session on hardware error from ZooKeeper
2024-07-12 13:59:53 +00:00
Vitaly Baranov
c65e86fbe6
Merge pull request #66295 from vitlibar/fix-error-reporting-while-copying_to_s3
...
Fix error reporting while copying to S3 or AzureBlobStorage
2024-07-12 13:24:07 +00:00
Nikita Taranov
3e64271989
Merge pull request #66336 from ClickHouse/nickitat-patch-25
...
Enable checks in assert_cast under sanitizers
2024-07-12 12:25:50 +00:00
Kruglov Pavel
1d2156eaed
Merge pull request #66046 from Avogar/refactor-json-extract
...
Refactor JSONExtract functions and support more types to reuse its code in new JSON type
2024-07-12 10:18:11 +00:00
János Benjamin Antal
f85b6c8969
Merge pull request #66184 from zhongyuankai/refactor_if_constant_condition_visitor
...
Refactor `OptimizeIfWithConstantConditionVisitor` using `InDepthNodeVisitor`
2024-07-12 10:03:03 +00:00
János Benjamin Antal
659eb92a7c
Merge pull request #65920 from azat/mysql-pool-cleanup
...
Remove mysqlxx::Pool::Entry assignment operator
2024-07-12 09:56:43 +00:00
Nikolai Kochetov
05d37a9926
Merge pull request #66091 from ClickHouse/print-stacktrace-on-logical-error-abort
...
Print stacktrace in case of abort after logical error.
2024-07-12 08:27:35 +00:00
János Benjamin Antal
22b0d7e9f6
Merge pull request #64992 from k-morozov/add_log_clear_detached_tables
...
add some log for non using detached tables
2024-07-12 08:26:42 +00:00
Nikolai Kochetov
27dc6a6e1f
Merge pull request #66395 from ClickHouse/continue-66261
...
Ignore subquery for IN in DDLLoadingDependencyVisitor
2024-07-12 08:23:06 +00:00
Alexey Milovidov
966e4d2d63
Remove noisy message
2024-07-11 21:48:13 +02:00
Nikolai Kochetov
fe451ec25a
Fixing build.
2024-07-11 17:34:33 +00:00
Nikolai Kochetov
e242915fb8
Merge branch 'master' into print-stacktrace-on-logical-error-abort
2024-07-11 16:25:16 +00:00
Vitaly Baranov
5f302e539d
Fix error reporting while copying to Azure Blob Storage.
2024-07-11 16:54:01 +02:00
Kseniia Sumarokova
c23aa2b765
Merge pull request #66288 from MikhailBurdukov/ignore_on_cluster_named_collection
...
Ignore ON CLUSTER clause in queries for management of replicated named collections.
2024-07-11 13:37:22 +00:00
Kseniia Sumarokova
5d1902d98d
Merge pull request #66211 from ClickHouse/delta-lake-fix
...
DeltaLake: fix reading schema and partition columns from checkpoint file
2024-07-11 13:26:01 +00:00
Nikolai Kochetov
1bc02fb71d
Ignore subquery for IN in DDLLoadingDependencyVisitor
2024-07-11 12:39:53 +00:00
Nikolai Kochetov
80ceb63f5f
Fixing build.
2024-07-11 10:45:36 +00:00
kssenii
050240d890
Review fix
2024-07-11 12:08:16 +02:00
Ilya Golshtein
3c52651b55
s3_off_fix: initial (proper ifdef for registerStorageAzureQueue)
2024-07-11 07:37:32 +00:00
Azat Khuzhin
a9a227ddc6
Fix "Sending a batch of X files to Y (0.00 rows, 0.00 B bytes)." in case of batch restoring
...
Previously it was always zeros.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-11 08:05:17 +02:00
Alexey Milovidov
3c93091bd8
Merge pull request #65687 from ClickHouse/checks_for_column_type
...
Introduce type contract checks in `IColumn`
2024-07-10 23:40:34 +00:00
Alexey Katsman
46630ca958
Merge pull request #65335 from korowa/in-part-elimination
...
support set transformation in partition pruning
2024-07-10 21:53:17 +00:00
Nikita Mikhaylov
2d11eb7e49
Merge pull request #66289 from ClickHouse/pr-failed-to-connect
...
Log message: Failed to connect to replica ...
2024-07-10 17:57:07 +00:00
Sema Checherinda
be80f4e5d0
Merge pull request #66065 from ClickHouse/chesema-faster-drop
...
DatabaseCatalog drops tables faster
2024-07-10 17:04:41 +00:00
Nikita Taranov
e7d5992966
Merge pull request #64553 from nickitat/concurrent_hash_join_cache_ht_sizes
...
Collect hash table sizes statistics in ConcurrentHashJoin
2024-07-10 16:11:27 +00:00
Nikolai Kochetov
04e83de877
Merge pull request #66261 from ClickHouse/not-ready-set-constraints
...
Fixing Not-ready set in constraint.
2024-07-10 15:47:39 +00:00
jsc0218
b0580eb575
Merge pull request #66239 from azat/processors_profile_log-fixes
...
Reduce inaccuracy of input_wait_elapsed_us/input_wait_elapsed_us/elapsed_us
2024-07-10 13:37:53 +00:00
MikhailBurdukov
743fccbac4
Merge branch 'master' into ignore_on_cluster_named_collection
2024-07-10 15:48:18 +03:00
Kruglov Pavel
3c4e5df3a9
Merge branch 'master' into refactor-json-extract
2024-07-10 14:20:25 +02:00
Nikita Taranov
6ffac4034a
Enable checks in assert_cast under sanitizers
2024-07-10 14:20:12 +02:00
Sema Checherinda
bde1d2fe92
less noisy logs
2024-07-10 13:48:52 +02:00
Sema Checherinda
bd62fecd31
avoid lock-order-inversion
2024-07-10 13:47:58 +02:00
Sema Checherinda
eb59f1c66d
Merge branch 'master' into chesema-faster-drop
2024-07-10 13:47:06 +02:00