Skip to content

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

Open
dkropachev wants to merge 1 commit into
apache:trunkfrom
dkropachev:dk/dx-cqlengine-map-remove-for-non-nullable-values
Open

dkropachev wants to merge 1 commit into
apache:trunkfrom
dkropachev:dk/dx-cqlengine-map-remove-for-non-nullable-values

Conversation

@dkropachev

Copy link
Copy Markdown
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

This branch has not been deployed

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

Labels

None yet

1 participant