Coder Social home page Coder Social logo

Comments (9)

Algunenano avatar Algunenano commented on May 27, 2024

There have been several bug (and bug fixes) lately around FINAL. Can you test with the latest 24.4 or provide a reproducer to verify it please?

from clickhouse.

handgunman avatar handgunman commented on May 27, 2024

I can't update the version at the moment.
And I don't really understand how to reproduce this problem.

I tried to make the same table in fiddle and transfer these 2 records and one more to it, but the situation is not reproduced.

from clickhouse.

nickitat avatar nickitat commented on May 27, 2024

there are few flags that could be tweaked:

split_intersecting_parts_ranges_into_layers_final
split_parts_ranges_into_intersecting_and_non_intersecting_final
enable_vertical_final

from clickhouse.

handgunman avatar handgunman commented on May 27, 2024

at the moment new data has been added to the table and there is no discrepancy for the previously specified identifiers.
but there are new ones.
When selecting data with one of them with the split_intersecting_parts_ranges_into_layers_final setting, everything is correct

split_parts_ranges_into_intersecting_and_non_intersecting_final doesn't - change the result
enable_vertical_final - doesn't change the result

All of these settings are set to 1 and I changed them to 0

from clickhouse.

nickitat avatar nickitat commented on May 27, 2024

could you pls share explain pipeline SELECT uniqExact(id) FROM cheks FINAL with default settings

from clickhouse.

handgunman avatar handgunman commented on May 27, 2024

please see in file
check.txt

from clickhouse.

nickitat avatar nickitat commented on May 27, 2024

looks like #62268

backport was merged on Apr 8

you're using a build from April 3
from https://github.com/ClickHouse/ClickHouse/releases/tag/v24.3.2.23-lts

from clickhouse.

handgunman avatar handgunman commented on May 27, 2024

Ok, we'll have to wait until the update is available on the cloud service.

from clickhouse.

nickitat avatar nickitat commented on May 27, 2024

there is also a subtle problem that

SELECT id
FROM cheks
WHERE id NOT IN (
SELECT id
FROM cheks
FINAL
)

isn't 100% reliable, because theoretically the subquery and outer query read from different snapshots.

from clickhouse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.