Skip to content

Conversation

@ekaterinadimitrova2
Copy link
Contributor

No description provided.

Copy link
Contributor

@adelapena adelapena left a comment

Choose a reason for hiding this comment

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

Looks good, I have just left a couple of suggestions.

MINUTES_DURATION(Integer.class, DurationSpec.IntMinutesBound.class,
DurationSpec.IntMinutesBound::new,
DurationSpec.IntMinutesBound::toMinutes),
o -> o == -1 ? null : new DurationSpec.IntMinutesBound(o),
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should rename this converter to MINUTES_CUSTOM_DURATION and add a comment, since this is a special way of converting due to the acceptance of -1 as disabled value. That's what was done with MILLIS_CUSTOM_DURATION, although here we wouldn't have a regular/custom pair of converters.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That and I actually got reminded that I need to update this converter unit test to include the "-1" part

michaeljmarshall pushed a commit to michaeljmarshall/cassandra that referenced this pull request Sep 17, 2025
… to `EC` so we support BM25 by default. (apache#1737)

We do not need to update JVECTOR_VERSION post CNDB-14301
michaelsembwever pushed a commit to thelastpickle/cassandra that referenced this pull request Jan 7, 2026
… to `EC` so we support BM25 by default. (apache#1737)

We do not need to update JVECTOR_VERSION post CNDB-14301
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