geruh opened a new pull request, #2782:
URL: https://github.com/apache/iceberg-python/pull/2782
Related to #2775
# Rationale for this change
Update the Set Expression serialization to align with the REST spec. Today,
the set expression literals are serialized under items, instead of values.
For instance:
```json
{
"term": "foo",
"type": "not-in",
"items": [
1,
2,
3
]
}
```
When it should be:
```json
{
"term": "foo",
"type": "not-in",
"values": [
1,
2,
3
]
}
```
**Rest ref**:
https://github.com/apache/iceberg/blob/47d5f5009eafbbb526e6e2c9cbeac3105bf34670/open-api/rest-catalog-open-api.yaml#L2353
**Expression ref**:
https://github.com/apache/iceberg/blob/d19e3ff07653167d902865281601a5da4e2f2def/core/src/main/java/org/apache/iceberg/expressions/ExpressionParser.java#L189-L192
## Are these changes tested?
Yes
## Are there any user-facing changes?
only serialization, and initialization stays the same.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]