Support for generatedAlwaysAs columns? #1494
-
This question applies to both the python library as well as the rust one but does Schema(
[
Field("timestamp", PrimitiveType("timestamp"), nullable=True),
Field(
"__year__",
PrimitiveType("integer"),
nullable=True,
metadata={"delta.generationExpression": "YEAR(timestamp)"},
),
Field(
"__month__",
PrimitiveType("integer"),
nullable=True,
metadata={"delta.generationExpression": "MONTH(timestamp)"},
),
Field(
"__day__",
PrimitiveType("integer"),
nullable=True,
metadata={"delta.generationExpression": "DAY(timestamp)"},
),
]
) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @theelderbeever, right now delta-rs and with that the python binding do not support generated columns. Although i think this is just an issue on the write path. We are actively working on extending protocol support and will be adding features for the rest of the year. |
Beta Was this translation helpful? Give feedback.
@ahirner this is supported since latest release (0.24)