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)
- AMBIGUOUS_COLUMN_NAME when reading from MV with mismatching schema
- ClickHouse >= 24.4 rejects certain valid queries that were previously accepted HOT 2
- formatDateTimeInJodaSyntax result error HOT 1
- MaterializedPostgreSQL replication does not work with upper case letters in database name HOT 5
- Dynamic "order by" in parameterized view HOT 1
- Interpolate + remote + new analyzer => Unknown expression identifier
- Write to index uncompressed cache HOT 1
- CANNOT_PARSE_INPUT_ASSERTION_FAILED with Vector timestamp fields HOT 2
- Map + float64 as a key, ILLEGAL_TYPE_OF_ARGUMENT when query an element by key HOT 3
- CgroupsMemoryUsageObserver pessimizes current memory usage HOT 1
- [RFC] Randomly wrap table expressions into `remote` table function in stateless tests HOT 1
- ACL qestion HOT 8
- Create materialized view from AggregatingMergeTree table HOT 3
- Issue with `version_helper.py` and `changelog.py` after a new releasing scheme HOT 2
- Lots of `HTTPSessionPool: No free connections in pool. Waiting 1000 ms.` when using S3 disks HOT 1
- ANN usearch HOT 1
- Further improvements for working with archives in object storages
- Include client's IP into auth error messages in logs
- HTTP external authenticator not work HOT 1
- CAST('0', 'DateTime') fails but '00000' works 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.