Skip to content

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

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

cqlengine: fix map remove feature for non-nullable values#1241
dkropachev wants to merge 1 commit intoapache:trunkfrom
dkropachev:dk/dx-cqlengine-map-remove-for-non-nullable-values

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