Default value for dates #671
Answered
by
Skyscimitar
HuifangYeo
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
Skyscimitar
Aug 19, 2022
Replies: 1 comment
-
Hi Huifang, As of version 0.7.0 you can set the So in your case when creating your table you could add |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tibdex
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Huifang,
As of version 0.7.0 you can set the
default_value
attribute on the columns of your table when creating it, or directly on the column. See https://docs.atoti.io/latest/lib/atoti/atoti.column.html#atoti.Column.default_value and https://docs.atoti.io/latest/lib/atoti/atoti.column.html#atoti.Column.default_value for more information. Note that thedefault_value
parameter has also been added to all theread_*
methods.So in your case when creating your table you could add
session.read_*(..., default_values={"CLAIM_DATE": "N/A"})