Skip to content

cqlengine: fix map remove feature for non-nullable values #1241

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dkropachev
Copy link
Contributor

following code:

.update(
            bin_map__remove={123, 456}
        )

Would fail if map is defined with non-nullable value type:

columns.Map(columns.BigInt, columns.Bytes, required=False, default={})

following code:
```
.update(
            bin_map__remove={123, 456}
        )
```
Would fail if map is defined with non-nullable value type:
```
columns.Map(columns.BigInt, columns.Bytes, required=False, default={})
```
@dkropachev dkropachev force-pushed the dk/dx-cqlengine-map-remove-for-non-nullable-values branch from c4808f4 to ea59f32 Compare February 23, 2025 03:41
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.

1 participant