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

Fix wrong results for select count(distinct column) on IMap [HZ-2403] [5.2.z] #24490

Merged
merged 2 commits into from May 10, 2023

Conversation

k-jamroz
Copy link
Collaborator

For count(distinct) query it is necessary to deserialize value for distinct check. Sometimes the value in JetRow can be HeapData and sometimes in deserialized form.

Fixes HZ-2403
Backport of: #24464

@k-jamroz k-jamroz added this to the 5.2.z milestone May 10, 2023
@k-jamroz k-jamroz enabled auto-merge (squash) May 10, 2023 11:25
@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
--------------------------
---------SUMMARY----------
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.2.0:checkstyle (default) on project hazelcast-sql: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There is 1 error reported by Checkstyle 8.38 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/SqlCountDistinctTest.java:2: Line does not match expected header line of ' * Copyright 2021 Hazelcast Inc.'. [Header]
--------------------------

@k-jamroz k-jamroz merged commit 0256a30 into hazelcast:5.2.z May 10, 2023
8 checks passed
@AyberkSorgun AyberkSorgun modified the milestones: 5.2.z, 5.2.4 Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants