Replies: 2 comments
-
Hi! Closest thing in DataFrame terms to optional column would be a column filled with nulls. df.convertTo operations automatically creates such columns when actual dataframe misses some, for example:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
In our new format, we do not contain the old column at all. There is a parsing error, if it is missing in the CSV file. Here is our use case.
In the migration period (for example, two weeks), we want to the DataSchema cover these two formats. And in the future, we will update DataSchema to new format. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For example, in our projects, we have a reader to read CSV, but as time goes by, the column name is planned to change to a new column name.
We need some time to migrate the new column names, so in the migration period, we should cover old and new version together, but
Old Name
should be optional.Currently, if we upload the new CSV(use 'New Name' instead), it will lack the
Old Name
.Beta Was this translation helpful? Give feedback.
All reactions