jun-he commented on issue #3464:
URL: https://github.com/apache/iceberg/issues/3464#issuecomment-961655771
Sure, following your snippet to define fixed type as follows
```
@handle_null
@dataclass(order=True)
class Fixed(Type):
value: bytes
length: int
...
fixed = Fixed(string.encode(encoding), 8)
```
which is type with data as well.
But we also need a way to indicate `Fixed(8)` type/class without data for
many cases.
I am curious if there is a clean way to provide a singular class for this.
--
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]