Comments (7)
You must setup the same config in both servers or explicitly enable the setting (via config or query) in the initiator.
from clickhouse.
Please provide a reproducer, version used, etc. This works fine:
SELECT
t.name AS name,
t.database AS schema,
multiIf(engine IN ('MaterializedView', 'View'), 'view', engine = 'Dictionary', 'dictionary', 'table') AS type,
db.engine AS db_engine,
(t.engine LIKE 'Replicated%') OR (t.engine = 'View') AS is_on_cluster
FROM clusterAllReplicas(test_cluster_two_shards, system.tables) AS t
INNER JOIN system.databases AS db ON t.database = db.name
WHERE schema = 'mm_automation'
GROUP BY
name,
schema,
type,
db_engine,
t.engine
from clickhouse.
Please provide a reproducer, version used, etc. This works fine:
SELECT t.name AS name, t.database AS schema, multiIf(engine IN ('MaterializedView', 'View'), 'view', engine = 'Dictionary', 'dictionary', 'table') AS type, db.engine AS db_engine, (t.engine LIKE 'Replicated%') OR (t.engine = 'View') AS is_on_cluster FROM clusterAllReplicas(test_cluster_two_shards, system.tables) AS t INNER JOIN system.databases AS db ON t.database = db.name WHERE schema = 'mm_automation' GROUP BY name, schema, type, db_engine, t.engine
Strange behaviour:
- if settings allow_experimental_analyzer explicitly set in users.xml to 1 or via set query its work.
select * from system.settings where name = 'allow_experimental_analyzer';
name,value,changed
allow_experimental_analyzer,1,1
but if its not changed and default config, its throw error
select * from system.settings where name = 'allow_experimental_analyzer';
name,value,changed
allow_experimental_analyzer,1,0
from clickhouse.
Are you using a cluster where the replicas have different CH versions and different settings for allow_experimental_analyzer
? If it's not set, then it must be the same in all replicas
from clickhouse.
Same ch version, and yes not work in this case:
from clickhouse.
with same default config in both servers its work.
Seems problem only when its not the same on all servers.
from clickhouse.
You must setup the same config in both servers or explicitly enable the setting (via config or query) in the initiator.
Its okey, but maybe should add more friendly error, for this case. Its not obvious at all, and its can be easy to forgot to change and sync it on all servers in first time.
from clickhouse.
Related Issues (20)
- Unexpected return type from equals: Grouping sets and predicate pushdown HOT 1
- OPTIMIZE TABLE: When to use it? HOT 6
- session_timezone is not reflected in X-ClickHouse-Timezone HOT 8
- What options exist for storing metadata when using S3 as a primary disk? HOT 2
- Docker container with image of clickhouse/clickhouse-server immediately exits on WSL2 with Ubuntu 24.04 HOT 3
- Add UUID to the system.columns HOT 1
- INSERT INTO from cli client loading data from large local file on fast host has socket connection problem/errors out HOT 1
- Casting a Map to an Array of Tuple
- GPU support HOT 2
- how to download clickhouse a single stable binary HOT 3
- Missing past releases Documentation HOT 1
- Keep a legend inside a graph pane on dashboards
- Add 64 bit version of parseDateTime (parseDateTime64) HOT 4
- Function initCap treats an apostrophe as a word separator HOT 1
- JSON read/import fails when a value is "-" and schema reflect datetime, not a string as expected
- Cancellable tasks in ThreadPools
- Replacing-AggregatingMergeTree? HOT 4
- `os_user` and `client_hostname` are not set in the Suggest query in clickhouse-client
- unification of is_deleted for RMT with LWD-based _row_exists HOT 2
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.