Comments (1)
another interesting behaviour is this:
❯ gd | cat
diff --git a/src/Server/TCPHandler.cpp b/src/Server/TCPHandler.cpp
index ae2f150c4a1..dfc18bd90bb 100644
--- a/src/Server/TCPHandler.cpp
+++ b/src/Server/TCPHandler.cpp
@@ -923,6 +923,8 @@ void TCPHandler::processInsertQuery()
while (readDataNext())
executor.push(std::move(state.block_for_insert));
+ std::this_thread::sleep_for(std::chrono::seconds(1));
+
if (state.cancellation_status == CancellationStatus::FULLY_CANCELLED)
executor.cancel();
else
produces no error, while without any sleep we will obviously get an error:
❯ clickhouse client --queries-file repro.sql
Received exception from server (version 24.5.1):
Code: 6. DB::Exception: Received from localhost:9000. DB::Exception: Cannot parse string 'test' as Decimal(38, 7): syntax error at begin of string: while converting source column str to destination column str: while executing 'FUNCTION _CAST(str :: 0, Decimal(38, 7) :: 1) -> _CAST(str, Decimal(38, 7)) Decimal(38, 7) : 2': while pushing to view default.mv_table_1 (318bed11-79cd-4168-b3ac-b8341f8fd678). (CANNOT_PARSE_TEXT)
(query: INSERT INTO null_table VALUES ('test');)
so, we effectively loosing data: https://pastila.nl/?008ee639/0bb65a2827875c58b98c62a4cf731a59#C/nUnY22Jtcrb4U9dUv/tA==
from clickhouse.
Related Issues (20)
- skip index is invalid HOT 3
- Columns of parameterized views don't show up in system.columns after upgrade to 24.2
- How to handle delays in replication of data to be joined in Materialized Views? HOT 3
- Check RBAC in functional tests with auto-generated tests
- RFC: Add support for user defined part/partition data skipping indices HOT 4
- Migrate Redis and MongoDB support to redis-plus-plus and mongocxx
- backup to s3 uses a large number of threads HOT 1
- 57/10000 实时翻译 划译 Adding 'aaa' as column after the query statement results in where condition: column='aaa' not working HOT 1
- Clickhouse Nodes out of sync causing Code 242 DB:Exception and Keeper_exception
- Table is in readonly mode. TABLE_IS_READ_ONLY. May I ask what the reason is? HOT 3
- RAM memory keeps growing with 23.12.6.19 HOT 2
- Segfault in `AggregateFunctionGroupConcat.cpp:193` HOT 2
- Single Landing table distributing into different other tables
- Backup Formats/Compression Method Allowed HOT 3
- Join parallelism is limited by number of streams in the left table HOT 1
- Since XID will overflow sometimes, why not change it from int32_t to int64_t ? HOT 2
- Cannot find column _CAST with allow_experimental_analyzer
- Inconsistent result of a query to a distributed table HOT 2
- `01926_order_by_desc_limit` is flaky
- `00988_parallel_parts_removal` is flaky
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.