Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting cannot read all data having too many marks in file. #64115

Closed
jaddu123 opened this issue May 19, 2024 · 5 comments
Closed

Getting cannot read all data having too many marks in file. #64115

jaddu123 opened this issue May 19, 2024 · 5 comments
Labels
experimental feature Bug in the feature that should not be used in production st-wontfix Known issue, no plans to fix it currenlty unexpected behaviour

Comments

@jaddu123
Copy link

Getting this error, what can be the possible reason for this:

SQL Error [33] [07000]: Code: 33. DB::Exception: Too many marks in file payload%2Ecompany%2Edomain%2Egeo_domain%2Ecreated_at.cmrk2, marks expected 5 (bytes size 120): (while reading column payload): (while reading from part /datadir2/store/2ce/2ce0da9e-dee7-4ec6-9f93-f1060e9a680f/all_367294_367294_6231/ in table test_db.log_events (2ce0da9e-dee7-4ec6-9f93-f1060e9a680f) located on disk default2 of type local, from mark 0 with max_rows_to_read = 6444): While executing MergeTreeThread. (CANNOT_READ_ALL_DATA) (version 23.7.4.5 (official build))

@den-crane
Copy link
Contributor

23.7 is out of support. You should upgrade to a supported version: https://github.com/ClickHouse/ClickHouse/pulls?q=is%3Aopen+is%3Apr+label%3Arelease

@jaddu123
Copy link
Author

Ok, but what could be the possible issue?

@den-crane
Copy link
Contributor

Do you have skip (secondary) indexes #52433 ?

v23.7.6.111-stable.md:* Fix recalculation of skip indexes and projections in ALTER DELETE queries #52530 (Anton Popov).
v23.8.1.2992-lts.md:* Fix recalculation of skip indexes and projections in ALTER DELETE queries #52530 (Anton Popov).

@jaddu123
Copy link
Author

I don't have any secondary index.

This is my create table syntax:

CREATE TABLE test_db.log_events
(
id UUID DEFAULT generateUUIDv4(),
created_at Nullable(DateTime) CODEC(DoubleDelta, ZSTD(1)),
updated_at Nullable(DateTime) CODEC(DoubleDelta, ZSTD(1)),
version UInt32 CODEC(Delta(4), ZSTD(1)),
payload Object('json')
)
ENGINE = MergeTree
ORDER BY tuple()
SETTINGS index_granularity = 8192

@den-crane
Copy link
Contributor

den-crane commented May 20, 2024

it's because of payload Object('json')

Object('json') is experimental is not supported and obsolete.

https://clickhouse.com/docs/en/sql-reference/data-types/json The JSON data type is an obsolete feature. Do not use it.

@Algunenano Algunenano added experimental feature Bug in the feature that should not be used in production st-wontfix Known issue, no plans to fix it currenlty labels May 20, 2024
@Algunenano Algunenano closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experimental feature Bug in the feature that should not be used in production st-wontfix Known issue, no plans to fix it currenlty unexpected behaviour
Projects
None yet
Development

No branches or pull requests

3 participants