For column metadata (w/ databases, Spark) include the `nullable` property
Open
@rich-iannone is already working on this.
Since Sep 6, 2020.
Difficulty: [3] Advanced
Effort: [3] High
Priority: [3] High
Type: ★ Enhancement
- Dominant language
- R
- Stars
- 1k
- Forks
- 59
- Avg merge
- 25m
- Merged PRs (30d)
- 4
Description
We can define a schema in col_schema() for use in col_schema_match() but there is no way to check the nullable state of columns in databases or in Spark schemas. This should be added in.
On top of this, nullable needs to be a recognized field for columns in metadata YAML. The meta_yaml_write() function should generate a TRUE/FALSE for _nullable when appropriate, and, it needs to be recognized by the get_metadata_report() function and put into the report in a sensible way.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.