You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Zoned timestamp type**: `ZonedTimestamp` stores a timezone-aware datetime as both the UTC instant and its originating zone, so the original wall-clock zone round-trips losslessly. This differs from `UnixTimestamp`, which is always decoded as UTC and discards the source zone. Use `ZonedTimestamp` when local time-of-day or the offset/zone itself is meaningful. It must be explicitly declared in schema (it is not inferred by any backend), and is not supported as an entity key.
11
12
-**Domain-specific primitives**: `PdfBytes` (PDF binary data for RAG/document pipelines) and `ImageBytes` (image binary data for multimodal pipelines). These are semantic aliases over `Bytes` and must be explicitly declared in schema — no backend infers them.
12
13
-**UUID types**: `Uuid` and `TimeUuid` for universally unique identifiers. Stored as strings at the proto level but deserialized to `uuid.UUID` objects in Python.
13
14
-**Array types**: ordered lists of any primitive type, e.g. `Array(Int64)`, `Array(String)`, `Array(Uuid)`.
`Decimal` is **not** inferred from any backend schema. You must declare it explicitly in your feature view schema. The pandas dtype for `Decimal` columns is `object` (holding `decimal.Decimal` instances), not a numeric dtype.
363
366
{% endhint %}
364
367
368
+
### ZonedTimestamp Type Usage Examples
369
+
370
+
The `ZonedTimestamp` type stores a timezone-aware `datetime` as both the UTC instant
371
+
and its originating zone, so the original wall-clock zone round-trips losslessly.
372
+
By contrast, `UnixTimestamp` always decodes to UTC and discards the source zone.
373
+
374
+
```python
375
+
from datetime import datetime, timezone
376
+
from zoneinfo import ZoneInfo
377
+
378
+
# A datetime in a specific zone — both the instant and "America/Los_Angeles" are kept
0 commit comments