Comments (2)
Initially I thought that the primary key must contain at least two columns so I created a table with constant expression in primary key tuple with this query
You could specify one column (in parentheses or without) as primary key.
However this query causes ClickHouse to throw Segmentation fault and exits ungracefully
I will explicitly disable constants in primary key (CREATE will throw an exception).
from clickhouse.
Commited: b8ca97a
https://gist.github.com/alexey-milovidov/71c61a63aeca4b0da8ba2c2298315e1d
(Scheduled for next release. Releases are about once per week, irregularly.)
from clickhouse.
Related Issues (20)
- CREATE TABLE AS should copy PRIMARY KEY, ORDER BY, and similar clauses. HOT 1
- adnum logical error on postgres table SELECT query
- RFC: UUID 2.0 data types HOT 4
- How to represent a multi-line string of JSON? HOT 5
- <Error> xxx.xxx (ReplicatedMergeTreePartCheckThread) Part xxx is lost forever HOT 9
- Support memory bound merging for parallel replicas
- Cyclic aliases for identifier in valid query HOT 1
- Workload classification for merges and mutations HOT 1
- Integrate read and write buffers with IO Scheduler
- Smaller granularity of resource requests for S3 buffers
- Read IO cost estimation
- JOIN predicates pushdown issue (introduced in 24.4) HOT 1
- RFC: DNS cache respect TTL from DNS server HOT 5
- Result of exponentialTimeDecayedAvg slightly changed in ARM after 24.3 HOT 8
- Implement DETACH PERMANENTLY for databases.
- Support for IPv4/IPv6 (vrf) namespace on ip_trie dictionary HOT 2
- Integrate Resource Scheduler and ConcurrencyControl
- CPU slot preemption in ConcurrencyControl
- UNSUPPORTED_METHOD for WITH statement with beta analyzer HOT 1
- Issue Reading Parquet Files GZIP from Pandas(Python) HOT 1
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.