Comments (6)
It is quite unusual. Could you provide more information about your dataset? How many strings, what is the average length, high or low cardinality? Also, it would be interesting to see the results of queries comparing how uniqExact
, uniq
, uniqCombined
, and uniqCombined64
behave on your dataset.
from clickhouse.
any specific example when the problem reproduces?
have you tried changing HLL_precision
parameter?
from clickhouse.
uniqCombined is for int32 numbers and strings (with strings it works as uniqCombined64). Try uniqCombined64
instead.
uniqCombined(2, xx)
Haha, in this case you pass a tuple(2,xx)
and it starts to behave as uniqCombined64. Just use uniqCombined64.
from clickhouse.
@nickitat Maybe uniqCombined should throw an error if not 32 bit argument is passed and show an explanation with a suggestion to use uniqCombined64? And the setting allow_unsafe_uniqCombined=false for the backward compatibility in queries and states saved with materialized views and projections.
from clickhouse.
It is quite unusual. Could you provide more information about your dataset? How many strings, what is the average length, high or low cardinality? Also, it would be interesting to see the results of queries comparing how
uniqExact
,uniq
,uniqCombined
, anduniqCombined64
behave on your dataset.
It is quite unusual. Could you provide more information about your dataset? How many strings, what is the average length, high or low cardinality? Also, it would be interesting to see the results of queries comparing how
uniqExact
,uniq
,uniqCombined
, anduniqCombined64
behave on your dataset.
The statistics of column length arre as follows
┌─col_len─┬──count()─┐
│ 8 │ 2 │
│ 11 │ 13 │
│ 13 │ 48 │
│ 14 │ 1078 │
│ 15 │ 14925 │
│ 16 │ 2017052 │
│ 17 │ 2 │
│ 19 │ 1 │
│ 24 │ 5 │
│ 32 │ 8241286 │
│ 33 │ 1 │
│ 34 │ 22 │
│ 35 │ 407 │
│ 36 │ 7784682 │
│ 40 │ 1 │
│ 42 │ 2 │
│ 50 │ 7 │
│ 64 │ 10931446 │
│ 65 │ 2 │
│ 71 │ 7 │
│ 82 │ 245 │
│ 116 │ 2 │
│ 146 │ 76 │
└─────────┴──────────┘
from clickhouse.
any specific example when the problem reproduces? have you tried changing
HLL_precision
parameter?
i have test with HLL_precision, it works ok
from clickhouse.
Related Issues (20)
- Materialised views with engines do not update with multiple on same table? HOT 2
- Too deep recursion with materialized view HOT 1
- Conditions isn't moved to PREWHERE if a row policy presents
- Bugfix validation fails: "Invalid feature flag defined in config for Keeper: remove_recursive"
- Whether partition_expr can support regex matching? HOT 2
- SQL Security is not working for param views
- Wrong result of `NOT IN` with hash partitioning(?) HOT 1
- RESTORE: Support backups created by clickhouse-backup HOT 2
- empty cgroup cpu.max causes crash HOT 1
- Query containing array join works in 23.10.5.20 but not in 24.8.4.13 HOT 1
- Configuring Clickhouse Keeper to listen to all IPv4 traffic HOT 3
- Insertion into distributed table causes null pointer dereference
- Can we ignore the problematic nodes in the remote function? HOT 2
- New JSON type "unflattens" keys with `.` characters
- Materialized view not keeping up
- The udf/executable processes somehow aren't get killed, and they keep the fd of /var/log/clickhouse-server/clickhouse-server.log.0, caused disk leak.
- CREATE and ALTER ROW POLICY syntax in docs is incomplete HOT 1
- Error : Not-ready Set is passed error (Version 24.6)
- Performance degradation while upgrading from 24.3.5.46-lts to 24.8.4.13-lts HOT 10
- Invalid number of rows in Chunk logical error
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.