AbsaOSS / AbsaOSS/enceladus

Schema metadata does not show "null" if the metadata value is null

Open
#790 3 comments 0 reactions 0 assignees View on GitHub
bug Menas priority: low
Dominant language
Scala
Stars
33
Forks
16
PR merge metrics
No merged PRs in 30d

Description

## Describe the bug
Metadata can have a valid value of `null` but when schema view shows the metadata it only prints the key

## To Reproduce
Steps to reproduce the behaviour OR commands run:
1. Have null as the value for default key in the metadata
2. Check Fields view -> metadata for the field

## Expected behaviour
I would expect null to be shown

## Screenshots
**For**
```json
"metadata" : {
"default" : null
}
```
**shows**
![image](https://user-images.githubusercontent.com/17467768/62630499-5a3c1800-b92f-11e9-9be5-9de07ce51aa1.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.