We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16e68f0 commit 24c4ae2Copy full SHA for 24c4ae2
sdk/python/feast/types.py
@@ -18,6 +18,7 @@
18
import pyarrow
19
20
from feast.value_type import ValueType
21
+from feast.utils import _utc_now
22
23
PRIMITIVE_FEAST_TYPES_TO_VALUE_TYPES = {
24
"INVALID": "UNKNOWN",
@@ -187,7 +188,8 @@ def __str__(self):
187
188
Int64: pyarrow.int64(),
189
Float32: pyarrow.float32(),
190
Float64: pyarrow.float64(),
- UnixTimestamp: pyarrow.timestamp(),
191
+ # Note: datetime only supports microseconds https://github.com/python/cpython/blob/3.8/Lib/datetime.py#L1559
192
+ UnixTimestamp: pyarrow.timestamp('us', tz=_utc_now().tzname()),
193
}
194
195
0 commit comments