Skip to content

feat: support theta and tuple a-not-b#155

Open
ariesdevil wants to merge 1 commit into
apache:mainfrom
ariesdevil:tuple-a-not-b
Open

feat: support theta and tuple a-not-b#155
ariesdevil wants to merge 1 commit into
apache:mainfrom
ariesdevil:tuple-a-not-b

Conversation

@ariesdevil

@ariesdevil ariesdevil commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

based on #152 #153 #154

@ariesdevil
ariesdevil force-pushed the tuple-a-not-b branch 3 times, most recently from e4cbc3f to 2902e5e Compare July 23, 2026 03:26
@ariesdevil ariesdevil closed this Jul 23, 2026
@ariesdevil ariesdevil reopened this Jul 23, 2026
@ariesdevil
ariesdevil force-pushed the tuple-a-not-b branch 9 times, most recently from 32d85e8 to 1d29301 Compare July 24, 2026 15:00
@tisonkun

Copy link
Copy Markdown
Member

#154 is merged now.

I wonder if we'd have a tuple_a_not_b_test.rs integration test. And some common test code may be de-duplicate later.

@ariesdevil
ariesdevil force-pushed the tuple-a-not-b branch 2 times, most recently from 8b9e68f to 373584c Compare July 25, 2026 03:09
Comment thread datasketches/src/tuple/a_not_b.rs
@ariesdevil
ariesdevil marked this pull request as draft July 25, 2026 04:18
@ariesdevil ariesdevil changed the title feat: support tuple a-not-b feat: support theta and tuple a-not-b Jul 25, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I have some ideas on factoring out this test utility support module. Will do once this PR gets merged.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

... to avoid too much #[cfg(feature = "...")] and #[allow(dead_code)].

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

a_not_b comes from datasketches-cpp and datasketches-java?

@leerho @proost what if we name this set operation as difference or exception, since a_not_b is somewhat strange to me. Or is it actually an idiom in this domain?

@tisonkun tisonkun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Generally LGTM.

Anything keeps this PR a draft before it's ready for review and merge?

@ariesdevil
ariesdevil marked this pull request as ready for review July 25, 2026 08:34
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.

3 participants