feat: add support for missing value interpretation#428
Conversation
shollyman
left a comment
There was a problem hiding this comment.
Does this handwritten allow MVI changes when writes have already begun, or are the options locked at the outset only?
| const protoDescriptor: DescriptorProto = | ||
| adapt.convertStorageSchemaToProto2Descriptor(storageSchema, 'root'); | ||
|
|
||
| // Row 1 |
There was a problem hiding this comment.
These sample rows are confusing, as the row data isn't compatible with the updatedSchema above. If you're wanting empty rows that's fine, just describe what you're doing so the interaction is clearer.
There was a problem hiding this comment.
I've pushed some updates to the test to make the full schema more explicit. The idea here is to send rows with some empty values and show that they are being filled or not accordingly to the MVI settings.
Both |
| } | ||
|
|
||
| /** | ||
| * Update how missing values are interpreted by for the given stream. |
| protoDescriptor: IDescriptorProto; | ||
|
|
||
| /** | ||
| * Controls how missing values are interpreted by for a given stream. |
| } | ||
|
|
||
| /** | ||
| * Update how missing values are interpreted by for the given stream. |
shollyman
left a comment
There was a problem hiding this comment.
Thanks for the updates, comment nits seem to be the last bit to address.
I do wish the assertion support was better here and isnull/notnull were first class assertions, but alas.
|
|
||
| /** | ||
| * Controls how missing values are interpreted by for a given stream. | ||
| * `missingValueInterpretations` set for individual colums can override the default chosen |
Fixes #426 🦕