Comments (3)
As far as I know, there is no way to stop a dictionary reload.
Maybe you could avoid having partial data in the source table. For example, instead of truncating + insert, you could create a temporal table with the same schema, insert into that table, then EXCHANGE it with the old one and drop the temporal table (that now has the old data). Would that help in your situation?
from clickhouse.
what should be done
Awful hack, but you can add WHERE throwIf((SELECT * FROM status FINAL) = 'Updating' ) in dictionary source definition
So, you will have additional status table, which you can use as lock for your dictionary updates. (to explicitly trigger exception which prevent reload of dictionary)
But, it's not better than doing EXCHANGE TABLES and staging tables
from clickhouse.
Thanks to the both of you. I think I will go for the table exchange, but I like your style, @UnamedRus 😆
from clickhouse.
Related Issues (20)
- Introduce a column in system.tables: `parametrized_view_parameters` HOT 2
- input_format_parquet_allow_missing_columns is documented inconsistently in multiple places...
- Incorrect discribe csv format
- [analyzer] Cannot parse DateTime: In scope SELECT _CAST('0', 'DateTime64(3)') AS `toDateTime64('1970-01-01 00:00:00', 3)` for distributed table with more than one host in select HOT 3
- It's not possible to use from_env and default values in included files HOT 8
- Matching SELECT CityHash64(1) Behavior in C, Java, or Python. HOT 7
- Flaky test `02724_limit_num_mutations` HOT 1
- Crash with stacktrace HOT 1
- read rocksdb, exception happped: Cannot schedule a task:cannot al locate thread(thread s=88,jobs=88),(CANNOT_SCHEDULE_TASK) HOT 2
- Can't parse `true` when merging config files HOT 1
- BACKUP command MemoryTracker works wrong
- with (select 1) as x select toTypeName(x); returns Nullable(UInt8), should be UInt8. HOT 4
- insert [,,,] to column Array(Nullable(UInt8)) ; select get [0,0,0] HOT 2
- Inconsistent formatting: `ALTER TABLE columns_with_multiple_streams MODIFY COLUMN field1 Nullable(tupleElement(x, 2), UInt8)`
- Mysql8.0 MaterializedMySQLSyncThread: Lost connection to MySQL
- Simple Aggregation functions like Max and Sum requires AggregatingMergeTree instead of MergeTree HOT 2
- Unexpected return type from equals. Expected Nullable(UInt8). Got UInt8. In old analyzer HOT 5
- Test `test_storage_s3_queue/test.py::test_multiple_tables_streaming_sync_distributed` is flaky HOT 1
- Test `test_broken_projections/test.py::test_broken_ignored_replicated` is flaky
- Inconsistent formatting: query `SELECT NOT((SELECT 1))` cannot parse back
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.