Skip to content

Support for optional fields in Table Schema? #652

@roll

Description

@roll

Overview

Sometimes an user could prefer to have a schema with an optional field. It means that different data tables described by the same schema could either have or doesn't have some column completely.


From @hredestig

I thought of situations where the user e.g. may want to include a certain column, say, 'temperature', and if so, there would be constraints saying that it has to be numeric, but that specifying temperature is not strictly required and while the user now could get around this by simply including a column with all missing values, it would appear more natural to me to be allowed to not include that column at all.


From @roll

It could put some stress on implementations esp. while we still don't require field names to be unique so I recommend to be careful with this feature - think twice, check with different language implementators etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions