Comments (4)
There is also problem with "awful" hash function, for UUID in uniq aggregate function #34425 (comment)
from clickhouse.
The only concern is that Clickhouse is a DWH database and users may want to store uuids from different sources in the same column and also users may not know what their uuids are.
Of course in this case they can use the old UUID.
But I would consider the implementation of one new UUID type and name it nUUID
or xUUID
or ...
from clickhouse.
I think, for new ClickHouse installations we need to use "new" variant.
For older, users need to explicitly enable this setting.
from clickhouse.
Original proposal:
Often we store UUIDs from external systems, and they could be both v4 and v7. There is already a problem that sorting is not as expected. I think the only way will be to introduce data types UUID1, UUID2 (or with better names) and when a user writes UUID in the table definition or while casting, it will be persisted as either UUID1 or UUID2, depending on a setting, and then we will enable UUID2 by default.
@rschu1ze for some reason your proposal is entirely different from the original.
Closing this because it does not make sense to have different data types for UUIDv4 and UUIDv7.
It should be a single data type for UUID, but without these abominations.
from clickhouse.
Related Issues (20)
- Analyzer: DB::Exception: Received from localhost:9000. DB::Exception: Query tree is too big. HOT 1
- Huge increase in max parts per partition after upgrade to CH 24.4.1.2088 HOT 4
- Memory control for external sorting HOT 3
- How can we calculate the conversion time for each step using the windowFunnel function? HOT 2
- Extend SSH keys authentication - ldap
- Does ClickHouse support local node execution switching? HOT 1
- Does chproxy of clickhouse support vector data ingestion? HOT 1
- Improving SQL DEFINERS for MV HOT 1
- DB::Exception: Invalid version for SerializationLowCardinality key column HOT 2
- unknown table expression identifier for recursive CTE when base table is a remote table
- memory leak in openssl HOT 1
- grep run.log for sanitizer reports
- From CI: The specified key does not exist. This error happened for S3 disk.
- generateULID() is too slow because ulid library is initialized every time the function is called. HOT 9
- Analyzer: `runtime error: negation of -9223372036854775808 cannot be represented in type 'long';` HOT 1
- JOIN filter push down does not work in all cases HOT 1
- Allow TTL to support nested functions
- Slow `RowBinary` format
- <Error> ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe HOT 2
- age() function returns wrong results HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clickhouse.