Repository navigation
Use equivalent nullable string array items for Datalab Fast - #167
Merged
Merged
Conversation
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
For Datalab Fast extraction, submit nullable string array elements as
"items": {"anyOf": [{"type": "string"}, {"type": "null"}]}when the item schema uses"type": ["string", "null"]. Both forms allow blank table cells to be represented as JSON null. The adapter applies the rewrite to the outgoing Fast request and retains sibling constraints.Why
Fast repeatedly returned no extraction for two Budget Appendix and five Census documents. With the equivalent schema, Fast completed both diagnostic cases. Budget Appendix DOE scored 50.07 Value F1 and returned 88 null cells. The Census Statistical Abstract scored 20.00. Balanced and Accurate already completed all seven using their original schemas.
This gives Fast a fair comparison on the same allowed values as every other pipeline.
Verification