Skip to content

Comments

PHOENIX-7758 Read repair with DistinctPrefixFilter can give incorrect results#2365

Open
tkhurana wants to merge 3 commits intoapache:masterfrom
tkhurana:PHOENIX-7758
Open

PHOENIX-7758 Read repair with DistinctPrefixFilter can give incorrect results#2365
tkhurana wants to merge 3 commits intoapache:masterfrom
tkhurana:PHOENIX-7758

Conversation

@tkhurana
Copy link
Contributor

@tkhurana tkhurana commented Feb 4, 2026

No description provided.

@tkhurana tkhurana requested a review from kadirozde February 9, 2026 18:10
conn.commit();

ArrayList<String> expectedValues = Lists.newArrayList("a1", "a2");
String selectSql = "SELECT distinct(id1) from " + dataTableName + " WHERE val1 = 'val1a'";
Copy link
Contributor

@kadirozde kadirozde Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to return id2 too by using SELECT distinct(id1), id2 to verify that the query actually uses the expected rows. For this, we can use List<List<String>> expectedValues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants